Ejemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     foreach (MdiClient client in Controls.OfType<MdiClient>())
     {
         client.BackColor = Color.White;
         break;
     }
     FrmLogin frm = new FrmLogin();
     frm.ShowDialog();
 }
Ejemplo n.º 2
0
 private void frmMain1_Load(object sender, EventArgs e)
 {
     foreach (Control cont in Controls)
     {
         MdiClient client = cont as MdiClient;
         if (client != null)
         {
             client.BackColor = Color.White;
             break;
         }
     }
     FrmLogin frm = new FrmLogin();
     frm.ShowDialog();
     UserCustomizedMenu();
 }