private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     AccountOperation addMAccount = new ModifyAccount(e.RowIndex);
     addMAccount.SetDataTable(originalTable);
     addMAccount.ShowDialog();
     FillTheDatagrid();
 }
Exemple #2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            AccountOperation addMAccount = new ModifyAccount(e.RowIndex);

            addMAccount.SetDataTable(originalTable);
            addMAccount.ShowDialog();
            FillTheDatagrid();
        }
 private void button2_Click(object sender, EventArgs e)
 {
     //Modify the current account;
     int rowIndex=dataGridView1.CurrentRow.Index;
     AccountOperation addMAccount=new ModifyAccount(rowIndex);
     addMAccount.SetDataTable(originalTable);
     addMAccount.ShowDialog();
     FillTheDatagrid();
 }
Exemple #4
0
        private void button2_Click(object sender, EventArgs e)
        {
            //Modify the current account;
            int rowIndex = dataGridView1.CurrentRow.Index;
            AccountOperation addMAccount = new ModifyAccount(rowIndex);

            addMAccount.SetDataTable(originalTable);
            addMAccount.ShowDialog();
            FillTheDatagrid();
        }