Exemplo n.º 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            def0010 frm = new def0010();

            frm.FormClosed += new FormClosedEventHandler(Form_Closed);
            frm.Show();
        }
Exemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int menuRoleId = gvMenuRole.GetNullableRowCellValue();

            if (menuRoleId == 0)
            {
                return;
            }
            def0010 frm = new def0010(menuRoleId);

            frm.FormClosed += new FormClosedEventHandler(Form_Closed);
            frm.Show();
        }