Click here to Skip to main content
15,918,243 members
Home / Discussions / C#
   

C#

 
GeneralRe: Opening mdi child from mdi child Pin
ninja26055-May-05 19:29
ninja26055-May-05 19:29 
Thanks for reply, the menu options of the application are disabled till the user successfully logs in, so the user doesnt have access to any feature of the application. The main form opens properly if the application doesnt lose focus i.e., if the user doesnt switch to any other window from the taskbar. Here is the code from the login page:

private void button1_Click(object sender, System.EventArgs e)
{
//rest of the code omitted

this.Close();

frmDoNext objfrmDoNext = new frmDoNext();

objfrmDoNext.MdiParent = frmMainForm.ActiveForm;

objfrmDoNext.Show();

}

frmDoNext is the main child form and frmMainForm is the parent form.

Thanks

GeneralRe: Opening mdi child from mdi child Pin
Dave Kreskowiak6-May-05 2:08
mveDave Kreskowiak6-May-05 2:08 
GeneralRe: Opening mdi child from mdi child Pin
ninja26056-May-05 3:57
ninja26056-May-05 3:57 
Generalsms to mobiles from Web application Pin
din butt4-May-05 19:57
din butt4-May-05 19:57 
GeneralNeed help with translation from VB.Net Pin
royg774-May-05 19:53
royg774-May-05 19:53 
GeneralRe: Need help with translation from VB.Net Pin
Mathew Hall4-May-05 20:27
Mathew Hall4-May-05 20:27 
GeneralRe: Need help with translation from VB.Net Pin
royg774-May-05 22:25
royg774-May-05 22:25 
GeneralRe: Need help with translation from VB.Net Pin
Mathew Hall4-May-05 23:52
Mathew Hall4-May-05 23:52 
GeneralRe: Need help with translation from VB.Net Pin
royg775-May-05 1:02
royg775-May-05 1:02 
QuestionCrystal Report throw and exception?? Pin
MJay4-May-05 18:55
MJay4-May-05 18:55 
AnswerRe: Crystal Report throw and exception?? Pin
MBGeorge4-May-05 19:13
MBGeorge4-May-05 19:13 
GeneralC# ArrayList Pin
Mitchell McCollum4-May-05 18:00
Mitchell McCollum4-May-05 18:00 
GeneralRe: C# ArrayList Pin
Mathew Hall4-May-05 18:38
Mathew Hall4-May-05 18:38 
GeneralSVG DOM Pin
Victor Boctor4-May-05 16:28
Victor Boctor4-May-05 16:28 
GeneralScreen Scraping Pin
Anonymous4-May-05 16:26
Anonymous4-May-05 16:26 
GeneralRe: Screen Scraping Pin
keith maddox5-May-05 5:42
keith maddox5-May-05 5:42 
Generalplay movi file by c# Pin
abugalib4-May-05 15:22
abugalib4-May-05 15:22 
GeneralRe: play movi file by c# Pin
MoustafaS5-May-05 0:55
MoustafaS5-May-05 0:55 
Generalmultiple same taskbarnotifier in C# Pin
dwark1064-May-05 14:57
dwark1064-May-05 14:57 
GeneralAdding HTML Files to Solution Pin
C.S.4-May-05 14:38
C.S.4-May-05 14:38 
GeneralHelp with class hierarchy Pin
ICustomTypeDescriptor4-May-05 14:07
ICustomTypeDescriptor4-May-05 14:07 
GeneralRe: Help with class hierarchy Pin
Marc Clifton4-May-05 14:52
mvaMarc Clifton4-May-05 14:52 
GeneralRe: Help with class hierarchy Pin
Claudio Grazioli4-May-05 21:39
Claudio Grazioli4-May-05 21:39 
GeneralRe: Help with class hierarchy Pin
ICustomTypeDescriptor4-May-05 22:39
ICustomTypeDescriptor4-May-05 22:39 
GeneralStop Word Application programmatically Pin
rikpak4-May-05 12:54
rikpak4-May-05 12: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.