private void AddRepairToolStripMenuItem_Click(object sender, EventArgs e) { RepairWindow child1 = new RepairWindow(); child1.MdiParent = this; child1.Show(); child1.cbxClients.Visible = false; child1.lblClientName.Visible = false; }
private void BtnEdit_Click(object sender, EventArgs e) { RepairWindow rw = new RepairWindow(); this.Hide(); rw.txtCellphoneBrand.Enabled = false; rw.txtCellphoneModel.Enabled = false; rw.txtRepairDesc.Enabled = false; rw.txtTotalCost.Enabled = false; rw.txtSerialNum.Enabled = false; rw.lblClientName.Visible = true; rw.cbxClients.Visible = true; rw.Show(); }