Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to show massage before form is load

how to show massage before form is load

Scheduled Pinned Locked Moved C#
helptutorialquestion
11 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    E_Gold
    wrote on last edited by
    #1

    hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

    L K T X R 5 Replies Last reply
    0
    • E E_Gold

      hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      E_Gold wrote:

      (i work in WinCE)

      Good thing you asking in the mobile[^] forums.. wait a tick...

      Check out the CodeProject forum Guidelines[^]

      1 Reply Last reply
      0
      • E E_Gold

        hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

        K Offline
        K Offline
        Kristian Sixhoj
        wrote on last edited by
        #3

        E_Gold wrote:

        how i can show any massage before the main form is load ?

        Why only show the massage? Why not give it? It would be an awesome technology - Being massaged while waiting for an application to load. :)

        :bob: Kristian Sixhoej "You can always become better." - Tiger Woods

        R 1 Reply Last reply
        0
        • E E_Gold

          hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

          T Offline
          T Offline
          Tony Pottier
          wrote on last edited by
          #4

          Look in program.cs, I think you'll be able to figure out how to do this.

          E 1 Reply Last reply
          0
          • T Tony Pottier

            Look in program.cs, I think you'll be able to figure out how to do this.

            E Offline
            E Offline
            E_Gold
            wrote on last edited by
            #5

            thank's for the help, i have the Main form that load database and fill comboBox whit database. it take for 10-15 second. i need that in this time will be any message. how can i do it ? (i dont want MessageBox)

            T 1 Reply Last reply
            0
            • E E_Gold

              hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

              X Offline
              X Offline
              Xmen Real
              wrote on last edited by
              #6

              Form1_Load(object sender, EventArgs e)
              {
              MessageBox.Show("My Message");
              }

              TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can

              1 Reply Last reply
              0
              • E E_Gold

                hi evryone how i can show any massage before the main form is load ? (i work in WinCE) thank's for any help

                R Offline
                R Offline
                Rutvik Dave
                wrote on last edited by
                #7

                so you want to show a Splash screen. create a form with message / image on it. now put a Timer and set the interval to 10000-15000, and on a Tick() Event just do this.hide(); and on the Load() of that form call (create instance and .Show() method) your Main Form. and dont forgot to set that spalsh form to startup form instead of main form. Done. so your splash form will be displayed while your main form is loading in background.

                1 Reply Last reply
                0
                • K Kristian Sixhoj

                  E_Gold wrote:

                  how i can show any massage before the main form is load ?

                  Why only show the massage? Why not give it? It would be an awesome technology - Being massaged while waiting for an application to load. :)

                  :bob: Kristian Sixhoej "You can always become better." - Tiger Woods

                  R Offline
                  R Offline
                  Rutvik Dave
                  wrote on last edited by
                  #8

                  :laugh: I always wonder, when cp will include a spell check. for people like me, who are not good at english. but in this case even spell check cant help you. :-D

                  E 1 Reply Last reply
                  0
                  • E E_Gold

                    thank's for the help, i have the Main form that load database and fill comboBox whit database. it take for 10-15 second. i need that in this time will be any message. how can i do it ? (i dont want MessageBox)

                    T Offline
                    T Offline
                    Tony Pottier
                    wrote on last edited by
                    #9

                    What you describe is named a "splash screen". There are lot of examples on this site describing how to do this.

                    1 Reply Last reply
                    0
                    • R Rutvik Dave

                      :laugh: I always wonder, when cp will include a spell check. for people like me, who are not good at english. but in this case even spell check cant help you. :-D

                      E Offline
                      E Offline
                      E_Gold
                      wrote on last edited by
                      #10

                      English is not my lenguage, sorry

                      R 1 Reply Last reply
                      0
                      • E E_Gold

                        English is not my lenguage, sorry

                        R Offline
                        R Offline
                        Rutvik Dave
                        wrote on last edited by
                        #11

                        neither mine. if you read my post again, i have included myself also. I just found that post funny. thats it, dont take offence man. :)

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups