Esempio n. 1
0
        private void toolStripButton2_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();
        }
Esempio n. 2
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex < 0)
                return; //this happens when doubleclick the column head;

            AccountOperation addMAccount = new ModifyAccount(e.RowIndex);
            addMAccount.SetDataTable(originalTable);
            addMAccount.ShowDialog();
            FillTheDatagrid();
        }
Esempio n. 3
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex < 0)
            {
                return; //this happens when doubleclick the column head;
            }
            AccountOperation addMAccount = new ModifyAccount(e.RowIndex);

            addMAccount.SetDataTable(originalTable);
            addMAccount.ShowDialog();
            FillTheDatagrid();
        }
Esempio n. 4
0
 private void toolStripButton2_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();
 }