Esempio n. 1
0
        private void CreateVIDMapping_Click(object sender, EventArgs e)
        {
            VIDMapping createVID = new VIDMapping(currentCategory);

            createVID.FormClosing += new FormClosingEventHandler(this.VIDMapping_FormClosing);
            createVID.Show();
        }
Esempio n. 2
0
 private void UpdateVIDMapping_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0 && !dataGridView1.SelectedRows[0].IsNewRow)
     {
         DataGridViewSelectedRowCollection selectedRow = dataGridView1.SelectedRows;
         VIDMapping editVID = new VIDMapping(currentCategory, selectedRow);
         editVID.FormClosing += new FormClosingEventHandler(this.VIDMapping_FormClosing);
         editVID.Show();
     }
 }