public NotificationAreaForm() { InitializeComponent(); PositionForm(); _core = new DiskUsage(); HideForm(_core.SettingsFileWasGenerated); orderByCombo.AddEnumDescriptionItems(new SortingOption(), ComboIndex); //do an update now _core.RequestUpdateFromAll(); NotificationTime = DateTime.Now.AddSeconds(10); notificationTimer.Enabled = true; }
void ShowForm() { if (!HasOneOrMorePath) { AddNewPath(this, new EventArgs()); } else { RebuildUserInterface(); } _allowshowdisplay = true; Visible = true; SetAvailabilityOfChartMenuItems(); _core.RequestUpdateFromAll(); }