Ejemplo n.º 1
0
		/// <summary>
		/// Display the about box when menu item is selected
		/// </summary>
		private void aboutMenuItem_Click(object sender, System.EventArgs e)
		{
			using( AboutBox aboutBox = new AboutBox() )
			{
				this.Site.Container.Add( aboutBox );
				aboutBox.ShowDialog();
			}
		}
Ejemplo n.º 2
0
        /// <summary>
        /// Display the about box when menu item is selected
        /// </summary>
        private void aboutMenuItem_Click(object sender, System.EventArgs e)
        {
            /*2013-1-12:NUnit.Gui.ArxNet.Tests.NUnitFormArxNetTests.ShowModalDialog���Լ�*/
            if (this.Site == null) return;
            if (this.Site.Container == null) return;
            /*2013-1-12:NUnit.Gui.ArxNet.Tests.NUnitFormArxNetTests.ShowModalDialog���Լ�*/

            using( AboutBox aboutBox = new AboutBox() )
            {
                this.Site.Container.Add( aboutBox );
                aboutBox.ShowDialog();
            }
        }