private void NotesProgram_Load(object sender, EventArgs e) { InitializeTheme(); LoadNotes(); if (Properties.Settings.Default.CheckForUpdatesOnStartUp) { update.Check(); } contactsPane.Load(); PositionContacts(); Startup(); this.Size = Notes.Properties.Settings.Default.UserSize; SetLocations(); this.Enabled = true; }
private void btnCheck_Click(object sender, EventArgs e) { update = new Update(); NotesOrganizer.checkUpdate = true; update.Check(); }