예제 #1
0
 internal static bool AddNew()
 {
     using (FrmRoleEditor frm = new FrmRoleEditor())
     {
         return(frm.ShowDialog() == DialogResult.OK);
     }
 }
예제 #2
0
 internal static void Edit(Entities.Role role)
 {
     using (FrmRoleEditor frm = new FrmRoleEditor(role))
     {
         frm.ShowDialog();
     }
 }