public CreateRoleDialog(RoleDBFunctions roleDBFunctions) { roleFunctions = roleDBFunctions; InitializeComponent(); btn_Cancel.DialogResult = DialogResult.Cancel; btn_CreateRole.DialogResult = DialogResult.OK; }
public RoleModel(Mysql mysqlConnection) { roleFunctions = new RoleDBFunctions(mysqlConnection); currentRole = null; LoadRoleList(); }