private void cashOutToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmCashOut fco = new frmCashOut(0);

            fco.MdiParent = this;
            fco.Show();
        }
Ejemplo n.º 2
0
        private void gvDetails_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            id = Convert.ToInt32(gvDetails.Rows[e.RowIndex].Cells[0].Value);
            frmCashOut cashout = new frmCashOut(id);

            cashout.Show();
            this.Close();
        }