示例#1
0
        private void tslblNew_Click(object sender, EventArgs e)
        {
            frmPopup frm = new frmPopup();

            frm.Action = "New";
            frm.ShowDialog();

            if (frm.DialogResult.Equals(DialogResult.OK))
            {
                MostrarData();
            }
        }
示例#2
0
        private void tslblEdit_Click(object sender, EventArgs e)
        {
            frmPopup frm = new frmPopup();

            frm.Action     = "Edit";
            frm.IdEmployee = this.idEmployee;
            frm.ShowDialog();

            if (frm.DialogResult.Equals(DialogResult.OK))
            {
                MostrarData();
            }
        }