private void btnEdit2_Click(object sender, EventArgs e)
        {
            frmAddPart frmAP = new frmAddPart();

            frmAP.TopMost = true;
            frmAP.ShowDialog();
            Show();
        }
        private void OpenAddPart_EditMode(object sender, EventArgs e)
        {
            frmAddPart frmAP = new frmAddPart((sender as Label).Name);

            frmAP.TopMost = true;
            frmAP.ShowDialog();
            UpdateTable();
            Show();
        }
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            frmAddPart frmAP = new frmAddPart();

            frmAP.TopMost = true;
            frmAP.ShowDialog();
            UpdateTable();
            Show();
        }