示例#1
0
 private void InitializeComponent()
 {
     this.components              = new Container();
     this.statusStrip1            = new StatusStrip();
     this.lblStatus               = new ToolStripStatusLabel();
     this.lvRecords               = new DoubleBufferListView();
     this.name                    = new ColumnHeader();
     this.value                   = new ColumnHeader();
     this.recordtype              = new ColumnHeader();
     this.line                    = new ColumnHeader();
     this.panel1                  = new Panel();
     this.label1                  = new Label();
     this.contextMenuStrip1       = new ContextMenuStrip(this.components);
     this.启用动态解析ToolStripMenuItem = new ToolStripMenuItem();
     this.禁用动态解析ToolStripMenuItem = new ToolStripMenuItem();
     this.查看日志ToolStripMenuItem   = new ToolStripMenuItem();
     this.statusStrip1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     base.SuspendLayout();
     this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.lblStatus });
     this.statusStrip1.Location = new Point(0, 0x159);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new Size(0x29f, 0x16);
     this.statusStrip1.TabIndex = 0;
     this.statusStrip1.Text     = "statusStrip1";
     this.lblStatus.Name        = "lblStatus";
     this.lblStatus.Size        = new Size(0x20, 0x11);
     this.lblStatus.Text        = "就绪";
     this.lvRecords.Anchor      = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.lvRecords.Columns.AddRange(new ColumnHeader[] { this.name, this.value, this.recordtype, this.line });
     this.lvRecords.FullRowSelect = true;
     this.lvRecords.Location      = new Point(0, 0x2a);
     this.lvRecords.MultiSelect   = false;
     this.lvRecords.Name          = "lvRecords";
     this.lvRecords.Size          = new Size(0x29f, 300);
     this.lvRecords.TabIndex      = 2;
     this.lvRecords.UseCompatibleStateImageBehavior = false;
     this.lvRecords.View        = View.Details;
     this.lvRecords.MouseClick += new MouseEventHandler(this.lvRecords_MouseClick);
     this.name.Text             = "记录名称";
     this.name.Width            = 150;
     this.value.Text            = "记录值";
     this.value.Width           = 150;
     this.recordtype.Text       = "记录类型";
     this.line.Text             = "记录线路";
     this.panel1.BackColor      = Color.DeepSkyBlue;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock      = DockStyle.Top;
     this.panel1.Location  = new Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new Size(0x29f, 40);
     this.panel1.TabIndex  = 6;
     this.label1.AutoSize  = true;
     this.label1.Font      = new Font("宋体", 15.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.label1.ForeColor = Color.White;
     this.label1.Location  = new Point(12, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new Size(0x5e, 0x15);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "动态解析";
     this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.启用动态解析ToolStripMenuItem, this.禁用动态解析ToolStripMenuItem, this.查看日志ToolStripMenuItem });
     this.contextMenuStrip1.Name         = "contextMenuStrip1";
     this.contextMenuStrip1.Size         = new Size(0x99, 0x5c);
     this.启用动态解析ToolStripMenuItem.Name   = "启用动态解析ToolStripMenuItem";
     this.启用动态解析ToolStripMenuItem.Size   = new Size(0x98, 0x16);
     this.启用动态解析ToolStripMenuItem.Text   = "启用动态解析";
     this.启用动态解析ToolStripMenuItem.Click += new EventHandler(this.启用动态解析ToolStripMenuItem_Click);
     this.禁用动态解析ToolStripMenuItem.Name   = "禁用动态解析ToolStripMenuItem";
     this.禁用动态解析ToolStripMenuItem.Size   = new Size(0x98, 0x16);
     this.禁用动态解析ToolStripMenuItem.Text   = "禁用动态解析";
     this.禁用动态解析ToolStripMenuItem.Click += new EventHandler(this.禁用动态解析ToolStripMenuItem_Click);
     this.查看日志ToolStripMenuItem.Name     = "查看日志ToolStripMenuItem";
     this.查看日志ToolStripMenuItem.Size     = new Size(0x98, 0x16);
     this.查看日志ToolStripMenuItem.Text     = "查看日志";
     this.查看日志ToolStripMenuItem.Click   += new EventHandler(this.查看日志ToolStripMenuItem_Click);
     base.AutoScaleDimensions            = new SizeF(6f, 12f);
     base.ClientSize = new Size(0x29f, 0x16f);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.lvRecords);
     base.Controls.Add(this.statusStrip1);
     base.Name  = "FDdns";
     this.Text  = "动态解析-DNSPodClientLite";
     base.Load += new EventHandler(this.FRecordList_Load);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.contextMenuStrip1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#2
0
 private void InitializeComponent()
 {
     components            = new Container();
     statusStrip1          = new StatusStrip();
     lblStatus             = new ToolStripStatusLabel();
     panel1                = new Panel();
     label1                = new Label();
     contextMenuStrip1     = new ContextMenuStrip(components);
     启用监控ToolStripMenuItem = new ToolStripMenuItem();
     查看日志ToolStripMenuItem = new ToolStripMenuItem();
     查看图表ToolStripMenuItem = new ToolStripMenuItem();
     lvRecords             = new DoubleBufferListView();
     name          = new ColumnHeader();
     value         = new ColumnHeader();
     recordtype    = new ColumnHeader();
     line          = new ColumnHeader();
     status        = new ColumnHeader();
     columnHeader1 = new ColumnHeader();
     columnHeader2 = new ColumnHeader();
     columnHeader3 = new ColumnHeader();
     statusStrip1.SuspendLayout();
     panel1.SuspendLayout();
     contextMenuStrip1.SuspendLayout();
     base.SuspendLayout();
     statusStrip1.Items.AddRange(new ToolStripItem[] { lblStatus });
     statusStrip1.Location = new Point(0, 0x159);
     statusStrip1.Name     = "statusStrip1";
     statusStrip1.Size     = new Size(0x29f, 0x16);
     statusStrip1.TabIndex = 0;
     statusStrip1.Text     = "statusStrip1";
     lblStatus.Name        = "lblStatus";
     lblStatus.Size        = new Size(0x20, 0x11);
     lblStatus.Text        = "就绪";
     panel1.BackColor      = Color.DeepSkyBlue;
     panel1.Controls.Add(label1);
     panel1.Dock      = DockStyle.Top;
     panel1.Location  = new Point(0, 0);
     panel1.Name      = "panel1";
     panel1.Size      = new Size(0x29f, 40);
     panel1.TabIndex  = 6;
     label1.AutoSize  = true;
     label1.Font      = new Font("宋体", 15.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     label1.ForeColor = Color.White;
     label1.Location  = new Point(12, 9);
     label1.Name      = "label1";
     label1.Size      = new Size(0x5e, 0x15);
     label1.TabIndex  = 1;
     label1.Text      = "宕机监控";
     contextMenuStrip1.Items.AddRange(new ToolStripItem[] { 启用监控ToolStripMenuItem, 查看日志ToolStripMenuItem, 查看图表ToolStripMenuItem });
     contextMenuStrip1.Name       = "contextMenuStrip1";
     contextMenuStrip1.Size       = new Size(0x7d, 70);
     启用监控ToolStripMenuItem.Name   = "启用监控ToolStripMenuItem";
     启用监控ToolStripMenuItem.Size   = new Size(0x7c, 0x16);
     启用监控ToolStripMenuItem.Text   = "启用监控";
     启用监控ToolStripMenuItem.Click += new EventHandler(启用监控ToolStripMenuItem_Click);
     查看日志ToolStripMenuItem.Name   = "查看日志ToolStripMenuItem";
     查看日志ToolStripMenuItem.Size   = new Size(0x7c, 0x16);
     查看日志ToolStripMenuItem.Text   = "查看日志";
     查看日志ToolStripMenuItem.Click += new EventHandler(查看日志ToolStripMenuItem_Click);
     查看图表ToolStripMenuItem.Name   = "查看图表ToolStripMenuItem";
     查看图表ToolStripMenuItem.Size   = new Size(0x7c, 0x16);
     查看图表ToolStripMenuItem.Text   = "查看图表";
     查看图表ToolStripMenuItem.Click += new EventHandler(查看图表ToolStripMenuItem_Click);
     lvRecords.Anchor             = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     lvRecords.Columns.AddRange(new ColumnHeader[] { name, value, recordtype, line, status, columnHeader1, columnHeader2, columnHeader3 });
     lvRecords.FullRowSelect = true;
     lvRecords.Location      = new Point(0, 0x2a);
     lvRecords.MultiSelect   = false;
     lvRecords.Name          = "lvRecords";
     lvRecords.Size          = new Size(0x29f, 300);
     lvRecords.TabIndex      = 2;
     lvRecords.UseCompatibleStateImageBehavior = false;
     lvRecords.View           = View.Details;
     lvRecords.MouseClick    += new MouseEventHandler(lvRecords_MouseClick);
     name.Text                = "记录名称";
     name.Width               = 100;
     value.Text               = "当前记录值";
     value.Width              = 100;
     recordtype.Text          = "记录类型";
     line.Text                = "线路";
     status.Text              = "状态";
     columnHeader1.Text       = "是否切换";
     columnHeader2.Text       = "备用IP";
     columnHeader2.Width      = 100;
     columnHeader3.Text       = "原始记录值";
     columnHeader3.Width      = 100;
     base.AutoScaleDimensions = new SizeF(6f, 12f);
     base.ClientSize          = new Size(0x29f, 0x16f);
     base.Controls.Add(panel1);
     base.Controls.Add(lvRecords);
     base.Controls.Add(statusStrip1);
     base.Name  = "FMonitor";
     Text       = "宕机监控-DNSPodClientLite";
     base.Load += new EventHandler(FRecordList_Load);
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     panel1.ResumeLayout(false);
     panel1.PerformLayout();
     contextMenuStrip1.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#3
0
 private void InitializeComponent()
 {
     this.panel1        = new Panel();
     this.label1        = new Label();
     this.groupBox1     = new GroupBox();
     this.lvDomains     = new DoubleBufferListView();
     this.name          = new ColumnHeader();
     this.ddns          = new ColumnHeader();
     this.monitor       = new ColumnHeader();
     this.groupBox2     = new GroupBox();
     this.lvMsg         = new ListView();
     this.columnHeader1 = new ColumnHeader();
     this.btnNetCard    = new Button();
     this.btnImport     = new Button();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     base.SuspendLayout();
     this.panel1.BackColor = Color.DeepSkyBlue;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock      = DockStyle.Top;
     this.panel1.Location  = new Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new Size(0x3b2, 0x2a);
     this.panel1.TabIndex  = 1;
     this.label1.AutoSize  = true;
     this.label1.Font      = new Font("Microsoft Sans Serif", 15.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.label1.ForeColor = Color.White;
     this.label1.Location  = new Point(0x20, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new Size(0x60, 0x19);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "控制面板";
     this.groupBox1.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox1.Controls.Add(this.lvDomains);
     this.groupBox1.Font     = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.groupBox1.Location = new Point(0, 0x30);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new Size(360, 0x1d4);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "域名列表";
     this.lvDomains.Columns.AddRange(new ColumnHeader[] { this.name, this.ddns, this.monitor });
     this.lvDomains.Dock          = DockStyle.Fill;
     this.lvDomains.Font          = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
     this.lvDomains.FullRowSelect = true;
     this.lvDomains.Location      = new Point(3, 0x11);
     this.lvDomains.Margin        = new Padding(4);
     this.lvDomains.Name          = "lvDomains";
     this.lvDomains.Size          = new Size(0x162, 0x1c0);
     this.lvDomains.TabIndex      = 0;
     this.lvDomains.UseCompatibleStateImageBehavior = false;
     this.lvDomains.View   = View.Details;
     this.name.Text        = "域名";
     this.name.Width       = 150;
     this.ddns.Text        = "动态解析";
     this.ddns.Width       = 80;
     this.monitor.Text     = "宕机监控";
     this.monitor.Width    = 80;
     this.groupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.groupBox2.Controls.Add(this.lvMsg);
     this.groupBox2.Font     = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.groupBox2.Location = new Point(0x16f, 0x30);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new Size(0x243, 0x1d4);
     this.groupBox2.TabIndex = 4;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "信息列表";
     this.lvMsg.Columns.AddRange(new ColumnHeader[] { this.columnHeader1 });
     this.lvMsg.Dock     = DockStyle.Fill;
     this.lvMsg.Font     = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.lvMsg.Location = new Point(3, 0x11);
     this.lvMsg.Name     = "lvMsg";
     this.lvMsg.Size     = new Size(0x23d, 0x1c0);
     this.lvMsg.TabIndex = 0;
     this.lvMsg.UseCompatibleStateImageBehavior = false;
     this.lvMsg.View          = View.Details;
     this.columnHeader1.Text  = "信息";
     this.columnHeader1.Width = 500;
     this.btnNetCard.Font     = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.btnNetCard.Location = new Point(3, 0x30);
     this.btnNetCard.Name     = "btnNetCard";
     this.btnNetCard.Size     = new Size(0x49, 0x18);
     this.btnNetCard.TabIndex = 5;
     this.btnNetCard.Text     = "网卡设置";
     this.btnNetCard.UseVisualStyleBackColor = true;
     this.btnNetCard.Visible = false;
     this.btnNetCard.Click  += new EventHandler(this.btnNetCard_Click);
     this.btnImport.Font     = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.btnImport.Location = new Point(0x52, 0x30);
     this.btnImport.Name     = "btnImport";
     this.btnImport.Size     = new Size(0x49, 0x18);
     this.btnImport.TabIndex = 6;
     this.btnImport.Text     = "导入记录";
     this.btnImport.UseVisualStyleBackColor = true;
     this.btnImport.Visible   = false;
     this.btnImport.Click    += new EventHandler(this.btnImport_Click);
     base.AutoScaleDimensions = new SizeF(9f, 18f);
     base.AutoScaleMode       = AutoScaleMode.Font;
     base.ClientSize          = new Size(0x3b2, 0x204);
     base.Controls.Add(this.btnImport);
     base.Controls.Add(this.btnNetCard);
     base.Controls.Add(this.groupBox2);
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.panel1);
     this.Font   = new Font("Microsoft Sans Serif", 11.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margin = new Padding(4);
     base.Name   = "FDomainList";
     this.Text   = "控制面板-DNSPodClientLite";
     base.Load  += new EventHandler(this.FDomainList_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     base.ResumeLayout(false);
 }
示例#4
0
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.statusStrip1      = new System.Windows.Forms.StatusStrip();
     this.lblStatus         = new System.Windows.Forms.ToolStripStatusLabel();
     this.lvRecords         = new DNSPodClientLite.DoubleBufferListView();
     this.name              = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.value             = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.recordtype        = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.line              = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.panel1            = new System.Windows.Forms.Panel();
     this.label1            = new System.Windows.Forms.Label();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.menuEnableDdns    = new System.Windows.Forms.ToolStripMenuItem();
     this.menuManualRefresh = new System.Windows.Forms.ToolStripMenuItem();
     this.menuDisableDdns   = new System.Windows.Forms.ToolStripMenuItem();
     this.menuShowLogs      = new System.Windows.Forms.ToolStripMenuItem();
     this.statusStrip1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.lblStatus
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 345);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(671, 22);
     this.statusStrip1.TabIndex = 0;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // lblStatus
     //
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Size = new System.Drawing.Size(32, 17);
     this.lblStatus.Text = "就绪";
     //
     // lvRecords
     //
     this.lvRecords.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.lvRecords.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.name,
         this.value,
         this.recordtype,
         this.line
     });
     this.lvRecords.FullRowSelect = true;
     this.lvRecords.HideSelection = false;
     this.lvRecords.Location      = new System.Drawing.Point(0, 42);
     this.lvRecords.MultiSelect   = false;
     this.lvRecords.Name          = "lvRecords";
     this.lvRecords.Size          = new System.Drawing.Size(671, 300);
     this.lvRecords.TabIndex      = 2;
     this.lvRecords.UseCompatibleStateImageBehavior = false;
     this.lvRecords.View        = System.Windows.Forms.View.Details;
     this.lvRecords.MouseClick += new System.Windows.Forms.MouseEventHandler(this.lvRecords_MouseClick);
     //
     // name
     //
     this.name.Text  = "记录名称";
     this.name.Width = 150;
     //
     // value
     //
     this.value.Text  = "记录值";
     this.value.Width = 150;
     //
     // recordtype
     //
     this.recordtype.Text = "记录类型";
     //
     // line
     //
     this.line.Text = "记录线路";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.DeepSkyBlue;
     this.panel1.Controls.Add(this.label1);
     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(671, 40);
     this.panel1.TabIndex = 6;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("SimSun", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(12, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(94, 21);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "动态解析";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.menuEnableDdns,
         this.menuManualRefresh,
         this.menuDisableDdns,
         this.menuShowLogs
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(149, 92);
     //
     // menuEnableDdns
     //
     this.menuEnableDdns.Name   = "menuEnableDdns";
     this.menuEnableDdns.Size   = new System.Drawing.Size(148, 22);
     this.menuEnableDdns.Text   = "启用动态解析";
     this.menuEnableDdns.Click += new System.EventHandler(this.menuEnableDdns_Click);
     //
     // menuManualRefresh
     //
     this.menuManualRefresh.Name   = "menuManualRefresh";
     this.menuManualRefresh.Size   = new System.Drawing.Size(148, 22);
     this.menuManualRefresh.Text   = "手工刷新";
     this.menuManualRefresh.Click += new System.EventHandler(this.menuManualRefresh_Click);
     //
     // menuDisableDdns
     //
     this.menuDisableDdns.Name   = "menuDisableDdns";
     this.menuDisableDdns.Size   = new System.Drawing.Size(148, 22);
     this.menuDisableDdns.Text   = "禁用动态解析";
     this.menuDisableDdns.Click += new System.EventHandler(this.menuDisableDdns_Click);
     //
     // menuShowLogs
     //
     this.menuShowLogs.Name   = "menuShowLogs";
     this.menuShowLogs.Size   = new System.Drawing.Size(148, 22);
     this.menuShowLogs.Text   = "查看日志";
     this.menuShowLogs.Click += new System.EventHandler(this.menuShowLogs_Click);
     //
     // FDdns
     //
     this.ClientSize = new System.Drawing.Size(671, 367);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.lvRecords);
     this.Controls.Add(this.statusStrip1);
     this.Name  = "FDdns";
     this.Text  = "动态解析-DNSPodClientLite";
     this.Load += new System.EventHandler(this.FRecordList_Load);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }