コード例 #1
0
ファイル: PackagingHelper.cs プロジェクト: lulzzz/appstract
 private static bool PrepareApplicationData(PreConfigurationState preConfigurationState, out ApplicationData applicationData)
 {
     try
     {
         applicationData = Packager.GetDefaultApplicationData(preConfigurationState.InstallerExecutable);
     }
     catch (ArgumentException)
     {
         applicationData = null;
         return(false);
     }
     if (preConfigurationState.ShowEngineConfigurationUtility)
     {
         var utility = new ApplicationConfigurationUtility(true);
         utility.LoadApplicationData(applicationData);
         utility.ShowDialog();
     }
     return(true);
 }
コード例 #2
0
        private void _btnConfigureApplication_Click(object sender, System.EventArgs e)
        {
            ApplicationConfigurationUtility frm = new ApplicationConfigurationUtility();

            frm.ShowDialog();
        }