Пример #1
0
 private void SaveAndRescan_Click(object sender, EventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     PageHost.SaveAll();
     PageHost.LoadAll();
     CheckSettings();
     Cursor.Current = Cursors.Default;
 }
Пример #2
0
 private void SaveAndRescan_Click(object sender, EventArgs e)
 {
     using (WaitCursorScope.Enter())
     {
         PageHost.SaveAll();
         PageHost.LoadAll();
         CheckSettings();
     }
 }
        private void ChangeHomeButton_Click(object sender, EventArgs e)
        {
            PageHost.SaveAll();
            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            PageHost.LoadAll();
            // TODO?: rescan

            // orginal:
            ////            throw new NotImplementedException(@"
            ////            Save();
            ////            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            ////            LoadSettings();
            ////            Rescan_Click(null, null);
            ////            ");
        }