Example #1
0
        public static void InitialSetup()
        {
            if (File.Exists(ConfigFile))
            {
                File.Delete(ConfigFile);
            }

            ConfigWizard cw = new ConfigWizard();

            cw.ShowDialog();
            cw.Dispose();
            LoadConfigs();
        }
Example #2
0
        private void buttonItem29_Click(object sender, EventArgs e)
        {
            ConfigWizard wizard = new ConfigWizard();

            wizard.Show();
        }
Example #3
0
		// Called when the registration process has been successful
		void Completed_Clicked (object sender, EventArgs a)
		{
			window_config_wizard.Destroy ();
			config_wizard = null;
			try {
				Console.WriteLine ("Saving");
				SettingsHandler.Save ();
				parent.DoUpload ();
			} catch (Exception e) {
				MessageDialog md = new MessageDialog (null, 
								      DialogFlags.DestroyWithParent,
								      MessageType.Error, 
								      ButtonsType.Close, "Error Saving settings\n" +
								      e.ToString ());
			}
		}
Example #4
0
		//
		// Called when the user clicks `ok' on a terminate page
		//
		void Terminate_Clicked (object sender, EventArgs a)
		{
			window_config_wizard.Destroy ();
			config_wizard = null;
		}
Example #5
0
		//
		// Called on the Window delete icon clicked
		//
		void OnDelete (object sender, DeleteEventArgs a)
		{
			config_wizard = null;
		}
Example #6
0
		public static void Run (Browser browser)
		{
			if (config_wizard == null)
				config_wizard = new ConfigWizard (browser);
			return;
		}