public ReportGroupSetup() { InitializeComponent(); _group = UserAccount.CurrentGroup; _removedAccounts = new List<EVEAccount>(); UpdateCharLists(); }
private void btnOk_Click(object sender, EventArgs e) { _selectedGroup = (ReportGroup)reportGroupsGrid.CurrentRow.DataBoundItem; Ok(); }
private void reportGroupsGrid_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { _selectedGroup = (ReportGroup)reportGroupsGrid.Rows[e.RowIndex].DataBoundItem; Ok(); }
/// <summary> /// Log the current user account off. /// </summary> public static void Logout() { if (_currentGroup != null) { _currentGroup.StoreEveAccounts(); _currentGroup.StoreSettings(); _currentGroup.StoreItemsTraded(); } if (_settings != null) { StoreSettings(); } _name = ""; _settings = null; _currentGroup = null; }