예제 #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();
 }
예제 #2
0
파일: MainForm.cs 프로젝트: wcgcw/Finder
 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();
 }