public EveNotificationsSettings Clone() { EveNotificationsSettings clone = (EveNotificationsSettings)MemberwiseClone(); clone.Columns = Columns.Select(x => x.Clone()).ToArray(); clone.ReadingPanePosition = ReadingPanePosition; return(clone); }
public MainWindowSettings() { ShowOverview = true; ShowMenuBar = true; MarketOrders = new MarketOrderSettings(); IndustryJobs = new IndustryJobSettings(); Research = new ResearchSettings(); EVEMailMessages = new EveMailMessagesSettings(); EVENotifications = new EveNotificationsSettings(); OverviewItemSize = PortraitSizes.x96; TitleFormat = MainWindowTitleFormat.NextCharToFinish; ShowOverviewSkillQueueTrainingTime = true; ShowOverviewPortrait = true; ShowOverviewWallet = true; PutTrainingSkillsFirstOnOverview = true; }
protected override IEnumerable<IColumnSettings> GetDefaultColumns() { var settings = new EveNotificationsSettings(); return settings.Columns.Cast<IColumnSettings>(); }