Example #1
0
        private void barButtonItemPrefs_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            try {

                var settingsForm = new SettingsForm(AppContext.PersistentState, _internetStreamingStatistics);

                if (settingsForm.ShowDialog(this) == DialogResult.OK)
                {
                    //time_correction = settingsForm.time_correction;
                }

                //rp
                // send event after close SettingsForm
                timerAwekas_Tick(null, null);
                timerWindFinder_Tick(null,null);
                timerRapidFire_TickWU(null, null);

            }
            catch(Exception ex) {
                Log.Error("Settings change failed.", ex);
                MessageBox.Show("Settings change failed.", "Failure");
            }

            //rp zak
            // HandleRapidFireSetup();
        }
Example #2
0
 private void barButtonItemPrefs_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try {
         var settingsForm = new SettingsForm(AppContext.PersistentState);
         settingsForm.ShowDialog(this);
     }
     catch(Exception ex) {
         Log.Error("Settings change failed.", ex);
         MessageBox.Show("Settings change failed.", "Failure");
     }
     HandleRapidFireSetup();
 }