Added menu items under Selected main menu item to export and import docversions

This commit is contained in:
Rich 2014-06-14 01:09:37 +00:00
parent 985b419736
commit c53e228de1
2 changed files with 537 additions and 455 deletions

View File

@ -29,256 +29,260 @@ namespace DataLoader
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.sc = new System.Windows.Forms.SplitContainer(); this.sc = new System.Windows.Forms.SplitContainer();
this.lblCurSetFolder = new System.Windows.Forms.Label(); this.lblCurSetFolder = new System.Windows.Forms.Label();
this.lblProcessing = new System.Windows.Forms.Label(); this.lblProcessing = new System.Windows.Forms.Label();
this.lblTime = new System.Windows.Forms.Label(); this.lblTime = new System.Windows.Forms.Label();
this.pbStep = new System.Windows.Forms.ProgressBar(); this.pbStep = new System.Windows.Forms.ProgressBar();
this.pbSect = new System.Windows.Forms.ProgressBar(); this.pbSect = new System.Windows.Forms.ProgressBar();
this.pbProc = new System.Windows.Forms.ProgressBar(); this.pbProc = new System.Windows.Forms.ProgressBar();
this.lblStep = new System.Windows.Forms.Label(); this.lblStep = new System.Windows.Forms.Label();
this.lblSection = new System.Windows.Forms.Label(); this.lblSection = new System.Windows.Forms.Label();
this.lblProc = new System.Windows.Forms.Label(); this.lblProc = new System.Windows.Forms.Label();
this.tv = new System.Windows.Forms.TreeView(); this.tv = new System.Windows.Forms.TreeView();
this.fbd = new System.Windows.Forms.FolderBrowserDialog(); this.fbd = new System.Windows.Forms.FolderBrowserDialog();
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslError = new System.Windows.Forms.ToolStripStatusLabel(); this.tsslError = new System.Windows.Forms.ToolStripStatusLabel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.completeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.completeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.formatOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.formatOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.convertDBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertDBToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixTransitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fixTransitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertToChangeManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertToChangeManagerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertToApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertToApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.load16BitApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.load16BitApprovalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fixesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixROValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fixROValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.createEmptyPROMSDatabaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.createEmptyPROMSDatabaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.oldToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.oldToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.convertSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
this.convertTopFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertTopFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadTreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadTreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadVETreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadVETreeFromCSLAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.groupSecurityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.countTokensToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.countTokensToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
this.convertDbfSelectedInTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.convertDbfSelectedInTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fixAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.approvalDatabasesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.approvalDatabasesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.updateFormatsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.updateFormatsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixROsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fixROsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fixROsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.fixROsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.sc.Panel1.SuspendLayout(); this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sc.Panel2.SuspendLayout(); this.importDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sc.SuspendLayout(); this.exportProcedureOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1.SuspendLayout(); this.importProcedureOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout(); this.sc.Panel1.SuspendLayout();
this.SuspendLayout(); this.sc.Panel2.SuspendLayout();
// this.sc.SuspendLayout();
// sc this.statusStrip1.SuspendLayout();
// this.menuStrip1.SuspendLayout();
this.sc.Dock = System.Windows.Forms.DockStyle.Fill; this.SuspendLayout();
this.sc.Location = new System.Drawing.Point(0, 24); //
this.sc.Margin = new System.Windows.Forms.Padding(2); // sc
this.sc.Name = "sc"; //
this.sc.Orientation = System.Windows.Forms.Orientation.Horizontal; this.sc.Dock = System.Windows.Forms.DockStyle.Fill;
// this.sc.Location = new System.Drawing.Point(0, 24);
// sc.Panel1 this.sc.Margin = new System.Windows.Forms.Padding(2);
// this.sc.Name = "sc";
this.sc.Panel1.Controls.Add(this.lblCurSetFolder); this.sc.Orientation = System.Windows.Forms.Orientation.Horizontal;
this.sc.Panel1.Controls.Add(this.lblProcessing); //
this.sc.Panel1.Controls.Add(this.lblTime); // sc.Panel1
this.sc.Panel1.Controls.Add(this.pbStep); //
this.sc.Panel1.Controls.Add(this.pbSect); this.sc.Panel1.Controls.Add(this.lblCurSetFolder);
this.sc.Panel1.Controls.Add(this.pbProc); this.sc.Panel1.Controls.Add(this.lblProcessing);
this.sc.Panel1.Controls.Add(this.lblStep); this.sc.Panel1.Controls.Add(this.lblTime);
this.sc.Panel1.Controls.Add(this.lblSection); this.sc.Panel1.Controls.Add(this.pbStep);
this.sc.Panel1.Controls.Add(this.lblProc); this.sc.Panel1.Controls.Add(this.pbSect);
// this.sc.Panel1.Controls.Add(this.pbProc);
// sc.Panel2 this.sc.Panel1.Controls.Add(this.lblStep);
// this.sc.Panel1.Controls.Add(this.lblSection);
this.sc.Panel2.BackColor = System.Drawing.SystemColors.Control; this.sc.Panel1.Controls.Add(this.lblProc);
this.sc.Panel2.Controls.Add(this.tv); //
this.sc.Size = new System.Drawing.Size(664, 370); // sc.Panel2
this.sc.SplitterDistance = 134; //
this.sc.SplitterWidth = 3; this.sc.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.sc.TabIndex = 46; this.sc.Panel2.Controls.Add(this.tv);
// this.sc.Size = new System.Drawing.Size(664, 370);
// lblCurSetFolder this.sc.SplitterDistance = 134;
// this.sc.SplitterWidth = 3;
this.lblCurSetFolder.AutoSize = true; this.sc.TabIndex = 46;
this.lblCurSetFolder.ForeColor = System.Drawing.Color.Blue; //
this.lblCurSetFolder.Location = new System.Drawing.Point(177, 97); // lblCurSetFolder
this.lblCurSetFolder.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); //
this.lblCurSetFolder.Name = "lblCurSetFolder"; this.lblCurSetFolder.AutoSize = true;
this.lblCurSetFolder.Size = new System.Drawing.Size(16, 13); this.lblCurSetFolder.ForeColor = System.Drawing.Color.Blue;
this.lblCurSetFolder.TabIndex = 75; this.lblCurSetFolder.Location = new System.Drawing.Point(177, 97);
this.lblCurSetFolder.Text = "..."; this.lblCurSetFolder.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblCurSetFolder.Visible = false; this.lblCurSetFolder.Name = "lblCurSetFolder";
// this.lblCurSetFolder.Size = new System.Drawing.Size(16, 13);
// lblProcessing this.lblCurSetFolder.TabIndex = 75;
// this.lblCurSetFolder.Text = "...";
this.lblProcessing.AutoSize = true; this.lblCurSetFolder.Visible = false;
this.lblProcessing.Location = new System.Drawing.Point(7, 97); //
this.lblProcessing.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); // lblProcessing
this.lblProcessing.Name = "lblProcessing"; //
this.lblProcessing.Size = new System.Drawing.Size(165, 13); this.lblProcessing.AutoSize = true;
this.lblProcessing.TabIndex = 74; this.lblProcessing.Location = new System.Drawing.Point(7, 97);
this.lblProcessing.Text = "Processing Procedure Set Folder:"; this.lblProcessing.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblProcessing.Visible = false; this.lblProcessing.Name = "lblProcessing";
// this.lblProcessing.Size = new System.Drawing.Size(165, 13);
// lblTime this.lblProcessing.TabIndex = 74;
// this.lblProcessing.Text = "Processing Procedure Set Folder:";
this.lblTime.BackColor = System.Drawing.SystemColors.ButtonShadow; this.lblProcessing.Visible = false;
this.lblTime.Location = new System.Drawing.Point(7, 67); //
this.lblTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); // lblTime
this.lblTime.Name = "lblTime"; //
this.lblTime.Size = new System.Drawing.Size(106, 16); this.lblTime.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblTime.TabIndex = 58; this.lblTime.Location = new System.Drawing.Point(7, 67);
// this.lblTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
// pbStep this.lblTime.Name = "lblTime";
// this.lblTime.Size = new System.Drawing.Size(106, 16);
this.pbStep.Location = new System.Drawing.Point(115, 41); this.lblTime.TabIndex = 58;
this.pbStep.Margin = new System.Windows.Forms.Padding(2); //
this.pbStep.Name = "pbStep"; // pbStep
this.pbStep.Size = new System.Drawing.Size(375, 12); //
this.pbStep.TabIndex = 57; this.pbStep.Location = new System.Drawing.Point(115, 41);
// this.pbStep.Margin = new System.Windows.Forms.Padding(2);
// pbSect this.pbStep.Name = "pbStep";
// this.pbStep.Size = new System.Drawing.Size(375, 12);
this.pbSect.Location = new System.Drawing.Point(115, 24); this.pbStep.TabIndex = 57;
this.pbSect.Margin = new System.Windows.Forms.Padding(2); //
this.pbSect.Name = "pbSect"; // pbSect
this.pbSect.Size = new System.Drawing.Size(375, 12); //
this.pbSect.TabIndex = 56; this.pbSect.Location = new System.Drawing.Point(115, 24);
// this.pbSect.Margin = new System.Windows.Forms.Padding(2);
// pbProc this.pbSect.Name = "pbSect";
// this.pbSect.Size = new System.Drawing.Size(375, 12);
this.pbProc.Location = new System.Drawing.Point(115, 9); this.pbSect.TabIndex = 56;
this.pbProc.Margin = new System.Windows.Forms.Padding(2); //
this.pbProc.Name = "pbProc"; // pbProc
this.pbProc.Size = new System.Drawing.Size(375, 12); //
this.pbProc.TabIndex = 55; this.pbProc.Location = new System.Drawing.Point(115, 9);
// this.pbProc.Margin = new System.Windows.Forms.Padding(2);
// lblStep this.pbProc.Name = "pbProc";
// this.pbProc.Size = new System.Drawing.Size(375, 12);
this.lblStep.BackColor = System.Drawing.SystemColors.ButtonShadow; this.pbProc.TabIndex = 55;
this.lblStep.Location = new System.Drawing.Point(7, 47); //
this.lblStep.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); // lblStep
this.lblStep.Name = "lblStep"; //
this.lblStep.Size = new System.Drawing.Size(106, 16); this.lblStep.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblStep.TabIndex = 49; this.lblStep.Location = new System.Drawing.Point(7, 47);
// this.lblStep.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
// lblSection this.lblStep.Name = "lblStep";
// this.lblStep.Size = new System.Drawing.Size(106, 16);
this.lblSection.BackColor = System.Drawing.SystemColors.ButtonShadow; this.lblStep.TabIndex = 49;
this.lblSection.Location = new System.Drawing.Point(7, 28); //
this.lblSection.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); // lblSection
this.lblSection.Name = "lblSection"; //
this.lblSection.Size = new System.Drawing.Size(106, 15); this.lblSection.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblSection.TabIndex = 48; this.lblSection.Location = new System.Drawing.Point(7, 28);
// this.lblSection.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
// lblProc this.lblSection.Name = "lblSection";
// this.lblSection.Size = new System.Drawing.Size(106, 15);
this.lblProc.BackColor = System.Drawing.SystemColors.ButtonShadow; this.lblSection.TabIndex = 48;
this.lblProc.Location = new System.Drawing.Point(7, 9); //
this.lblProc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); // lblProc
this.lblProc.Name = "lblProc"; //
this.lblProc.Size = new System.Drawing.Size(106, 15); this.lblProc.BackColor = System.Drawing.SystemColors.ButtonShadow;
this.lblProc.TabIndex = 47; this.lblProc.Location = new System.Drawing.Point(7, 9);
// this.lblProc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
// tv this.lblProc.Name = "lblProc";
// this.lblProc.Size = new System.Drawing.Size(106, 15);
this.tv.CheckBoxes = true; this.lblProc.TabIndex = 47;
this.tv.Dock = System.Windows.Forms.DockStyle.Fill; //
this.tv.Location = new System.Drawing.Point(0, 0); // tv
this.tv.Margin = new System.Windows.Forms.Padding(2); //
this.tv.Name = "tv"; this.tv.CheckBoxes = true;
this.tv.Size = new System.Drawing.Size(664, 233); this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.TabIndex = 24; this.tv.Location = new System.Drawing.Point(0, 0);
this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand); this.tv.Margin = new System.Windows.Forms.Padding(2);
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect); this.tv.Name = "tv";
// this.tv.Size = new System.Drawing.Size(664, 233);
// statusStrip1 this.tv.TabIndex = 24;
// this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel1, this.toolStripStatusLabel1,
this.tsslError}); this.tsslError});
this.statusStrip1.Location = new System.Drawing.Point(0, 349); this.statusStrip1.Location = new System.Drawing.Point(0, 349);
this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(664, 45); this.statusStrip1.Size = new System.Drawing.Size(664, 45);
this.statusStrip1.TabIndex = 47; this.statusStrip1.TabIndex = 47;
this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Text = "statusStrip1";
// //
// toolStripStatusLabel1 // toolStripStatusLabel1
// //
this.toolStripStatusLabel1.AutoSize = false; this.toolStripStatusLabel1.AutoSize = false;
this.toolStripStatusLabel1.ImageAlign = System.Drawing.ContentAlignment.TopLeft; this.toolStripStatusLabel1.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(500, 40); this.toolStripStatusLabel1.Size = new System.Drawing.Size(500, 40);
this.toolStripStatusLabel1.Text = "Status Information"; this.toolStripStatusLabel1.Text = "Status Information";
this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.TopLeft;
// //
// tsslError // tsslError
// //
this.tsslError.AutoSize = false; this.tsslError.AutoSize = false;
this.tsslError.Name = "tsslError"; this.tsslError.Name = "tsslError";
this.tsslError.Size = new System.Drawing.Size(150, 40); this.tsslError.Size = new System.Drawing.Size(150, 40);
this.tsslError.Text = "No Errors"; this.tsslError.Text = "No Errors";
this.tsslError.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.tsslError.TextAlign = System.Drawing.ContentAlignment.TopLeft;
// //
// menuStrip1 // menuStrip1
// //
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem, this.fileToolStripMenuItem,
this.processToolStripMenuItem, this.processToolStripMenuItem,
this.settingsToolStripMenuItem, this.settingsToolStripMenuItem,
this.oldToolStripMenuItem, this.oldToolStripMenuItem,
this.fixAllToolStripMenuItem, this.fixAllToolStripMenuItem,
this.fixROsToolStripMenuItem}); this.fixROsToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(664, 24); this.menuStrip1.Size = new System.Drawing.Size(664, 24);
this.menuStrip1.TabIndex = 48; this.menuStrip1.TabIndex = 48;
this.menuStrip1.Text = "menuStrip1"; this.menuStrip1.Text = "menuStrip1";
// //
// fileToolStripMenuItem // fileToolStripMenuItem
// //
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.exitToolStripMenuItem, this.exitToolStripMenuItem,
this.loadTreeToolStripMenuItem}); this.loadTreeToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "&File"; this.fileToolStripMenuItem.Text = "&File";
// //
// exitToolStripMenuItem // exitToolStripMenuItem
// //
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.exitToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Text = "E&xit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
// //
// loadTreeToolStripMenuItem // loadTreeToolStripMenuItem
// //
this.loadTreeToolStripMenuItem.Name = "loadTreeToolStripMenuItem"; this.loadTreeToolStripMenuItem.Name = "loadTreeToolStripMenuItem";
this.loadTreeToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.loadTreeToolStripMenuItem.Size = new System.Drawing.Size(126, 22);
this.loadTreeToolStripMenuItem.Text = "Load Tree"; this.loadTreeToolStripMenuItem.Text = "Load Tree";
this.loadTreeToolStripMenuItem.Click += new System.EventHandler(this.loadTreeToolStripMenuItem_Click); this.loadTreeToolStripMenuItem.Click += new System.EventHandler(this.loadTreeToolStripMenuItem_Click);
// //
// processToolStripMenuItem // processToolStripMenuItem
// //
this.processToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.processToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.completeToolStripMenuItem, this.completeToolStripMenuItem,
this.toolStripMenuItem1, this.toolStripMenuItem1,
this.formatOnlyToolStripMenuItem, this.formatOnlyToolStripMenuItem,
@ -291,100 +295,100 @@ namespace DataLoader
this.fixesToolStripMenuItem, this.fixesToolStripMenuItem,
this.fixROValuesToolStripMenuItem, this.fixROValuesToolStripMenuItem,
this.createEmptyPROMSDatabaseToolStripMenuItem}); this.createEmptyPROMSDatabaseToolStripMenuItem});
this.processToolStripMenuItem.Name = "processToolStripMenuItem"; this.processToolStripMenuItem.Name = "processToolStripMenuItem";
this.processToolStripMenuItem.Size = new System.Drawing.Size(59, 20); this.processToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
this.processToolStripMenuItem.Text = "&Process"; this.processToolStripMenuItem.Text = "&Process";
// //
// completeToolStripMenuItem // completeToolStripMenuItem
// //
this.completeToolStripMenuItem.Name = "completeToolStripMenuItem"; this.completeToolStripMenuItem.Name = "completeToolStripMenuItem";
this.completeToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.completeToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.completeToolStripMenuItem.Text = "Complete"; this.completeToolStripMenuItem.Text = "Complete";
this.completeToolStripMenuItem.Click += new System.EventHandler(this.completeToolStripMenuItem_Click); this.completeToolStripMenuItem.Click += new System.EventHandler(this.completeToolStripMenuItem_Click);
// //
// toolStripMenuItem1 // toolStripMenuItem1
// //
this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(236, 6); this.toolStripMenuItem1.Size = new System.Drawing.Size(236, 6);
// //
// formatOnlyToolStripMenuItem // formatOnlyToolStripMenuItem
// //
this.formatOnlyToolStripMenuItem.Name = "formatOnlyToolStripMenuItem"; this.formatOnlyToolStripMenuItem.Name = "formatOnlyToolStripMenuItem";
this.formatOnlyToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.formatOnlyToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.formatOnlyToolStripMenuItem.Text = "Format Only"; this.formatOnlyToolStripMenuItem.Text = "Format Only";
this.formatOnlyToolStripMenuItem.Click += new System.EventHandler(this.formatOnlyToolStripMenuItem_Click); this.formatOnlyToolStripMenuItem.Click += new System.EventHandler(this.formatOnlyToolStripMenuItem_Click);
// //
// toolStripMenuItem2 // toolStripMenuItem2
// //
this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(236, 6); this.toolStripMenuItem2.Size = new System.Drawing.Size(236, 6);
// //
// convertDBToolStripMenuItem // convertDBToolStripMenuItem
// //
this.convertDBToolStripMenuItem.Name = "convertDBToolStripMenuItem"; this.convertDBToolStripMenuItem.Name = "convertDBToolStripMenuItem";
this.convertDBToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.convertDBToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertDBToolStripMenuItem.Text = "Convert DB"; this.convertDBToolStripMenuItem.Text = "Convert DB";
this.convertDBToolStripMenuItem.Click += new System.EventHandler(this.convertDBToolStripMenuItem_Click); this.convertDBToolStripMenuItem.Click += new System.EventHandler(this.convertDBToolStripMenuItem_Click);
// //
// fixTransitionsToolStripMenuItem // fixTransitionsToolStripMenuItem
// //
this.fixTransitionsToolStripMenuItem.Name = "fixTransitionsToolStripMenuItem"; this.fixTransitionsToolStripMenuItem.Name = "fixTransitionsToolStripMenuItem";
this.fixTransitionsToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.fixTransitionsToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.fixTransitionsToolStripMenuItem.Text = "Fix Transitions"; this.fixTransitionsToolStripMenuItem.Text = "Fix Transitions";
this.fixTransitionsToolStripMenuItem.Click += new System.EventHandler(this.fixTransitionsToolStripMenuItem_Click); this.fixTransitionsToolStripMenuItem.Click += new System.EventHandler(this.fixTransitionsToolStripMenuItem_Click);
// //
// convertToChangeManagerToolStripMenuItem // convertToChangeManagerToolStripMenuItem
// //
this.convertToChangeManagerToolStripMenuItem.Name = "convertToChangeManagerToolStripMenuItem"; this.convertToChangeManagerToolStripMenuItem.Name = "convertToChangeManagerToolStripMenuItem";
this.convertToChangeManagerToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.convertToChangeManagerToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertToChangeManagerToolStripMenuItem.Text = "Convert to Change Manager"; this.convertToChangeManagerToolStripMenuItem.Text = "Convert to Change Manager";
this.convertToChangeManagerToolStripMenuItem.Click += new System.EventHandler(this.convertToChangeManagerToolStripMenuItem_Click); this.convertToChangeManagerToolStripMenuItem.Click += new System.EventHandler(this.convertToChangeManagerToolStripMenuItem_Click);
// //
// convertToApprovalToolStripMenuItem // convertToApprovalToolStripMenuItem
// //
this.convertToApprovalToolStripMenuItem.Name = "convertToApprovalToolStripMenuItem"; this.convertToApprovalToolStripMenuItem.Name = "convertToApprovalToolStripMenuItem";
this.convertToApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.convertToApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.convertToApprovalToolStripMenuItem.Text = "Convert to Approval"; this.convertToApprovalToolStripMenuItem.Text = "Convert to Approval";
this.convertToApprovalToolStripMenuItem.Click += new System.EventHandler(this.convertToApprovalToolStripMenuItem_Click); this.convertToApprovalToolStripMenuItem.Click += new System.EventHandler(this.convertToApprovalToolStripMenuItem_Click);
// //
// load16BitApprovalToolStripMenuItem // load16BitApprovalToolStripMenuItem
// //
this.load16BitApprovalToolStripMenuItem.Name = "load16BitApprovalToolStripMenuItem"; this.load16BitApprovalToolStripMenuItem.Name = "load16BitApprovalToolStripMenuItem";
this.load16BitApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.load16BitApprovalToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.load16BitApprovalToolStripMenuItem.Text = "Load 16-Bit Approval"; this.load16BitApprovalToolStripMenuItem.Text = "Load 16-Bit Approval";
this.load16BitApprovalToolStripMenuItem.Click += new System.EventHandler(this.load16BitApprovalToolStripMenuItem_Click); this.load16BitApprovalToolStripMenuItem.Click += new System.EventHandler(this.load16BitApprovalToolStripMenuItem_Click);
// //
// fixesToolStripMenuItem // fixesToolStripMenuItem
// //
this.fixesToolStripMenuItem.Name = "fixesToolStripMenuItem"; this.fixesToolStripMenuItem.Name = "fixesToolStripMenuItem";
this.fixesToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.fixesToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.fixesToolStripMenuItem.Text = "Fixes"; this.fixesToolStripMenuItem.Text = "Fixes";
this.fixesToolStripMenuItem.Click += new System.EventHandler(this.fixesToolStripMenuItem_Click); this.fixesToolStripMenuItem.Click += new System.EventHandler(this.fixesToolStripMenuItem_Click);
// //
// fixROValuesToolStripMenuItem // fixROValuesToolStripMenuItem
// //
this.fixROValuesToolStripMenuItem.Name = "fixROValuesToolStripMenuItem"; this.fixROValuesToolStripMenuItem.Name = "fixROValuesToolStripMenuItem";
this.fixROValuesToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.fixROValuesToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.fixROValuesToolStripMenuItem.Text = "Fix RO Values"; this.fixROValuesToolStripMenuItem.Text = "Fix RO Values";
this.fixROValuesToolStripMenuItem.Click += new System.EventHandler(this.fixROValuesToolStripMenuItem_Click); this.fixROValuesToolStripMenuItem.Click += new System.EventHandler(this.fixROValuesToolStripMenuItem_Click);
// //
// createEmptyPROMSDatabaseToolStripMenuItem // createEmptyPROMSDatabaseToolStripMenuItem
// //
this.createEmptyPROMSDatabaseToolStripMenuItem.Name = "createEmptyPROMSDatabaseToolStripMenuItem"; this.createEmptyPROMSDatabaseToolStripMenuItem.Name = "createEmptyPROMSDatabaseToolStripMenuItem";
this.createEmptyPROMSDatabaseToolStripMenuItem.Size = new System.Drawing.Size(239, 22); this.createEmptyPROMSDatabaseToolStripMenuItem.Size = new System.Drawing.Size(239, 22);
this.createEmptyPROMSDatabaseToolStripMenuItem.Text = "Create Empty PROMS Database"; this.createEmptyPROMSDatabaseToolStripMenuItem.Text = "Create Empty PROMS Database";
this.createEmptyPROMSDatabaseToolStripMenuItem.Click += new System.EventHandler(this.createEmptyPROMSDatabaseToolStripMenuItem_Click); this.createEmptyPROMSDatabaseToolStripMenuItem.Click += new System.EventHandler(this.createEmptyPROMSDatabaseToolStripMenuItem_Click);
// //
// settingsToolStripMenuItem // settingsToolStripMenuItem
// //
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
this.settingsToolStripMenuItem.Text = "&Settings"; this.settingsToolStripMenuItem.Text = "&Settings";
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click); this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
// //
// oldToolStripMenuItem // oldToolStripMenuItem
// //
this.oldToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.oldToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.convertSecurityToolStripMenuItem, this.convertSecurityToolStripMenuItem,
this.toolStripMenuItem4, this.toolStripMenuItem4,
this.convertTopFoldersToolStripMenuItem, this.convertTopFoldersToolStripMenuItem,
@ -394,129 +398,161 @@ namespace DataLoader
this.countTokensToolStripMenuItem, this.countTokensToolStripMenuItem,
this.toolStripMenuItem3, this.toolStripMenuItem3,
this.convertDbfSelectedInTreeToolStripMenuItem}); this.convertDbfSelectedInTreeToolStripMenuItem});
this.oldToolStripMenuItem.Name = "oldToolStripMenuItem"; this.oldToolStripMenuItem.Name = "oldToolStripMenuItem";
this.oldToolStripMenuItem.Size = new System.Drawing.Size(38, 20); this.oldToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
this.oldToolStripMenuItem.Text = "Old"; this.oldToolStripMenuItem.Text = "Old";
// //
// convertSecurityToolStripMenuItem // convertSecurityToolStripMenuItem
// //
this.convertSecurityToolStripMenuItem.Name = "convertSecurityToolStripMenuItem"; this.convertSecurityToolStripMenuItem.Name = "convertSecurityToolStripMenuItem";
this.convertSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.convertSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertSecurityToolStripMenuItem.Text = "Convert Security"; this.convertSecurityToolStripMenuItem.Text = "Convert Security";
this.convertSecurityToolStripMenuItem.Click += new System.EventHandler(this.convertSecurityToolStripMenuItem_Click); this.convertSecurityToolStripMenuItem.Click += new System.EventHandler(this.convertSecurityToolStripMenuItem_Click);
// //
// toolStripMenuItem4 // toolStripMenuItem4
// //
this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Name = "toolStripMenuItem4";
this.toolStripMenuItem4.Size = new System.Drawing.Size(221, 6); this.toolStripMenuItem4.Size = new System.Drawing.Size(221, 6);
// //
// convertTopFoldersToolStripMenuItem // convertTopFoldersToolStripMenuItem
// //
this.convertTopFoldersToolStripMenuItem.Name = "convertTopFoldersToolStripMenuItem"; this.convertTopFoldersToolStripMenuItem.Name = "convertTopFoldersToolStripMenuItem";
this.convertTopFoldersToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.convertTopFoldersToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertTopFoldersToolStripMenuItem.Text = "Convert Top Folders"; this.convertTopFoldersToolStripMenuItem.Text = "Convert Top Folders";
this.convertTopFoldersToolStripMenuItem.Click += new System.EventHandler(this.convertTopFoldersToolStripMenuItem_Click); this.convertTopFoldersToolStripMenuItem.Click += new System.EventHandler(this.convertTopFoldersToolStripMenuItem_Click);
// //
// loadTreeFromCSLAToolStripMenuItem // loadTreeFromCSLAToolStripMenuItem
// //
this.loadTreeFromCSLAToolStripMenuItem.Name = "loadTreeFromCSLAToolStripMenuItem"; this.loadTreeFromCSLAToolStripMenuItem.Name = "loadTreeFromCSLAToolStripMenuItem";
this.loadTreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.loadTreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.loadTreeFromCSLAToolStripMenuItem.Text = "Load Tree From CSLA"; this.loadTreeFromCSLAToolStripMenuItem.Text = "Load Tree From CSLA";
this.loadTreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadTreeFromCSLAToolStripMenuItem_Click); this.loadTreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadTreeFromCSLAToolStripMenuItem_Click);
// //
// loadVETreeFromCSLAToolStripMenuItem // loadVETreeFromCSLAToolStripMenuItem
// //
this.loadVETreeFromCSLAToolStripMenuItem.Name = "loadVETreeFromCSLAToolStripMenuItem"; this.loadVETreeFromCSLAToolStripMenuItem.Name = "loadVETreeFromCSLAToolStripMenuItem";
this.loadVETreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.loadVETreeFromCSLAToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.loadVETreeFromCSLAToolStripMenuItem.Text = "Load VETree From CSLA"; this.loadVETreeFromCSLAToolStripMenuItem.Text = "Load VETree From CSLA";
this.loadVETreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadVETreeFromCSLAToolStripMenuItem_Click); this.loadVETreeFromCSLAToolStripMenuItem.Click += new System.EventHandler(this.loadVETreeFromCSLAToolStripMenuItem_Click);
// //
// groupSecurityToolStripMenuItem // groupSecurityToolStripMenuItem
// //
this.groupSecurityToolStripMenuItem.Name = "groupSecurityToolStripMenuItem"; this.groupSecurityToolStripMenuItem.Name = "groupSecurityToolStripMenuItem";
this.groupSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.groupSecurityToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.groupSecurityToolStripMenuItem.Text = "Group/Security"; this.groupSecurityToolStripMenuItem.Text = "Group/Security";
this.groupSecurityToolStripMenuItem.Click += new System.EventHandler(this.groupSecurityToolStripMenuItem_Click); this.groupSecurityToolStripMenuItem.Click += new System.EventHandler(this.groupSecurityToolStripMenuItem_Click);
// //
// countTokensToolStripMenuItem // countTokensToolStripMenuItem
// //
this.countTokensToolStripMenuItem.Name = "countTokensToolStripMenuItem"; this.countTokensToolStripMenuItem.Name = "countTokensToolStripMenuItem";
this.countTokensToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.countTokensToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.countTokensToolStripMenuItem.Text = "Count Tokens"; this.countTokensToolStripMenuItem.Text = "Count Tokens";
this.countTokensToolStripMenuItem.Click += new System.EventHandler(this.countTokensToolStripMenuItem_Click); this.countTokensToolStripMenuItem.Click += new System.EventHandler(this.countTokensToolStripMenuItem_Click);
// //
// toolStripMenuItem3 // toolStripMenuItem3
// //
this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(221, 6); this.toolStripMenuItem3.Size = new System.Drawing.Size(221, 6);
// //
// convertDbfSelectedInTreeToolStripMenuItem // convertDbfSelectedInTreeToolStripMenuItem
// //
this.convertDbfSelectedInTreeToolStripMenuItem.Name = "convertDbfSelectedInTreeToolStripMenuItem"; this.convertDbfSelectedInTreeToolStripMenuItem.Name = "convertDbfSelectedInTreeToolStripMenuItem";
this.convertDbfSelectedInTreeToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.convertDbfSelectedInTreeToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
this.convertDbfSelectedInTreeToolStripMenuItem.Text = "Convert Dbf Selected In Tree"; this.convertDbfSelectedInTreeToolStripMenuItem.Text = "Convert Dbf Selected In Tree";
this.convertDbfSelectedInTreeToolStripMenuItem.Click += new System.EventHandler(this.convertDbfSelectedInTreeToolStripMenuItem_Click); this.convertDbfSelectedInTreeToolStripMenuItem.Click += new System.EventHandler(this.convertDbfSelectedInTreeToolStripMenuItem_Click);
// //
// fixAllToolStripMenuItem // fixAllToolStripMenuItem
// //
this.fixAllToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fixAllToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.approvalDatabasesToolStripMenuItem, this.approvalDatabasesToolStripMenuItem,
this.updateFormatsToolStripMenuItem}); this.updateFormatsToolStripMenuItem});
this.fixAllToolStripMenuItem.Name = "fixAllToolStripMenuItem"; this.fixAllToolStripMenuItem.Name = "fixAllToolStripMenuItem";
this.fixAllToolStripMenuItem.Size = new System.Drawing.Size(50, 20); this.fixAllToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
this.fixAllToolStripMenuItem.Text = "Fix All"; this.fixAllToolStripMenuItem.Text = "Fix All";
// //
// approvalDatabasesToolStripMenuItem // approvalDatabasesToolStripMenuItem
// //
this.approvalDatabasesToolStripMenuItem.Name = "approvalDatabasesToolStripMenuItem"; this.approvalDatabasesToolStripMenuItem.Name = "approvalDatabasesToolStripMenuItem";
this.approvalDatabasesToolStripMenuItem.Size = new System.Drawing.Size(178, 22); this.approvalDatabasesToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.approvalDatabasesToolStripMenuItem.Text = "Approval Databases"; this.approvalDatabasesToolStripMenuItem.Text = "Approval Databases";
this.approvalDatabasesToolStripMenuItem.Click += new System.EventHandler(this.approvalDatabasesToolStripMenuItem_Click); this.approvalDatabasesToolStripMenuItem.Click += new System.EventHandler(this.approvalDatabasesToolStripMenuItem_Click);
// //
// updateFormatsToolStripMenuItem // updateFormatsToolStripMenuItem
// //
this.updateFormatsToolStripMenuItem.Name = "updateFormatsToolStripMenuItem"; this.updateFormatsToolStripMenuItem.Name = "updateFormatsToolStripMenuItem";
this.updateFormatsToolStripMenuItem.Size = new System.Drawing.Size(178, 22); this.updateFormatsToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.updateFormatsToolStripMenuItem.Text = "Update Formats"; this.updateFormatsToolStripMenuItem.Text = "Update Formats";
this.updateFormatsToolStripMenuItem.Click += new System.EventHandler(this.updateFormatsToolStripMenuItem_Click); this.updateFormatsToolStripMenuItem.Click += new System.EventHandler(this.updateFormatsToolStripMenuItem_Click);
// //
// fixROsToolStripMenuItem // fixROsToolStripMenuItem
// //
this.fixROsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fixROsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fixROsToolStripMenuItem1}); this.fixROsToolStripMenuItem1,
this.fixROsToolStripMenuItem.Name = "fixROsToolStripMenuItem"; this.exportDataToolStripMenuItem,
this.fixROsToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.importDataToolStripMenuItem,
this.fixROsToolStripMenuItem.Text = "Selection"; this.exportProcedureOnlyToolStripMenuItem,
// this.importProcedureOnlyToolStripMenuItem});
// fixROsToolStripMenuItem1 this.fixROsToolStripMenuItem.Name = "fixROsToolStripMenuItem";
// this.fixROsToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
this.fixROsToolStripMenuItem1.Name = "fixROsToolStripMenuItem1"; this.fixROsToolStripMenuItem.Text = "Selection";
this.fixROsToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); //
this.fixROsToolStripMenuItem1.Text = "Fix ROs"; // fixROsToolStripMenuItem1
this.fixROsToolStripMenuItem1.Click += new System.EventHandler(this.fixROsToolStripMenuItem1_Click); //
// this.fixROsToolStripMenuItem1.Name = "fixROsToolStripMenuItem1";
// frmLoader this.fixROsToolStripMenuItem1.Size = new System.Drawing.Size(195, 22);
// this.fixROsToolStripMenuItem1.Text = "Fix ROs";
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.fixROsToolStripMenuItem1.Click += new System.EventHandler(this.fixROsToolStripMenuItem1_Click);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; //
this.ClientSize = new System.Drawing.Size(664, 394); // exportDataToolStripMenuItem
this.Controls.Add(this.statusStrip1); //
this.Controls.Add(this.sc); this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
this.Controls.Add(this.menuStrip1); this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.Margin = new System.Windows.Forms.Padding(2); this.exportDataToolStripMenuItem.Text = "Export Data";
this.Name = "frmLoader"; this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click);
this.Text = "PROMS-2010 Data Loader"; //
this.Load += new System.EventHandler(this.frmLoader_Load); // importDataToolStripMenuItem
this.sc.Panel1.ResumeLayout(false); //
this.sc.Panel1.PerformLayout(); this.importDataToolStripMenuItem.Name = "importDataToolStripMenuItem";
this.sc.Panel2.ResumeLayout(false); this.importDataToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.sc.ResumeLayout(false); this.importDataToolStripMenuItem.Text = "Import Data";
this.statusStrip1.ResumeLayout(false); this.importDataToolStripMenuItem.Click += new System.EventHandler(this.importDataToolStripMenuItem_Click);
this.statusStrip1.PerformLayout(); //
this.menuStrip1.ResumeLayout(false); // exportProcedureOnlyToolStripMenuItem
this.menuStrip1.PerformLayout(); //
this.ResumeLayout(false); this.exportProcedureOnlyToolStripMenuItem.Name = "exportProcedureOnlyToolStripMenuItem";
this.PerformLayout(); this.exportProcedureOnlyToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.exportProcedureOnlyToolStripMenuItem.Text = "Export Procedure Only";
this.exportProcedureOnlyToolStripMenuItem.Click += new System.EventHandler(this.exportProcedureOnlyToolStripMenuItem_Click);
//
// importProcedureOnlyToolStripMenuItem
//
this.importProcedureOnlyToolStripMenuItem.Name = "importProcedureOnlyToolStripMenuItem";
this.importProcedureOnlyToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.importProcedureOnlyToolStripMenuItem.Text = "Import Procedure Only";
this.importProcedureOnlyToolStripMenuItem.Click += new System.EventHandler(this.importProcedureOnlyToolStripMenuItem_Click);
//
// frmLoader
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(664, 394);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.sc);
this.Controls.Add(this.menuStrip1);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmLoader";
this.Text = "PROMS-2010 Data Loader";
this.Load += new System.EventHandler(this.frmLoader_Load);
this.sc.Panel1.ResumeLayout(false);
this.sc.Panel1.PerformLayout();
this.sc.Panel2.ResumeLayout(false);
this.sc.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
} }
@ -571,5 +607,9 @@ namespace DataLoader
private System.Windows.Forms.ToolStripMenuItem fixROsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem fixROsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fixROsToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem fixROsToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem loadTreeToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem loadTreeToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem importDataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exportProcedureOnlyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem importProcedureOnlyToolStripMenuItem;
} }
} }

View File

@ -1256,6 +1256,48 @@ namespace DataLoader
//} //}
} }
private void exportDataToolStripMenuItem_Click(object sender, EventArgs e)
{
TreeNode tn = tv.SelectedNode;
if (tn.Tag is FolderInfo)
{
FolderInfo fi = tn.Tag as FolderInfo;
Database.VEPROMS_Connection = MySettings.ConnectionString.Replace("{DBName}", MySettings.DBName);
dlgExportImport dlg = new dlgExportImport("export", fi);
dlg.ShowDialog(this);
}
}
private void importDataToolStripMenuItem_Click(object sender, EventArgs e)
{
TreeNode tn = tv.SelectedNode;
if (tn.Tag is FolderInfo)
{
FolderInfo fi = tn.Tag as FolderInfo;
Database.VEPROMS_Connection = MySettings.ConnectionString.Replace("{DBName}", MySettings.DBName);
dlgExportImport dlg = new dlgExportImport("import", fi);
dlg.ShowDialog(this);
}
loadTreeToolStripMenuItem_Click(sender, e);
}
private void exportProcedureOnlyToolStripMenuItem_Click(object sender, EventArgs e)
{
TreeNode tn = tv.SelectedNode;
if (tn.Tag is ProcedureInfo)
{
ProcedureInfo pi = tn.Tag as ProcedureInfo;
Database.VEPROMS_Connection = MySettings.ConnectionString.Replace("{DBName}", MySettings.DBName);
dlgExportImport dlg = new dlgExportImport("export", pi);
dlg.ShowDialog(this);
}
}
private void importProcedureOnlyToolStripMenuItem_Click(object sender, EventArgs e)
{
}
} }
public class MessageBuilder public class MessageBuilder