Example #1
0
        /// <summary>
        /// Launch the project selection form for the addin. Called from the Exec method above.
        /// </summary>
        private void DisplayLaunchForm()
        {
            // Show the form.
            LaunchForm lf = new LaunchForm(_applicationObject);

            lf.AddEngine("MagoNatDE", new Guid("{97348AC0-2B6B-4B99-A245-4C7E2C09D403}"));
            if (lf.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // The user clicked on Ok in the form, so launch the file using one of the engines we want.
                string filePath    = lf.FilePath;
                Guid   clsidCustom = lf.EngineGuid;
                LaunchDebugTarget(filePath, clsidCustom);
            }
        }
Example #2
0
 /// <summary>
 /// Launch the project selection form for the addin. Called from the Exec method above.
 /// </summary>
 private void DisplayLaunchForm()
 {
     // Show the form.
     LaunchForm lf = new LaunchForm( _applicationObject );
     lf.AddEngine( "MagoNatDE", new Guid( "{97348AC0-2B6B-4B99-A245-4C7E2C09D403}" ) );
     if ( lf.ShowDialog() == System.Windows.Forms.DialogResult.OK )
     {
         // The user clicked on Ok in the form, so launch the file using one of the engines we want.
         string filePath = lf.FilePath;
         Guid clsidCustom = lf.EngineGuid;
         LaunchDebugTarget( filePath, clsidCustom );
     }
 }