Inheritance: System.Windows.Forms.Form
Beispiel #1
0
		/// <summary>
		/// Cleanup
		/// </summary>
		/// <param name="custom"></param>
		public void OnBeginShutdown(ref Array custom)
		{
			this.mainForm?.Invoke(new Action(() =>
			{
				// close the form on the forms thread
				this.mainForm?.Close();
				this.mainForm = null;
			}));
		}
Beispiel #2
0
		private void ShowForm()
		{
			this.mainForm = new MainForm(this.OneNoteApplication);
            System.Windows.Forms.Application.Run(this.mainForm);
		}