Exemple #1
0
 public void uC_Menu10_UC_Click(object sender, EventArgs e)
 {
     mingan          = new Forms.Mingan();
     mingan.TopLevel = false;
     mingan.Dock     = DockStyle.Fill;
     panel_main.Controls.RemoveAt(0);
     panel_main.Controls.Add(mingan);
     um.BackgroundImage        = Properties.Resources.a;
     um.FontColor              = Color.FromArgb(204, 204, 204);
     uC_Menu10.BackgroundImage = Properties.Resources.a1;
     uC_Menu10.FontColor       = Color.White;
     um         = uC_Menu10;
     mingan.Tag = sender;
     mingan.Show();
 }
Exemple #2
0
 public void uC_Menu10_UC_Click(object sender, EventArgs e)
 {
     mingan = new Forms.Mingan();
     mingan.TopLevel = false;
     mingan.Dock = DockStyle.Fill;
     panel_main.Controls.RemoveAt(0);
     panel_main.Controls.Add(mingan);
     um.BackgroundImage = Properties.Resources.a;
     um.FontColor = Color.FromArgb(204, 204, 204);
     uC_Menu10.BackgroundImage = Properties.Resources.a1;
     uC_Menu10.FontColor = Color.White;
     um = uC_Menu10;
     mingan.Tag = sender;
     mingan.Show();
 }