Exemplo n.º 1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            FmEditSale fmEdit = new FmEditSale(Oid);

            fmEdit.Show();
            this.Close();
        }
Exemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (dgvList.Rows.Count == 0)
            {
                return;
            }
            int        currentId = int.Parse(getCurrentCode());
            FmEditSale fmEdit    = new FmEditSale(currentId);

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