Click here to Skip to main content
15,886,788 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem related to grid Pin
OriginalGriff24-Sep-09 0:29
mveOriginalGriff24-Sep-09 0:29 
GeneralRe: Problem related to grid Pin
lalit1424-Sep-09 19:54
lalit1424-Sep-09 19:54 
GeneralRe: Problem related to grid Pin
OriginalGriff25-Sep-09 0:07
mveOriginalGriff25-Sep-09 0:07 
AnswerRe: Problem related to grid Pin
Vimalsoft(Pty) Ltd23-Sep-09 22:23
professionalVimalsoft(Pty) Ltd23-Sep-09 22:23 
Questioni need some help Pin
Mohamed El-Wehishy23-Sep-09 20:20
Mohamed El-Wehishy23-Sep-09 20:20 
AnswerRe: i need some help Pin
N a v a n e e t h23-Sep-09 20:42
N a v a n e e t h23-Sep-09 20:42 
AnswerRe: i need some help Pin
Mohamed El-Wehishy23-Sep-09 20:54
Mohamed El-Wehishy23-Sep-09 20:54 
GeneralRe: i need some help [modified] Pin
N a v a n e e t h23-Sep-09 21:10
N a v a n e e t h23-Sep-09 21:10 
I believe Form1 is your start-up form. When Application.Run(new Form1()) is executed, it sets the Form1's visibility to true. This happens after your call to this.Hide() in Form1's constructor. This is the reason why first form is still visible.

Are you looking to implement a splash-screen? If yes, this is not the correct method. Try the following points

  1. Show the Form1 before the call to Application.Run
  2. Keep a timer on Form1 with interval as 3secs and when timer ticks, unload the form.
  3. Instantiate Form2 and start message loop on that. Application.Run(new Form2()).



modified on Thursday, September 24, 2009 4:47 AM

QuestionWindows media Control Pin
jpk42023-Sep-09 20:01
jpk42023-Sep-09 20:01 
AnswerRe: Windows media Control Pin
N a v a n e e t h23-Sep-09 20:55
N a v a n e e t h23-Sep-09 20:55 
GeneralRe: Windows media Control Pin
jpk42023-Sep-09 23:37
jpk42023-Sep-09 23:37 
GeneralRe: Windows media Control Pin
N a v a n e e t h24-Sep-09 0:11
N a v a n e e t h24-Sep-09 0:11 
Questionerror "Object reference not set to an instance of an object" pls see the code and help me Pin
amaankhan23-Sep-09 19:58
amaankhan23-Sep-09 19:58 
AnswerRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
PIEBALDconsult23-Sep-09 20:02
mvePIEBALDconsult23-Sep-09 20:02 
GeneralRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
amaankhan23-Sep-09 20:06
amaankhan23-Sep-09 20:06 
AnswerRe: error "Object reference not set to an instance of an object" pls see the code and help me Pin
N a v a n e e t h23-Sep-09 20:08
N a v a n e e t h23-Sep-09 20:08 
QuestionInsert values into a table only if they do not already exist in that table (MS Access) Pin
Ajithevn23-Sep-09 19:55
Ajithevn23-Sep-09 19:55 
AnswerRe: Insert values into a table only if they do not already exist in that table (MS Access) [modified] Pin
PIEBALDconsult23-Sep-09 20:13
mvePIEBALDconsult23-Sep-09 20:13 
GeneralRe: Insert values into a table only if they do not already exist in that table (MS Access) Pin
Ajithevn23-Sep-09 20:20
Ajithevn23-Sep-09 20:20 
GeneralRe: Insert values into a table only if they do not already exist in that table (MS Access) Pin
PIEBALDconsult23-Sep-09 20:32
mvePIEBALDconsult23-Sep-09 20:32 
QuestionInterface type or class type? Pin
shivapriyak23-Sep-09 19:30
shivapriyak23-Sep-09 19:30 
AnswerRe: Interface type or class type? Pin
PIEBALDconsult23-Sep-09 19:46
mvePIEBALDconsult23-Sep-09 19:46 
GeneralRe: Interface type or class type? Pin
shivapriyak23-Sep-09 19:48
shivapriyak23-Sep-09 19:48 
GeneralRe: Interface type or class type? Pin
PIEBALDconsult23-Sep-09 19:58
mvePIEBALDconsult23-Sep-09 19:58 
GeneralRe: Interface type or class type? Pin
shivapriyak23-Sep-09 20:54
shivapriyak23-Sep-09 20:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.