상속: 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);
		}