Пример #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FEquipmentDetail f = new FEquipmentDetail(txb_Search.Text, "", "Add");

            f.refresh += new FEquipmentDetail.refreshData(Show);
            f.Show();
        }
Пример #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            string           equipmentid = dataGridView_Equipment.CurrentRow.Cells["equipmentID"].Value.ToString();
            FEquipmentDetail f           = new FEquipmentDetail(txb_Search.Text, equipmentid, "Edit");

            f.refresh += new FEquipmentDetail.refreshData(Show);
            f.Show();
        }