407 lines
15 KiB
C#
407 lines
15 KiB
C#
namespace ConvertLocalAlarms
|
|
{
|
|
partial class frmConvertLocalAlarms
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.btn_All = new System.Windows.Forms.Button();
|
|
this.btnConvert = new System.Windows.Forms.Button();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.tbServer = new System.Windows.Forms.TextBox();
|
|
this.cmbDatabase = new System.Windows.Forms.ComboBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.cmbDocVersion = new System.Windows.Forms.ComboBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.btn_Run = new System.Windows.Forms.Button();
|
|
this.btn_Browse = new System.Windows.Forms.Button();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.tbFileName = new System.Windows.Forms.TextBox();
|
|
this.ofd = new System.Windows.Forms.OpenFileDialog();
|
|
this.sc1 = new System.Windows.Forms.SplitContainer();
|
|
this.tcXML = new System.Windows.Forms.TabControl();
|
|
this.tpXML = new System.Windows.Forms.TabPage();
|
|
this.tbPROMS = new System.Windows.Forms.TextBox();
|
|
this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
this.tpStructure = new System.Windows.Forms.TabPage();
|
|
this.tv = new System.Windows.Forms.TreeView();
|
|
this.tpGrid = new System.Windows.Forms.TabPage();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.tmr = new System.Windows.Forms.Timer(this.components);
|
|
this.panel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.sc1)).BeginInit();
|
|
this.sc1.Panel1.SuspendLayout();
|
|
this.sc1.Panel2.SuspendLayout();
|
|
this.sc1.SuspendLayout();
|
|
this.tcXML.SuspendLayout();
|
|
this.tpXML.SuspendLayout();
|
|
this.tabControl1.SuspendLayout();
|
|
this.tpStructure.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Controls.Add(this.panel2);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(954, 88);
|
|
this.panel1.TabIndex = 0;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(23, 13);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "File";
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Controls.Add(this.btn_All);
|
|
this.panel2.Controls.Add(this.btnConvert);
|
|
this.panel2.Controls.Add(this.label7);
|
|
this.panel2.Controls.Add(this.tbServer);
|
|
this.panel2.Controls.Add(this.cmbDatabase);
|
|
this.panel2.Controls.Add(this.label4);
|
|
this.panel2.Controls.Add(this.cmbDocVersion);
|
|
this.panel2.Controls.Add(this.label5);
|
|
this.panel2.Controls.Add(this.btn_Run);
|
|
this.panel2.Controls.Add(this.btn_Browse);
|
|
this.panel2.Controls.Add(this.label6);
|
|
this.panel2.Controls.Add(this.tbFileName);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(954, 88);
|
|
this.panel2.TabIndex = 9;
|
|
//
|
|
// btn_All
|
|
//
|
|
this.btn_All.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btn_All.Location = new System.Drawing.Point(862, 46);
|
|
this.btn_All.Name = "btn_All";
|
|
this.btn_All.Size = new System.Drawing.Size(37, 25);
|
|
this.btn_All.TabIndex = 12;
|
|
this.btn_All.Text = "All";
|
|
this.btn_All.UseVisualStyleBackColor = true;
|
|
this.btn_All.Click += new System.EventHandler(this.btnAll_Click);
|
|
//
|
|
// btnConvert
|
|
//
|
|
this.btnConvert.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnConvert.Location = new System.Drawing.Point(754, 46);
|
|
this.btnConvert.Name = "btnConvert";
|
|
this.btnConvert.Size = new System.Drawing.Size(76, 28);
|
|
this.btnConvert.TabIndex = 11;
|
|
this.btnConvert.Text = "Convert";
|
|
this.btnConvert.UseVisualStyleBackColor = true;
|
|
this.btnConvert.Click += new System.EventHandler(this.btnConvert_Click);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(12, 35);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(38, 13);
|
|
this.label7.TabIndex = 10;
|
|
this.label7.Text = "Server";
|
|
//
|
|
// tbServer
|
|
//
|
|
this.tbServer.Location = new System.Drawing.Point(56, 32);
|
|
this.tbServer.Name = "tbServer";
|
|
this.tbServer.Size = new System.Drawing.Size(190, 20);
|
|
this.tbServer.TabIndex = 9;
|
|
//
|
|
// cmbDatabase
|
|
//
|
|
this.cmbDatabase.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cmbDatabase.FormattingEnabled = true;
|
|
this.cmbDatabase.Location = new System.Drawing.Point(331, 32);
|
|
this.cmbDatabase.Name = "cmbDatabase";
|
|
this.cmbDatabase.Size = new System.Drawing.Size(417, 21);
|
|
this.cmbDatabase.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(11, 61);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(75, 13);
|
|
this.label4.TabIndex = 7;
|
|
this.label4.Text = "Procedure Set";
|
|
//
|
|
// cmbDocVersion
|
|
//
|
|
this.cmbDocVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cmbDocVersion.FormattingEnabled = true;
|
|
this.cmbDocVersion.Location = new System.Drawing.Point(92, 58);
|
|
this.cmbDocVersion.Name = "cmbDocVersion";
|
|
this.cmbDocVersion.Size = new System.Drawing.Size(656, 21);
|
|
this.cmbDocVersion.TabIndex = 6;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(259, 35);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(53, 13);
|
|
this.label5.TabIndex = 4;
|
|
this.label5.Text = "Database";
|
|
//
|
|
// btn_Run
|
|
//
|
|
this.btn_Run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btn_Run.Location = new System.Drawing.Point(905, 3);
|
|
this.btn_Run.Name = "btn_Run";
|
|
this.btn_Run.Size = new System.Drawing.Size(37, 25);
|
|
this.btn_Run.TabIndex = 3;
|
|
this.btn_Run.Text = "Run";
|
|
this.btn_Run.UseVisualStyleBackColor = true;
|
|
this.btn_Run.Click += new System.EventHandler(this.btnRun_Click);
|
|
//
|
|
// btn_Browse
|
|
//
|
|
this.btn_Browse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btn_Browse.Location = new System.Drawing.Point(827, 3);
|
|
this.btn_Browse.Name = "btn_Browse";
|
|
this.btn_Browse.Size = new System.Drawing.Size(72, 24);
|
|
this.btn_Browse.TabIndex = 2;
|
|
this.btn_Browse.Text = "Browse...";
|
|
this.btn_Browse.UseVisualStyleBackColor = true;
|
|
this.btn_Browse.Click += new System.EventHandler(this.btnBrowse_Click);
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(12, 9);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(23, 13);
|
|
this.label6.TabIndex = 1;
|
|
this.label6.Text = "File";
|
|
//
|
|
// tbFileName
|
|
//
|
|
this.tbFileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tbFileName.Location = new System.Drawing.Point(56, 6);
|
|
this.tbFileName.Name = "tbFileName";
|
|
this.tbFileName.Size = new System.Drawing.Size(756, 20);
|
|
this.tbFileName.TabIndex = 0;
|
|
this.tbFileName.Text = "H:\\Barakah Alarms\\1N2-OP-ARP-CS-0001_Rev_02_FINAL_Zipped_XML_20190804\\ARP-3442-10" +
|
|
"01 CS CNMT Spray HDR Block VLV V0001 TRBL.xml";
|
|
this.tbFileName.TextChanged += new System.EventHandler(this.tbFileName_TextChanged);
|
|
//
|
|
// ofd
|
|
//
|
|
this.ofd.Filter = "Text Files|*.txt";
|
|
//
|
|
// sc1
|
|
//
|
|
this.sc1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.sc1.Location = new System.Drawing.Point(0, 88);
|
|
this.sc1.Name = "sc1";
|
|
//
|
|
// sc1.Panel1
|
|
//
|
|
this.sc1.Panel1.Controls.Add(this.tcXML);
|
|
//
|
|
// sc1.Panel2
|
|
//
|
|
this.sc1.Panel2.Controls.Add(this.tabControl1);
|
|
this.sc1.Size = new System.Drawing.Size(954, 392);
|
|
this.sc1.SplitterDistance = 372;
|
|
this.sc1.TabIndex = 1;
|
|
//
|
|
// tcXML
|
|
//
|
|
this.tcXML.Controls.Add(this.tpXML);
|
|
this.tcXML.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tcXML.Location = new System.Drawing.Point(0, 0);
|
|
this.tcXML.Name = "tcXML";
|
|
this.tcXML.SelectedIndex = 0;
|
|
this.tcXML.Size = new System.Drawing.Size(372, 392);
|
|
this.tcXML.TabIndex = 2;
|
|
//
|
|
// tpXML
|
|
//
|
|
this.tpXML.Controls.Add(this.tbPROMS);
|
|
this.tpXML.Location = new System.Drawing.Point(4, 22);
|
|
this.tpXML.Name = "tpXML";
|
|
this.tpXML.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tpXML.Size = new System.Drawing.Size(364, 366);
|
|
this.tpXML.TabIndex = 1;
|
|
this.tpXML.Text = "Raw";
|
|
this.tpXML.UseVisualStyleBackColor = true;
|
|
//
|
|
// tbPROMS
|
|
//
|
|
this.tbPROMS.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tbPROMS.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.tbPROMS.Location = new System.Drawing.Point(3, 3);
|
|
this.tbPROMS.Multiline = true;
|
|
this.tbPROMS.Name = "tbPROMS";
|
|
this.tbPROMS.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.tbPROMS.Size = new System.Drawing.Size(358, 360);
|
|
this.tbPROMS.TabIndex = 1;
|
|
//
|
|
// tabControl1
|
|
//
|
|
this.tabControl1.Controls.Add(this.tpStructure);
|
|
this.tabControl1.Controls.Add(this.tpGrid);
|
|
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.tabControl1.Name = "tabControl1";
|
|
this.tabControl1.SelectedIndex = 0;
|
|
this.tabControl1.Size = new System.Drawing.Size(578, 392);
|
|
this.tabControl1.TabIndex = 0;
|
|
//
|
|
// tpStructure
|
|
//
|
|
this.tpStructure.Controls.Add(this.tv);
|
|
this.tpStructure.Location = new System.Drawing.Point(4, 22);
|
|
this.tpStructure.Name = "tpStructure";
|
|
this.tpStructure.Size = new System.Drawing.Size(570, 366);
|
|
this.tpStructure.TabIndex = 2;
|
|
this.tpStructure.Text = "Structure";
|
|
this.tpStructure.UseVisualStyleBackColor = true;
|
|
//
|
|
// tv
|
|
//
|
|
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tv.Location = new System.Drawing.Point(0, 0);
|
|
this.tv.Name = "tv";
|
|
this.tv.Size = new System.Drawing.Size(570, 366);
|
|
this.tv.TabIndex = 0;
|
|
//
|
|
// tpGrid
|
|
//
|
|
this.tpGrid.Location = new System.Drawing.Point(4, 22);
|
|
this.tpGrid.Name = "tpGrid";
|
|
this.tpGrid.Size = new System.Drawing.Size(570, 366);
|
|
this.tpGrid.TabIndex = 3;
|
|
this.tpGrid.Text = "Grid";
|
|
this.tpGrid.UseVisualStyleBackColor = true;
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsslStatus});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 480);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Size = new System.Drawing.Size(954, 22);
|
|
this.statusStrip1.TabIndex = 2;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
this.statusStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.statusStrip1_ItemClicked);
|
|
this.statusStrip1.Click += new System.EventHandler(this.tsslStatus_Click);
|
|
//
|
|
// tsslStatus
|
|
//
|
|
this.tsslStatus.Name = "tsslStatus";
|
|
this.tsslStatus.Size = new System.Drawing.Size(39, 17);
|
|
this.tsslStatus.Text = "Ready";
|
|
this.tsslStatus.Click += new System.EventHandler(this.tsslStatus_Click);
|
|
//
|
|
// tmr
|
|
//
|
|
this.tmr.Tick += new System.EventHandler(this.tmr_Tick);
|
|
//
|
|
// frmConvertLocalAlarms
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(954, 502);
|
|
this.Controls.Add(this.sc1);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Name = "frmConvertLocalAlarms";
|
|
this.Text = "Convert Alarms";
|
|
this.Load += new System.EventHandler(this.frmConvertAlarms_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel2.PerformLayout();
|
|
this.sc1.Panel1.ResumeLayout(false);
|
|
this.sc1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.sc1)).EndInit();
|
|
this.sc1.ResumeLayout(false);
|
|
this.tcXML.ResumeLayout(false);
|
|
this.tpXML.ResumeLayout(false);
|
|
this.tpXML.PerformLayout();
|
|
this.tabControl1.ResumeLayout(false);
|
|
this.tpStructure.ResumeLayout(false);
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.OpenFileDialog ofd;
|
|
private System.Windows.Forms.SplitContainer sc1;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
|
|
private System.Windows.Forms.TabControl tcXML;
|
|
private System.Windows.Forms.TabPage tpXML;
|
|
private System.Windows.Forms.TabControl tabControl1;
|
|
private System.Windows.Forms.TabPage tpStructure;
|
|
private System.Windows.Forms.TreeView tv;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox tbServer;
|
|
private System.Windows.Forms.ComboBox cmbDatabase;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ComboBox cmbDocVersion;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Button btn_Run;
|
|
private System.Windows.Forms.Button btn_Browse;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox tbFileName;
|
|
private System.Windows.Forms.Button btnConvert;
|
|
private System.Windows.Forms.Button btn_All;
|
|
private System.Windows.Forms.TabPage tpGrid;
|
|
private System.Windows.Forms.TextBox tbPROMS;
|
|
private System.Windows.Forms.Timer tmr;
|
|
}
|
|
}
|
|
|