/// <summary> /// Initializes a new instance of the <see cref="AccountSignIn"/> class. /// </summary> public AccountSignIn() { InitializeComponent(); accountApi = new AccountApiManager(); accountApi.CheckAccountPrivilege(); }
/// <summary> /// Initializes a new instance of the <see cref="AccountSignOut"/> class. /// </summary> /// <param name="accountId"> Account id from account manager.</param> /// <param name="userName"> Username from user input.</param> public AccountSignOut(int accountId, string userName) { InitializeComponent(); AccountLabel.Text = userName; account = new AccountItem { AccountId = accountId, UserName = userName }; accountAPIs = new AccountApiManager(); }