Exemplo 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();
        }
Exemplo 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();
        }
Exemplo 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();
        }
Exemplo 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();
 }