ShowDialog() 공개 메소드

public ShowDialog ( ) : DialogResult
리턴 DialogResult
예제 #1
0
파일: Main.cs 프로젝트: WolfgangSt/axiom
        private bool _configure( )
        {
            // instantiate the Root singleton
            engine = new Root( "AxiomDemos.log" );

            _setupResources();

            // HACK: Temporary
            ConfigDialog dlg = new ConfigDialog();
            DialogResult result = dlg.ShowDialog();
			if ( result == DialogResult.Cancel )
			{
				Root.Instance.Dispose();
				engine = null;
				return false;
			}

            return true;
        }