Ejemplo n.º 1
0
        private void simpleButton5_Click(object sender, EventArgs e)
        {
            if (gridView2.RowCount == 0)
            {
                return;
            }
            frm_casher frm = new frm_casher();

            frm.cashier_id    = int.Parse(gridView2.GetFocusedRowCellValue("cashier_id").ToString());
            frm.txt_name.Text = gridView2.GetFocusedRowCellValue("cashier_name").ToString();
            frm.btn_save.Tag  = 1;
            frm.ShowDialog();
        }
Ejemplo n.º 2
0
        private void simpleButton6_Click(object sender, EventArgs e)
        {
            frm_casher frm = new frm_casher();

            frm.ShowDialog();
        }