Inheritance: System.Windows.Forms.Form
示例#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;
			}));
		}
示例#2
0
		private void ShowForm()
		{
			this.mainForm = new MainForm(this.OneNoteApplication);
            System.Windows.Forms.Application.Run(this.mainForm);
		}