Beispiel #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     if (homePageForm == null || homePageForm.IsDisposed)
     {
         homePageForm           = new HomePageForm();
         homePageForm.MdiParent = this;
         homePageForm.Show();
     }
 }
Beispiel #2
0
 private void homePage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (homePageForm == null || homePageForm.IsDisposed)
     {
         homePageForm           = new HomePageForm();
         homePageForm.MdiParent = this;
         homePageForm.Show();
     }
 }