예제 #1
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            int rowIndex = dataGridView1.CurrentRow.Index;

            customerVendorOperation modifyOpFrame = new ModifyCustomerVendor(GetDataRowInShowTableFromIndex(rowIndex), customerOrVendor);

            modifyOpFrame.ShowDialog();
            FillTheDataGrid();
        }
예제 #2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex < 0)
            {
                return; //this happens when double click the column head.
            }
            customerVendorOperation ModifyOpFrame = new ModifyCustomerVendor(GetDataRowInShowTableFromIndex(e.RowIndex), customerOrVendor);

            ModifyOpFrame.ShowDialog();
            FillTheDataGrid();
        }
예제 #3
0
 private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex < 0)
     {
         return; //this happens when double click the column head.
     }
       customerVendorOperation ModifyOpFrame = new ModifyCustomerVendor(GetDataRowInShowTableFromIndex(e.RowIndex),customerOrVendor);
       ModifyOpFrame.ShowDialog();
       FillTheDataGrid();
 }
예제 #4
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            int rowIndex = dataGridView1.CurrentRow.Index;

            customerVendorOperation modifyOpFrame = new ModifyCustomerVendor(GetDataRowInShowTableFromIndex(rowIndex), customerOrVendor);
            modifyOpFrame.ShowDialog();
            FillTheDataGrid();
        }