PageRenderTime 59ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/Microsoft.Sdc.BiztalkDocumenter/Microsoft.Sdc.BiztalkDocumenter/Form1.cs

#
C# | 1843 lines | 1518 code | 72 blank | 253 comment | 41 complexity | bc589f287822d81686247dc9f5bd1a2f MD5 | raw file
  1. namespace Microsoft.Services.Tools.BiztalkDocumenter
  2. {
  3. using System;
  4. using System.Collections;
  5. using System.ComponentModel;
  6. using System.Configuration;
  7. using System.Drawing;
  8. using System.IO;
  9. using System.Reflection;
  10. using System.Windows.Forms;
  11. using Microsoft.Services.Tools.BiztalkDocumenter.Publishers;
  12. using Microsoft.Services.Tools.BiztalkDocumenter.Publishers.Word;
  13. using Microsoft.Services.Tools.BizTalkOM;
  14. using Microsoft.Services.Tools.BizTalkOM.Diagnostics;
  15. /// <summary>
  16. /// Summary description for Form1.
  17. /// </summary>
  18. public class Form1 : System.Windows.Forms.Form
  19. {
  20. #region private fields
  21. private static Documenter documenter = null;
  22. private static ExecutionMode executionMode = ExecutionMode.CommandLine;
  23. private static bool stop;
  24. private static bool showUsage = false;
  25. private static BizTalkInstallation bizTalkInstallation = new BizTalkInstallation();
  26. private System.ComponentModel.IContainer components;
  27. private System.Windows.Forms.Button btnBrowse;
  28. private System.Windows.Forms.Button button1;
  29. private System.Windows.Forms.Button button2;
  30. private System.Windows.Forms.CheckBox cbIncludeReferences;
  31. private System.Windows.Forms.CheckBox cbRulesConfig;
  32. private System.Windows.Forms.CheckBox cbShowOutput;
  33. private System.Windows.Forms.CheckedListBox clbApplications;
  34. private System.Windows.Forms.ComboBox comboBox1;
  35. private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
  36. private System.Windows.Forms.GroupBox grpBoxAdvanced;
  37. private System.Windows.Forms.ImageList imageList1;
  38. private System.Windows.Forms.Label label10;
  39. private System.Windows.Forms.Label label11;
  40. private System.Windows.Forms.Label label17;
  41. private System.Windows.Forms.Label label18;
  42. private System.Windows.Forms.Label label19;
  43. private System.Windows.Forms.Label label1;
  44. private System.Windows.Forms.Label label21;
  45. private System.Windows.Forms.Label label22;
  46. private System.Windows.Forms.Label label24;
  47. private System.Windows.Forms.Label label25;
  48. private System.Windows.Forms.Label label26;
  49. private System.Windows.Forms.Label label27;
  50. private System.Windows.Forms.Label label29;
  51. private System.Windows.Forms.Label label2;
  52. private System.Windows.Forms.Label label30;
  53. private System.Windows.Forms.Label label3;
  54. private System.Windows.Forms.Label label4;
  55. private System.Windows.Forms.Label label5;
  56. private System.Windows.Forms.Label label6;
  57. private System.Windows.Forms.Label label7;
  58. private System.Windows.Forms.Label label8;
  59. private System.Windows.Forms.Label label9;
  60. private System.Windows.Forms.LinkLabel linkLabel12;
  61. private System.Windows.Forms.LinkLabel linkLabel13;
  62. private System.Windows.Forms.LinkLabel linkLabel1;
  63. private System.Windows.Forms.LinkLabel linkLabel2;
  64. private System.Windows.Forms.LinkLabel linkLabel3;
  65. private System.Windows.Forms.LinkLabel linkLabel6;
  66. private System.Windows.Forms.LinkLabel linkLabel7;
  67. private System.Windows.Forms.LinkLabel linkLabel8;
  68. private System.Windows.Forms.LinkLabel linkLabel9;
  69. private System.Windows.Forms.OpenFileDialog dlgConfigFrameworkOpenFile;
  70. private System.Windows.Forms.Panel panel1;
  71. private System.Windows.Forms.Panel panel2;
  72. private System.Windows.Forms.Panel panel3;
  73. private System.Windows.Forms.Panel panel4;
  74. private System.Windows.Forms.Panel panel5;
  75. private System.Windows.Forms.Panel panel6;
  76. private System.Windows.Forms.PictureBox pictureBox1;
  77. private System.Windows.Forms.PictureBox pictureBox2;
  78. private System.Windows.Forms.PictureBox pictureBox3;
  79. private System.Windows.Forms.PictureBox pictureBox4;
  80. private System.Windows.Forms.ProgressBar progressBar1;
  81. private System.Windows.Forms.RadioButton radioAssembly;
  82. private System.Windows.Forms.RadioButton radioEntire;
  83. private System.Windows.Forms.SaveFileDialog dlgConfigFrameworkSaveFile;
  84. private System.Windows.Forms.TabControl tabControl1;
  85. private System.Windows.Forms.TabPage tabPage1;
  86. private System.Windows.Forms.TabPage tabPage2;
  87. private System.Windows.Forms.TabPage tabPage3;
  88. private System.Windows.Forms.TabPage tabPage4;
  89. private System.Windows.Forms.TextBox textBox1;
  90. private System.Windows.Forms.TextBox txtOutputDir;
  91. private System.Windows.Forms.TextBox txtReportTitle;
  92. private System.Windows.Forms.TextBox txtResourceFolder;
  93. private System.Windows.Forms.TextBox txtRulesDatabase;
  94. private System.Windows.Forms.TextBox txtRulesServer;
  95. private System.Windows.Forms.TextBox txtServerName;
  96. private System.Windows.Forms.TreeView tvOrchs;
  97. private SaveFileDialog dlgResultFileSave;
  98. private Microsoft.VisualBasic.PowerPacks.ShapeContainer shapeContainer1;
  99. private Microsoft.VisualBasic.PowerPacks.LineShape lineShape1;
  100. private TextBox txtConfigFrameworkFile;
  101. #endregion
  102. public Form1()
  103. {
  104. InitializeComponent();
  105. //comboBox1.SelectedIndex = 0;
  106. this.textBox1.Text = documenter.Database;
  107. this.txtServerName.Text = documenter.Server;
  108. this.txtOutputDir.Text = documenter.OutputDir;
  109. this.txtReportTitle.Text = documenter.ReportName;
  110. this.txtRulesServer.Text = documenter.RulesServer;
  111. this.txtRulesDatabase.Text = documenter.RulesDatabase;
  112. documenter.PercentageDocumentationComplete += new UpdatePercentageComplete(Documenter_PercentageDocumentationComplete);
  113. }
  114. /// <summary>
  115. /// The main entry point for the application.
  116. /// </summary>
  117. [STAThread]
  118. static void Main(string[] args)
  119. {
  120. TraceManager.SmartTrace.TraceIn();
  121. documenter = new Documenter();
  122. if (args.Length > 0)
  123. {
  124. ProcessArgs(args);
  125. // there may have been some overrides of the defaults (in the config)
  126. ProcessOverrides();
  127. }
  128. else
  129. {
  130. stop = true;
  131. executionMode = ExecutionMode.Interactive;
  132. }
  133. if (showUsage)
  134. {
  135. ShowUsage();
  136. return;
  137. }
  138. else
  139. {
  140. if (executionMode == ExecutionMode.Interactive)
  141. {
  142. documenter.SetDefaults();
  143. Application.Run(new Form1());
  144. }
  145. else
  146. {
  147. Form1 f1 = new Form1();
  148. f1.GenerateDocumentation();
  149. }
  150. }
  151. System.Diagnostics.Trace.WriteLine("Completed processing");
  152. return;
  153. }
  154. /// <summary>
  155. /// Clean up any resources being used.
  156. /// </summary>
  157. protected override void Dispose(bool disposing)
  158. {
  159. if (disposing)
  160. {
  161. if (components != null)
  162. {
  163. components.Dispose();
  164. }
  165. }
  166. base.Dispose(disposing);
  167. }
  168. #region Windows Form Designer generated code
  169. /// <summary>
  170. /// Required method for Designer support - do not modify
  171. /// the contents of this method with the code editor.
  172. /// </summary>
  173. private void InitializeComponent()
  174. {
  175. this.components = new System.ComponentModel.Container();
  176. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  177. this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
  178. this.panel2 = new System.Windows.Forms.Panel();
  179. this.tabControl1 = new System.Windows.Forms.TabControl();
  180. this.tabPage1 = new System.Windows.Forms.TabPage();
  181. this.label25 = new System.Windows.Forms.Label();
  182. this.button2 = new System.Windows.Forms.Button();
  183. this.label24 = new System.Windows.Forms.Label();
  184. this.txtConfigFrameworkFile = new System.Windows.Forms.TextBox();
  185. this.panel3 = new System.Windows.Forms.Panel();
  186. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  187. this.label26 = new System.Windows.Forms.Label();
  188. this.label19 = new System.Windows.Forms.Label();
  189. this.txtRulesDatabase = new System.Windows.Forms.TextBox();
  190. this.txtRulesServer = new System.Windows.Forms.TextBox();
  191. this.label7 = new System.Windows.Forms.Label();
  192. this.label8 = new System.Windows.Forms.Label();
  193. this.cbRulesConfig = new System.Windows.Forms.CheckBox();
  194. this.textBox1 = new System.Windows.Forms.TextBox();
  195. this.txtServerName = new System.Windows.Forms.TextBox();
  196. this.label3 = new System.Windows.Forms.Label();
  197. this.label2 = new System.Windows.Forms.Label();
  198. this.tabPage2 = new System.Windows.Forms.TabPage();
  199. this.panel6 = new System.Windows.Forms.Panel();
  200. this.pictureBox2 = new System.Windows.Forms.PictureBox();
  201. this.label27 = new System.Windows.Forms.Label();
  202. this.label22 = new System.Windows.Forms.Label();
  203. this.grpBoxAdvanced = new System.Windows.Forms.GroupBox();
  204. this.cbIncludeReferences = new System.Windows.Forms.CheckBox();
  205. this.radioEntire = new System.Windows.Forms.RadioButton();
  206. this.clbApplications = new System.Windows.Forms.CheckedListBox();
  207. this.radioAssembly = new System.Windows.Forms.RadioButton();
  208. this.tabPage3 = new System.Windows.Forms.TabPage();
  209. this.panel5 = new System.Windows.Forms.Panel();
  210. this.pictureBox3 = new System.Windows.Forms.PictureBox();
  211. this.label29 = new System.Windows.Forms.Label();
  212. this.label21 = new System.Windows.Forms.Label();
  213. this.linkLabel9 = new System.Windows.Forms.LinkLabel();
  214. this.linkLabel8 = new System.Windows.Forms.LinkLabel();
  215. this.linkLabel7 = new System.Windows.Forms.LinkLabel();
  216. this.label11 = new System.Windows.Forms.Label();
  217. this.tvOrchs = new System.Windows.Forms.TreeView();
  218. this.tabPage4 = new System.Windows.Forms.TabPage();
  219. this.panel4 = new System.Windows.Forms.Panel();
  220. this.pictureBox4 = new System.Windows.Forms.PictureBox();
  221. this.label30 = new System.Windows.Forms.Label();
  222. this.label18 = new System.Windows.Forms.Label();
  223. this.label10 = new System.Windows.Forms.Label();
  224. this.label9 = new System.Windows.Forms.Label();
  225. this.txtResourceFolder = new System.Windows.Forms.TextBox();
  226. this.label5 = new System.Windows.Forms.Label();
  227. this.button1 = new System.Windows.Forms.Button();
  228. this.cbShowOutput = new System.Windows.Forms.CheckBox();
  229. this.txtReportTitle = new System.Windows.Forms.TextBox();
  230. this.label6 = new System.Windows.Forms.Label();
  231. this.label4 = new System.Windows.Forms.Label();
  232. this.comboBox1 = new System.Windows.Forms.ComboBox();
  233. this.txtOutputDir = new System.Windows.Forms.TextBox();
  234. this.label1 = new System.Windows.Forms.Label();
  235. this.btnBrowse = new System.Windows.Forms.Button();
  236. this.imageList1 = new System.Windows.Forms.ImageList(this.components);
  237. this.dlgConfigFrameworkOpenFile = new System.Windows.Forms.OpenFileDialog();
  238. this.dlgConfigFrameworkSaveFile = new System.Windows.Forms.SaveFileDialog();
  239. this.linkLabel1 = new System.Windows.Forms.LinkLabel();
  240. this.linkLabel2 = new System.Windows.Forms.LinkLabel();
  241. this.linkLabel3 = new System.Windows.Forms.LinkLabel();
  242. this.label17 = new System.Windows.Forms.Label();
  243. this.panel1 = new System.Windows.Forms.Panel();
  244. this.linkLabel6 = new System.Windows.Forms.LinkLabel();
  245. this.progressBar1 = new System.Windows.Forms.ProgressBar();
  246. this.linkLabel12 = new System.Windows.Forms.LinkLabel();
  247. this.linkLabel13 = new System.Windows.Forms.LinkLabel();
  248. this.dlgResultFileSave = new System.Windows.Forms.SaveFileDialog();
  249. this.shapeContainer1 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
  250. this.lineShape1 = new Microsoft.VisualBasic.PowerPacks.LineShape();
  251. this.panel2.SuspendLayout();
  252. this.tabControl1.SuspendLayout();
  253. this.tabPage1.SuspendLayout();
  254. this.panel3.SuspendLayout();
  255. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  256. this.tabPage2.SuspendLayout();
  257. this.panel6.SuspendLayout();
  258. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
  259. this.grpBoxAdvanced.SuspendLayout();
  260. this.tabPage3.SuspendLayout();
  261. this.panel5.SuspendLayout();
  262. ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
  263. this.tabPage4.SuspendLayout();
  264. this.panel4.SuspendLayout();
  265. ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
  266. this.SuspendLayout();
  267. //
  268. // folderBrowserDialog1
  269. //
  270. this.folderBrowserDialog1.HelpRequest += new System.EventHandler(this.folderBrowserDialog1_HelpRequest);
  271. //
  272. // panel2
  273. //
  274. this.panel2.Controls.Add(this.tabControl1);
  275. this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
  276. this.panel2.Location = new System.Drawing.Point(0, 0);
  277. this.panel2.Name = "panel2";
  278. this.panel2.Size = new System.Drawing.Size(667, 498);
  279. this.panel2.TabIndex = 23;
  280. //
  281. // tabControl1
  282. //
  283. this.tabControl1.Controls.Add(this.tabPage1);
  284. this.tabControl1.Controls.Add(this.tabPage2);
  285. this.tabControl1.Controls.Add(this.tabPage3);
  286. this.tabControl1.Controls.Add(this.tabPage4);
  287. this.tabControl1.Location = new System.Drawing.Point(-10, -28);
  288. this.tabControl1.Name = "tabControl1";
  289. this.tabControl1.SelectedIndex = 0;
  290. this.tabControl1.Size = new System.Drawing.Size(682, 536);
  291. this.tabControl1.TabIndex = 34;
  292. //
  293. // tabPage1
  294. //
  295. this.tabPage1.BackColor = System.Drawing.Color.White;
  296. this.tabPage1.Controls.Add(this.label25);
  297. this.tabPage1.Controls.Add(this.button2);
  298. this.tabPage1.Controls.Add(this.label24);
  299. this.tabPage1.Controls.Add(this.txtConfigFrameworkFile);
  300. this.tabPage1.Controls.Add(this.panel3);
  301. this.tabPage1.Controls.Add(this.txtRulesDatabase);
  302. this.tabPage1.Controls.Add(this.txtRulesServer);
  303. this.tabPage1.Controls.Add(this.label7);
  304. this.tabPage1.Controls.Add(this.label8);
  305. this.tabPage1.Controls.Add(this.cbRulesConfig);
  306. this.tabPage1.Controls.Add(this.textBox1);
  307. this.tabPage1.Controls.Add(this.txtServerName);
  308. this.tabPage1.Controls.Add(this.label3);
  309. this.tabPage1.Controls.Add(this.label2);
  310. this.tabPage1.Location = new System.Drawing.Point(4, 25);
  311. this.tabPage1.Name = "tabPage1";
  312. this.tabPage1.Size = new System.Drawing.Size(674, 507);
  313. this.tabPage1.TabIndex = 0;
  314. this.tabPage1.Text = "General";
  315. //
  316. // label25
  317. //
  318. this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  319. this.label25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  320. this.label25.Location = new System.Drawing.Point(134, 405);
  321. this.label25.Name = "label25";
  322. this.label25.Size = new System.Drawing.Size(461, 37);
  323. this.label25.TabIndex = 59;
  324. this.label25.Text = "Optional: Include the ConfigFramework.exe output XML to generate a system configu" +
  325. "ration overview";
  326. //
  327. // button2
  328. //
  329. this.button2.BackColor = System.Drawing.Color.Silver;
  330. this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  331. this.button2.Location = new System.Drawing.Point(515, 460);
  332. this.button2.Name = "button2";
  333. this.button2.Size = new System.Drawing.Size(29, 22);
  334. this.button2.TabIndex = 58;
  335. this.button2.Text = "...";
  336. this.button2.UseVisualStyleBackColor = false;
  337. this.button2.Click += new System.EventHandler(this.button2_Click);
  338. //
  339. // label24
  340. //
  341. this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  342. this.label24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  343. this.label24.Location = new System.Drawing.Point(134, 463);
  344. this.label24.Name = "label24";
  345. this.label24.Size = new System.Drawing.Size(192, 18);
  346. this.label24.TabIndex = 57;
  347. this.label24.Text = "ConfigFramework Output XML:";
  348. //
  349. // txtConfigFrameworkFile
  350. //
  351. this.txtConfigFrameworkFile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  352. this.txtConfigFrameworkFile.Location = new System.Drawing.Point(326, 460);
  353. this.txtConfigFrameworkFile.Name = "txtConfigFrameworkFile";
  354. this.txtConfigFrameworkFile.Size = new System.Drawing.Size(183, 22);
  355. this.txtConfigFrameworkFile.TabIndex = 56;
  356. //
  357. // panel3
  358. //
  359. this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(48)))), ((int)(((byte)(21)))));
  360. this.panel3.Controls.Add(this.pictureBox1);
  361. this.panel3.Controls.Add(this.label26);
  362. this.panel3.Controls.Add(this.label19);
  363. this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
  364. this.panel3.Location = new System.Drawing.Point(0, 0);
  365. this.panel3.Name = "panel3";
  366. this.panel3.Size = new System.Drawing.Size(674, 46);
  367. this.panel3.TabIndex = 55;
  368. //
  369. // pictureBox1
  370. //
  371. this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
  372. this.pictureBox1.Location = new System.Drawing.Point(8, 1);
  373. this.pictureBox1.Name = "pictureBox1";
  374. this.pictureBox1.Size = new System.Drawing.Size(48, 44);
  375. this.pictureBox1.TabIndex = 3;
  376. this.pictureBox1.TabStop = false;
  377. //
  378. // label26
  379. //
  380. this.label26.ForeColor = System.Drawing.Color.White;
  381. this.label26.Location = new System.Drawing.Point(58, 28);
  382. this.label26.Name = "label26";
  383. this.label26.Size = new System.Drawing.Size(120, 26);
  384. this.label26.TabIndex = 2;
  385. this.label26.Text = "Server Options";
  386. //
  387. // label19
  388. //
  389. this.label19.BackColor = System.Drawing.Color.Transparent;
  390. this.label19.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  391. this.label19.ForeColor = System.Drawing.Color.White;
  392. this.label19.Location = new System.Drawing.Point(58, 7);
  393. this.label19.Name = "label19";
  394. this.label19.Size = new System.Drawing.Size(470, 26);
  395. this.label19.TabIndex = 1;
  396. this.label19.Text = "Microsoft Services BizTalk Documenter";
  397. //
  398. // txtRulesDatabase
  399. //
  400. this.txtRulesDatabase.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  401. this.txtRulesDatabase.Enabled = false;
  402. this.txtRulesDatabase.Location = new System.Drawing.Point(326, 258);
  403. this.txtRulesDatabase.Name = "txtRulesDatabase";
  404. this.txtRulesDatabase.Size = new System.Drawing.Size(183, 22);
  405. this.txtRulesDatabase.TabIndex = 52;
  406. //
  407. // txtRulesServer
  408. //
  409. this.txtRulesServer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  410. this.txtRulesServer.Enabled = false;
  411. this.txtRulesServer.Location = new System.Drawing.Point(326, 231);
  412. this.txtRulesServer.Name = "txtRulesServer";
  413. this.txtRulesServer.Size = new System.Drawing.Size(183, 22);
  414. this.txtRulesServer.TabIndex = 49;
  415. //
  416. // label7
  417. //
  418. this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  419. this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  420. this.label7.Location = new System.Drawing.Point(77, 261);
  421. this.label7.Name = "label7";
  422. this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  423. this.label7.Size = new System.Drawing.Size(230, 18);
  424. this.label7.TabIndex = 51;
  425. this.label7.Text = "Rules Engine Database Name";
  426. //
  427. // label8
  428. //
  429. this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  430. this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  431. this.label8.Location = new System.Drawing.Point(96, 233);
  432. this.label8.Name = "label8";
  433. this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  434. this.label8.Size = new System.Drawing.Size(211, 19);
  435. this.label8.TabIndex = 50;
  436. this.label8.Text = "Rules Engine Server Name";
  437. //
  438. // cbRulesConfig
  439. //
  440. this.cbRulesConfig.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  441. this.cbRulesConfig.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  442. this.cbRulesConfig.Location = new System.Drawing.Point(96, 185);
  443. this.cbRulesConfig.Name = "cbRulesConfig";
  444. this.cbRulesConfig.Size = new System.Drawing.Size(288, 27);
  445. this.cbRulesConfig.TabIndex = 48;
  446. this.cbRulesConfig.Text = "Include Rules Engine Documentation";
  447. this.cbRulesConfig.CheckedChanged += new System.EventHandler(this.IncludeRulesChecked);
  448. //
  449. // textBox1
  450. //
  451. this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  452. this.textBox1.Location = new System.Drawing.Point(326, 138);
  453. this.textBox1.Name = "textBox1";
  454. this.textBox1.Size = new System.Drawing.Size(183, 22);
  455. this.textBox1.TabIndex = 40;
  456. //
  457. // txtServerName
  458. //
  459. this.txtServerName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  460. this.txtServerName.Location = new System.Drawing.Point(326, 111);
  461. this.txtServerName.Name = "txtServerName";
  462. this.txtServerName.Size = new System.Drawing.Size(183, 22);
  463. this.txtServerName.TabIndex = 34;
  464. //
  465. // label3
  466. //
  467. this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  468. this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  469. this.label3.Location = new System.Drawing.Point(77, 138);
  470. this.label3.Name = "label3";
  471. this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  472. this.label3.Size = new System.Drawing.Size(230, 19);
  473. this.label3.TabIndex = 39;
  474. this.label3.Text = "Management Database Name";
  475. //
  476. // label2
  477. //
  478. this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  479. this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  480. this.label2.Location = new System.Drawing.Point(96, 111);
  481. this.label2.Name = "label2";
  482. this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  483. this.label2.Size = new System.Drawing.Size(211, 18);
  484. this.label2.TabIndex = 38;
  485. this.label2.Text = "Management Server Name";
  486. //
  487. // tabPage2
  488. //
  489. this.tabPage2.BackColor = System.Drawing.Color.White;
  490. this.tabPage2.Controls.Add(this.panel6);
  491. this.tabPage2.Controls.Add(this.grpBoxAdvanced);
  492. this.tabPage2.Location = new System.Drawing.Point(4, 25);
  493. this.tabPage2.Name = "tabPage2";
  494. this.tabPage2.Size = new System.Drawing.Size(674, 507);
  495. this.tabPage2.TabIndex = 1;
  496. this.tabPage2.Text = "Advanced";
  497. //
  498. // panel6
  499. //
  500. this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(48)))), ((int)(((byte)(21)))));
  501. this.panel6.Controls.Add(this.pictureBox2);
  502. this.panel6.Controls.Add(this.label27);
  503. this.panel6.Controls.Add(this.label22);
  504. this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
  505. this.panel6.Location = new System.Drawing.Point(0, 0);
  506. this.panel6.Name = "panel6";
  507. this.panel6.Size = new System.Drawing.Size(674, 46);
  508. this.panel6.TabIndex = 55;
  509. //
  510. // pictureBox2
  511. //
  512. this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
  513. this.pictureBox2.Location = new System.Drawing.Point(10, 1);
  514. this.pictureBox2.Name = "pictureBox2";
  515. this.pictureBox2.Size = new System.Drawing.Size(48, 44);
  516. this.pictureBox2.TabIndex = 4;
  517. this.pictureBox2.TabStop = false;
  518. //
  519. // label27
  520. //
  521. this.label27.ForeColor = System.Drawing.Color.White;
  522. this.label27.Location = new System.Drawing.Point(58, 28);
  523. this.label27.Name = "label27";
  524. this.label27.Size = new System.Drawing.Size(182, 26);
  525. this.label27.TabIndex = 3;
  526. this.label27.Text = "Select Documentation Type";
  527. //
  528. // label22
  529. //
  530. this.label22.BackColor = System.Drawing.Color.Transparent;
  531. this.label22.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  532. this.label22.ForeColor = System.Drawing.Color.White;
  533. this.label22.Location = new System.Drawing.Point(58, 7);
  534. this.label22.Name = "label22";
  535. this.label22.Size = new System.Drawing.Size(470, 26);
  536. this.label22.TabIndex = 1;
  537. this.label22.Text = "Microsoft Services BizTalk Documenter";
  538. //
  539. // grpBoxAdvanced
  540. //
  541. this.grpBoxAdvanced.Controls.Add(this.cbIncludeReferences);
  542. this.grpBoxAdvanced.Controls.Add(this.radioEntire);
  543. this.grpBoxAdvanced.Controls.Add(this.clbApplications);
  544. this.grpBoxAdvanced.Controls.Add(this.radioAssembly);
  545. this.grpBoxAdvanced.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  546. this.grpBoxAdvanced.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  547. this.grpBoxAdvanced.Location = new System.Drawing.Point(25, 65);
  548. this.grpBoxAdvanced.Name = "grpBoxAdvanced";
  549. this.grpBoxAdvanced.Size = new System.Drawing.Size(599, 421);
  550. this.grpBoxAdvanced.TabIndex = 32;
  551. this.grpBoxAdvanced.TabStop = false;
  552. this.grpBoxAdvanced.Text = "Options";
  553. //
  554. // cbIncludeReferences
  555. //
  556. this.cbIncludeReferences.AutoSize = true;
  557. this.cbIncludeReferences.Checked = true;
  558. this.cbIncludeReferences.CheckState = System.Windows.Forms.CheckState.Checked;
  559. this.cbIncludeReferences.Enabled = false;
  560. this.cbIncludeReferences.Location = new System.Drawing.Point(18, 385);
  561. this.cbIncludeReferences.Name = "cbIncludeReferences";
  562. this.cbIncludeReferences.Size = new System.Drawing.Size(224, 21);
  563. this.cbIncludeReferences.TabIndex = 4;
  564. this.cbIncludeReferences.Text = "Include referenced applications";
  565. //
  566. // radioEntire
  567. //
  568. this.radioEntire.Checked = true;
  569. this.radioEntire.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  570. this.radioEntire.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  571. this.radioEntire.Location = new System.Drawing.Point(19, 28);
  572. this.radioEntire.Name = "radioEntire";
  573. this.radioEntire.Size = new System.Drawing.Size(298, 27);
  574. this.radioEntire.TabIndex = 3;
  575. this.radioEntire.TabStop = true;
  576. this.radioEntire.Text = "Document Entire Configuration";
  577. //
  578. // clbApplications
  579. //
  580. this.clbApplications.BackColor = System.Drawing.SystemColors.InactiveBorder;
  581. this.clbApplications.CheckOnClick = true;
  582. this.clbApplications.Enabled = false;
  583. this.clbApplications.FormattingEnabled = true;
  584. this.clbApplications.HorizontalScrollbar = true;
  585. this.clbApplications.Location = new System.Drawing.Point(19, 90);
  586. this.clbApplications.Name = "clbApplications";
  587. this.clbApplications.Size = new System.Drawing.Size(567, 202);
  588. this.clbApplications.Sorted = true;
  589. this.clbApplications.TabIndex = 2;
  590. //
  591. // radioAssembly
  592. //
  593. this.radioAssembly.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  594. this.radioAssembly.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  595. this.radioAssembly.Location = new System.Drawing.Point(19, 53);
  596. this.radioAssembly.Name = "radioAssembly";
  597. this.radioAssembly.Size = new System.Drawing.Size(298, 28);
  598. this.radioAssembly.TabIndex = 0;
  599. this.radioAssembly.Text = "Specific BizTalk Application";
  600. this.radioAssembly.CheckedChanged += new System.EventHandler(this.AdvancedCheckedChanged);
  601. //
  602. // tabPage3
  603. //
  604. this.tabPage3.BackColor = System.Drawing.Color.White;
  605. this.tabPage3.Controls.Add(this.panel5);
  606. this.tabPage3.Controls.Add(this.linkLabel9);
  607. this.tabPage3.Controls.Add(this.linkLabel8);
  608. this.tabPage3.Controls.Add(this.linkLabel7);
  609. this.tabPage3.Controls.Add(this.label11);
  610. this.tabPage3.Controls.Add(this.tvOrchs);
  611. this.tabPage3.Location = new System.Drawing.Point(4, 25);
  612. this.tabPage3.Name = "tabPage3";
  613. this.tabPage3.Size = new System.Drawing.Size(674, 507);
  614. this.tabPage3.TabIndex = 2;
  615. this.tabPage3.Text = "Orchestration Info";
  616. //
  617. // panel5
  618. //
  619. this.panel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(48)))), ((int)(((byte)(21)))));
  620. this.panel5.Controls.Add(this.pictureBox3);
  621. this.panel5.Controls.Add(this.label29);
  622. this.panel5.Controls.Add(this.label21);
  623. this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
  624. this.panel5.Location = new System.Drawing.Point(0, 0);
  625. this.panel5.Name = "panel5";
  626. this.panel5.Size = new System.Drawing.Size(674, 46);
  627. this.panel5.TabIndex = 65;
  628. //
  629. // pictureBox3
  630. //
  631. this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
  632. this.pictureBox3.Location = new System.Drawing.Point(10, 1);
  633. this.pictureBox3.Name = "pictureBox3";
  634. this.pictureBox3.Size = new System.Drawing.Size(48, 44);
  635. this.pictureBox3.TabIndex = 5;
  636. this.pictureBox3.TabStop = false;
  637. //
  638. // label29
  639. //
  640. this.label29.ForeColor = System.Drawing.Color.White;
  641. this.label29.Location = new System.Drawing.Point(58, 28);
  642. this.label29.Name = "label29";
  643. this.label29.Size = new System.Drawing.Size(182, 26);
  644. this.label29.TabIndex = 4;
  645. this.label29.Text = "Orchestration Info";
  646. //
  647. // label21
  648. //
  649. this.label21.BackColor = System.Drawing.Color.Transparent;
  650. this.label21.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  651. this.label21.ForeColor = System.Drawing.Color.White;
  652. this.label21.Location = new System.Drawing.Point(58, 7);
  653. this.label21.Name = "label21";
  654. this.label21.Size = new System.Drawing.Size(470, 26);
  655. this.label21.TabIndex = 1;
  656. this.label21.Text = "Microsoft Services BizTalk Documenter";
  657. //
  658. // linkLabel9
  659. //
  660. this.linkLabel9.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  661. this.linkLabel9.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  662. this.linkLabel9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  663. this.linkLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  664. this.linkLabel9.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel9.Image")));
  665. this.linkLabel9.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  666. this.linkLabel9.LinkArea = new System.Windows.Forms.LinkArea(0, 19);
  667. this.linkLabel9.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  668. this.linkLabel9.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  669. this.linkLabel9.Location = new System.Drawing.Point(19, 138);
  670. this.linkLabel9.Name = "linkLabel9";
  671. this.linkLabel9.Size = new System.Drawing.Size(167, 27);
  672. this.linkLabel9.TabIndex = 64;
  673. this.linkLabel9.TabStop = true;
  674. this.linkLabel9.Text = "List Orchestrations";
  675. this.linkLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  676. this.linkLabel9.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  677. this.linkLabel9.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel9_LinkClicked);
  678. //
  679. // linkLabel8
  680. //
  681. this.linkLabel8.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  682. this.linkLabel8.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  683. this.linkLabel8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  684. this.linkLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  685. this.linkLabel8.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel8.Image")));
  686. this.linkLabel8.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  687. this.linkLabel8.LinkArea = new System.Windows.Forms.LinkArea(0, 28);
  688. this.linkLabel8.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  689. this.linkLabel8.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  690. this.linkLabel8.Location = new System.Drawing.Point(283, 425);
  691. this.linkLabel8.Name = "linkLabel8";
  692. this.linkLabel8.Size = new System.Drawing.Size(246, 26);
  693. this.linkLabel8.TabIndex = 63;
  694. this.linkLabel8.TabStop = true;
  695. this.linkLabel8.Text = "Save Selected Orchestrations";
  696. this.linkLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  697. this.linkLabel8.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  698. this.linkLabel8.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel8_LinkClicked);
  699. //
  700. // linkLabel7
  701. //
  702. this.linkLabel7.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  703. this.linkLabel7.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  704. this.linkLabel7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  705. this.linkLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  706. this.linkLabel7.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel7.Image")));
  707. this.linkLabel7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  708. this.linkLabel7.LinkArea = new System.Windows.Forms.LinkArea(0, 26);
  709. this.linkLabel7.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  710. this.linkLabel7.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  711. this.linkLabel7.Location = new System.Drawing.Point(24, 425);
  712. this.linkLabel7.Name = "linkLabel7";
  713. this.linkLabel7.Size = new System.Drawing.Size(224, 26);
  714. this.linkLabel7.TabIndex = 62;
  715. this.linkLabel7.TabStop = true;
  716. this.linkLabel7.Text = "View Current Orchestration";
  717. this.linkLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  718. this.linkLabel7.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  719. this.linkLabel7.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel7_LinkClicked);
  720. //
  721. // label11
  722. //
  723. this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  724. this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  725. this.label11.Location = new System.Drawing.Point(29, 65);
  726. this.label11.Name = "label11";
  727. this.label11.Size = new System.Drawing.Size(595, 46);
  728. this.label11.TabIndex = 60;
  729. this.label11.Text = resources.GetString("label11.Text");
  730. this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  731. //
  732. // tvOrchs
  733. //
  734. this.tvOrchs.CheckBoxes = true;
  735. this.tvOrchs.Location = new System.Drawing.Point(19, 175);
  736. this.tvOrchs.Name = "tvOrchs";
  737. this.tvOrchs.Size = new System.Drawing.Size(605, 231);
  738. this.tvOrchs.Sorted = true;
  739. this.tvOrchs.TabIndex = 0;
  740. this.tvOrchs.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.TvOrchsAfterCheck);
  741. this.tvOrchs.DoubleClick += new System.EventHandler(this.TvOrchsDoubleClick);
  742. //
  743. // tabPage4
  744. //
  745. this.tabPage4.BackColor = System.Drawing.Color.White;
  746. this.tabPage4.Controls.Add(this.panel4);
  747. this.tabPage4.Controls.Add(this.label10);
  748. this.tabPage4.Controls.Add(this.label9);
  749. this.tabPage4.Controls.Add(this.txtResourceFolder);
  750. this.tabPage4.Controls.Add(this.label5);
  751. this.tabPage4.Controls.Add(this.button1);
  752. this.tabPage4.Controls.Add(this.cbShowOutput);
  753. this.tabPage4.Controls.Add(this.txtReportTitle);
  754. this.tabPage4.Controls.Add(this.label6);
  755. this.tabPage4.Controls.Add(this.label4);
  756. this.tabPage4.Controls.Add(this.comboBox1);
  757. this.tabPage4.Controls.Add(this.txtOutputDir);
  758. this.tabPage4.Controls.Add(this.label1);
  759. this.tabPage4.Controls.Add(this.btnBrowse);
  760. this.tabPage4.Location = new System.Drawing.Point(4, 25);
  761. this.tabPage4.Name = "tabPage4";
  762. this.tabPage4.Size = new System.Drawing.Size(674, 507);
  763. this.tabPage4.TabIndex = 3;
  764. this.tabPage4.Text = "Output";
  765. //
  766. // panel4
  767. //
  768. this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(48)))), ((int)(((byte)(21)))));
  769. this.panel4.Controls.Add(this.pictureBox4);
  770. this.panel4.Controls.Add(this.label30);
  771. this.panel4.Controls.Add(this.label18);
  772. this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
  773. this.panel4.Location = new System.Drawing.Point(0, 0);
  774. this.panel4.Name = "panel4";
  775. this.panel4.Size = new System.Drawing.Size(674, 46);
  776. this.panel4.TabIndex = 61;
  777. //
  778. // pictureBox4
  779. //
  780. this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
  781. this.pictureBox4.Location = new System.Drawing.Point(10, 1);
  782. this.pictureBox4.Name = "pictureBox4";
  783. this.pictureBox4.Size = new System.Drawing.Size(48, 44);
  784. this.pictureBox4.TabIndex = 5;
  785. this.pictureBox4.TabStop = false;
  786. //
  787. // label30
  788. //
  789. this.label30.ForeColor = System.Drawing.Color.White;
  790. this.label30.Location = new System.Drawing.Point(58, 28);
  791. this.label30.Name = "label30";
  792. this.label30.Size = new System.Drawing.Size(182, 26);
  793. this.label30.TabIndex = 4;
  794. this.label30.Text = "Output Options";
  795. //
  796. // label18
  797. //
  798. this.label18.BackColor = System.Drawing.Color.Transparent;
  799. this.label18.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  800. this.label18.ForeColor = System.Drawing.Color.White;
  801. this.label18.Location = new System.Drawing.Point(58, 7);
  802. this.label18.Name = "label18";
  803. this.label18.Size = new System.Drawing.Size(470, 26);
  804. this.label18.TabIndex = 1;
  805. this.label18.Text = "Microsoft Services BizTalk Documenter";
  806. this.label18.Click += new System.EventHandler(this.label18_Click);
  807. //
  808. // label10
  809. //
  810. this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  811. this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  812. this.label10.Location = new System.Drawing.Point(19, 323);
  813. this.label10.Name = "label10";
  814. this.label10.Size = new System.Drawing.Size(576, 55);
  815. this.label10.TabIndex = 60;
  816. this.label10.Text = "Any files and subdirectories contained within the resource folder will be compile" +
  817. "d into the CHM so that you can enhance your documentation by providing any furth" +
  818. "er html information";
  819. this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  820. //
  821. // label9
  822. //
  823. this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  824. this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  825. this.label9.Location = new System.Drawing.Point(48, 258);
  826. this.label9.Name = "label9";
  827. this.label9.Size = new System.Drawing.Size(528, 56);
  828. this.label9.TabIndex = 59;
  829. this.label9.Text = "If you are using the CHM output provider you may specify the name of a folder con" +
  830. "taining a \'titlePage.htm\' and any associated images to produce a custom look and" +
  831. " feel to your CHM title page.";
  832. this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  833. //
  834. // txtResourceFolder
  835. //
  836. this.txtResourceFolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  837. this.txtResourceFolder.Location = new System.Drawing.Point(221, 406);
  838. this.txtResourceFolder.Name = "txtResourceFolder";
  839. this.txtResourceFolder.Size = new System.Drawing.Size(249, 22);
  840. this.txtResourceFolder.TabIndex = 56;
  841. //
  842. // label5
  843. //
  844. this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  845. this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  846. this.label5.Location = new System.Drawing.Point(86, 408);
  847. this.label5.Name = "label5";
  848. this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  849. this.label5.Size = new System.Drawing.Size(125, 19);
  850. this.label5.TabIndex = 58;
  851. this.label5.Text = "Resource Folder";
  852. //
  853. // button1
  854. //
  855. this.button1.BackColor = System.Drawing.Color.Silver;
  856. this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  857. this.button1.Location = new System.Drawing.Point(476, 406);
  858. this.button1.Name = "button1";
  859. this.button1.Size = new System.Drawing.Size(29, 22);
  860. this.button1.TabIndex = 57;
  861. this.button1.Text = "...";
  862. this.button1.UseVisualStyleBackColor = false;
  863. this.button1.Click += new System.EventHandler(this.btnBrowse2_Click);
  864. //
  865. // cbShowOutput
  866. //
  867. this.cbShowOutput.Checked = true;
  868. this.cbShowOutput.CheckState = System.Windows.Forms.CheckState.Checked;
  869. this.cbShowOutput.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  870. this.cbShowOutput.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  871. this.cbShowOutput.Location = new System.Drawing.Point(221, 212);
  872. this.cbShowOutput.Name = "cbShowOutput";
  873. this.cbShowOutput.Size = new System.Drawing.Size(240, 28);
  874. this.cbShowOutput.TabIndex = 55;
  875. this.cbShowOutput.Text = "Show Output On Completion";
  876. //
  877. // txtReportTitle
  878. //
  879. this.txtReportTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  880. this.txtReportTitle.Location = new System.Drawing.Point(221, 92);
  881. this.txtReportTitle.Name = "txtReportTitle";
  882. this.txtReportTitle.Size = new System.Drawing.Size(272, 22);
  883. this.txtReportTitle.TabIndex = 53;
  884. //
  885. // label6
  886. //
  887. this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  888. this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  889. this.label6.Location = new System.Drawing.Point(125, 95);
  890. this.label6.Name = "label6";
  891. this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  892. this.label6.Size = new System.Drawing.Size(86, 18);
  893. this.label6.TabIndex = 54;
  894. this.label6.Text = "Report Title";
  895. //
  896. // label4
  897. //
  898. this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  899. this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  900. this.label4.Location = new System.Drawing.Point(96, 150);
  901. this.label4.Name = "label4";
  902. this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  903. this.label4.Size = new System.Drawing.Size(115, 18);
  904. this.label4.TabIndex = 52;
  905. this.label4.Text = "Output Provider";
  906. //
  907. // comboBox1
  908. //
  909. this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  910. this.comboBox1.FormattingEnabled = true;
  911. this.comboBox1.Location = new System.Drawing.Point(221, 148);
  912. this.comboBox1.Name = "comboBox1";
  913. this.comboBox1.Size = new System.Drawing.Size(275, 24);
  914. this.comboBox1.TabIndex = 51;
  915. this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ProviderSelectedIndexChanged);
  916. //
  917. // txtOutputDir
  918. //
  919. this.txtOutputDir.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  920. this.txtOutputDir.Location = new System.Drawing.Point(221, 120);
  921. this.txtOutputDir.Name = "txtOutputDir";
  922. this.txtOutputDir.Size = new System.Drawing.Size(240, 22);
  923. this.txtOutputDir.TabIndex = 48;
  924. //
  925. // label1
  926. //
  927. this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  928. this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  929. this.label1.Location = new System.Drawing.Point(115, 122);
  930. this.label1.Name = "label1";
  931. this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  932. this.label1.Size = new System.Drawing.Size(96, 19);
  933. this.label1.TabIndex = 50;
  934. this.label1.Text = "Output Folder";
  935. //
  936. // btnBrowse
  937. //
  938. this.btnBrowse.BackColor = System.Drawing.Color.Silver;
  939. this.btnBrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  940. this.btnBrowse.Location = new System.Drawing.Point(466, 120);
  941. this.btnBrowse.Name = "btnBrowse";
  942. this.btnBrowse.Size = new System.Drawing.Size(28, 22);
  943. this.btnBrowse.TabIndex = 49;
  944. this.btnBrowse.Text = "...";
  945. this.btnBrowse.UseVisualStyleBackColor = false;
  946. this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click);
  947. //
  948. // imageList1
  949. //
  950. this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
  951. this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
  952. this.imageList1.Images.SetKeyName(0, "");
  953. this.imageList1.Images.SetKeyName(1, "");
  954. this.imageList1.Images.SetKeyName(2, "");
  955. this.imageList1.Images.SetKeyName(3, "");
  956. this.imageList1.Images.SetKeyName(4, "");
  957. this.imageList1.Images.SetKeyName(5, "");
  958. this.imageList1.Images.SetKeyName(6, "");
  959. this.imageList1.Images.SetKeyName(7, "");
  960. this.imageList1.Images.SetKeyName(8, "");
  961. this.imageList1.Images.SetKeyName(9, "");
  962. //
  963. // dlgConfigFrameworkOpenFile
  964. //
  965. this.dlgConfigFrameworkOpenFile.Filter = "XML Files|*.xml";
  966. this.dlgConfigFrameworkOpenFile.Title = "Select configuration file";
  967. this.dlgConfigFrameworkOpenFile.FileOk += new System.ComponentModel.CancelEventHandler(this.dlgConfigFrameworkOpenFile_FileOk);
  968. //
  969. // dlgConfigFrameworkSaveFile
  970. //
  971. this.dlgConfigFrameworkSaveFile.Filter = "XML Files|*.xml";
  972. this.dlgConfigFrameworkSaveFile.Title = "Save configuration file";
  973. this.dlgConfigFrameworkSaveFile.FileOk += new System.ComponentModel.CancelEventHandler(this.dlgConfigFrameworkSaveFile_FileOk);
  974. //
  975. // linkLabel1
  976. //
  977. this.linkLabel1.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  978. this.linkLabel1.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  979. this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  980. this.linkLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  981. this.linkLabel1.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel1.Image")));
  982. this.linkLabel1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  983. this.linkLabel1.LinkArea = new System.Windows.Forms.LinkArea(0, 14);
  984. this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  985. this.linkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  986. this.linkLabel1.Location = new System.Drawing.Point(26, 584);
  987. this.linkLabel1.Name = "linkLabel1";
  988. this.linkLabel1.Size = new System.Drawing.Size(144, 26);
  989. this.linkLabel1.TabIndex = 25;
  990. this.linkLabel1.TabStop = true;
  991. this.linkLabel1.Text = "Output Options";
  992. this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  993. this.linkLabel1.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  994. this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
  995. //
  996. // linkLabel2
  997. //
  998. this.linkLabel2.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  999. this.linkLabel2.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1000. this.linkLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1001. this.linkLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1002. this.linkLabel2.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel2.Image")));
  1003. this.linkLabel2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  1004. this.linkLabel2.LinkArea = new System.Windows.Forms.LinkArea(0, 18);
  1005. this.linkLabel2.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  1006. this.linkLabel2.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1007. this.linkLabel2.Location = new System.Drawing.Point(286, 584);
  1008. this.linkLabel2.Name = "linkLabel2";
  1009. this.linkLabel2.Size = new System.Drawing.Size(338, 26);
  1010. this.linkLabel2.TabIndex = 26;
  1011. this.linkLabel2.TabStop = true;
  1012. this.linkLabel2.Text = "Select Assemblies And Orchestrations";
  1013. this.linkLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  1014. this.linkLabel2.UseCompatibleTextRendering = true;
  1015. this.linkLabel2.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  1016. this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
  1017. //
  1018. // linkLabel3
  1019. //
  1020. this.linkLabel3.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1021. this.linkLabel3.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1022. this.linkLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1023. this.linkLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1024. this.linkLabel3.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel3.Image")));
  1025. this.linkLabel3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  1026. this.linkLabel3.LinkArea = new System.Windows.Forms.LinkArea(0, 25);
  1027. this.linkLabel3.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  1028. this.linkLabel3.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1029. this.linkLabel3.Location = new System.Drawing.Point(286, 556);
  1030. this.linkLabel3.Name = "linkLabel3";
  1031. this.linkLabel3.Size = new System.Drawing.Size(230, 27);
  1032. this.linkLabel3.TabIndex = 27;
  1033. this.linkLabel3.TabStop = true;
  1034. this.linkLabel3.Text = "Select Documentation Scope";
  1035. this.linkLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  1036. this.linkLabel3.UseCompatibleTextRendering = true;
  1037. this.linkLabel3.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  1038. this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked);
  1039. //
  1040. // label17
  1041. //
  1042. this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1043. this.label17.Location = new System.Drawing.Point(10, 374);
  1044. this.label17.Name = "label17";
  1045. this.label17.Size = new System.Drawing.Size(249, 26);
  1046. this.label17.TabIndex = 30;
  1047. this.label17.Text = "Advanced Documentation Options:";
  1048. //
  1049. // panel1
  1050. //
  1051. this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
  1052. this.panel1.Location = new System.Drawing.Point(259, 383);
  1053. this.panel1.Name = "panel1";
  1054. this.panel1.Size = new System.Drawing.Size(365, 4);
  1055. this.panel1.TabIndex = 31;
  1056. //
  1057. // linkLabel6
  1058. //
  1059. this.linkLabel6.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1060. this.linkLabel6.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1061. this.linkLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1062. this.linkLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1063. this.linkLabel6.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel6.Image")));
  1064. this.linkLabel6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  1065. this.linkLabel6.LinkArea = new System.Windows.Forms.LinkArea(0, 22);
  1066. this.linkLabel6.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  1067. this.linkLabel6.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1068. this.linkLabel6.Location = new System.Drawing.Point(19, 629);
  1069. this.linkLabel6.Name = "linkLabel6";
  1070. this.linkLabel6.Size = new System.Drawing.Size(211, 26);
  1071. this.linkLabel6.TabIndex = 32;
  1072. this.linkLabel6.TabStop = true;
  1073. this.linkLabel6.Text = "Generate Documentation";
  1074. this.linkLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  1075. this.linkLabel6.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1076. this.linkLabel6.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel6_LinkClicked);
  1077. //
  1078. // progressBar1
  1079. //
  1080. this.progressBar1.Location = new System.Drawing.Point(292, 631);
  1081. this.progressBar1.Name = "progressBar1";
  1082. this.progressBar1.Size = new System.Drawing.Size(345, 19);
  1083. this.progressBar1.TabIndex = 55;
  1084. this.progressBar1.Visible = false;
  1085. //
  1086. // linkLabel12
  1087. //
  1088. this.linkLabel12.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1089. this.linkLabel12.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1090. this.linkLabel12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1091. this.linkLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1092. this.linkLabel12.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel12.Image")));
  1093. this.linkLabel12.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  1094. this.linkLabel12.LinkArea = new System.Windows.Forms.LinkArea(0, 14);
  1095. this.linkLabel12.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  1096. this.linkLabel12.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1097. this.linkLabel12.Location = new System.Drawing.Point(26, 556);
  1098. this.linkLabel12.Name = "linkLabel12";
  1099. this.linkLabel12.Size = new System.Drawing.Size(144, 27);
  1100. this.linkLabel12.TabIndex = 56;
  1101. this.linkLabel12.TabStop = true;
  1102. this.linkLabel12.Text = "Server Options";
  1103. this.linkLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  1104. this.linkLabel12.VisitedLinkColor = System.Drawing.Color.RoyalBlue;
  1105. this.linkLabel12.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel12_LinkClicked);
  1106. //
  1107. // linkLabel13
  1108. //
  1109. this.linkLabel13.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1110. this.linkLabel13.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1111. this.linkLabel13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  1112. this.linkLabel13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1113. this.linkLabel13.Image = ((System.Drawing.Image)(resources.GetObject("linkLabel13.Image")));
  1114. this.linkLabel13.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
  1115. this.linkLabel13.LinkArea = new System.Windows.Forms.LinkArea(0, 4);
  1116. this.linkLabel13.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
  1117. this.linkLabel13.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1118. this.linkLabel13.Location = new System.Drawing.Point(278, 625);
  1119. this.linkLabel13.Name = "linkLabel13";
  1120. this.linkLabel13.Size = new System.Drawing.Size(68, 27);
  1121. this.linkLabel13.TabIndex = 57;
  1122. this.linkLabel13.TabStop = true;
  1123. this.linkLabel13.Text = "Quit";
  1124. this.linkLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  1125. this.linkLabel13.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(119)))), ((int)(((byte)(153)))));
  1126. this.linkLabel13.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel13_LinkClicked);
  1127. //
  1128. // shapeContainer1
  1129. //
  1130. this.shapeContainer1.Location = new System.Drawing.Point(0, 0);
  1131. this.shapeContainer1.Margin = new System.Windows.Forms.Padding(0);
  1132. this.shapeContainer1.Name = "shapeContainer1";
  1133. this.shapeContainer1.Shapes.AddRange(new Microsoft.VisualBasic.PowerPacks.Shape[] {
  1134. this.lineShape1});
  1135. this.shapeContainer1.Size = new System.Drawing.Size(667, 674);
  1136. this.shapeContainer1.TabIndex = 58;
  1137. this.shapeContainer1.TabStop = false;
  1138. //
  1139. // lineShape1
  1140. //
  1141. this.lineShape1.Name = "lineShape1";
  1142. this.lineShape1.X1 = 10;
  1143. this.lineShape1.X2 = 519;
  1144. this.lineShape1.Y1 = 456;
  1145. this.lineShape1.Y2 = 455;
  1146. //
  1147. // Form1
  1148. //
  1149. this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
  1150. this.BackColor = System.Drawing.Color.White;
  1151. this.CancelButton = this.linkLabel13;
  1152. this.ClientSize = new System.Drawing.Size(667, 674);
  1153. this.Controls.Add(this.linkLabel13);
  1154. this.Controls.Add(this.linkLabel12);
  1155. this.Controls.Add(this.progressBar1);
  1156. this.Controls.Add(this.linkLabel6);
  1157. this.Controls.Add(this.panel1);
  1158. this.Controls.Add(this.label17);
  1159. this.Controls.Add(this.linkLabel3);
  1160. this.Controls.Add(this.linkLabel2);
  1161. this.Controls.Add(this.linkLabel1);
  1162. this.Controls.Add(this.panel2);
  1163. this.Controls.Add(this.shapeContainer1);
  1164. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  1165. this.Name = "Form1";
  1166. this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
  1167. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  1168. this.Text = "Microsoft Services BizTalk Documenter";
  1169. this.Load += new System.EventHandler(this.Form1_Load);
  1170. this.panel2.ResumeLayout(false);
  1171. this.tabControl1.ResumeLayout(false);
  1172. this.tabPage1.ResumeLayout(false);
  1173. this.tabPage1.PerformLayout();
  1174. this.panel3.ResumeLayout(false);
  1175. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  1176. this.tabPage2.ResumeLayout(false);
  1177. this.panel6.ResumeLayout(false);
  1178. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
  1179. this.grpBoxAdvanced.ResumeLayout(false);
  1180. this.grpBoxAdvanced.PerformLayout();
  1181. this.tabPage3.ResumeLayout(false);
  1182. this.panel5.ResumeLayout(false);
  1183. ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
  1184. this.tabPage4.ResumeLayout(false);
  1185. this.tabPage4.PerformLayout();
  1186. this.panel4.ResumeLayout(false);
  1187. ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
  1188. this.ResumeLayout(false);
  1189. }
  1190. #endregion
  1191. #region DeterminePublisher
  1192. private static IPublisher DeterminePublisher(string publisherName)
  1193. {
  1194. if (String.IsNullOrEmpty(publisherName) ||
  1195. publisherName.ToLower().Contains("compiled") ||
  1196. publisherName.ToLower().Contains("help") ||
  1197. publisherName.ToLower().Contains("chm"))
  1198. {
  1199. return new CompiledHelpPublisher();
  1200. }
  1201. else
  1202. {
  1203. return new WordXmlPublisher();
  1204. }
  1205. }
  1206. #endregion
  1207. /// <summary>
  1208. ///
  1209. /// </summary>
  1210. private void GenerateDocumentation()
  1211. {
  1212. Cursor.Current = Cursors.WaitCursor;
  1213. try
  1214. {
  1215. linkLabel13.Visible = false;
  1216. progressBar1.Visible = true;
  1217. if (!ValidateReportName(documenter.ReportName))
  1218. {
  1219. throw new ApplicationException("Report title contains some invalid characters.");
  1220. }
  1221. if (radioAssembly.Checked == true)
  1222. {
  1223. if (clbApplications.CheckedItems.Count == 0)
  1224. {
  1225. MessageBox.Show("No applications have been selected for documentation", "Error Generating Documentation", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
  1226. return;
  1227. }
  1228. documenter.Applications.Clear();
  1229. foreach (object item in clbApplications.CheckedItems)
  1230. {
  1231. documenter.Applications.Add(item.ToString());
  1232. }
  1233. documenter.IncludeReferences = this.cbIncludeReferences.Checked;
  1234. documenter.PublishType = PublishType.SpecificApplication;
  1235. }
  1236. if (executionMode == ExecutionMode.Interactive)
  1237. {
  1238. documenter.Publisher = DeterminePublisher(this.comboBox1.SelectedItem.ToString());
  1239. }
  1240. documenter.GenerateDocumentation();
  1241. }
  1242. catch (Exception ex)
  1243. {
  1244. #if(DEBUG)
  1245. MessageBox.Show(ex.ToString());
  1246. #endif
  1247. if (executionMode == ExecutionMode.Interactive)
  1248. {
  1249. MessageBox.Show(ex.Message, "Error Generating Documentation", MessageBoxButtons.OK, MessageBoxIcon.Error);
  1250. }
  1251. else
  1252. {
  1253. Console.WriteLine(ex.Message);
  1254. }
  1255. }
  1256. finally
  1257. {
  1258. progressBar1.Visible = false;
  1259. linkLabel13.Visible = true;
  1260. Cursor.Current = Cursors.Default;
  1261. }
  1262. return;
  1263. }
  1264. #region btnBrowse_Click
  1265. private void btnBrowse_Click(object sender, System.EventArgs e)
  1266. {
  1267. DialogResult res = this.folderBrowserDialog1.ShowDialog();
  1268. if (res == DialogResult.OK)
  1269. {
  1270. this.txtOutputDir.Text = this.folderBrowserDialog1.SelectedPath;
  1271. }
  1272. }
  1273. #endregion
  1274. #region btnGenerate_Click
  1275. private void btnGenerate_Click(object sender, System.EventArgs e)
  1276. {
  1277. documenter.Server = this.txtServerName.Text;
  1278. documenter.Database = this.textBox1.Text;
  1279. documenter.OutputDir = txtOutputDir.Text;
  1280. documenter.ReportName = this.txtReportTitle.Text;
  1281. documenter.ShowOutput = this.cbShowOutput.Checked;
  1282. documenter.RulesServer = this.txtRulesServer.Text;
  1283. documenter.RulesDatabase = this.txtRulesDatabase.Text;
  1284. documenter.DocumentRules = this.cbRulesConfig.Checked;
  1285. documenter.ResourceFolder = this.txtResourceFolder.Text;
  1286. documenter.IncludeReferences = this.cbIncludeReferences.Checked;
  1287. this.GenerateDocumentation();
  1288. }
  1289. #endregion
  1290. #region ProcessArgs
  1291. private static void ProcessArgs(string[] args)
  1292. {
  1293. if (args.Length == 0)
  1294. stop = true;
  1295. ArgParser parser = new ArgParser(args);
  1296. ParserError error;
  1297. //Help is unique as it is not a classic 'argument' with a name and a value
  1298. if (args[0].Equals("/help") || args[0].Equals("/h") || args[0].Equals("/?"))
  1299. {
  1300. Form1.showUsage = true;
  1301. return;
  1302. }
  1303. bool useDefaults = parser.Exists("defaults", "def");
  1304. if (useDefaults)
  1305. {
  1306. // Use the documenters in-built defaults where possible
  1307. documenter.SetDefaults();
  1308. documenter.Publisher = DeterminePublisher("Compiled Help");
  1309. documenter.ShowOutput = true;
  1310. }
  1311. else
  1312. {
  1313. documenter.Server = GetSafeString(parser.GetValue("server", "s", out error));
  1314. documenter.Database = GetSafeString(parser.GetValue("database", "d", out error));
  1315. documenter.RulesServer = GetSafeString(parser.GetValue("rs", out error));
  1316. documenter.RulesDatabase = GetSafeString(parser.GetValue("rd", out error));
  1317. documenter.OutputDir = GetSafeString(parser.GetValue("outputdir", "o", out error));
  1318. documenter.ReportName = GetSafeString(parser.GetValue("title", "t", out error));
  1319. documenter.CustomDescriptionsFileName = GetSafeString(parser.GetValue("commentfile", "c", out error));
  1320. documenter.DocumentRules = parser.Exists("rules");
  1321. documenter.ShowOutput = parser.Exists("show");
  1322. }
  1323. string applications = GetSafeString(parser.GetValue("applications", "a", out error));
  1324. if (!String.IsNullOrEmpty(applications))
  1325. {
  1326. documenter.PublishType = PublishType.SpecificApplication;
  1327. documenter.Applications = Form1.SplitStringToArrayList(applications, ",", true);
  1328. }
  1329. string provider = GetSafeString(parser.GetValue("/provider", "p", out error));
  1330. documenter.Publisher = Form1.DeterminePublisher(provider);
  1331. // Allow a user specified folder even if the rest is set to defaults
  1332. string outDir = GetSafeString(parser.GetValue("outputdir", "o", out error));
  1333. if (!String.IsNullOrEmpty(outDir))
  1334. {
  1335. if (!Directory.Exists(outDir))
  1336. {
  1337. //TraceManager.SmartTrace.TraceInfo("attempting to create the specified folder");
  1338. Directory.CreateDirectory(outDir);
  1339. }
  1340. documenter.OutputDir = outDir;
  1341. }
  1342. // check if a report name is specified
  1343. string reportName = GetSafeString(parser.GetValue("title", "t", out error));
  1344. if (!String.IsNullOrEmpty(reportName))
  1345. {
  1346. documenter.ReportName = reportName;
  1347. }
  1348. // check if rules are specified
  1349. documenter.DocumentRules = parser.Exists("rules");
  1350. // Finally , check if any overrides are specified in the config file
  1351. }
  1352. private static void ProcessOverrides()
  1353. {
  1354. bool allowOverrides = false;
  1355. if (!String.IsNullOrEmpty(ConfigurationManager.AppSettings["allow_cmdline_overrides"]))
  1356. {
  1357. allowOverrides = Boolean.Parse(ConfigurationManager.AppSettings["allow_cmdline_overrides"]);
  1358. }
  1359. // currently we only support specific config overrides
  1360. if (allowOverrides)
  1361. {
  1362. if (!String.IsNullOrEmpty(ConfigurationManager.AppSettings["default_output_folder"]))
  1363. {
  1364. documenter.OutputDir = ConfigurationManager.AppSettings["default_output_folder"];
  1365. }
  1366. if (!String.IsNullOrEmpty(ConfigurationManager.AppSettings["default_report_name"]))
  1367. {
  1368. documenter.ReportName = ConfigurationManager.AppSettings["default_report_name"];
  1369. }
  1370. if (!String.IsNullOrEmpty(ConfigurationManager.AppSettings["default_publisher"]))
  1371. {
  1372. documenter.Publisher =
  1373. Form1.DeterminePublisher(ConfigurationManager.AppSettings["default_publisher"]);
  1374. }
  1375. }
  1376. }
  1377. #endregion
  1378. private static string GetSafeString(string source)
  1379. {
  1380. if (String.IsNullOrEmpty(source))
  1381. return String.Empty;
  1382. else
  1383. {
  1384. return source;
  1385. }
  1386. }
  1387. private static ArrayList SplitStringToArrayList(string source, string delimiter)
  1388. {
  1389. return SplitStringToArrayList(source, delimiter, false);
  1390. }
  1391. private static ArrayList SplitStringToArrayList(string source, string delimiter, bool forceLowerCase)
  1392. {
  1393. string[] sourceArray = source.Split(delimiter.ToCharArray());
  1394. ArrayList results = new ArrayList();
  1395. for (int i = 0; i < sourceArray.Length; i++)
  1396. {
  1397. if (forceLowerCase)
  1398. {
  1399. results.Add(sourceArray[i].ToLower());
  1400. }
  1401. else
  1402. {
  1403. results.Add(sourceArray[i]);
  1404. }
  1405. }
  1406. return results;
  1407. }
  1408. private static void ShowUsage()
  1409. {
  1410. Assembly a = Assembly.GetExecutingAssembly();
  1411. StreamReader sr = new StreamReader(a.GetManifestResourceStream("Microsoft.Services.Tools.BiztalkDocumenter.Res.usage.txt"));
  1412. string help = sr.ReadToEnd();
  1413. sr.Close();
  1414. MessageBox.Show(help, "Microsoft.Services.Tools.BiztalkDocumenter Usage");
  1415. }
  1416. #region AdvancedCheckedChanged
  1417. private void AdvancedCheckedChanged(object sender, System.EventArgs e)
  1418. {
  1419. Cursor.Current = Cursors.WaitCursor;
  1420. if (((RadioButton)sender).Checked == true)
  1421. {
  1422. this.clbApplications.Items.Clear();
  1423. BizTalkInstallation bi = new BizTalkInstallation();
  1424. bi.Server = this.txtServerName.Text;
  1425. bi.MgmtDatabaseName = this.textBox1.Text;
  1426. ArrayList applications = bi.GetApplicationNames();
  1427. int appCount = applications.Count;
  1428. if (appCount > 0)
  1429. {
  1430. clbApplications.Enabled = true;
  1431. clbApplications.BackColor = SystemColors.Window;
  1432. foreach (object o in applications)
  1433. {
  1434. this.clbApplications.Items.Add(o);
  1435. }
  1436. }
  1437. else
  1438. {
  1439. this.clbApplications.Items.Add("No BizTalk Applications found, select 'Application Definition' to configure applications");
  1440. }
  1441. }
  1442. else
  1443. {
  1444. clbApplications.BackColor = SystemColors.InactiveBorder;
  1445. clbApplications.Enabled = false;
  1446. clbApplications.Items.Clear();
  1447. }
  1448. Cursor.Current = Cursors.Default;
  1449. return;
  1450. }
  1451. #endregion
  1452. private void Documenter_PercentageDocumentationComplete(int percentage)
  1453. {
  1454. progressBar1.Value = percentage;
  1455. }
  1456. /// <summary>
  1457. ///
  1458. /// </summary>
  1459. /// <param name="reportName"></param>
  1460. /// <returns></returns>
  1461. private bool ValidateReportName(string reportName)
  1462. {
  1463. if (reportName.IndexOfAny(new char[] { "\"".ToCharArray()[0], '/', '*', ':', '?', '"', '<', '>', '|' }) >= 0)
  1464. {
  1465. return false;
  1466. }
  1467. return true;
  1468. }
  1469. private void TvOrchsDoubleClick(object sender, System.EventArgs e)
  1470. {
  1471. DisplayOrchestration();
  1472. }
  1473. /// <summary>
  1474. ///
  1475. /// </summary>
  1476. private void DisplayOrchestration()
  1477. {
  1478. try
  1479. {
  1480. if (this.tvOrchs.SelectedNode != null &&
  1481. this.tvOrchs.SelectedNode.Tag != null)
  1482. {
  1483. string tagString = this.tvOrchs.SelectedNode.Tag as string;
  1484. string[] nameParts = tagString.Split(new char[] { '|' }, 2);
  1485. string asmName = nameParts[0];
  1486. string orchName = nameParts[1];
  1487. BizTalkInstallation bizTalkInstallation = new BizTalkInstallation();
  1488. bizTalkInstallation.Server = this.txtServerName.Text;
  1489. bizTalkInstallation.MgmtDatabaseName = this.textBox1.Text;
  1490. Orchestration o = bizTalkInstallation.GetOrchestration(asmName, orchName);
  1491. OrchestrationViewer ov = new OrchestrationViewer(o);
  1492. ov.ShowDialog(this);
  1493. }
  1494. }
  1495. catch (Exception ex)
  1496. {
  1497. MessageBox.Show("Error displaying orchestration: " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  1498. }
  1499. }
  1500. private void TvOrchsAfterCheck(object sender, System.Windows.Forms.TreeViewEventArgs e)
  1501. {
  1502. foreach (TreeNode tn in e.Node.Nodes)
  1503. {
  1504. tn.Checked = e.Node.Checked;
  1505. }
  1506. }
  1507. private void IncludeRulesChecked(object sender, System.EventArgs e)
  1508. {
  1509. CheckBox cb = (CheckBox)sender;
  1510. label7.Enabled = cb.Checked;
  1511. label8.Enabled = cb.Checked;
  1512. txtRulesDatabase.Enabled = cb.Checked;
  1513. txtRulesServer.Enabled = cb.Checked;
  1514. documenter.DocumentRules = cb.Checked;
  1515. }
  1516. private void btnBrowse2_Click(object sender, System.EventArgs e)
  1517. {
  1518. DialogResult res = this.folderBrowserDialog1.ShowDialog();
  1519. if (res == DialogResult.OK)
  1520. {
  1521. this.txtResourceFolder.Text = this.folderBrowserDialog1.SelectedPath;
  1522. }
  1523. }
  1524. private void ProviderSelectedIndexChanged(object sender, System.EventArgs e)
  1525. {
  1526. ComboBox cb = (ComboBox)sender;
  1527. switch (cb.SelectedItem.ToString().ToLower())
  1528. {
  1529. case "compiled help":
  1530. this.txtResourceFolder.Enabled = true;
  1531. break;
  1532. default:
  1533. this.txtResourceFolder.Enabled = false;
  1534. break;
  1535. }
  1536. return;
  1537. }
  1538. #region Link Buttons
  1539. private void linkLabel7_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1540. {
  1541. DisplayOrchestration();
  1542. }
  1543. private void linkLabel13_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1544. {
  1545. Application.Exit();
  1546. }
  1547. private void linkLabel12_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1548. {
  1549. this.tabControl1.SelectedTab = tabPage1;
  1550. }
  1551. private void linkLabel3_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1552. {
  1553. this.tabControl1.SelectedTab = tabPage2;
  1554. }
  1555. private void linkLabel2_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1556. {
  1557. this.tabControl1.SelectedTab = tabPage3;
  1558. }
  1559. private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1560. {
  1561. this.tabControl1.SelectedTab = tabPage4;
  1562. }
  1563. private void linkLabel6_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1564. {
  1565. documenter.Server = this.txtServerName.Text;
  1566. documenter.Database = this.textBox1.Text;
  1567. documenter.OutputDir = txtOutputDir.Text;
  1568. documenter.ReportName = this.txtReportTitle.Text;
  1569. documenter.ShowOutput = this.cbShowOutput.Checked;
  1570. documenter.RulesServer = this.txtRulesServer.Text;
  1571. documenter.RulesDatabase = this.txtRulesDatabase.Text;
  1572. documenter.DocumentRules = this.cbRulesConfig.Checked;
  1573. documenter.ResourceFolder = this.txtResourceFolder.Text;
  1574. documenter.ConfigFrameworkFileName = this.txtConfigFrameworkFile.Text;
  1575. documenter.IncludeReferences = this.cbIncludeReferences.Checked;
  1576. this.GenerateDocumentation();
  1577. }
  1578. #endregion
  1579. private void linkLabel8_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1580. {
  1581. try
  1582. {
  1583. int numOrchsToSave = 0;
  1584. foreach (TreeNode asmNode in this.tvOrchs.Nodes)
  1585. {
  1586. foreach (TreeNode tn in asmNode.Nodes)
  1587. {
  1588. if (tn.Checked && tn.Tag != null)
  1589. {
  1590. numOrchsToSave++;
  1591. }
  1592. }
  1593. }
  1594. if (numOrchsToSave > 0)
  1595. {
  1596. DialogResult res = this.folderBrowserDialog1.ShowDialog();
  1597. if (res == DialogResult.OK)
  1598. {
  1599. Cursor.Current = Cursors.WaitCursor;
  1600. progressBar1.Visible = true;
  1601. string dirName = this.folderBrowserDialog1.SelectedPath;
  1602. if (Directory.Exists(dirName))
  1603. {
  1604. BizTalkInstallation bizTalkInstallation = new BizTalkInstallation();
  1605. bizTalkInstallation.Server = this.txtServerName.Text;
  1606. bizTalkInstallation.MgmtDatabaseName = this.textBox1.Text;
  1607. int counter = 0;
  1608. foreach (TreeNode asmNode in this.tvOrchs.Nodes)
  1609. {
  1610. foreach (TreeNode tn in asmNode.Nodes)
  1611. {
  1612. if (tn.Checked && tn.Tag != null)
  1613. {
  1614. string tagString = tn.Tag as string;
  1615. string[] nameParts = tagString.Split(new char[] { '|' }, 2);
  1616. string asmName = nameParts[0];
  1617. string orchName = nameParts[1];
  1618. Orchestration o = bizTalkInstallation.GetOrchestration(asmName, orchName);
  1619. //OrchestrationViewer ov = new OrchestrationViewer(o);
  1620. //ov.ShowDialog(this);
  1621. //Orchestration o = tn.Tag as Orchestration;
  1622. string fileName = Path.Combine(dirName, o.Name + ".jpg");
  1623. o.SaveAsImage(fileName);
  1624. counter++;
  1625. Documenter_PercentageDocumentationComplete(100 / numOrchsToSave * counter);
  1626. }
  1627. }
  1628. }
  1629. }
  1630. }
  1631. }
  1632. }
  1633. catch (Exception ex)
  1634. {
  1635. MessageBox.Show(ex.Message, "Error Listing Saving Orchestrations", MessageBoxButtons.OK, MessageBoxIcon.Error);
  1636. }
  1637. finally
  1638. {
  1639. progressBar1.Visible = false;
  1640. Cursor.Current = Cursors.Default;
  1641. }
  1642. return;
  1643. }
  1644. /// <summary>
  1645. /// List Orchestrations
  1646. /// </summary>
  1647. /// <param name="sender"></param>
  1648. /// <param name="e"></param>
  1649. private void linkLabel9_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
  1650. {
  1651. Cursor.Current = Cursors.WaitCursor;
  1652. try
  1653. {
  1654. this.tvOrchs.Nodes.Clear();
  1655. bizTalkInstallation = new BizTalkInstallation();
  1656. bizTalkInstallation.Server = this.txtServerName.Text;
  1657. bizTalkInstallation.MgmtDatabaseName = this.textBox1.Text;
  1658. ArrayList names = bizTalkInstallation.GetOrchestrationNames();
  1659. string asmName = string.Empty;
  1660. string orchName = string.Empty;
  1661. TreeNode asmNode = null;
  1662. foreach (string orchAsmNameCombo in names)
  1663. {
  1664. string[] nameParts = orchAsmNameCombo.Split(new char[] { '|' }, 2);
  1665. asmName = nameParts[0];
  1666. orchName = nameParts[1];
  1667. if (asmNode == null || asmName != asmNode.Text)
  1668. {
  1669. asmNode = new TreeNode(asmName, 0, 0);
  1670. this.tvOrchs.Nodes.Add(asmNode);
  1671. }
  1672. TreeNode orchNode = new TreeNode(orchName, 1, 1);
  1673. orchNode.Tag = orchAsmNameCombo;
  1674. asmNode.Nodes.Add(orchNode);
  1675. }
  1676. }
  1677. catch (Exception ex)
  1678. {
  1679. MessageBox.Show(ex.Message, "Error Listing Deployed Orchestrations", MessageBoxButtons.OK, MessageBoxIcon.Error);
  1680. }
  1681. finally
  1682. {
  1683. Cursor.Current = Cursors.Default;
  1684. }
  1685. }
  1686. private void button2_Click(object sender, System.EventArgs e)
  1687. {
  1688. DialogResult res = dlgConfigFrameworkOpenFile.ShowDialog();
  1689. if (res == DialogResult.OK)
  1690. {
  1691. txtConfigFrameworkFile.Text = dlgConfigFrameworkOpenFile.FileName;
  1692. }
  1693. }
  1694. private void label18_Click(object sender, EventArgs e)
  1695. {
  1696. }
  1697. private void Form1_Load(object sender, EventArgs e)
  1698. {
  1699. this.comboBox1.Items.
  1700. AddRange(new object[] {
  1701. "Compiled Help","Word 2003 Xml"});
  1702. this.comboBox1.SelectedIndex = 0;
  1703. }
  1704. private void dlgConfigFrameworkOpenFile_FileOk(object sender, CancelEventArgs e)
  1705. {
  1706. }
  1707. private void dlgConfigFrameworkSaveFile_FileOk(object sender, CancelEventArgs e)
  1708. {
  1709. }
  1710. private void folderBrowserDialog1_HelpRequest(object sender, EventArgs e)
  1711. {
  1712. }
  1713. private void label12_Click(object sender, EventArgs e)
  1714. {
  1715. }
  1716. private void btnBrowseReportFileName_Click(object sender, EventArgs e)
  1717. {
  1718. dlgResultFileSave.ShowDialog();
  1719. string resultFileName = dlgResultFileSave.FileName;
  1720. txtOutputDir.Text = Path.GetDirectoryName(resultFileName);
  1721. }
  1722. }
  1723. }