// private List<Role> roles = new List<Role>(); public FrmRoles(AccessToken acctoken) { InitializeComponent(); var RoleAccess = new RoleAccess(acctoken, this); _roleManager = new RoleManager(); _myAccessToken = acctoken; Instance = this; }
private void FrmRoles_FormClosed(object sender, FormClosedEventArgs e) { Instance = null; }