private void MaintenanceBtn_Click(object sender, EventArgs e)
        {
            RepaintButtons();
            MaintenanceBtn.BackColor = SystemColors.Control;
            this.panel2.Controls.Clear();
            ControlMaintenance maintenanceControl = new ControlMaintenance();

            maintenanceControl.Dock = DockStyle.Fill;
            this.panel2.Controls.Add(maintenanceControl);
        }
Exemplo n.º 2
0
 public FrmProductSettings(ControlMaintenance refCtrl)
 {
     InitializeComponent();
     LoadProductDataFromSettingsFile();
     ctrlMaintenance = refCtrl;
 }