コード例 #1
0
 private void line_site_active()
 {
     if (_panel_line_site_b == null)
     {
         _panel_line_site_b = new line_side_boardcs();
         _panel_line_site_b.Height = panel.Height;
         _panel_line_site_b.Width = panel.Width;
         panel.Controls.Add(_panel_line_site_b);
     }
     _panel_line_site_b.BringToFront();
     button1.BackColor = Color.WhiteSmoke;
     button2.BackColor = Color.Lime;
     button3.BackColor = Color.WhiteSmoke;
 }
コード例 #2
0
 public line_side_board_factor(UserControl callingForm)
 {
     InitializeComponent();
     main_line_side = callingForm as line_side_boardcs;
 }