2008年12月11日 星期四

vb.net 動態call form

 Private Sub ShowForm(ByVal FormName As String)
        Dim ProjectName As String =
        Reflection.Assembly.GetExecutingAssembly.GetName.Name
        Try
            Dim tyOfStringVariable As Type = Type.GetType(ProjectName & "." &
            FormName)
            Dim frmObject As Object = Activator.CreateInstance(tyOfStringVariable)
            DirectCast(frmObject, Form).StartPosition =
            FormStartPosition.CenterParent
            DirectCast(frmObject, Form).ShowDialog()
        Catch ex As Exception
            ' TODO
        End Try
    End Sub

6 則留言:

  1. 請問可不可以有一個完整的例子可供參考呢?

    回覆刪除
  2. No matter if some one searches for his required thing,
    therefore he/she needs to be available that in detail, so that thing is maintained over here.


    http://anime.dougasouko.com/l/?http://www.tweetslabs.com/?
    c=search&s=Eve+no+Jikan+01
    http://amazingleadership.com/blog/dewaynegillisbpcvjyl/how-buy-real-active-twitter-followers-and-even-add-popularity-your-home-bu
    http://amineparadise.free.fr/forum/profile.php?mode=viewprofile&u=34745
    http://amherstblock.com/index.php?do=/blog/73516/social-media-services-suitable-for-web-business-hype/
    http://amartaxiservice.com/?q=node/137957

    Visit my web site - french polynesia flag

    回覆刪除
  3. I just could not leave your web site before suggesting that
    I extremely loved the usual information a person provide for your visitors?

    Is gonna be again often to inspect new posts

    http://data.montpellier-agglo.fr/?q=node/88145
    http://blog.collabcult.com/?q=node/add
    http://www.sistassicurazioni.it/content/how-buy-cheap-twitter-followers-training
    http://specialend.com/node/29783
    http://swapp247.com/content/versatile-how-buy-cheap-twitter-followers-help-and-advice-news
    http://promotegis.org/node/51584
    http://www.startfish.ru/node/14838
    http://recrea-lr.fr/step-step-hassle-free-models-intended-how-buy-cheap-twitter-followers
    http://travemundo.com/straight-forward-advice-how-buy-cheap-twitter-followers-cleared-2013-06-03
    http://mmocenter.hu/node/3004

    Feel free to visit my homepage - rapunzel

    回覆刪除
  4. This design is spectacular! You certainly know how to
    keep a reader amused. Between your wit and your videos,
    I was almost moved to start my own blog (well, almost.
    ..HaHa!) Wonderful job. I really loved what you had to
    say, and more than that, how you presented it.
    Too cool!

    http://dukeaward.ca/?q=node/501212
    http://www.iowalit.com/node/21515
    http://ixod.com/content/swift-tools-how-buy-cheap-twitter-followers
    http://latifaalfares.com/node/105010
    http://filmcouch.com/very-easy-product-located-how-buy-cheap-twitter-followers-within-uk
    http://conexoes.futuro.usp.br/?q=node/164716
    http://nativecherokeepottery.com/?q=node/414694
    http://tijarica.org/content/goods-created-how-buy-cheap-twitter-followers
    http://www.calysis.be/node/3148
    http://hipandkneeperth.com.au/rapidly-products-how-buy-cheap-twitter-followers

    Here is my web blog; sativa

    回覆刪除
  5. Thank you, I have recently been looking for
    information approximately this topic for a long time and yours is the best I've came upon till now. However, what about the bottom line? Are you certain in regards to the supply?

    http://www.taxattorneytaxrelief.com/content/what-it-really-convenient-plans-through-how-buy-cheap-twitter-followers
    http://staging.2011.c4yw.org/forum/how-buy-cheap-twitter-followers-1-kept-date
    http://wedding-tur.ru/forum/27633
    http://www.structures-nuances.fr/content/abrupt-plans-having-do-how-buy-cheap-twitter-followers
    http://www.cvparfait.com/node/98150
    http://sportadatbank.hu/getting-no-hassle-industry-secrets-when-how-buy-cheap-twitter-followers
    http://hipandkneeperth.com.au/rapidly-products-how-buy-cheap-twitter-followers
    http://wedding-tur.ru/forum/27633
    http://www.sistassicurazioni.it/content/how-buy-cheap-twitter-followers-training
    http://travel-ag.ru/content/called-facts-how-buy-cheap-twitter-followers-best-upgrade

    Feel free to visit my web-site - loonyland

    回覆刪除
  6. I tend not to write many responses, however i did a few searching and wound up here "vb.net 動態call form".
    And I do have 2 questions for you if it's allright. Could
    it be only me or does it look like a few of the responses
    come across as if they are left by brain dead people?

    :-P And, if you are writing on additional places, I would like to keep
    up with anything new you have to post. Would you list of
    all of all your public pages like your Facebook page,
    twitter feed, or linkedin profile?

    Review my site; seo -
    -

    回覆刪除