System.Drawing.Color.FromArgb(int, int, int)

Here are the examples of the csharp api System.Drawing.Color.FromArgb(int, int, int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4401 Examples 7

19 View Source File : TestOpen3D.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static Tuple<Mesh,double[]> Poisson(PointCloud cloud, ulong PoisonMaxDepth=8,  ulong PoisonMinDepth=0,    float PoisonScale=1.1f,    bool Linear=false) {

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Conversion from Rhino PointCloud to Flat Array
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //var watch = System.Diagnostics.Stopwatch.StartNew();


            double[] p = new double[cloud.Count * 3];
            ulong p_c = (ulong)cloud.Count;

            double[] n = new double[cloud.Count * 3];
            ulong n_c = p_c;

            double[] c = new double[cloud.Count * 3];
            ulong c_c = p_c;

            bool hasColors = cloud.ContainsColors;

            //System.Threading.Tasks.Parallel.For(0, cloud.Count, i => {
            for (int i = 0; i < cloud.Count; i++) {
                p[i * 3 + 0] = cloud[i].Location.X;
                p[i * 3 + 1] = cloud[i].Location.Y;
                p[i * 3 + 2] = cloud[i].Location.Z;
                if (cloud.ContainsNormals) {
                    n[i * 3 + 0] = cloud[i].Normal.X;
                    n[i * 3 + 1] = cloud[i].Normal.Y;
                    n[i * 3 + 2] = cloud[i].Normal.Z;
                }
                if (cloud.ContainsColors) {
                    c[i * 3 + 0] = cloud[i].Color.R;
                    c[i * 3 + 1] = cloud[i].Color.G;
                    c[i * 3 + 2] = cloud[i].Color.B;
                }
            }
            //if (Math.Abs(FastPlaneToPt(denom, eq[0], eq[1], eq[2], eq[3], points[i])) <= tol)
            //    sectionPoints.Add(points[i]);
            //});



            //watch.Stop();
            // Rhino.RhinoApp.WriteLine("Convert PointCloud to double array "+watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Call C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            IntPtr p_pointer = IntPtr.Zero;
            int p_pointer_c = 0;
            IntPtr n_pointer = IntPtr.Zero;
            int n_pointer_c = 0;
            IntPtr c_pointer = IntPtr.Zero;
            int c_pointer_c = 0;
            IntPtr density_pointer = IntPtr.Zero;
            int density_pointer_c = 0;


            UnsafeOpen3D.Open3DPoisson(
                p, p_c,
                n, n_c,
                c, c_c,
                PoisonMaxDepth,
                PoisonMinDepth,
                PoisonScale,
                Linear,
                ref p_pointer, ref p_pointer_c,
                ref n_pointer, ref n_pointer_c,
                ref c_pointer, ref c_pointer_c,
                ref density_pointer, ref density_pointer_c
                );




            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("C++ Downsample "+ watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert Pointers to double arrays
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert faceIndicesPointer to C# int[]

            //watch = System.Diagnostics.Stopwatch.StartNew();
            double[] P = new double[p_pointer_c];
            Marshal.Copy(p_pointer, P, 0, P.Length);

            double[] N = new double[n_pointer_c];
            Marshal.Copy(n_pointer, N, 0, N.Length);

            double[] C = new double[c_pointer_c];
            Marshal.Copy(c_pointer, C, 0, C.Length);

            double[] D = new double[density_pointer_c];
            Marshal.Copy(density_pointer, D, 0, D.Length);
            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Convert Pointer to double Array "+watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Release C++ memory
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            UnsafeOpen3D.ReleaseDouble(p_pointer, true);
            UnsafeOpen3D.ReleaseDouble(n_pointer, true);
            UnsafeOpen3D.ReleaseDouble(c_pointer, true);
            UnsafeOpen3D.ReleaseDouble(density_pointer, true);


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert C++ to C# Pointcloud
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();

            Mesh mesh = new Mesh();

            for (int i = 0; i < P.Length; i += 3) {
                mesh.Vertices.Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

            }

            for (int i = 0; i < N.Length; i += 3) {
                mesh.Faces.AddFace((int)N[i + 0], (int)N[i + 1], (int)N[i + 2]);
            }

            for (int i = 0; i < C.Length; i += 3) {
                mesh.VertexColors.Add(System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]));

            }


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Create PointCloud from double arrays "+ watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Output
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            return Tuple.Create( mesh,D);

        }

19 View Source File : WaitFm.Designer.cs
License : GNU General Public License v3.0
Project Creator : a4004

private void InitializeComponent()
        {
            this.taskreplacedle = new System.Windows.Forms.Label();
            this.taskCaption = new System.Windows.Forms.Label();
            this.lnkVerbose = new System.Windows.Forms.LinkLabel();
            this.detailView = new System.Windows.Forms.Panel();
            this.debugOutput = new System.Windows.Forms.ListBox();
            this.header = new System.Windows.Forms.Panel();
            this.container = new System.Windows.Forms.Panel();
            this.extendedSpinner = new N2D22.Controls.ExtendedSpinner();
            this.detailView.SuspendLayout();
            this.header.SuspendLayout();
            this.container.SuspendLayout();
            this.SuspendLayout();
            // 
            // taskreplacedle
            // 
            this.taskreplacedle.AutoSize = true;
            this.taskreplacedle.Dock = System.Windows.Forms.DockStyle.Left;
            this.taskreplacedle.Font = new System.Drawing.Font("Segoe UI Semilight", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.taskreplacedle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.taskreplacedle.Location = new System.Drawing.Point(0, 0);
            this.taskreplacedle.Name = "taskreplacedle";
            this.taskreplacedle.Size = new System.Drawing.Size(101, 32);
            this.taskreplacedle.TabIndex = 0;
            this.taskreplacedle.Text = "Working";
            this.taskreplacedle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // taskCaption
            // 
            this.taskCaption.Dock = System.Windows.Forms.DockStyle.Top;
            this.taskCaption.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.taskCaption.Location = new System.Drawing.Point(15, 52);
            this.taskCaption.Name = "taskCaption";
            this.taskCaption.Padding = new System.Windows.Forms.Padding(3, 0, 8, 0);
            this.taskCaption.Size = new System.Drawing.Size(570, 43);
            this.taskCaption.TabIndex = 1;
            this.taskCaption.Text = "This won\'t take long";
            // 
            // lnkVerbose
            // 
            this.lnkVerbose.ActiveLinkColor = System.Drawing.Color.Blue;
            this.lnkVerbose.AutoEllipsis = true;
            this.lnkVerbose.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.lnkVerbose.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.lnkVerbose.Location = new System.Drawing.Point(15, 343);
            this.lnkVerbose.Name = "lnkVerbose";
            this.lnkVerbose.Size = new System.Drawing.Size(570, 32);
            this.lnkVerbose.TabIndex = 2;
            this.lnkVerbose.TabStop = true;
            this.lnkVerbose.Text = "Show Details";
            this.lnkVerbose.TextAlign = System.Drawing.ContentAlignment.BottomRight;
            this.lnkVerbose.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.lnkVerbose.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkVerbose_LinkClicked);
            // 
            // detailView
            // 
            this.detailView.BackColor = System.Drawing.SystemColors.Window;
            this.detailView.Controls.Add(this.debugOutput);
            this.detailView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.detailView.Location = new System.Drawing.Point(15, 95);
            this.detailView.Name = "detailView";
            this.detailView.Padding = new System.Windows.Forms.Padding(5, 15, 5, 0);
            this.detailView.Size = new System.Drawing.Size(570, 248);
            this.detailView.TabIndex = 3;
            this.detailView.Visible = false;
            // 
            // debugOutput
            // 
            this.debugOutput.Dock = System.Windows.Forms.DockStyle.Fill;
            this.debugOutput.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.debugOutput.FormattingEnabled = true;
            this.debugOutput.HorizontalScrollbar = true;
            this.debugOutput.ItemHeight = 15;
            this.debugOutput.Location = new System.Drawing.Point(5, 15);
            this.debugOutput.Name = "debugOutput";
            this.debugOutput.Size = new System.Drawing.Size(560, 233);
            this.debugOutput.TabIndex = 0;
            // 
            // header
            // 
            this.header.Controls.Add(this.container);
            this.header.Controls.Add(this.taskreplacedle);
            this.header.Dock = System.Windows.Forms.DockStyle.Top;
            this.header.Location = new System.Drawing.Point(15, 16);
            this.header.Name = "header";
            this.header.Size = new System.Drawing.Size(570, 36);
            this.header.TabIndex = 1;
            // 
            // container
            // 
            this.container.Controls.Add(this.extendedSpinner);
            this.container.Dock = System.Windows.Forms.DockStyle.Left;
            this.container.Location = new System.Drawing.Point(101, 0);
            this.container.Name = "container";
            this.container.Padding = new System.Windows.Forms.Padding(9, 4, 9, 8);
            this.container.Size = new System.Drawing.Size(42, 36);
            this.container.TabIndex = 8;
            // 
            // extendedSpinner
            // 
            this.extendedSpinner.Animated = true;
            this.extendedSpinner.BackObjectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.extendedSpinner.BackThickness = 2;
            this.extendedSpinner.ColorOne = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.extendedSpinner.ColorTwo = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.extendedSpinner.Dock = System.Windows.Forms.DockStyle.Fill;
            this.extendedSpinner.Gradient = false;
            this.extendedSpinner.Location = new System.Drawing.Point(9, 4);
            this.extendedSpinner.Name = "extendedSpinner";
            this.extendedSpinner.ObjectColor = System.Drawing.Color.DodgerBlue;
            this.extendedSpinner.Size = new System.Drawing.Size(24, 24);
            this.extendedSpinner.Speed = 7;
            this.extendedSpinner.TabIndex = 10;
            this.extendedSpinner.Thickness = 2;
            this.extendedSpinner.Trail = true;
            this.extendedSpinner.Value = 50;
            // 
            // WaitFm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(600, 400);
            this.Controls.Add(this.detailView);
            this.Controls.Add(this.lnkVerbose);
            this.Controls.Add(this.taskCaption);
            this.Controls.Add(this.header);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "WaitFm";
            this.Padding = new System.Windows.Forms.Padding(15, 16, 15, 25);
            this.detailView.ResumeLayout(false);
            this.header.ResumeLayout(false);
            this.header.PerformLayout();
            this.container.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : SettingForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingForm));
            this.label1 = new System.Windows.Forms.Label();
            this.monitorTimer = new System.Windows.Forms.NumericUpDown();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.listView1 = new System.Windows.Forms.ListView();
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.buttonSave = new System.Windows.Forms.Button();
            this.cb_showMenuBar = new System.Windows.Forms.CheckBox();
            this.cb_showStatusBar = new System.Windows.Forms.CheckBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.monitorTimer)).BeginInit();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(29, 49);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(116, 17);
            this.label1.TabIndex = 0;
            this.label1.Text = "项目监控间隔时间:";
            // 
            // monitorTimer
            // 
            this.monitorTimer.Location = new System.Drawing.Point(151, 46);
            this.monitorTimer.Maximum = new decimal(new int[] {
            1000000,
            0,
            0,
            0});
            this.monitorTimer.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.monitorTimer.Name = "monitorTimer";
            this.monitorTimer.Size = new System.Drawing.Size(94, 23);
            this.monitorTimer.TabIndex = 1;
            this.monitorTimer.Value = new decimal(new int[] {
            30,
            0,
            0,
            0});
            this.monitorTimer.ValueChanged += new System.EventHandler(this.monitorTimer_ValueChanged);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(251, 49);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(20, 17);
            this.label2.TabIndex = 2;
            this.label2.Text = "秒";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(101, 125);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(44, 17);
            this.label3.TabIndex = 3;
            this.label3.Text = "皮肤:";
            // 
            // listView1
            // 
            this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.listView1.CheckBoxes = true;
            this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader5});
            this.listView1.LargeImageList = this.imageList1;
            this.listView1.Location = new System.Drawing.Point(151, 121);
            this.listView1.Name = "listView1";
            this.listView1.Size = new System.Drawing.Size(605, 159);
            this.listView1.TabIndex = 5;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
            // 
            // columnHeader5
            // 
            this.columnHeader5.Width = 136;
            // 
            // imageList1
            // 
            this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize = new System.Drawing.Size(136, 80);
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            // 
            // buttonSave
            // 
            this.buttonSave.Location = new System.Drawing.Point(655, 455);
            this.buttonSave.Name = "buttonSave";
            this.buttonSave.Size = new System.Drawing.Size(101, 30);
            this.buttonSave.TabIndex = 6;
            this.buttonSave.Text = "Close";
            this.buttonSave.UseVisualStyleBackColor = true;
            this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
            // 
            // cb_showMenuBar
            // 
            this.cb_showMenuBar.AutoSize = true;
            this.cb_showMenuBar.BackColor = System.Drawing.Color.Transparent;
            this.cb_showMenuBar.Location = new System.Drawing.Point(152, 84);
            this.cb_showMenuBar.Name = "cb_showMenuBar";
            this.cb_showMenuBar.Size = new System.Drawing.Size(119, 21);
            this.cb_showMenuBar.TabIndex = 7;
            this.cb_showMenuBar.Text = "Show Menu Bar";
            this.cb_showMenuBar.UseVisualStyleBackColor = false;
            this.cb_showMenuBar.CheckedChanged += new System.EventHandler(this.cb_showMenuBar_CheckedChanged);
            // 
            // cb_showStatusBar
            // 
            this.cb_showStatusBar.AutoSize = true;
            this.cb_showStatusBar.BackColor = System.Drawing.Color.Transparent;
            this.cb_showStatusBar.Location = new System.Drawing.Point(304, 84);
            this.cb_showStatusBar.Name = "cb_showStatusBar";
            this.cb_showStatusBar.Size = new System.Drawing.Size(121, 21);
            this.cb_showStatusBar.TabIndex = 8;
            this.cb_showStatusBar.Text = "Show Status Bar";
            this.cb_showStatusBar.UseVisualStyleBackColor = false;
            this.cb_showStatusBar.CheckedChanged += new System.EventHandler(this.cb_showStatusBar_CheckedChanged);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Location = new System.Drawing.Point(101, 87);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(44, 17);
            this.label4.TabIndex = 9;
            this.label4.Text = "组件:";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
            this.label5.Location = new System.Drawing.Point(271, 49);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(76, 17);
            this.label5.TabIndex = 10;
            this.label5.Text = "(重启后生效)";
            // 
            // SettingForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(779, 509);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.cb_showStatusBar);
            this.Controls.Add(this.cb_showMenuBar);
            this.Controls.Add(this.buttonSave);
            this.Controls.Add(this.listView1);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.monitorTimer);
            this.Controls.Add(this.label1);
            this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "SettingForm";
            this.Text = "Setting";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SettingForm_FormClosed);
            this.Load += new System.EventHandler(this.SettingForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.monitorTimer)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : UCDataGrid.Designer.cs
License : MIT License
Project Creator : 2881099

private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            this.bar1 = new DevComponents.DotNetBar.Bar();
            this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
            this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
            this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem();
            this.bar2 = new DevComponents.DotNetBar.Bar();
            this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
            this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
            this.elementHost1 = new System.Windows.Forms.Integration.ElementHost();
            this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
            ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bar2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
            this.SuspendLayout();
            // 
            // bar1
            // 
            this.bar1.AntiAlias = true;
            this.bar1.Dock = System.Windows.Forms.DockStyle.Top;
            this.bar1.DockedBorderStyle = DevComponents.DotNetBar.eBorderType.Bump;
            this.bar1.FadeEffect = true;
            this.bar1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
            this.bar1.IsMaximized = false;
            this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            this.buttonItem1,
            this.buttonItem2,
            this.buttonItem3});
            this.bar1.Location = new System.Drawing.Point(0, 0);
            this.bar1.Name = "bar1";
            this.bar1.Size = new System.Drawing.Size(1359, 32);
            this.bar1.Stretch = true;
            this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.bar1.TabIndex = 0;
            this.bar1.TabStop = false;
            this.bar1.Text = "bar1";
            // 
            // buttonItem1
            // 
            this.buttonItem1.Name = "buttonItem1";
            this.buttonItem1.Text = "查询";
            this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
            // 
            // buttonItem2
            // 
            this.buttonItem2.Name = "buttonItem2";
            this.buttonItem2.Text = "buttonItem2";
            // 
            // buttonItem3
            // 
            this.buttonItem3.Name = "buttonItem3";
            this.buttonItem3.Text = "buttonItem3";
            // 
            // bar2
            // 
            this.bar2.AccessibleDescription = "bar2 (bar2)";
            this.bar2.AccessibleName = "bar2";
            this.bar2.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar;
            this.bar2.AntiAlias = true;
            this.bar2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.bar2.DoubleClickBehavior = DevComponents.DotNetBar.eDoubleClickBarBehavior.None;
            this.bar2.Font = new System.Drawing.Font("宋体", 12F);
            this.bar2.IsMaximized = false;
            this.bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            this.labelItem1,
            this.labelItem2});
            this.bar2.Location = new System.Drawing.Point(0, 669);
            this.bar2.Name = "bar2";
            this.bar2.Size = new System.Drawing.Size(1359, 21);
            this.bar2.Stretch = true;
            this.bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.bar2.TabIndex = 3;
            this.bar2.TabStop = false;
            this.bar2.Text = "bar2";
            // 
            // labelItem1
            // 
            this.labelItem1.Name = "labelItem1";
            this.labelItem1.Text = "labelItem1";
            // 
            // labelItem2
            // 
            this.labelItem2.Name = "labelItem2";
            this.labelItem2.Text = "labelItem2";
            // 
            // elementHost1
            // 
            this.elementHost1.Dock = System.Windows.Forms.DockStyle.Top;
            this.elementHost1.Location = new System.Drawing.Point(0, 32);
            this.elementHost1.Name = "elementHost1";
            this.elementHost1.Size = new System.Drawing.Size(1359, 189);
            this.elementHost1.TabIndex = 5;
            this.elementHost1.Text = "elementHost1";
            this.elementHost1.Child = null;
            // 
            // dataGridViewX1
            // 
            this.dataGridViewX1.AllowUserToAddRows = false;
            this.dataGridViewX1.AllowUserToDeleteRows = false;
            this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
            this.dataGridViewX1.Location = new System.Drawing.Point(0, 221);
            this.dataGridViewX1.Name = "dataGridViewX1";
            this.dataGridViewX1.ReadOnly = true;
            this.dataGridViewX1.RowTemplate.Height = 23;
            this.dataGridViewX1.Size = new System.Drawing.Size(1359, 448);
            this.dataGridViewX1.TabIndex = 6;
            // 
            // UCDataGrid
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.dataGridViewX1);
            this.Controls.Add(this.elementHost1);
            this.Controls.Add(this.bar2);
            this.Controls.Add(this.bar1);
            this.Name = "UCDataGrid";
            this.Size = new System.Drawing.Size(1359, 690);
            ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bar2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
            this.ResumeLayout(false);

        }

19 View Source File : TextFindForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextFindForm));
            this.btn_replace = new System.Windows.Forms.Button();
            this.btn_find = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.text_target = new CCWin.SkinControl.SkinComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.text_res = new CCWin.SkinControl.SkinComboBox();
            this.btn_replace_all = new System.Windows.Forms.Button();
            this.btn_replace_find = new System.Windows.Forms.Button();
            this.btn_close = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cb_regex = new System.Windows.Forms.CheckBox();
            this.cb_immed = new System.Windows.Forms.CheckBox();
            this.cb_whole = new System.Windows.Forms.CheckBox();
            this.cb_case = new System.Windows.Forms.CheckBox();
            this.info = new System.Windows.Forms.Label();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // btn_replace
            // 
            this.btn_replace.Location = new System.Drawing.Point(172, 360);
            this.btn_replace.Name = "btn_replace";
            this.btn_replace.Size = new System.Drawing.Size(100, 27);
            this.btn_replace.TabIndex = 11;
            this.btn_replace.Text = "Replace";
            this.btn_replace.UseVisualStyleBackColor = true;
            this.btn_replace.Click += new System.EventHandler(this.btn_replace_Click);
            // 
            // btn_find
            // 
            this.btn_find.Location = new System.Drawing.Point(172, 324);
            this.btn_find.Name = "btn_find";
            this.btn_find.Size = new System.Drawing.Size(100, 27);
            this.btn_find.TabIndex = 10;
            this.btn_find.Text = "Find";
            this.btn_find.UseVisualStyleBackColor = true;
            this.btn_find.Click += new System.EventHandler(this.find_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(15, 83);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(41, 12);
            this.label2.TabIndex = 9;
            this.label2.Text = "替换:";
            // 
            // text_target
            // 
            this.text_target.BaseColor = System.Drawing.Color.Silver;
            this.text_target.BorderColor = System.Drawing.Color.Silver;
            this.text_target.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.text_target.FormattingEnabled = true;
            this.text_target.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_target.Location = new System.Drawing.Point(62, 78);
            this.text_target.MouseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_target.MouseGradientColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_target.Name = "text_target";
            this.text_target.Size = new System.Drawing.Size(322, 22);
            this.text_target.TabIndex = 8;
            this.text_target.WaterText = "";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(15, 46);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(41, 12);
            this.label1.TabIndex = 7;
            this.label1.Text = "查找:";
            // 
            // text_res
            // 
            this.text_res.BaseColor = System.Drawing.Color.Silver;
            this.text_res.BorderColor = System.Drawing.Color.Silver;
            this.text_res.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.text_res.DropBackColor = System.Drawing.SystemColors.Control;
            this.text_res.FormattingEnabled = true;
            this.text_res.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_res.ItemHoverForeColor = System.Drawing.Color.Teal;
            this.text_res.Location = new System.Drawing.Point(62, 41);
            this.text_res.MouseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_res.MouseGradientColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.text_res.Name = "text_res";
            this.text_res.Size = new System.Drawing.Size(322, 22);
            this.text_res.TabIndex = 6;
            this.text_res.WaterText = "";
            this.text_res.KeyUp += new System.Windows.Forms.KeyEventHandler(this.text_res_KeyUp);
            // 
            // btn_replace_all
            // 
            this.btn_replace_all.Location = new System.Drawing.Point(285, 360);
            this.btn_replace_all.Name = "btn_replace_all";
            this.btn_replace_all.Size = new System.Drawing.Size(100, 27);
            this.btn_replace_all.TabIndex = 13;
            this.btn_replace_all.Text = "Replace All";
            this.btn_replace_all.UseVisualStyleBackColor = true;
            this.btn_replace_all.Click += new System.EventHandler(this.btn_replace_all_Click);
            // 
            // btn_replace_find
            // 
            this.btn_replace_find.Location = new System.Drawing.Point(285, 324);
            this.btn_replace_find.Name = "btn_replace_find";
            this.btn_replace_find.Size = new System.Drawing.Size(100, 27);
            this.btn_replace_find.TabIndex = 12;
            this.btn_replace_find.Text = "Replace/Find";
            this.btn_replace_find.UseVisualStyleBackColor = true;
            this.btn_replace_find.Click += new System.EventHandler(this.btn_replace_find_Click);
            // 
            // btn_close
            // 
            this.btn_close.Location = new System.Drawing.Point(285, 395);
            this.btn_close.Name = "btn_close";
            this.btn_close.Size = new System.Drawing.Size(100, 27);
            this.btn_close.TabIndex = 14;
            this.btn_close.Text = "Close";
            this.btn_close.UseVisualStyleBackColor = true;
            this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.cb_regex);
            this.groupBox1.Controls.Add(this.cb_immed);
            this.groupBox1.Controls.Add(this.cb_whole);
            this.groupBox1.Controls.Add(this.cb_case);
            this.groupBox1.Location = new System.Drawing.Point(17, 123);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(367, 148);
            this.groupBox1.TabIndex = 15;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "选项";
            // 
            // cb_regex
            // 
            this.cb_regex.AutoSize = true;
            this.cb_regex.Location = new System.Drawing.Point(217, 94);
            this.cb_regex.Name = "cb_regex";
            this.cb_regex.Size = new System.Drawing.Size(84, 16);
            this.cb_regex.TabIndex = 3;
            this.cb_regex.Text = "正则表达式";
            this.cb_regex.UseVisualStyleBackColor = true;
            this.cb_regex.CheckedChanged += new System.EventHandler(this.regex_CheckedChanged);
            // 
            // cb_immed
            // 
            this.cb_immed.AutoSize = true;
            this.cb_immed.Location = new System.Drawing.Point(25, 94);
            this.cb_immed.Name = "cb_immed";
            this.cb_immed.Size = new System.Drawing.Size(72, 16);
            this.cb_immed.TabIndex = 2;
            this.cb_immed.Text = "即打即找";
            this.cb_immed.UseVisualStyleBackColor = true;
            // 
            // cb_whole
            // 
            this.cb_whole.AutoSize = true;
            this.cb_whole.Location = new System.Drawing.Point(217, 53);
            this.cb_whole.Name = "cb_whole";
            this.cb_whole.Size = new System.Drawing.Size(72, 16);
            this.cb_whole.TabIndex = 1;
            this.cb_whole.Text = "整字匹配";
            this.cb_whole.UseVisualStyleBackColor = true;
            // 
            // cb_case
            // 
            this.cb_case.AutoSize = true;
            this.cb_case.Location = new System.Drawing.Point(25, 53);
            this.cb_case.Name = "cb_case";
            this.cb_case.Size = new System.Drawing.Size(84, 16);
            this.cb_case.TabIndex = 0;
            this.cb_case.Text = "区分大小写";
            this.cb_case.UseVisualStyleBackColor = true;
            // 
            // info
            // 
            this.info.AutoSize = true;
            this.info.BackColor = System.Drawing.Color.Transparent;
            this.info.ForeColor = System.Drawing.Color.Red;
            this.info.Location = new System.Drawing.Point(16, 405);
            this.info.Name = "info";
            this.info.Size = new System.Drawing.Size(0, 12);
            this.info.TabIndex = 4;
            // 
            // TextFindForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(400, 437);
            this.Controls.Add(this.info);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.btn_close);
            this.Controls.Add(this.btn_replace_all);
            this.Controls.Add(this.btn_replace_find);
            this.Controls.Add(this.btn_replace);
            this.Controls.Add(this.btn_find);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.text_target);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.text_res);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(400, 437);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(400, 437);
            this.Name = "TextFindForm";
            this.Text = "查找与替换";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.TextFindForm_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : Form2.Designer.cs
License : MIT License
Project Creator : 200Tigersbloxed

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.button4 = new System.Windows.Forms.Button();
            this.label7 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.label1 = new System.Windows.Forms.Label();
            this.closeForm1 = new System.Windows.Forms.Button();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.label5 = new System.Windows.Forms.Label();
            this.button3 = new System.Windows.Forms.Button();
            this.statuslabel = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.progressBar2 = new System.Windows.Forms.ProgressBar();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.checkBox2 = new System.Windows.Forms.CheckBox();
            this.checkBox3 = new System.Windows.Forms.CheckBox();
            this.checkBox4 = new System.Windows.Forms.CheckBox();
            this.checkBox5 = new System.Windows.Forms.CheckBox();
            this.checkBox6 = new System.Windows.Forms.CheckBox();
            this.checkBox7 = new System.Windows.Forms.CheckBox();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = global::BSMulti_Installer2.Properties.Resources.cross;
            this.pictureBox1.Location = new System.Drawing.Point(308, 54);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(69, 69);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 27;
            this.pictureBox1.TabStop = false;
            // 
            // button4
            // 
            this.button4.BackColor = System.Drawing.SystemColors.GrayText;
            this.button4.FlatAppearance.BorderSize = 0;
            this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button4.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button4.ForeColor = System.Drawing.SystemColors.Control;
            this.button4.Location = new System.Drawing.Point(299, 364);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(78, 38);
            this.button4.TabIndex = 26;
            this.button4.TabStop = false;
            this.button4.Text = "INSTALL / UPDATE";
            this.button4.UseVisualStyleBackColor = false;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label7.Location = new System.Drawing.Point(13, 345);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(372, 16);
            this.label7.TabIndex = 25;
            this.label7.Text = "---------------------------------------------------------------------------------" +
    "----------";
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.button2.FlatAppearance.BorderSize = 0;
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor = System.Drawing.SystemColors.Control;
            this.button2.Location = new System.Drawing.Point(263, 171);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(122, 38);
            this.button2.TabIndex = 20;
            this.button2.TabStop = false;
            this.button2.Text = "ZINGABOPP";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label4
            // 
            this.label4.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label4.Location = new System.Drawing.Point(12, 140);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(373, 16);
            this.label4.TabIndex = 19;
            this.label4.Text = "SELECT MULTIPLAYER";
            this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.button1.FlatAppearance.BorderSize = 0;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor = System.Drawing.SystemColors.Control;
            this.button1.Location = new System.Drawing.Point(12, 171);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(122, 38);
            this.button1.TabIndex = 18;
            this.button1.TabStop = false;
            this.button1.Text = "ANDRUZZZHKA";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.SystemColors.Control;
            this.label3.Location = new System.Drawing.Point(13, 98);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(268, 16);
            this.label3.TabIndex = 17;
            this.label3.Text = "Please select what you need to install or uninstall";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Arial Narrow", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.SystemColors.Control;
            this.label2.Location = new System.Drawing.Point(11, 54);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 25);
            this.label2.TabIndex = 16;
            this.label2.Text = "Step 2";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.closeForm1);
            this.panel1.Location = new System.Drawing.Point(1, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(402, 34);
            this.panel1.TabIndex = 15;
            this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.SystemColors.Control;
            this.label1.Location = new System.Drawing.Point(11, 13);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(117, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "BSMulti Installer v2";
            // 
            // closeForm1
            // 
            this.closeForm1.FlatAppearance.BorderSize = 0;
            this.closeForm1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.closeForm1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.closeForm1.ForeColor = System.Drawing.SystemColors.Control;
            this.closeForm1.Location = new System.Drawing.Point(353, 0);
            this.closeForm1.Name = "closeForm1";
            this.closeForm1.Size = new System.Drawing.Size(46, 36);
            this.closeForm1.TabIndex = 1;
            this.closeForm1.TabStop = false;
            this.closeForm1.Text = "X";
            this.closeForm1.UseVisualStyleBackColor = true;
            this.closeForm1.Click += new System.EventHandler(this.closeForm1_Click);
            // 
            // linkLabel1
            // 
            this.linkLabel1.LinkColor = System.Drawing.SystemColors.MenuHighlight;
            this.linkLabel1.Location = new System.Drawing.Point(140, 184);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(117, 23);
            this.linkLabel1.TabIndex = 28;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "What should I Chose?";
            this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // label5
            // 
            this.label5.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label5.Location = new System.Drawing.Point(12, 223);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(373, 16);
            this.label5.TabIndex = 30;
            this.label5.Text = "SELECT DEPENDENCIES (UNINSTALL ONLY)";
            this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            // 
            // button3
            // 
            this.button3.BackColor = System.Drawing.SystemColors.GrayText;
            this.button3.FlatAppearance.BorderSize = 0;
            this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button3.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button3.ForeColor = System.Drawing.SystemColors.Control;
            this.button3.Location = new System.Drawing.Point(213, 364);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(80, 38);
            this.button3.TabIndex = 31;
            this.button3.TabStop = false;
            this.button3.Text = "UNINSTALL";
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // statuslabel
            // 
            this.statuslabel.AutoSize = true;
            this.statuslabel.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.statuslabel.ForeColor = System.Drawing.SystemColors.Control;
            this.statuslabel.Location = new System.Drawing.Point(13, 375);
            this.statuslabel.Name = "statuslabel";
            this.statuslabel.Size = new System.Drawing.Size(50, 16);
            this.statuslabel.TabIndex = 32;
            this.statuslabel.Text = "Status: ";
            // 
            // progressBar1
            // 
            this.progressBar1.Location = new System.Drawing.Point(16, 411);
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(361, 23);
            this.progressBar1.TabIndex = 33;
            // 
            // progressBar2
            // 
            this.progressBar2.Location = new System.Drawing.Point(16, 449);
            this.progressBar2.Name = "progressBar2";
            this.progressBar2.Size = new System.Drawing.Size(361, 23);
            this.progressBar2.TabIndex = 34;
            // 
            // checkBox1
            // 
            this.checkBox1.AutoSize = true;
            this.checkBox1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox1.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox1.Location = new System.Drawing.Point(16, 251);
            this.checkBox1.Name = "checkBox1";
            this.checkBox1.Size = new System.Drawing.Size(172, 18);
            this.checkBox1.TabIndex = 35;
            this.checkBox1.Text = "SongCore (Not recommended)";
            this.checkBox1.UseVisualStyleBackColor = true;
            // 
            // checkBox2
            // 
            this.checkBox2.AutoSize = true;
            this.checkBox2.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox2.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox2.Location = new System.Drawing.Point(16, 275);
            this.checkBox2.Name = "checkBox2";
            this.checkBox2.Size = new System.Drawing.Size(152, 18);
            this.checkBox2.TabIndex = 36;
            this.checkBox2.Text = "BSML (Not recommended)";
            this.checkBox2.UseVisualStyleBackColor = true;
            // 
            // checkBox3
            // 
            this.checkBox3.AutoSize = true;
            this.checkBox3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox3.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox3.Location = new System.Drawing.Point(16, 299);
            this.checkBox3.Name = "checkBox3";
            this.checkBox3.Size = new System.Drawing.Size(161, 18);
            this.checkBox3.TabIndex = 37;
            this.checkBox3.Text = "BS Utils (Not recommended)";
            this.checkBox3.UseVisualStyleBackColor = true;
            // 
            // checkBox4
            // 
            this.checkBox4.AutoSize = true;
            this.checkBox4.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox4.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox4.Location = new System.Drawing.Point(190, 299);
            this.checkBox4.Name = "checkBox4";
            this.checkBox4.Size = new System.Drawing.Size(103, 18);
            this.checkBox4.TabIndex = 38;
            this.checkBox4.Text = "Custom Avatars";
            this.checkBox4.UseVisualStyleBackColor = true;
            this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
            // 
            // checkBox5
            // 
            this.checkBox5.AutoSize = true;
            this.checkBox5.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox5.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox5.Location = new System.Drawing.Point(190, 251);
            this.checkBox5.Name = "checkBox5";
            this.checkBox5.Size = new System.Drawing.Size(86, 18);
            this.checkBox5.TabIndex = 39;
            this.checkBox5.Text = "DiscordCore";
            this.checkBox5.UseVisualStyleBackColor = true;
            // 
            // checkBox6
            // 
            this.checkBox6.AutoSize = true;
            this.checkBox6.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox6.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox6.Location = new System.Drawing.Point(190, 275);
            this.checkBox6.Name = "checkBox6";
            this.checkBox6.Size = new System.Drawing.Size(108, 18);
            this.checkBox6.TabIndex = 40;
            this.checkBox6.Text = "DynamicOpenVR";
            this.checkBox6.UseVisualStyleBackColor = true;
            // 
            // checkBox7
            // 
            this.checkBox7.AutoSize = true;
            this.checkBox7.ForeColor = System.Drawing.SystemColors.Control;
            this.checkBox7.Location = new System.Drawing.Point(16, 324);
            this.checkBox7.Name = "checkBox7";
            this.checkBox7.Size = new System.Drawing.Size(178, 17);
            this.checkBox7.TabIndex = 41;
            this.checkBox7.Text = "ScoreSaber (Not recommended)";
            this.checkBox7.UseVisualStyleBackColor = true;
            // 
            // Form2
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(37)))), ((int)(((byte)(37)))));
            this.ClientSize = new System.Drawing.Size(395, 484);
            this.Controls.Add(this.checkBox7);
            this.Controls.Add(this.checkBox6);
            this.Controls.Add(this.checkBox5);
            this.Controls.Add(this.checkBox4);
            this.Controls.Add(this.checkBox3);
            this.Controls.Add(this.checkBox2);
            this.Controls.Add(this.checkBox1);
            this.Controls.Add(this.progressBar2);
            this.Controls.Add(this.progressBar1);
            this.Controls.Add(this.statuslabel);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.linkLabel1);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.button4);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.panel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "Form2";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "BeatSaber Multiplayer Installer v2";
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : PointCloudToMeshComponent.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

protected override void SolveInstance(IGH_DataAccess DA) {

            int Downsample = 5000;
            int NormalsNeighbours = 100;
            bool debug = false;

            DA.GetData(1, ref Downsample);
            DA.GetData(2, ref NormalsNeighbours);
            DA.GetData(3, ref debug);


            //Guid to PointCloud
            //PointCloud c = new PointCloud();
            PointCloudGH c = new PointCloudGH();

            string debugInfo = debug ? "1" : "0";
            

            if (DA.GetData(0, ref c)) {
                if (!c.IsValid) return;
                if (c.Value.Count == 0) return;
                Downsample = Math.Min(Downsample, c.Value.Count);

               // var watch = System.Diagnostics.Stopwatch.StartNew();
                // the code that you want to measure comes here

                /////////////////////////////////////////////////////////////////
                //Get Directory
                /////////////////////////////////////////////////////////////////
                string replacedemblyLocation = System.Reflection.replacedembly.GetExecutingreplacedembly().Location;
                string replacedemblyPath = System.IO.Path.GetDirectoryName(replacedemblyLocation);


                /////////////////////////////////////////////////////////////////
                //write PointCloud to PLY
                /////////////////////////////////////////////////////////////////
                PlyReaderWriter.PlyWriter.SavePLY(c.Value, replacedemblyPath + @"\in.ply");
                //Rhino.RhinoApp.WriteLine("PointCloudToMesh. Saved Input: " + replacedemblyPath + @"\in.ply");
                //watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds / 1000.0).ToString());

                /////////////////////////////////////////////////////////////////
                //Ply to Mesh to Obj
                /////////////////////////////////////////////////////////////////
                //watch = System.Diagnostics.Stopwatch.StartNew();
                //tring argument = replacedemblyPath + "TestVisualizer.exe " + "-1 " + "100";//--asci 
                string argument = " "+Downsample.ToString()+ " " + NormalsNeighbours.ToString() + " " + debugInfo + " 8 0 1.1 0";//--asci 
                                                                                                                  // Rhino.RhinoApp.WriteLine("PointCloudToMesh. Arguments: " + argument );

      
                //int maximumDeptOfReconstructionSurfaceTree = atoi(argv[4]);//8
                //int targetWidthOfTheFinestLevelOctree = atoi(argv[5]);//0
                //float ratioBetweenReconCubeAndBBCubeStd = atof(argv[6]);    // 1.1
                //bool ReconstructorUsingLinearInterpolation = atoi(argv[7]) == 1;//0


                // Rhino.RhinoApp.WriteLine("PointCloudToMesh. Directory: " + replacedemblyPath + @"\TestVisualizer.exe");

                if (debug) {
                    var proc = new System.Diagnostics.Process {
                        StartInfo = new System.Diagnostics.ProcessStartInfo {
                            FileName = replacedemblyPath + @"\TestVisualizer.exe",//filePath+"PoissonRecon.exe",
                            Arguments = argument,
                            //UseShellExecute = false,
                            //RedirectStandardOutput = true,
                            CreateNoWindow = false,
                            // WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
                            WorkingDirectory = replacedemblyPath + @"\TestVisualizer.exe"
                        }
                    };

                    proc.Start();
                 
                    proc.WaitForExit();
                } else {
                    var proc = new System.Diagnostics.Process {
                        StartInfo = new System.Diagnostics.ProcessStartInfo {
                            FileName = replacedemblyPath + @"\TestVisualizer.exe",//filePath+"PoissonRecon.exe",
                            Arguments = argument,
                            //UseShellExecute = false,
                            //RedirectStandardOutput = true,
                            CreateNoWindow = true,
                             WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
                            WorkingDirectory = replacedemblyPath + @"\TestVisualizer.exe"
                        }
                    };
                    proc.Start();
                    proc.WaitForExit();
                }

               // watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds / 1000.0).ToString());

                /////////////////////////////////////////////////////////////////
                //Read Obj
                /////////////////////////////////////////////////////////////////
                ///

                //Outputs
               // watch = System.Diagnostics.Stopwatch.StartNew();

                // Initialize
                var obj = new ObjParser.Obj();

                // Read Wavefront OBJ file
                //obj.LoadObj(@"C:\libs\windows\out.obj");
            

                //PlyReaderWriter.PlyLoader plyLoader = new PlyReaderWriter.PlyLoader();
                //Mesh mesh3D = plyLoader.load(replacedemblyPath + @"\out.ply")[0];


                //Rhino.RhinoApp.WriteLine(replacedemblyPath + @"\windows\out.obj");
                obj.LoadObj(replacedemblyPath + @"\out.obj");

                Mesh mesh3D = new Mesh();
                foreach (ObjParser.Types.Vertex v in obj.VertexList) {
                    mesh3D.Vertices.Add(new Point3d(v.X, v.Y, v.Z));
                    mesh3D.VertexColors.Add(System.Drawing.Color.FromArgb((int)(v.r * 255), (int)(v.g * 255), (int)(v.b * 255)  ));
                }
 
                int num = checked(mesh3D.Vertices.Count - 1);

                foreach (ObjParser.Types.Face f in obj.FaceList) {

                    string[] lineData = f.ToString().Split(' ');
                    string[] v0 = lineData[1].Split('/');
                    string[] v1 = lineData[2].Split('/');
                    string[] v2 = lineData[3].Split('/');

                    MeshFace mf3D = new MeshFace(Convert.ToInt32(v0[0]) - 1, Convert.ToInt32(v1[0]) - 1, Convert.ToInt32(v2[0]) - 1);
                    if (mf3D.IsValid())
                        if (!(mf3D.A > num || mf3D.B > num || mf3D.C > num || mf3D.D > num))
                            mesh3D.Faces.AddFace(mf3D);


                }








                DA.SetData(0, mesh3D);

                /////////////////////////////////////////////////////////////////
                //Output Iso Values
                /////////////////////////////////////////////////////////////////
                string[] lines = System.IO.File.ReadAllLines(replacedemblyPath + @"\out.txt");
                double[] iso = new double[lines.Length];
                for (int i = 0; i < lines.Length; i++) { 
                    iso[i] = Convert.ToDouble(lines[i]);
                }
                //watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds/1000.0).ToString());

                DA.SetDataList(1, iso);

            }


        }

19 View Source File : IceMonitorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IceMonitorForm));
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.自定义命令ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.定时任务ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.条件任务ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.skinToolTip1 = new CCWin.SkinToolTip(this.components);
            this.button5 = new System.Windows.Forms.Button();
            this.btn_run = new System.Windows.Forms.Button();
            this.btn_restart = new System.Windows.Forms.Button();
            this.btn_start = new System.Windows.Forms.Button();
            this.btn_stop = new System.Windows.Forms.Button();
            this.btn_update = new System.Windows.Forms.Button();
            this.projects = new CCWin.SkinControl.SkinListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.visitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.button1 = new System.Windows.Forms.Button();
            this.pic_run_state = new System.Windows.Forms.PictureBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label1 = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.custom_btn = new System.Windows.Forms.LinkLabel();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.shellView = new CCWin.SkinControl.SkinTextBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.label_status = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.l_appname = new System.Windows.Forms.TextBox();
            this.l_pro_path = new System.Windows.Forms.TextBox();
            this.l_server_name = new System.Windows.Forms.TextBox();
            this.l_node_port = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
            this.contextMenu.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).BeginInit();
            this.groupBox2.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.SuspendLayout();
            // 
            // timer1
            // 
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // contextMenu
            // 
            this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.自定义命令ToolStripMenuItem,
            this.toolStripSeparator1,
            this.定时任务ToolStripMenuItem,
            this.条件任务ToolStripMenuItem});
            this.contextMenu.Name = "contextMenuStrip1";
            this.contextMenu.Size = new System.Drawing.Size(137, 76);
            // 
            // 自定义命令ToolStripMenuItem
            // 
            this.自定义命令ToolStripMenuItem.Name = "自定义命令ToolStripMenuItem";
            this.自定义命令ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.自定义命令ToolStripMenuItem.Text = "自定义脚本";
            this.自定义命令ToolStripMenuItem.Click += new System.EventHandler(this.自定义命令ToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6);
            // 
            // 定时任务ToolStripMenuItem
            // 
            this.定时任务ToolStripMenuItem.Name = "定时任务ToolStripMenuItem";
            this.定时任务ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.定时任务ToolStripMenuItem.Text = "定时任务";
            this.定时任务ToolStripMenuItem.Click += new System.EventHandler(this.CustomTimeTask_Click);
            // 
            // 条件任务ToolStripMenuItem
            // 
            this.条件任务ToolStripMenuItem.Name = "条件任务ToolStripMenuItem";
            this.条件任务ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.条件任务ToolStripMenuItem.Text = "条件任务";
            this.条件任务ToolStripMenuItem.Click += new System.EventHandler(this.条件任务ToolStripMenuItem_Click);
            // 
            // skinToolTip1
            // 
            this.skinToolTip1.AutoPopDelay = 5000;
            this.skinToolTip1.InitialDelay = 500;
            this.skinToolTip1.OwnerDraw = true;
            this.skinToolTip1.ReshowDelay = 800;
            this.skinToolTip1.ToolTipreplacedle = "AppMonitor";
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(14, 106);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(81, 25);
            this.button5.TabIndex = 9;
            this.button5.Text = "立即检测";
            this.skinToolTip1.SetToolTip(this.button5, "立即检测程序运行是否正常");
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // btn_run
            // 
            this.btn_run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_run.Enabled = false;
            this.btn_run.Location = new System.Drawing.Point(631, 193);
            this.btn_run.Name = "btn_run";
            this.btn_run.Size = new System.Drawing.Size(65, 26);
            this.btn_run.TabIndex = 9;
            this.btn_run.Text = "运行";
            this.skinToolTip1.SetToolTip(this.btn_run, "手动运行脚本");
            this.btn_run.UseVisualStyleBackColor = true;
            this.btn_run.Click += new System.EventHandler(this.btn_run_Click);
            // 
            // btn_restart
            // 
            this.btn_restart.Location = new System.Drawing.Point(295, 25);
            this.btn_restart.Name = "btn_restart";
            this.btn_restart.Size = new System.Drawing.Size(62, 28);
            this.btn_restart.TabIndex = 7;
            this.btn_restart.Text = "重启";
            this.skinToolTip1.SetToolTip(this.btn_restart, "重启程序,会先停止程序然后再启动程序");
            this.btn_restart.UseVisualStyleBackColor = true;
            this.btn_restart.Click += new System.EventHandler(this.btn_restart_Click);
            // 
            // btn_start
            // 
            this.btn_start.Location = new System.Drawing.Point(129, 25);
            this.btn_start.Name = "btn_start";
            this.btn_start.Size = new System.Drawing.Size(62, 28);
            this.btn_start.TabIndex = 5;
            this.btn_start.Text = "启动";
            this.skinToolTip1.SetToolTip(this.btn_start, "启动程序,如果程序未停止或导致重复启动");
            this.btn_start.UseVisualStyleBackColor = true;
            this.btn_start.Click += new System.EventHandler(this.btn_start_Click);
            // 
            // btn_stop
            // 
            this.btn_stop.Location = new System.Drawing.Point(212, 25);
            this.btn_stop.Name = "btn_stop";
            this.btn_stop.Size = new System.Drawing.Size(62, 28);
            this.btn_stop.TabIndex = 6;
            this.btn_stop.Text = "停止";
            this.skinToolTip1.SetToolTip(this.btn_stop, "停止程序");
            this.btn_stop.UseVisualStyleBackColor = true;
            this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
            // 
            // btn_update
            // 
            this.btn_update.Location = new System.Drawing.Point(19, 25);
            this.btn_update.Name = "btn_update";
            this.btn_update.Size = new System.Drawing.Size(87, 28);
            this.btn_update.TabIndex = 8;
            this.btn_update.Text = "更新配置";
            this.skinToolTip1.SetToolTip(this.btn_update, "更新config/***srv.xml配置");
            this.btn_update.UseVisualStyleBackColor = true;
            this.btn_update.Click += new System.EventHandler(this.btn_build_Click);
            // 
            // projects
            // 
            this.projects.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.projects.BorderColor = System.Drawing.Color.LightGray;
            this.projects.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2});
            this.projects.ContextMenuStrip = this.contextMenuStrip1;
            this.projects.FullRowSelect = true;
            this.projects.GridLines = true;
            this.projects.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.projects.LargeImageList = this.imageList1;
            this.projects.Location = new System.Drawing.Point(452, 14);
            this.projects.MultiSelect = false;
            this.projects.Name = "projects";
            this.projects.OwnerDraw = true;
            this.projects.RowBackColor2 = System.Drawing.Color.White;
            this.projects.SelectedColor = System.Drawing.Color.SkyBlue;
            this.projects.Size = new System.Drawing.Size(357, 143);
            this.projects.SmallImageList = this.imageList1;
            this.projects.StateImageList = this.imageList1;
            this.projects.TabIndex = 20;
            this.skinToolTip1.SetToolTip(this.projects, "双击访问各个项目");
            this.projects.UseCompatibleStateImageBehavior = false;
            this.projects.View = System.Windows.Forms.View.Details;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "项目访问地址";
            this.columnHeader2.Width = 350;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.visitToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(101, 26);
            // 
            // visitToolStripMenuItem
            // 
            this.visitToolStripMenuItem.Name = "visitToolStripMenuItem";
            this.visitToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
            this.visitToolStripMenuItem.Text = "Visit";
            this.visitToolStripMenuItem.Click += new System.EventHandler(this.visitToolStripMenuItem_Click);
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "gray_light_16px.png");
            this.imageList1.Images.SetKeyName(1, "green_light_16px.png");
            this.imageList1.Images.SetKeyName(2, "yellow_light_16px.png");
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.White;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.ForeColor = System.Drawing.Color.OrangeRed;
            this.button1.Location = new System.Drawing.Point(381, 25);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(111, 28);
            this.button1.TabIndex = 9;
            this.button1.Text = "一键部署版本";
            this.skinToolTip1.SetToolTip(this.button1, "用于程序发布新版本,一键完成发布操作");
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // pic_run_state
            // 
            this.pic_run_state.BackgroundImage = global::AppMonitor.Properties.Resources.gray_light_48;
            this.pic_run_state.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pic_run_state.Location = new System.Drawing.Point(31, 25);
            this.pic_run_state.Name = "pic_run_state";
            this.pic_run_state.Size = new System.Drawing.Size(48, 48);
            this.pic_run_state.TabIndex = 4;
            this.pic_run_state.TabStop = false;
            this.skinToolTip1.SetToolTip(this.pic_run_state, "未检测");
            // 
            // groupBox2
            // 
            this.groupBox2.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.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.progressBar1);
            this.groupBox2.Controls.Add(this.button5);
            this.groupBox2.Controls.Add(this.groupBox4);
            this.groupBox2.Controls.Add(this.groupBox3);
            this.groupBox2.Controls.Add(this.pic_run_state);
            this.groupBox2.Controls.Add(this.label_status);
            this.groupBox2.Location = new System.Drawing.Point(8, 176);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(814, 331);
            this.groupBox2.TabIndex = 6;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "状态监控";
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Silver;
            this.label1.Location = new System.Drawing.Point(4, 301);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(39, 25);
            this.label1.TabIndex = 12;
            this.label1.Text = "Ice";
            // 
            // progressBar1
            // 
            this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.progressBar1.BackColor = System.Drawing.SystemColors.Control;
            this.progressBar1.Location = new System.Drawing.Point(59, 6);
            this.progressBar1.Maximum = 20;
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(758, 2);
            this.progressBar1.TabIndex = 9;
            this.progressBar1.Value = 20;
            // 
            // groupBox4
            // 
            this.groupBox4.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.groupBox4.Controls.Add(this.custom_btn);
            this.groupBox4.Controls.Add(this.customShellListView);
            this.groupBox4.Controls.Add(this.shellView);
            this.groupBox4.Controls.Add(this.btn_run);
            this.groupBox4.Location = new System.Drawing.Point(107, 101);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(701, 223);
            this.groupBox4.TabIndex = 10;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "扩展功能";
            // 
            // custom_btn
            // 
            this.custom_btn.AutoSize = true;
            this.custom_btn.LinkColor = System.Drawing.Color.Blue;
            this.custom_btn.Location = new System.Drawing.Point(65, 1);
            this.custom_btn.Name = "custom_btn";
            this.custom_btn.Size = new System.Drawing.Size(41, 12);
            this.custom_btn.TabIndex = 13;
            this.custom_btn.TabStop = true;
            this.custom_btn.Text = "自定义";
            this.skinToolTip1.SetToolTip(this.custom_btn, "自定义Shell、Task");
            this.custom_btn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
            // 
            // customShellListView
            // 
            this.customShellListView.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.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader3});
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(8, 20);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.SkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(284, 194);
            this.customShellListView.TabIndex = 10;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.SelectedIndexChanged += new System.EventHandler(this.customShellListView_SelectedIndexChanged);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "名称";
            this.columnHeader1.Width = 150;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "类型";
            this.columnHeader3.Width = 100;
            // 
            // shellView
            // 
            this.shellView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.shellView.BackColor = System.Drawing.Color.Transparent;
            this.shellView.DownBack = null;
            this.shellView.Icon = null;
            this.shellView.IconIsButton = false;
            this.shellView.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.IsPreplacedwordChat = '\0';
            this.shellView.IsSystemPreplacedwordChar = false;
            this.shellView.Lines = new string[0];
            this.shellView.Location = new System.Drawing.Point(295, 21);
            this.shellView.Margin = new System.Windows.Forms.Padding(0);
            this.shellView.MaxLength = 32767;
            this.shellView.MinimumSize = new System.Drawing.Size(28, 28);
            this.shellView.MouseBack = null;
            this.shellView.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.Multiline = true;
            this.shellView.Name = "shellView";
            this.shellView.NormlBack = null;
            this.shellView.Padding = new System.Windows.Forms.Padding(5);
            this.shellView.ReadOnly = false;
            this.shellView.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.Size = new System.Drawing.Size(400, 168);
            // 
            // 
            // 
            this.shellView.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shellView.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shellView.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shellView.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shellView.SkinTxt.Multiline = true;
            this.shellView.SkinTxt.Name = "BaseText";
            this.shellView.SkinTxt.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.SkinTxt.Size = new System.Drawing.Size(390, 158);
            this.shellView.SkinTxt.TabIndex = 0;
            this.shellView.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.SkinTxt.WaterText = "";
            this.shellView.TabIndex = 0;
            this.shellView.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shellView.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.WaterText = "";
            this.shellView.WordWrap = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox3.Controls.Add(this.button1);
            this.groupBox3.Controls.Add(this.btn_restart);
            this.groupBox3.Controls.Add(this.btn_update);
            this.groupBox3.Controls.Add(this.btn_start);
            this.groupBox3.Controls.Add(this.btn_stop);
            this.groupBox3.Location = new System.Drawing.Point(107, 19);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(701, 76);
            this.groupBox3.TabIndex = 9;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "基础功能";
            // 
            // label_status
            // 
            this.label_status.Location = new System.Drawing.Point(17, 83);
            this.label_status.Name = "label_status";
            this.label_status.Size = new System.Drawing.Size(79, 12);
            this.label_status.TabIndex = 1;
            this.label_status.Text = "检测中...";
            this.label_status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox1.Controls.Add(this.linkLabel1);
            this.groupBox1.Controls.Add(this.projects);
            this.groupBox1.Controls.Add(this.l_appname);
            this.groupBox1.Controls.Add(this.l_pro_path);
            this.groupBox1.Controls.Add(this.l_server_name);
            this.groupBox1.Controls.Add(this.l_node_port);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(7, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(815, 165);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "基本信息";
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(406, 129);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(29, 12);
            this.linkLabel1.TabIndex = 21;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "修改";
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // l_appname
            // 
            this.l_appname.BackColor = System.Drawing.SystemColors.Control;
            this.l_appname.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_appname.Font = new System.Drawing.Font("宋体", 9F);
            this.l_appname.Location = new System.Drawing.Point(99, 29);
            this.l_appname.Name = "l_appname";
            this.l_appname.ReadOnly = true;
            this.l_appname.Size = new System.Drawing.Size(290, 14);
            this.l_appname.TabIndex = 19;
            // 
            // l_pro_path
            // 
            this.l_pro_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_pro_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_pro_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_pro_path.Location = new System.Drawing.Point(99, 62);
            this.l_pro_path.Name = "l_pro_path";
            this.l_pro_path.ReadOnly = true;
            this.l_pro_path.Size = new System.Drawing.Size(290, 14);
            this.l_pro_path.TabIndex = 18;
            // 
            // l_server_name
            // 
            this.l_server_name.BackColor = System.Drawing.SystemColors.Control;
            this.l_server_name.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_server_name.Font = new System.Drawing.Font("宋体", 9F);
            this.l_server_name.Location = new System.Drawing.Point(99, 96);
            this.l_server_name.Name = "l_server_name";
            this.l_server_name.ReadOnly = true;
            this.l_server_name.Size = new System.Drawing.Size(290, 14);
            this.l_server_name.TabIndex = 17;
            // 
            // l_node_port
            // 
            this.l_node_port.BackColor = System.Drawing.SystemColors.Control;
            this.l_node_port.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_node_port.Font = new System.Drawing.Font("宋体", 9F);
            this.l_node_port.Location = new System.Drawing.Point(99, 129);
            this.l_node_port.Name = "l_node_port";
            this.l_node_port.ReadOnly = true;
            this.l_node_port.Size = new System.Drawing.Size(290, 14);
            this.l_node_port.TabIndex = 16;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(29, 30);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(65, 12);
            this.label6.TabIndex = 10;
            this.label6.Text = "项目名称:";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(29, 96);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(65, 12);
            this.label5.TabIndex = 9;
            this.label5.Text = "服务名称:";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(29, 129);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(65, 12);
            this.label3.TabIndex = 7;
            this.label3.Text = "节点端口:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(29, 63);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "项目路径:";
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.toolStripMenuItem3});
            this.contextMenuStrip2.Name = "contextMenuStrip1";
            this.contextMenuStrip2.Size = new System.Drawing.Size(114, 48);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem2.Text = "Edit";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem3.Text = "Delete";
            this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
            // 
            // IceMonitorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.ClientSize = new System.Drawing.Size(831, 513);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "IceMonitorForm";
            this.Text = "MonitorWorkForm";
            this.Load += new System.EventHandler(this.IceMonitorForm_Load);
            this.contextMenu.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.contextMenuStrip2.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : RequestFm.Designer.cs
License : GNU General Public License v3.0
Project Creator : a4004

private void InitializeComponent()
        {
            this.header = new System.Windows.Forms.Panel();
            this.question = new System.Windows.Forms.Label();
            this.qCaption = new System.Windows.Forms.Label();
            this.footer = new System.Windows.Forms.Panel();
            this.submit = new System.Windows.Forms.Button();
            this.body = new System.Windows.Forms.Panel();
            this.panel1 = new System.Windows.Forms.Panel();
            this.option2 = new System.Windows.Forms.RadioButton();
            this.option1 = new System.Windows.Forms.RadioButton();
            this.header.SuspendLayout();
            this.footer.SuspendLayout();
            this.body.SuspendLayout();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // header
            // 
            this.header.Controls.Add(this.question);
            this.header.Dock = System.Windows.Forms.DockStyle.Top;
            this.header.Location = new System.Drawing.Point(15, 16);
            this.header.Name = "header";
            this.header.Size = new System.Drawing.Size(570, 36);
            this.header.TabIndex = 2;
            // 
            // question
            // 
            this.question.AutoSize = true;
            this.question.Dock = System.Windows.Forms.DockStyle.Left;
            this.question.Font = new System.Drawing.Font("Segoe UI Semilight", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.question.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.question.Location = new System.Drawing.Point(0, 0);
            this.question.Name = "question";
            this.question.Size = new System.Drawing.Size(300, 32);
            this.question.TabIndex = 0;
            this.question.Text = "What would you like to do?";
            this.question.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // qCaption
            // 
            this.qCaption.Dock = System.Windows.Forms.DockStyle.Top;
            this.qCaption.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.qCaption.Location = new System.Drawing.Point(15, 52);
            this.qCaption.Name = "qCaption";
            this.qCaption.Padding = new System.Windows.Forms.Padding(3, 0, 8, 0);
            this.qCaption.Size = new System.Drawing.Size(570, 21);
            this.qCaption.TabIndex = 3;
            this.qCaption.Text = "You can change your mind at any time";
            // 
            // footer
            // 
            this.footer.BackColor = System.Drawing.SystemColors.Window;
            this.footer.Controls.Add(this.submit);
            this.footer.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.footer.Location = new System.Drawing.Point(15, 330);
            this.footer.Name = "footer";
            this.footer.Padding = new System.Windows.Forms.Padding(0, 10, 5, 10);
            this.footer.Size = new System.Drawing.Size(570, 45);
            this.footer.TabIndex = 4;
            // 
            // submit
            // 
            this.submit.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.submit.Dock = System.Windows.Forms.DockStyle.Right;
            this.submit.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
            this.submit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.submit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.submit.Location = new System.Drawing.Point(490, 10);
            this.submit.Name = "submit";
            this.submit.Size = new System.Drawing.Size(75, 25);
            this.submit.TabIndex = 0;
            this.submit.Text = "Next";
            this.submit.UseVisualStyleBackColor = false;
            this.submit.Click += new System.EventHandler(this.submit_Click);
            // 
            // body
            // 
            this.body.BackColor = System.Drawing.SystemColors.Window;
            this.body.Controls.Add(this.panel1);
            this.body.Dock = System.Windows.Forms.DockStyle.Fill;
            this.body.Location = new System.Drawing.Point(15, 73);
            this.body.Name = "body";
            this.body.Size = new System.Drawing.Size(570, 257);
            this.body.TabIndex = 5;
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.SystemColors.Window;
            this.panel1.Controls.Add(this.option2);
            this.panel1.Controls.Add(this.option1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Padding = new System.Windows.Forms.Padding(20, 7, 0, 10);
            this.panel1.Size = new System.Drawing.Size(570, 75);
            this.panel1.TabIndex = 6;
            // 
            // option2
            // 
            this.option2.Dock = System.Windows.Forms.DockStyle.Top;
            this.option2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.option2.Location = new System.Drawing.Point(20, 30);
            this.option2.Name = "option2";
            this.option2.Size = new System.Drawing.Size(550, 23);
            this.option2.TabIndex = 3;
            this.option2.Text = "Option 2";
            this.option2.UseVisualStyleBackColor = true;
            // 
            // option1
            // 
            this.option1.Checked = true;
            this.option1.Dock = System.Windows.Forms.DockStyle.Top;
            this.option1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.option1.Location = new System.Drawing.Point(20, 7);
            this.option1.Name = "option1";
            this.option1.Size = new System.Drawing.Size(550, 23);
            this.option1.TabIndex = 2;
            this.option1.TabStop = true;
            this.option1.Text = "Option 1";
            this.option1.UseVisualStyleBackColor = true;
            // 
            // RequestFm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(600, 400);
            this.Controls.Add(this.body);
            this.Controls.Add(this.footer);
            this.Controls.Add(this.qCaption);
            this.Controls.Add(this.header);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "RequestFm";
            this.Padding = new System.Windows.Forms.Padding(15, 16, 15, 25);
            this.header.ResumeLayout(false);
            this.header.PerformLayout();
            this.footer.ResumeLayout(false);
            this.body.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : MonitorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MonitorForm));
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tab_terminal = new System.Windows.Forms.TabPage();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.tstb_shell = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStrip_more_sh = new System.Windows.Forms.ToolStripDropDownButton();
            this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
            this.newQuickConmandToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.quickShellManageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.rtb_log = new System.Windows.Forms.RichTextBox();
            this.shellMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.复制ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.粘贴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.copyPasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.fullScreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tab_sftp = new System.Windows.Forms.TabPage();
            this.rtb_sftp_log = new System.Windows.Forms.RichTextBox();
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.tstb_sftp = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
            this.getserverFilepathlocalFilepathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.putlocalFilepathserverFilepathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolbtn_opensftp = new System.Windows.Forms.ToolStripButton();
            this.tab_monitor = new System.Windows.Forms.TabPage();
            this.right_panel = new System.Windows.Forms.Panel();
            this.left_panel = new System.Windows.Forms.Panel();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.treeConMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.newItemToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.springBootAppToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.tomcatToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.nginxToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.iceSrvToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.treeNodeConMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.newItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.springBootAppToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tomcatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.nginxToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.edireplacedemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.removeItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.tabControl1.SuspendLayout();
            this.tab_terminal.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.shellMenu.SuspendLayout();
            this.tab_sftp.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            this.tab_monitor.SuspendLayout();
            this.left_panel.SuspendLayout();
            this.treeConMenu.SuspendLayout();
            this.treeNodeConMenu.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabControl1
            // 
            this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
            this.tabControl1.Controls.Add(this.tab_terminal);
            this.tabControl1.Controls.Add(this.tab_sftp);
            this.tabControl1.Controls.Add(this.tab_monitor);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Multiline = true;
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(930, 601);
            this.tabControl1.TabIndex = 0;
            this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
            this.tabControl1.SizeChanged += new System.EventHandler(this.tabControl1_SizeChanged);
            this.tabControl1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tabControl1_KeyUp);
            // 
            // tab_terminal
            // 
            this.tab_terminal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tab_terminal.Controls.Add(this.listBox1);
            this.tab_terminal.Controls.Add(this.toolStrip1);
            this.tab_terminal.Controls.Add(this.rtb_log);
            this.tab_terminal.Location = new System.Drawing.Point(4, 25);
            this.tab_terminal.Name = "tab_terminal";
            this.tab_terminal.Padding = new System.Windows.Forms.Padding(3);
            this.tab_terminal.Size = new System.Drawing.Size(922, 572);
            this.tab_terminal.TabIndex = 1;
            this.tab_terminal.Text = "Terminal";
            this.tab_terminal.UseVisualStyleBackColor = true;
            // 
            // listBox1
            // 
            this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.listBox1.Font = new System.Drawing.Font("宋体", 10F);
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(5, 383);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(198, 160);
            this.listBox1.TabIndex = 3;
            this.listBox1.Visible = false;
            this.listBox1.DoubleClick += new System.EventHandler(this.listBox1_DoubleClick);
            this.listBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.listBox1_KeyUp);
            // 
            // toolStrip1
            // 
            this.toolStrip1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.toolStrip1.BackColor = System.Drawing.Color.White;
            this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripSeparator1,
            this.tstb_shell,
            this.toolStripSeparator2,
            this.toolStrip_more_sh,
            this.toolStripDropDownButton1});
            this.toolStrip1.Location = new System.Drawing.Point(3, 542);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStrip1.Size = new System.Drawing.Size(885, 25);
            this.toolStrip1.TabIndex = 2;
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            // 
            // tstb_shell
            // 
            this.tstb_shell.AutoSize = false;
            this.tstb_shell.BackColor = System.Drawing.Color.White;
            this.tstb_shell.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tstb_shell.Enabled = false;
            this.tstb_shell.Font = new System.Drawing.Font("Courier New", 14F);
            this.tstb_shell.ForeColor = System.Drawing.Color.DimGray;
            this.tstb_shell.HideSelection = false;
            this.tstb_shell.Name = "tstb_shell";
            this.tstb_shell.Size = new System.Drawing.Size(810, 22);
            this.tstb_shell.Text = "在此输入Shell指令";
            this.tstb_shell.Enter += new System.EventHandler(this.tstb_shell_Enter);
            this.tstb_shell.Leave += new System.EventHandler(this.tstb_shell_Leave);
            this.tstb_shell.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tstb_shell_KeyDown);
            this.tstb_shell.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tstb_shell_KeyUp);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            // 
            // toolStrip_more_sh
            // 
            this.toolStrip_more_sh.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStrip_more_sh.Image = global::AppMonitor.Properties.Resources.Terminal_24px;
            this.toolStrip_more_sh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStrip_more_sh.Name = "toolStrip_more_sh";
            this.toolStrip_more_sh.Size = new System.Drawing.Size(29, 22);
            this.toolStrip_more_sh.Text = "toolStripDropDownButton1";
            // 
            // toolStripDropDownButton1
            // 
            this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newQuickConmandToolStripMenuItem,
            this.quickShellManageToolStripMenuItem});
            this.toolStripDropDownButton1.Image = global::AppMonitor.Properties.Resources.custom_24px;
            this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.Size = new System.Drawing.Size(29, 22);
            this.toolStripDropDownButton1.Text = "toolStripDropDownButton1";
            // 
            // newQuickConmandToolStripMenuItem
            // 
            this.newQuickConmandToolStripMenuItem.Name = "newQuickConmandToolStripMenuItem";
            this.newQuickConmandToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
            this.newQuickConmandToolStripMenuItem.Text = "New Quick Conmand";
            this.newQuickConmandToolStripMenuItem.Click += new System.EventHandler(this.newQuickConmandToolStripMenuItem_Click);
            // 
            // quickShellManageToolStripMenuItem
            // 
            this.quickShellManageToolStripMenuItem.Name = "quickShellManageToolStripMenuItem";
            this.quickShellManageToolStripMenuItem.Size = new System.Drawing.Size(225, 22);
            this.quickShellManageToolStripMenuItem.Text = "Quick Command Manage";
            this.quickShellManageToolStripMenuItem.Click += new System.EventHandler(this.quickShellManageToolStripMenuItem_Click);
            // 
            // rtb_log
            // 
            this.rtb_log.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.rtb_log.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
            this.rtb_log.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.rtb_log.ContextMenuStrip = this.shellMenu;
            this.rtb_log.Font = new System.Drawing.Font("Courier New", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rtb_log.ForeColor = System.Drawing.Color.CadetBlue;
            this.rtb_log.Location = new System.Drawing.Point(3, 3);
            this.rtb_log.Name = "rtb_log";
            this.rtb_log.ReadOnly = true;
            this.rtb_log.Size = new System.Drawing.Size(914, 533);
            this.rtb_log.TabIndex = 1;
            this.rtb_log.Text = "";
            this.rtb_log.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rtb_log_KeyDown);
            this.rtb_log.KeyUp += new System.Windows.Forms.KeyEventHandler(this.rtb_log_KeyUp);
            this.rtb_log.MouseDown += new System.Windows.Forms.MouseEventHandler(this.rtb_log_MouseDown);
            // 
            // shellMenu
            // 
            this.shellMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.复制ToolStripMenuItem,
            this.粘贴ToolStripMenuItem,
            this.copyPasteToolStripMenuItem,
            this.findToolStripMenuItem,
            this.selectAllToolStripMenuItem,
            this.fullScreenToolStripMenuItem});
            this.shellMenu.Name = "shellMenu";
            this.shellMenu.Size = new System.Drawing.Size(161, 136);
            // 
            // 复制ToolStripMenuItem
            // 
            this.复制ToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.copy;
            this.复制ToolStripMenuItem.Name = "复制ToolStripMenuItem";
            this.复制ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.复制ToolStripMenuItem.Text = "&Copy";
            this.复制ToolStripMenuItem.Click += new System.EventHandler(this.复制ToolStripMenuItem_Click);
            // 
            // 粘贴ToolStripMenuItem
            // 
            this.粘贴ToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.paste;
            this.粘贴ToolStripMenuItem.Name = "粘贴ToolStripMenuItem";
            this.粘贴ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.粘贴ToolStripMenuItem.Text = "&Paste";
            this.粘贴ToolStripMenuItem.Click += new System.EventHandler(this.粘贴ToolStripMenuItem_Click);
            // 
            // copyPasteToolStripMenuItem
            // 
            this.copyPasteToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.view_16px;
            this.copyPasteToolStripMenuItem.Name = "copyPasteToolStripMenuItem";
            this.copyPasteToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.copyPasteToolStripMenuItem.Text = "&CopyAndPaste";
            this.copyPasteToolStripMenuItem.Click += new System.EventHandler(this.copyPasteToolStripMenuItem_Click);
            // 
            // findToolStripMenuItem
            // 
            this.findToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.find;
            this.findToolStripMenuItem.Name = "findToolStripMenuItem";
            this.findToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.findToolStripMenuItem.Text = "&Find";
            this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click);
            // 
            // selectAllToolStripMenuItem
            // 
            this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
            this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.selectAllToolStripMenuItem.Text = "&Select All";
            this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
            // 
            // fullScreenToolStripMenuItem
            // 
            this.fullScreenToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.fullScreen;
            this.fullScreenToolStripMenuItem.Name = "fullScreenToolStripMenuItem";
            this.fullScreenToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.fullScreenToolStripMenuItem.Text = "&Full Screen";
            this.fullScreenToolStripMenuItem.Click += new System.EventHandler(this.fullScreenToolStripMenuItem_Click);
            // 
            // tab_sftp
            // 
            this.tab_sftp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tab_sftp.Controls.Add(this.rtb_sftp_log);
            this.tab_sftp.Controls.Add(this.toolStrip2);
            this.tab_sftp.Location = new System.Drawing.Point(4, 25);
            this.tab_sftp.Name = "tab_sftp";
            this.tab_sftp.Padding = new System.Windows.Forms.Padding(3);
            this.tab_sftp.Size = new System.Drawing.Size(922, 572);
            this.tab_sftp.TabIndex = 2;
            this.tab_sftp.Text = "Sftp";
            this.tab_sftp.UseVisualStyleBackColor = true;
            // 
            // rtb_sftp_log
            // 
            this.rtb_sftp_log.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.rtb_sftp_log.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
            this.rtb_sftp_log.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.rtb_sftp_log.ContextMenuStrip = this.shellMenu;
            this.rtb_sftp_log.Font = new System.Drawing.Font("Courier New", 14.25F);
            this.rtb_sftp_log.ForeColor = System.Drawing.Color.CadetBlue;
            this.rtb_sftp_log.Location = new System.Drawing.Point(3, 3);
            this.rtb_sftp_log.Name = "rtb_sftp_log";
            this.rtb_sftp_log.ReadOnly = true;
            this.rtb_sftp_log.Size = new System.Drawing.Size(915, 536);
            this.rtb_sftp_log.TabIndex = 4;
            this.rtb_sftp_log.Text = "";
            this.rtb_sftp_log.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rtb_sftp_log_KeyDown);
            this.rtb_sftp_log.KeyUp += new System.Windows.Forms.KeyEventHandler(this.rtb_sftp_log_KeyUp);
            this.rtb_sftp_log.MouseDown += new System.Windows.Forms.MouseEventHandler(this.rtb_sftp_log_MouseDown);
            // 
            // toolStrip2
            // 
            this.toolStrip2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.toolStrip2.BackColor = System.Drawing.Color.White;
            this.toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripSeparator3,
            this.tstb_sftp,
            this.toolStripSeparator4,
            this.toolStripDropDownButton2,
            this.toolbtn_opensftp});
            this.toolStrip2.Location = new System.Drawing.Point(2, 542);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStrip2.Size = new System.Drawing.Size(879, 25);
            this.toolStrip2.TabIndex = 3;
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            // 
            // tstb_sftp
            // 
            this.tstb_sftp.AutoSize = false;
            this.tstb_sftp.BackColor = System.Drawing.Color.White;
            this.tstb_sftp.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tstb_sftp.Enabled = false;
            this.tstb_sftp.Font = new System.Drawing.Font("Courier New", 14F);
            this.tstb_sftp.ForeColor = System.Drawing.Color.DimGray;
            this.tstb_sftp.HideSelection = false;
            this.tstb_sftp.Name = "tstb_sftp";
            this.tstb_sftp.Size = new System.Drawing.Size(810, 22);
            this.tstb_sftp.Text = "在此输入Sftp指令";
            this.tstb_sftp.Enter += new System.EventHandler(this.sftp_text_enter);
            this.tstb_sftp.Leave += new System.EventHandler(this.sftp_text_leave);
            this.tstb_sftp.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tstb_sftp_KeyUp);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
            // 
            // toolStripDropDownButton2
            // 
            this.toolStripDropDownButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.getserverFilepathlocalFilepathToolStripMenuItem,
            this.putlocalFilepathserverFilepathToolStripMenuItem,
            this.helpToolStripMenuItem});
            this.toolStripDropDownButton2.Image = global::AppMonitor.Properties.Resources.Terminal_24px;
            this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton2.Name = "toolStripDropDownButton2";
            this.toolStripDropDownButton2.Size = new System.Drawing.Size(29, 22);
            this.toolStripDropDownButton2.Text = "toolStripDropDownButton1";
            // 
            // getserverFilepathlocalFilepathToolStripMenuItem
            // 
            this.getserverFilepathlocalFilepathToolStripMenuItem.Name = "getserverFilepathlocalFilepathToolStripMenuItem";
            this.getserverFilepathlocalFilepathToolStripMenuItem.Size = new System.Drawing.Size(276, 22);
            this.getserverFilepathlocalFilepathToolStripMenuItem.Text = "get [server filepath] [local filepath]";
            this.getserverFilepathlocalFilepathToolStripMenuItem.Click += new System.EventHandler(this.sftp_quick_click);
            // 
            // putlocalFilepathserverFilepathToolStripMenuItem
            // 
            this.putlocalFilepathserverFilepathToolStripMenuItem.Name = "putlocalFilepathserverFilepathToolStripMenuItem";
            this.putlocalFilepathserverFilepathToolStripMenuItem.Size = new System.Drawing.Size(276, 22);
            this.putlocalFilepathserverFilepathToolStripMenuItem.Text = "put [local filepath] [server filepath]";
            this.putlocalFilepathserverFilepathToolStripMenuItem.Click += new System.EventHandler(this.sftp_quick_click);
            // 
            // helpToolStripMenuItem
            // 
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(276, 22);
            this.helpToolStripMenuItem.Text = "help&";
            this.helpToolStripMenuItem.Click += new System.EventHandler(this.sftp_quick_click);
            // 
            // toolbtn_opensftp
            // 
            this.toolbtn_opensftp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolbtn_opensftp.Image = global::AppMonitor.Properties.Resources.ftp;
            this.toolbtn_opensftp.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolbtn_opensftp.Name = "toolbtn_opensftp";
            this.toolbtn_opensftp.Size = new System.Drawing.Size(23, 22);
            this.toolbtn_opensftp.Text = "toolStripButton1";
            this.toolbtn_opensftp.Click += new System.EventHandler(this.toolbtn_opensftp_Click);
            // 
            // tab_monitor
            // 
            this.tab_monitor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tab_monitor.Controls.Add(this.right_panel);
            this.tab_monitor.Controls.Add(this.left_panel);
            this.tab_monitor.Location = new System.Drawing.Point(4, 25);
            this.tab_monitor.Name = "tab_monitor";
            this.tab_monitor.Padding = new System.Windows.Forms.Padding(3);
            this.tab_monitor.Size = new System.Drawing.Size(922, 572);
            this.tab_monitor.TabIndex = 0;
            this.tab_monitor.Text = "Monitor";
            this.tab_monitor.UseVisualStyleBackColor = true;
            // 
            // right_panel
            // 
            this.right_panel.BackColor = System.Drawing.SystemColors.Control;
            this.right_panel.Location = new System.Drawing.Point(250, 0);
            this.right_panel.Name = "right_panel";
            this.right_panel.Size = new System.Drawing.Size(670, 570);
            this.right_panel.TabIndex = 2;
            // 
            // left_panel
            // 
            this.left_panel.Controls.Add(this.treeView1);
            this.left_panel.Location = new System.Drawing.Point(0, 0);
            this.left_panel.Name = "left_panel";
            this.left_panel.Size = new System.Drawing.Size(245, 570);
            this.left_panel.TabIndex = 1;
            // 
            // treeView1
            // 
            this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(230)))), ((int)(((byte)(235)))));
            this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.treeView1.ContextMenuStrip = this.treeConMenu;
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.treeView1.FullRowSelect = true;
            this.treeView1.ImageIndex = 0;
            this.treeView1.ImageList = this.imageList1;
            this.treeView1.Indent = 12;
            this.treeView1.ItemHeight = 30;
            this.treeView1.Location = new System.Drawing.Point(0, 0);
            this.treeView1.Name = "treeView1";
            this.treeView1.SelectedImageIndex = 0;
            this.treeView1.Size = new System.Drawing.Size(245, 570);
            this.treeView1.TabIndex = 0;
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
            // 
            // treeConMenu
            // 
            this.treeConMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newItemToolStripMenuItem1});
            this.treeConMenu.Name = "treeConMenu";
            this.treeConMenu.Size = new System.Drawing.Size(133, 26);
            // 
            // newItemToolStripMenuItem1
            // 
            this.newItemToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.springBootAppToolStripMenuItem2,
            this.tomcatToolStripMenuItem1,
            this.nginxToolStripMenuItem1,
            this.iceSrvToolStripMenuItem});
            this.newItemToolStripMenuItem1.Name = "newItemToolStripMenuItem1";
            this.newItemToolStripMenuItem1.Size = new System.Drawing.Size(132, 22);
            this.newItemToolStripMenuItem1.Text = "New Item";
            // 
            // springBootAppToolStripMenuItem2
            // 
            this.springBootAppToolStripMenuItem2.Name = "springBootAppToolStripMenuItem2";
            this.springBootAppToolStripMenuItem2.Size = new System.Drawing.Size(170, 22);
            this.springBootAppToolStripMenuItem2.Text = "SpringBoot App";
            this.springBootAppToolStripMenuItem2.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // tomcatToolStripMenuItem1
            // 
            this.tomcatToolStripMenuItem1.Name = "tomcatToolStripMenuItem1";
            this.tomcatToolStripMenuItem1.Size = new System.Drawing.Size(170, 22);
            this.tomcatToolStripMenuItem1.Text = "Tomcat";
            this.tomcatToolStripMenuItem1.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // nginxToolStripMenuItem1
            // 
            this.nginxToolStripMenuItem1.Name = "nginxToolStripMenuItem1";
            this.nginxToolStripMenuItem1.Size = new System.Drawing.Size(170, 22);
            this.nginxToolStripMenuItem1.Text = "Nginx";
            this.nginxToolStripMenuItem1.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // iceSrvToolStripMenuItem
            // 
            this.iceSrvToolStripMenuItem.Name = "iceSrvToolStripMenuItem";
            this.iceSrvToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
            this.iceSrvToolStripMenuItem.Text = "IceSrv";
            this.iceSrvToolStripMenuItem.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "gray_light_48.png");
            this.imageList1.Images.SetKeyName(1, "green_light_48.png");
            this.imageList1.Images.SetKeyName(2, "org_light_48.png");
            this.imageList1.Images.SetKeyName(3, "Terminal_24px.png");
            // 
            // treeNodeConMenu
            // 
            this.treeNodeConMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newItemToolStripMenuItem,
            this.edireplacedemToolStripMenuItem,
            this.removeItemToolStripMenuItem});
            this.treeNodeConMenu.Name = "contextMenuStrip1";
            this.treeNodeConMenu.Size = new System.Drawing.Size(154, 70);
            // 
            // newItemToolStripMenuItem
            // 
            this.newItemToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.springBootAppToolStripMenuItem,
            this.tomcatToolStripMenuItem,
            this.nginxToolStripMenuItem});
            this.newItemToolStripMenuItem.Name = "newItemToolStripMenuItem";
            this.newItemToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.newItemToolStripMenuItem.Text = "New Item";
            // 
            // springBootAppToolStripMenuItem
            // 
            this.springBootAppToolStripMenuItem.Name = "springBootAppToolStripMenuItem";
            this.springBootAppToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
            this.springBootAppToolStripMenuItem.Text = "SpringBoot App";
            this.springBootAppToolStripMenuItem.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // tomcatToolStripMenuItem
            // 
            this.tomcatToolStripMenuItem.Name = "tomcatToolStripMenuItem";
            this.tomcatToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
            this.tomcatToolStripMenuItem.Text = "Tomcat";
            this.tomcatToolStripMenuItem.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // nginxToolStripMenuItem
            // 
            this.nginxToolStripMenuItem.Name = "nginxToolStripMenuItem";
            this.nginxToolStripMenuItem.Size = new System.Drawing.Size(170, 22);
            this.nginxToolStripMenuItem.Text = "Nginx";
            this.nginxToolStripMenuItem.Click += new System.EventHandler(this.NewItemMenuItemClick);
            // 
            // edireplacedemToolStripMenuItem
            // 
            this.edireplacedemToolStripMenuItem.Name = "edireplacedemToolStripMenuItem";
            this.edireplacedemToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.edireplacedemToolStripMenuItem.Text = "Edit Item";
            this.edireplacedemToolStripMenuItem.Click += new System.EventHandler(this.edireplacedemToolStripMenuItem_Click);
            // 
            // removeItemToolStripMenuItem
            // 
            this.removeItemToolStripMenuItem.Name = "removeItemToolStripMenuItem";
            this.removeItemToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.removeItemToolStripMenuItem.Text = "Remove Item";
            this.removeItemToolStripMenuItem.Click += new System.EventHandler(this.removeItemToolStripMenuItem_Click);
            // 
            // timer1
            // 
            this.timer1.Interval = 300;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // MonitorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(930, 601);
            this.Controls.Add(this.tabControl1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "MonitorForm";
            this.ShowInTaskbar = false;
            this.Text = "MonitorForm";
            this.Load += new System.EventHandler(this.MonitorForm_Load);
            this.SizeChanged += new System.EventHandler(this.MonitorForm_SizeChanged);
            this.tabControl1.ResumeLayout(false);
            this.tab_terminal.ResumeLayout(false);
            this.tab_terminal.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.shellMenu.ResumeLayout(false);
            this.tab_sftp.ResumeLayout(false);
            this.tab_sftp.PerformLayout();
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            this.tab_monitor.ResumeLayout(false);
            this.left_panel.ResumeLayout(false);
            this.treeConMenu.ResumeLayout(false);
            this.treeNodeConMenu.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : Form1.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.tb_acc = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.tb_pwd = new System.Windows.Forms.TextBox();
            this.button1 = new System.Windows.Forms.Button();
            this.tb_shell = new System.Windows.Forms.TextBox();
            this.run = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.tb_host = new System.Windows.Forms.TextBox();
            this.panel1 = new System.Windows.Forms.Panel();
            this.rtb_log = new System.Windows.Forms.RichTextBox();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // tb_acc
            // 
            this.tb_acc.Location = new System.Drawing.Point(258, 15);
            this.tb_acc.Name = "tb_acc";
            this.tb_acc.Size = new System.Drawing.Size(107, 21);
            this.tb_acc.TabIndex = 0;
            this.tb_acc.Text = "gxb";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(211, 19);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(41, 12);
            this.label1.TabIndex = 1;
            this.label1.Text = "用户名";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(384, 21);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(29, 12);
            this.label2.TabIndex = 3;
            this.label2.Text = "密码";
            // 
            // tb_pwd
            // 
            this.tb_pwd.Location = new System.Drawing.Point(421, 17);
            this.tb_pwd.Name = "tb_pwd";
            this.tb_pwd.Size = new System.Drawing.Size(158, 21);
            this.tb_pwd.TabIndex = 2;
            this.tb_pwd.Text = "Echinac2p.com12#$";
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(601, 16);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 4;
            this.button1.Text = "登录";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // tb_shell
            // 
            this.tb_shell.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.tb_shell.Location = new System.Drawing.Point(12, 48);
            this.tb_shell.Name = "tb_shell";
            this.tb_shell.Size = new System.Drawing.Size(817, 21);
            this.tb_shell.TabIndex = 6;
            this.tb_shell.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tb_shell_KeyUp);
            // 
            // run
            // 
            this.run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.run.Location = new System.Drawing.Point(835, 47);
            this.run.Name = "run";
            this.run.Size = new System.Drawing.Size(44, 23);
            this.run.TabIndex = 7;
            this.run.Text = "run";
            this.run.UseVisualStyleBackColor = true;
            this.run.Click += new System.EventHandler(this.run_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(20, 17);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(29, 12);
            this.label3.TabIndex = 9;
            this.label3.Text = "主机";
            // 
            // tb_host
            // 
            this.tb_host.Location = new System.Drawing.Point(61, 13);
            this.tb_host.Name = "tb_host";
            this.tb_host.Size = new System.Drawing.Size(130, 21);
            this.tb_host.TabIndex = 8;
            this.tb_host.Text = "192.168.20.106";
            // 
            // panel1
            // 
            this.panel1.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.panel1.Controls.Add(this.rtb_log);
            this.panel1.Location = new System.Drawing.Point(12, 75);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(867, 483);
            this.panel1.TabIndex = 10;
            // 
            // rtb_log
            // 
            this.rtb_log.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
            this.rtb_log.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.rtb_log.Dock = System.Windows.Forms.DockStyle.Fill;
            this.rtb_log.Font = new System.Drawing.Font("Courier New", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rtb_log.ForeColor = System.Drawing.Color.CadetBlue;
            this.rtb_log.Location = new System.Drawing.Point(0, 0);
            this.rtb_log.Name = "rtb_log";
            this.rtb_log.ReadOnly = true;
            this.rtb_log.Size = new System.Drawing.Size(867, 483);
            this.rtb_log.TabIndex = 0;
            this.rtb_log.Text = "";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(891, 570);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.tb_host);
            this.Controls.Add(this.run);
            this.Controls.Add(this.tb_shell);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.tb_pwd);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.tb_acc);
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "简易Shell";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
            this.Load += new System.EventHandler(this.Form1_Load);
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : IceDeployVersionForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IceDeployVersionForm));
            this.stb_local_pdir = new CCWin.SkinControl.SkinTextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.btn_start = new System.Windows.Forms.Button();
            this.btn_cancel = new System.Windows.Forms.Button();
            this.btn_choose_dir = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.stb_icexml = new CCWin.SkinControl.SkinTextBox();
            this.btn_choose_xml = new System.Windows.Forms.Button();
            this.label3 = new System.Windows.Forms.Label();
            this.stb_remote_pdir = new CCWin.SkinControl.SkinTextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.btn_choose_mvnxml = new System.Windows.Forms.Button();
            this.checkBox2 = new System.Windows.Forms.CheckBox();
            this.stb_maven_xml = new CCWin.SkinControl.SkinTextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
            this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.l_state4 = new System.Windows.Forms.Label();
            this.pb_state4 = new System.Windows.Forms.PictureBox();
            this.line_state3 = new System.Windows.Forms.Label();
            this.line_state2 = new System.Windows.Forms.Label();
            this.l_state3 = new System.Windows.Forms.Label();
            this.pb_state3 = new System.Windows.Forms.PictureBox();
            this.l_state2 = new System.Windows.Forms.Label();
            this.pb_state2 = new System.Windows.Forms.PictureBox();
            this.line_state1 = new System.Windows.Forms.Label();
            this.l_state1 = new System.Windows.Forms.Label();
            this.pb_state1 = new System.Windows.Forms.PictureBox();
            this.errorLabel = new System.Windows.Forms.Label();
            this.gifBox1 = new CCWin.SkinControl.GifBox();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state1)).BeginInit();
            this.SuspendLayout();
            // 
            // stb_local_pdir
            // 
            this.stb_local_pdir.AllowDrop = true;
            this.stb_local_pdir.BackColor = System.Drawing.Color.Transparent;
            this.stb_local_pdir.DownBack = null;
            this.stb_local_pdir.Icon = null;
            this.stb_local_pdir.IconIsButton = false;
            this.stb_local_pdir.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_local_pdir.IsPreplacedwordChat = '\0';
            this.stb_local_pdir.IsSystemPreplacedwordChar = false;
            this.stb_local_pdir.Lines = new string[0];
            this.stb_local_pdir.Location = new System.Drawing.Point(177, 16);
            this.stb_local_pdir.Margin = new System.Windows.Forms.Padding(0);
            this.stb_local_pdir.MaxLength = 32767;
            this.stb_local_pdir.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_local_pdir.MouseBack = null;
            this.stb_local_pdir.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_local_pdir.Multiline = false;
            this.stb_local_pdir.Name = "stb_local_pdir";
            this.stb_local_pdir.NormlBack = null;
            this.stb_local_pdir.Padding = new System.Windows.Forms.Padding(5);
            this.stb_local_pdir.ReadOnly = false;
            this.stb_local_pdir.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_local_pdir.Size = new System.Drawing.Size(423, 28);
            // 
            // 
            // 
            this.stb_local_pdir.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_local_pdir.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_local_pdir.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_local_pdir.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_local_pdir.SkinTxt.Name = "BaseText";
            this.stb_local_pdir.SkinTxt.Size = new System.Drawing.Size(413, 18);
            this.stb_local_pdir.SkinTxt.TabIndex = 0;
            this.stb_local_pdir.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_local_pdir.SkinTxt.WaterText = "项目代码本地目录,支持拖拽";
            this.stb_local_pdir.TabIndex = 6;
            this.stb_local_pdir.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_local_pdir.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_local_pdir.WaterText = "项目代码本地目录,支持拖拽";
            this.stb_local_pdir.WordWrap = true;
            this.stb_local_pdir.DragDrop += new System.Windows.Forms.DragEventHandler(this.stb_local_pdir_DragDrop);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label1.Location = new System.Drawing.Point(29, 20);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(135, 20);
            this.label1.TabIndex = 7;
            this.label1.Text = "项目代码本地目录:";
            // 
            // btn_start
            // 
            this.btn_start.Location = new System.Drawing.Point(613, 457);
            this.btn_start.Name = "btn_start";
            this.btn_start.Size = new System.Drawing.Size(98, 29);
            this.btn_start.TabIndex = 12;
            this.btn_start.Text = "开始部署";
            this.btn_start.UseVisualStyleBackColor = true;
            this.btn_start.Click += new System.EventHandler(this.button1_Click);
            // 
            // btn_cancel
            // 
            this.btn_cancel.Location = new System.Drawing.Point(525, 457);
            this.btn_cancel.Name = "btn_cancel";
            this.btn_cancel.Size = new System.Drawing.Size(75, 29);
            this.btn_cancel.TabIndex = 13;
            this.btn_cancel.Text = "取消";
            this.btn_cancel.UseVisualStyleBackColor = true;
            this.btn_cancel.Click += new System.EventHandler(this.button2_Click);
            // 
            // btn_choose_dir
            // 
            this.btn_choose_dir.Location = new System.Drawing.Point(608, 16);
            this.btn_choose_dir.Name = "btn_choose_dir";
            this.btn_choose_dir.Size = new System.Drawing.Size(72, 29);
            this.btn_choose_dir.TabIndex = 14;
            this.btn_choose_dir.Text = "定位目录";
            this.btn_choose_dir.UseVisualStyleBackColor = true;
            this.btn_choose_dir.Click += new System.EventHandler(this.btn_choose_dir_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label2.Location = new System.Drawing.Point(36, 93);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(128, 20);
            this.label2.TabIndex = 16;
            this.label2.Text = "ICE接口服务配置:";
            // 
            // stb_icexml
            // 
            this.stb_icexml.AllowDrop = true;
            this.stb_icexml.BackColor = System.Drawing.Color.Transparent;
            this.stb_icexml.DownBack = null;
            this.stb_icexml.Enabled = false;
            this.stb_icexml.Icon = null;
            this.stb_icexml.IconIsButton = false;
            this.stb_icexml.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_icexml.IsPreplacedwordChat = '\0';
            this.stb_icexml.IsSystemPreplacedwordChar = false;
            this.stb_icexml.Lines = new string[0];
            this.stb_icexml.Location = new System.Drawing.Point(177, 89);
            this.stb_icexml.Margin = new System.Windows.Forms.Padding(0);
            this.stb_icexml.MaxLength = 32767;
            this.stb_icexml.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_icexml.MouseBack = null;
            this.stb_icexml.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_icexml.Multiline = false;
            this.stb_icexml.Name = "stb_icexml";
            this.stb_icexml.NormlBack = null;
            this.stb_icexml.Padding = new System.Windows.Forms.Padding(5);
            this.stb_icexml.ReadOnly = false;
            this.stb_icexml.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_icexml.Size = new System.Drawing.Size(423, 28);
            // 
            // 
            // 
            this.stb_icexml.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_icexml.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_icexml.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_icexml.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_icexml.SkinTxt.Name = "BaseText";
            this.stb_icexml.SkinTxt.Size = new System.Drawing.Size(413, 18);
            this.stb_icexml.SkinTxt.TabIndex = 0;
            this.stb_icexml.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_icexml.SkinTxt.WaterText = "ICE接口服务配置,一般位于项目~/icedeploy/config/目录下,支持拖拽";
            this.stb_icexml.TabIndex = 15;
            this.stb_icexml.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_icexml.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_icexml.WaterText = "ICE接口服务配置,一般位于项目~/icedeploy/config/目录下,支持拖拽";
            this.stb_icexml.WordWrap = true;
            this.stb_icexml.DragDrop += new System.Windows.Forms.DragEventHandler(this.stb_icexml_DragDrop);
            // 
            // btn_choose_xml
            // 
            this.btn_choose_xml.Enabled = false;
            this.btn_choose_xml.Location = new System.Drawing.Point(608, 88);
            this.btn_choose_xml.Name = "btn_choose_xml";
            this.btn_choose_xml.Size = new System.Drawing.Size(72, 29);
            this.btn_choose_xml.TabIndex = 17;
            this.btn_choose_xml.Text = "选择文件";
            this.btn_choose_xml.UseVisualStyleBackColor = true;
            this.btn_choose_xml.Click += new System.EventHandler(this.btn_choose_xml_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label3.Location = new System.Drawing.Point(43, 25);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(121, 20);
            this.label3.TabIndex = 19;
            this.label3.Text = "服务器项目路径:";
            // 
            // stb_remote_pdir
            // 
            this.stb_remote_pdir.AllowDrop = true;
            this.stb_remote_pdir.BackColor = System.Drawing.Color.Transparent;
            this.stb_remote_pdir.DownBack = null;
            this.stb_remote_pdir.Icon = null;
            this.stb_remote_pdir.IconIsButton = false;
            this.stb_remote_pdir.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_remote_pdir.IsPreplacedwordChat = '\0';
            this.stb_remote_pdir.IsSystemPreplacedwordChar = false;
            this.stb_remote_pdir.Lines = new string[0];
            this.stb_remote_pdir.Location = new System.Drawing.Point(177, 21);
            this.stb_remote_pdir.Margin = new System.Windows.Forms.Padding(0);
            this.stb_remote_pdir.MaxLength = 32767;
            this.stb_remote_pdir.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_remote_pdir.MouseBack = null;
            this.stb_remote_pdir.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_remote_pdir.Multiline = false;
            this.stb_remote_pdir.Name = "stb_remote_pdir";
            this.stb_remote_pdir.NormlBack = null;
            this.stb_remote_pdir.Padding = new System.Windows.Forms.Padding(5);
            this.stb_remote_pdir.ReadOnly = false;
            this.stb_remote_pdir.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_remote_pdir.Size = new System.Drawing.Size(423, 28);
            // 
            // 
            // 
            this.stb_remote_pdir.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_remote_pdir.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_remote_pdir.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_remote_pdir.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_remote_pdir.SkinTxt.Name = "BaseText";
            this.stb_remote_pdir.SkinTxt.Size = new System.Drawing.Size(413, 18);
            this.stb_remote_pdir.SkinTxt.TabIndex = 0;
            this.stb_remote_pdir.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_remote_pdir.SkinTxt.WaterText = "服务器项目目录,例如:~/xxxsrv";
            this.stb_remote_pdir.TabIndex = 18;
            this.stb_remote_pdir.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_remote_pdir.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_remote_pdir.WaterText = "服务器项目目录,例如:~/xxxsrv";
            this.stb_remote_pdir.WordWrap = true;
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.btn_choose_mvnxml);
            this.groupBox1.Controls.Add(this.checkBox2);
            this.groupBox1.Controls.Add(this.stb_maven_xml);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.checkBox1);
            this.groupBox1.Controls.Add(this.stb_icexml);
            this.groupBox1.Controls.Add(this.stb_local_pdir);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.btn_choose_xml);
            this.groupBox1.Controls.Add(this.btn_choose_dir);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(17, 37);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(694, 199);
            this.groupBox1.TabIndex = 20;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "本地";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.ForeColor = System.Drawing.Color.PaleVioletRed;
            this.label6.Location = new System.Drawing.Point(92, 137);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(185, 12);
            this.label6.TabIndex = 24;
            this.label6.Text = "不勾选此项代表跳过“打包”步骤";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.ForeColor = System.Drawing.Color.PaleVioletRed;
            this.label5.Location = new System.Drawing.Point(105, 67);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(209, 12);
            this.label5.TabIndex = 23;
            this.label5.Text = "不勾选此项代表跳过“更新配置”步骤";
            // 
            // btn_choose_mvnxml
            // 
            this.btn_choose_mvnxml.Enabled = false;
            this.btn_choose_mvnxml.Location = new System.Drawing.Point(608, 158);
            this.btn_choose_mvnxml.Name = "btn_choose_mvnxml";
            this.btn_choose_mvnxml.Size = new System.Drawing.Size(72, 29);
            this.btn_choose_mvnxml.TabIndex = 22;
            this.btn_choose_mvnxml.Text = "选择文件";
            this.btn_choose_mvnxml.UseVisualStyleBackColor = true;
            this.btn_choose_mvnxml.Click += new System.EventHandler(this.btn_choose_mvnxml_Click);
            // 
            // checkBox2
            // 
            this.checkBox2.AutoSize = true;
            this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.checkBox2.Location = new System.Drawing.Point(18, 136);
            this.checkBox2.Name = "checkBox2";
            this.checkBox2.Size = new System.Drawing.Size(72, 16);
            this.checkBox2.TabIndex = 21;
            this.checkBox2.Text = "自动打包";
            this.checkBox2.UseVisualStyleBackColor = true;
            this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
            // 
            // stb_maven_xml
            // 
            this.stb_maven_xml.AllowDrop = true;
            this.stb_maven_xml.BackColor = System.Drawing.Color.Transparent;
            this.stb_maven_xml.DownBack = null;
            this.stb_maven_xml.Enabled = false;
            this.stb_maven_xml.Icon = null;
            this.stb_maven_xml.IconIsButton = false;
            this.stb_maven_xml.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_maven_xml.IsPreplacedwordChat = '\0';
            this.stb_maven_xml.IsSystemPreplacedwordChar = false;
            this.stb_maven_xml.Lines = new string[0];
            this.stb_maven_xml.Location = new System.Drawing.Point(177, 158);
            this.stb_maven_xml.Margin = new System.Windows.Forms.Padding(0);
            this.stb_maven_xml.MaxLength = 32767;
            this.stb_maven_xml.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_maven_xml.MouseBack = null;
            this.stb_maven_xml.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_maven_xml.Multiline = false;
            this.stb_maven_xml.Name = "stb_maven_xml";
            this.stb_maven_xml.NormlBack = null;
            this.stb_maven_xml.Padding = new System.Windows.Forms.Padding(5);
            this.stb_maven_xml.ReadOnly = false;
            this.stb_maven_xml.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_maven_xml.Size = new System.Drawing.Size(423, 28);
            // 
            // 
            // 
            this.stb_maven_xml.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_maven_xml.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_maven_xml.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_maven_xml.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_maven_xml.SkinTxt.Name = "BaseText";
            this.stb_maven_xml.SkinTxt.Size = new System.Drawing.Size(413, 18);
            this.stb_maven_xml.SkinTxt.TabIndex = 0;
            this.stb_maven_xml.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_maven_xml.SkinTxt.WaterText = "Maven 配置文件:setting.xml,支持拖拽";
            this.stb_maven_xml.TabIndex = 19;
            this.stb_maven_xml.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_maven_xml.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_maven_xml.WaterText = "Maven 配置文件:setting.xml,支持拖拽";
            this.stb_maven_xml.WordWrap = true;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label4.Location = new System.Drawing.Point(39, 162);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(125, 20);
            this.label4.TabIndex = 20;
            this.label4.Text = "Maven配置文件:";
            // 
            // checkBox1
            // 
            this.checkBox1.AutoSize = true;
            this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.checkBox1.Location = new System.Drawing.Point(18, 65);
            this.checkBox1.Name = "checkBox1";
            this.checkBox1.Size = new System.Drawing.Size(84, 16);
            this.checkBox1.TabIndex = 18;
            this.checkBox1.Text = "配置有更新";
            this.checkBox1.UseVisualStyleBackColor = true;
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            // 
            // groupBox2
            // 
            this.groupBox2.BackColor = System.Drawing.Color.Transparent;
            this.groupBox2.Controls.Add(this.stb_remote_pdir);
            this.groupBox2.Controls.Add(this.label3);
            this.groupBox2.Location = new System.Drawing.Point(17, 243);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(694, 64);
            this.groupBox2.TabIndex = 21;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "服务器";
            // 
            // openFileDialog1
            // 
            this.openFileDialog1.FileName = "openFileDialog1";
            // 
            // timer1
            // 
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // groupBox3
            // 
            this.groupBox3.BackColor = System.Drawing.Color.Transparent;
            this.groupBox3.Controls.Add(this.l_state4);
            this.groupBox3.Controls.Add(this.pb_state4);
            this.groupBox3.Controls.Add(this.line_state3);
            this.groupBox3.Controls.Add(this.line_state2);
            this.groupBox3.Controls.Add(this.l_state3);
            this.groupBox3.Controls.Add(this.pb_state3);
            this.groupBox3.Controls.Add(this.l_state2);
            this.groupBox3.Controls.Add(this.pb_state2);
            this.groupBox3.Controls.Add(this.line_state1);
            this.groupBox3.Controls.Add(this.l_state1);
            this.groupBox3.Controls.Add(this.pb_state1);
            this.groupBox3.Location = new System.Drawing.Point(17, 314);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(694, 131);
            this.groupBox3.TabIndex = 22;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "步骤";
            // 
            // l_state4
            // 
            this.l_state4.AutoSize = true;
            this.l_state4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.l_state4.ForeColor = System.Drawing.Color.White;
            this.l_state4.Location = new System.Drawing.Point(602, 61);
            this.l_state4.Name = "l_state4";
            this.l_state4.Size = new System.Drawing.Size(29, 12);
            this.l_state4.TabIndex = 27;
            this.l_state4.Text = "完成";
            // 
            // pb_state4
            // 
            this.pb_state4.BackgroundImage = global::AppMonitor.Properties.Resources.Circle_72px0;
            this.pb_state4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pb_state4.Location = new System.Drawing.Point(579, 32);
            this.pb_state4.Name = "pb_state4";
            this.pb_state4.Size = new System.Drawing.Size(72, 72);
            this.pb_state4.TabIndex = 26;
            this.pb_state4.TabStop = false;
            // 
            // line_state3
            // 
            this.line_state3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.line_state3.Location = new System.Drawing.Point(496, 61);
            this.line_state3.Name = "line_state3";
            this.line_state3.Size = new System.Drawing.Size(60, 4);
            this.line_state3.TabIndex = 25;
            // 
            // line_state2
            // 
            this.line_state2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.line_state2.Location = new System.Drawing.Point(317, 61);
            this.line_state2.Name = "line_state2";
            this.line_state2.Size = new System.Drawing.Size(60, 4);
            this.line_state2.TabIndex = 5;
            // 
            // l_state3
            // 
            this.l_state3.AutoSize = true;
            this.l_state3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.l_state3.ForeColor = System.Drawing.Color.White;
            this.l_state3.Location = new System.Drawing.Point(412, 61);
            this.l_state3.Name = "l_state3";
            this.l_state3.Size = new System.Drawing.Size(53, 12);
            this.l_state3.TabIndex = 24;
            this.l_state3.Text = "重启服务";
            // 
            // pb_state3
            // 
            this.pb_state3.BackgroundImage = global::AppMonitor.Properties.Resources.Circle_72px0;
            this.pb_state3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pb_state3.Location = new System.Drawing.Point(402, 32);
            this.pb_state3.Name = "pb_state3";
            this.pb_state3.Size = new System.Drawing.Size(72, 72);
            this.pb_state3.TabIndex = 23;
            this.pb_state3.TabStop = false;
            // 
            // l_state2
            // 
            this.l_state2.AutoSize = true;
            this.l_state2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.l_state2.ForeColor = System.Drawing.Color.White;
            this.l_state2.Location = new System.Drawing.Point(232, 61);
            this.l_state2.Name = "l_state2";
            this.l_state2.Size = new System.Drawing.Size(53, 12);
            this.l_state2.TabIndex = 4;
            this.l_state2.Text = "更新配置";
            // 
            // pb_state2
            // 
            this.pb_state2.BackgroundImage = global::AppMonitor.Properties.Resources.Circle_72px0;
            this.pb_state2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pb_state2.Location = new System.Drawing.Point(222, 32);
            this.pb_state2.Name = "pb_state2";
            this.pb_state2.Size = new System.Drawing.Size(72, 72);
            this.pb_state2.TabIndex = 3;
            this.pb_state2.TabStop = false;
            // 
            // line_state1
            // 
            this.line_state1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.line_state1.Location = new System.Drawing.Point(138, 61);
            this.line_state1.Name = "line_state1";
            this.line_state1.Size = new System.Drawing.Size(60, 4);
            this.line_state1.TabIndex = 2;
            // 
            // l_state1
            // 
            this.l_state1.AutoSize = true;
            this.l_state1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
            this.l_state1.ForeColor = System.Drawing.Color.White;
            this.l_state1.Location = new System.Drawing.Point(51, 61);
            this.l_state1.Name = "l_state1";
            this.l_state1.Size = new System.Drawing.Size(53, 12);
            this.l_state1.TabIndex = 1;
            this.l_state1.Text = "打包上传";
            // 
            // pb_state1
            // 
            this.pb_state1.BackgroundImage = global::AppMonitor.Properties.Resources.Circle_72px0;
            this.pb_state1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pb_state1.Location = new System.Drawing.Point(42, 32);
            this.pb_state1.Name = "pb_state1";
            this.pb_state1.Size = new System.Drawing.Size(72, 72);
            this.pb_state1.TabIndex = 0;
            this.pb_state1.TabStop = false;
            // 
            // errorLabel
            // 
            this.errorLabel.BackColor = System.Drawing.Color.Transparent;
            this.errorLabel.Font = new System.Drawing.Font("宋体", 10F);
            this.errorLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.errorLabel.Location = new System.Drawing.Point(20, 455);
            this.errorLabel.Name = "errorLabel";
            this.errorLabel.Size = new System.Drawing.Size(436, 34);
            this.errorLabel.TabIndex = 23;
            // 
            // gifBox1
            // 
            this.gifBox1.BackColor = System.Drawing.Color.Transparent;
            this.gifBox1.BorderColor = System.Drawing.Color.Transparent;
            this.gifBox1.Cursor = System.Windows.Forms.Cursors.Arrow;
            this.gifBox1.Image = global::AppMonitor.Properties.Resources.loading2;
            this.gifBox1.Location = new System.Drawing.Point(475, 452);
            this.gifBox1.Name = "gifBox1";
            this.gifBox1.Size = new System.Drawing.Size(36, 36);
            this.gifBox1.TabIndex = 24;
            this.gifBox1.Visible = false;
            // 
            // IceDeployVersionForm
            // 
            this.AllowDrop = true;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(730, 505);
            this.Controls.Add(this.gifBox1);
            this.Controls.Add(this.errorLabel);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.btn_cancel);
            this.Controls.Add(this.btn_start);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(730, 505);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(730, 505);
            this.Name = "IceDeployVersionForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "一键部署Ice项目";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.IceDeployVersionForm_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb_state1)).EndInit();
            this.ResumeLayout(false);

        }

19 View Source File : InputForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputForm));
            this.input = new CCWin.SkinControl.SkinTextBox();
            this.btn_sure = new System.Windows.Forms.Button();
            this.btn_cancel = new System.Windows.Forms.Button();
            this.info = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // input
            // 
            this.input.BackColor = System.Drawing.Color.Transparent;
            this.input.DownBack = null;
            this.input.Icon = null;
            this.input.IconIsButton = false;
            this.input.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.input.IsPreplacedwordChat = '\0';
            this.input.IsSystemPreplacedwordChar = false;
            this.input.Lines = new string[0];
            this.input.Location = new System.Drawing.Point(18, 97);
            this.input.Margin = new System.Windows.Forms.Padding(0);
            this.input.MaxLength = 32767;
            this.input.MinimumSize = new System.Drawing.Size(28, 28);
            this.input.MouseBack = null;
            this.input.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.input.Multiline = false;
            this.input.Name = "input";
            this.input.NormlBack = null;
            this.input.Padding = new System.Windows.Forms.Padding(5);
            this.input.ReadOnly = false;
            this.input.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.input.Size = new System.Drawing.Size(415, 28);
            // 
            // 
            // 
            this.input.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.input.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.input.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.input.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.input.SkinTxt.Name = "BaseText";
            this.input.SkinTxt.Size = new System.Drawing.Size(405, 18);
            this.input.SkinTxt.TabIndex = 0;
            this.input.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.input.SkinTxt.WaterText = "";
            this.input.TabIndex = 0;
            this.input.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.input.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.input.WaterText = "";
            this.input.WordWrap = true;
            // 
            // btn_sure
            // 
            this.btn_sure.Location = new System.Drawing.Point(373, 33);
            this.btn_sure.Name = "btn_sure";
            this.btn_sure.Size = new System.Drawing.Size(60, 25);
            this.btn_sure.TabIndex = 1;
            this.btn_sure.Text = "确定";
            this.btn_sure.UseVisualStyleBackColor = true;
            this.btn_sure.Click += new System.EventHandler(this.btn_sure_Click);
            // 
            // btn_cancel
            // 
            this.btn_cancel.Location = new System.Drawing.Point(373, 62);
            this.btn_cancel.Name = "btn_cancel";
            this.btn_cancel.Size = new System.Drawing.Size(60, 25);
            this.btn_cancel.TabIndex = 2;
            this.btn_cancel.Text = "取消";
            this.btn_cancel.UseVisualStyleBackColor = true;
            this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
            // 
            // info
            // 
            this.info.Location = new System.Drawing.Point(21, 37);
            this.info.Name = "info";
            this.info.Size = new System.Drawing.Size(328, 50);
            this.info.TabIndex = 3;
            // 
            // InputForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(451, 142);
            this.Controls.Add(this.info);
            this.Controls.Add(this.btn_cancel);
            this.Controls.Add(this.btn_sure);
            this.Controls.Add(this.input);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(451, 142);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(451, 142);
            this.Name = "InputForm";
            this.Text = "请输入";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.InputForm_Load);
            this.ResumeLayout(false);

        }

19 View Source File : ControlDisplay.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

[DebuggerStepThrough]
        private void InitializeComponent() {
            this.DynamicBut = new Button();
            this.MinusBut = new Button();
            this.PlusBut = new Button();
            base.SuspendLayout();
            this.DynamicBut.BackColor = Color.White;
            this.DynamicBut.FlatAppearance.BorderColor = Color.FromArgb(189, 189, 189);
            this.DynamicBut.FlatAppearance.CheckedBackColor = Color.White;
            this.DynamicBut.FlatAppearance.MouseDownBackColor = Color.White;
            this.DynamicBut.FlatStyle = FlatStyle.Flat;
            this.DynamicBut.Location = new Point(0, 1);
            this.DynamicBut.Name = "DynamicBut";
            this.DynamicBut.Size = new Size(120, 28);
            this.DynamicBut.TabIndex = 0;
            this.DynamicBut.Text = "Dynamic display";
            this.DynamicBut.UseVisualStyleBackColor = false;
            this.MinusBut.BackColor = Color.White;
            this.MinusBut.FlatAppearance.BorderColor = Color.FromArgb(189, 189, 189);
            this.MinusBut.FlatAppearance.CheckedBackColor = Color.White;
            this.MinusBut.FlatAppearance.MouseDownBackColor = Color.White;
            this.MinusBut.FlatStyle = FlatStyle.Flat;
            this.MinusBut.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.MinusBut.Location = new Point(123, 1);
            this.MinusBut.Name = "MinusBut";
            this.MinusBut.Size = new Size(28, 28);
            this.MinusBut.TabIndex = 1;
            this.MinusBut.Text = "-";
            this.MinusBut.UseVisualStyleBackColor = false;
            this.PlusBut.BackColor = Color.White;
            this.PlusBut.FlatAppearance.BorderColor = Color.FromArgb(189, 189, 189);
            this.PlusBut.FlatAppearance.CheckedBackColor = Color.White;
            this.PlusBut.FlatAppearance.MouseDownBackColor = Color.White;
            this.PlusBut.FlatStyle = FlatStyle.Flat;
            this.PlusBut.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.PlusBut.Location = new Point(150, 1);
            this.PlusBut.Name = "PlusBut";
            this.PlusBut.Size = new Size(28, 28);
            this.PlusBut.TabIndex = 2;
            this.PlusBut.Text = "+";
            this.PlusBut.UseVisualStyleBackColor = false;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            this.BackColor = Color.White;
            base.Controls.Add(this.PlusBut);
            base.Controls.Add(this.MinusBut);
            base.Controls.Add(this.DynamicBut);
            base.Name = "DisplayControl";
            base.Size = new Size(180, 30);
            base.ResumeLayout(false);
        }

19 View Source File : ZColorPicker.cs
License : MIT License
Project Creator : 0xLaileb

private Color HSVtoRGB(double H, double S, double V)
        {
            double R, G, B;
            if (S == 0)
            {
                R = V * 255;
                G = V * 255;
                B = V * 255;
            }
            else
            {
                double H1 = H * 6;
                if (H1 == 6) H1 = 0;

                int i = (int)Math.Floor(H1);

                double i1 = V * (1 - S);
                double i2 = V * (1 - S * (H1 - i));
                double i3 = V * (1 - S * (1 - (H1 - i)));

                switch (i)
                {
                    case 0:
                        R = V;
                        G = i3;
                        B = i1;
                        break;
                    case 1:
                        R = i2;
                        G = V;
                        B = i1;
                        break;
                    case 2:
                        R = i1;
                        G = V;
                        B = i3;
                        break;
                    case 3:
                        R = i1;
                        G = i2;
                        B = V;
                        break;
                    case 4:
                        R = i3;
                        G = i1;
                        B = V;
                        break;
                    default:
                        R = V;
                        G = i1;
                        B = i2;
                        break;
                }

                R *= 255;
                G *= 255;
                B *= 255;
            }
            return Color.FromArgb((int)R, (int)G, (int)B);
        }

19 View Source File : TestOpen3D.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static PointCloud Downsample(PointCloud cloud, double voxelSize = 5000) {

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Conversion from Rhino PointCloud to Flat Array
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //var watch = System.Diagnostics.Stopwatch.StartNew();


            double[] p = new double[cloud.Count * 3];
            ulong p_c = (ulong)cloud.Count;

            double[] n =new double[cloud.Count * 3] ;
            ulong n_c = p_c;

            double[] c = new double[cloud.Count * 3];
            ulong c_c = p_c;

            bool hasColors = cloud.ContainsColors;

            System.Threading.Tasks.Parallel.For(0, cloud.Count, i =>
            {
            //for (int i = 0; i < cloud.Count; i++) {
                p[i * 3 + 0] = cloud[i].Location.X;
                p[i * 3 + 1] = cloud[i].Location.Y;
                p[i * 3 + 2] = cloud[i].Location.Z;
                if (cloud.ContainsNormals) {
                    n[i * 3 + 0] = cloud[i].Normal.X;
                    n[i * 3 + 1] = cloud[i].Normal.Y;
                    n[i * 3 + 2] = cloud[i].Normal.Z;
                }
                if (cloud.ContainsColors) {
                    c[i * 3 + 0] = cloud[i].Color.R;
                    c[i * 3 + 1] = cloud[i].Color.G;
                    c[i * 3 + 2] = cloud[i].Color.B;
                }
           
            });
       

            //watch.Stop();
           // Rhino.RhinoApp.WriteLine("Convert PointCloud to double array "+watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Call C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            IntPtr p_pointer = IntPtr.Zero;
            int p_pointer_c = 0;
            IntPtr n_pointer = IntPtr.Zero;
            int n_pointer_c = 0;
            IntPtr c_pointer = IntPtr.Zero;
            int c_pointer_c = 0;


            UnsafeOpen3D.Open3DDownsample(
                p, p_c,
                n, n_c,
                c, c_c,
                voxelSize,
                ref p_pointer, ref p_pointer_c,
                ref n_pointer, ref n_pointer_c,
                ref c_pointer, ref c_pointer_c
                );

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("C++ Downsample "+ watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert Pointers to double arrays
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert faceIndicesPointer to C# int[]

            //watch = System.Diagnostics.Stopwatch.StartNew();
            double[] P = new double[p_pointer_c ];
            Marshal.Copy(p_pointer, P, 0, P.Length);

            double[] N = new double[n_pointer_c ];
            Marshal.Copy(n_pointer, N, 0, P.Length);

            double[] C = new double[c_pointer_c ];
            Marshal.Copy(c_pointer, C, 0, P.Length);
            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Convert Pointer to double Array "+watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Release C++ memory
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            UnsafeOpen3D.ReleaseDouble(p_pointer, true);
            UnsafeOpen3D.ReleaseDouble(n_pointer, true);
            UnsafeOpen3D.ReleaseDouble(c_pointer, true);


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert C++ to C# Pointcloud
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            PointCloud newCloud = new PointCloud();


            //for (int i = 0; i < P.Length; i += 3) {
            //    newCloud.Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

            //    if (C[i + 0] == 0 && C[i + 1] == 0 && C[i + 2] == 0) continue;
            //    newCloud[(int)Math.Round((i / 3.0))].Color = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

            //}


            //for (int i = 0; i < P.Length; i += 3) {
            //    if (N[i + 0] == 0 && N[i + 1] == 0 && N[i + 2] == 0) continue;
            //    newCloud[(int)Math.Round((i / 3.0))].Normal = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
            //}

            Point3d[] location = new Point3d[(int)(P.Length/3)];
            Vector3d[] normals = new Vector3d[(int)(P.Length / 3)];
            Color[] colors = new Color[(int)(P.Length / 3)];


            for (int i = 0; i < P.Length; i += 3) {

                int id = i / 3;
                location[id] = new Point3d(P[i + 0], P[i + 1], P[i + 2]);
                normals[id] = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
                colors[id] = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

                //clouds[0].Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

                //if (C[i + 0] == 0 && C[i + 1] == 0 && C[i + 2] == 0) continue;
                //clouds[0][(int)Math.Round((i / 3.0))].Color = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

            }
            newCloud.AddRange(location, normals, colors);



            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Create PointCloud from double arrays "+ watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Output
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            return newCloud;

        }

19 View Source File : NginxMonitorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NginxMonitorForm));
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.contextMenu3 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.自定义命令ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.CustomTimeTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.ConditionTaskToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.skinToolTip1 = new CCWin.SkinToolTip(this.components);
            this.linkLabel2 = new System.Windows.Forms.LinkLabel();
            this.projects = new CCWin.SkinControl.SkinListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.button5 = new System.Windows.Forms.Button();
            this.btn_run = new System.Windows.Forms.Button();
            this.btn_restart = new System.Windows.Forms.Button();
            this.btn_start = new System.Windows.Forms.Button();
            this.btn_stop = new System.Windows.Forms.Button();
            this.pic_run_state = new System.Windows.Forms.PictureBox();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.newItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.visitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.visit2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
            this.startBtnMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.nginxpathsStart = new System.Windows.Forms.ToolStripMenuItem();
            this.nginxpathcnginxconf = new System.Windows.Forms.ToolStripMenuItem();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.l_name = new System.Windows.Forms.TextBox();
            this.l_nginx_path = new System.Windows.Forms.TextBox();
            this.l_nginx_conf = new System.Windows.Forms.TextBox();
            this.l_visit_url = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label1 = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.custom_btn = new System.Windows.Forms.LinkLabel();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.shellView = new CCWin.SkinControl.SkinTextBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.button1 = new System.Windows.Forms.Button();
            this.label_status = new System.Windows.Forms.Label();
            this.contextMenu3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).BeginInit();
            this.contextMenuStrip1.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.startBtnMenu.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.SuspendLayout();
            // 
            // timer1
            // 
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // contextMenu3
            // 
            this.contextMenu3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.自定义命令ToolStripMenuItem,
            this.toolStripSeparator1,
            this.CustomTimeTaskToolStripMenuItem,
            this.ConditionTaskToolStripMenuItem1});
            this.contextMenu3.Name = "contextMenuStrip1";
            this.contextMenu3.Size = new System.Drawing.Size(137, 76);
            // 
            // 自定义命令ToolStripMenuItem
            // 
            this.自定义命令ToolStripMenuItem.Name = "自定义命令ToolStripMenuItem";
            this.自定义命令ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.自定义命令ToolStripMenuItem.Text = "自定义脚本";
            this.自定义命令ToolStripMenuItem.Click += new System.EventHandler(this.自定义命令ToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6);
            // 
            // CustomTimeTaskToolStripMenuItem
            // 
            this.CustomTimeTaskToolStripMenuItem.Name = "CustomTimeTaskToolStripMenuItem";
            this.CustomTimeTaskToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.CustomTimeTaskToolStripMenuItem.Text = "定时任务";
            this.CustomTimeTaskToolStripMenuItem.Click += new System.EventHandler(this.CustomTimeTaskToolStripMenuItem_Click);
            // 
            // ConditionTaskToolStripMenuItem1
            // 
            this.ConditionTaskToolStripMenuItem1.Name = "ConditionTaskToolStripMenuItem1";
            this.ConditionTaskToolStripMenuItem1.Size = new System.Drawing.Size(136, 22);
            this.ConditionTaskToolStripMenuItem1.Text = "条件任务";
            this.ConditionTaskToolStripMenuItem1.Click += new System.EventHandler(this.条件任务ToolStripMenuItem1_Click);
            // 
            // skinToolTip1
            // 
            this.skinToolTip1.AutoPopDelay = 5000;
            this.skinToolTip1.InitialDelay = 500;
            this.skinToolTip1.OwnerDraw = true;
            this.skinToolTip1.ReshowDelay = 800;
            this.skinToolTip1.ToolTipreplacedle = "AppMonitor";
            // 
            // linkLabel2
            // 
            this.linkLabel2.AutoSize = true;
            this.linkLabel2.Location = new System.Drawing.Point(360, 97);
            this.linkLabel2.Name = "linkLabel2";
            this.linkLabel2.Size = new System.Drawing.Size(29, 12);
            this.linkLabel2.TabIndex = 25;
            this.linkLabel2.TabStop = true;
            this.linkLabel2.Text = "编辑";
            this.skinToolTip1.SetToolTip(this.linkLabel2, "编辑服务器上的server.xml文件");
            this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
            // 
            // projects
            // 
            this.projects.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.projects.BorderColor = System.Drawing.Color.LightGray;
            this.projects.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader4});
            this.projects.FullRowSelect = true;
            this.projects.GridLines = true;
            this.projects.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.projects.LargeImageList = this.imageList1;
            this.projects.Location = new System.Drawing.Point(397, 12);
            this.projects.MultiSelect = false;
            this.projects.Name = "projects";
            this.projects.OwnerDraw = true;
            this.projects.RowBackColor2 = System.Drawing.Color.White;
            this.projects.SelectedColor = System.Drawing.Color.SkyBlue;
            this.projects.Size = new System.Drawing.Size(414, 173);
            this.projects.SmallImageList = this.imageList1;
            this.projects.StateImageList = this.imageList1;
            this.projects.TabIndex = 22;
            this.skinToolTip1.SetToolTip(this.projects, "双击访问各个项目");
            this.projects.UseCompatibleStateImageBehavior = false;
            this.projects.View = System.Windows.Forms.View.Details;
            this.projects.MouseUp += new System.Windows.Forms.MouseEventHandler(this.projects_MouseUp);
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "访问地址";
            this.columnHeader2.Width = 220;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "映射地址";
            this.columnHeader4.Width = 300;
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "gray_light_16px.png");
            this.imageList1.Images.SetKeyName(1, "green_light_16px.png");
            this.imageList1.Images.SetKeyName(2, "yellow_light_16px.png");
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(359, 131);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(29, 12);
            this.linkLabel1.TabIndex = 21;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "访问";
            this.skinToolTip1.SetToolTip(this.linkLabel1, "在默认浏览器中打开项目首页地址");
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(14, 106);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(81, 25);
            this.button5.TabIndex = 9;
            this.button5.Text = "立即检测";
            this.skinToolTip1.SetToolTip(this.button5, "立即检测程序运行是否正常");
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // btn_run
            // 
            this.btn_run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_run.Enabled = false;
            this.btn_run.Location = new System.Drawing.Point(631, 167);
            this.btn_run.Name = "btn_run";
            this.btn_run.Size = new System.Drawing.Size(65, 26);
            this.btn_run.TabIndex = 9;
            this.btn_run.Text = "运行";
            this.skinToolTip1.SetToolTip(this.btn_run, "手动运行脚本");
            this.btn_run.UseVisualStyleBackColor = true;
            this.btn_run.Click += new System.EventHandler(this.btn_run_Click);
            // 
            // btn_restart
            // 
            this.btn_restart.Location = new System.Drawing.Point(289, 26);
            this.btn_restart.Name = "btn_restart";
            this.btn_restart.Size = new System.Drawing.Size(80, 28);
            this.btn_restart.TabIndex = 7;
            this.btn_restart.Text = "重启";
            this.skinToolTip1.SetToolTip(this.btn_restart, "重启程序,会先停止程序然后再启动程序");
            this.btn_restart.UseVisualStyleBackColor = true;
            this.btn_restart.Click += new System.EventHandler(this.btn_restart_Click);
            // 
            // btn_start
            // 
            this.btn_start.BackColor = System.Drawing.SystemColors.Control;
            this.btn_start.Location = new System.Drawing.Point(8, 26);
            this.btn_start.Name = "btn_start";
            this.btn_start.Size = new System.Drawing.Size(76, 28);
            this.btn_start.TabIndex = 5;
            this.btn_start.Text = "启动";
            this.skinToolTip1.SetToolTip(this.btn_start, "启动程序,如果程序未停止或导致重复启动");
            this.btn_start.UseVisualStyleBackColor = true;
            this.btn_start.Click += new System.EventHandler(this.btn_start_Click);
            // 
            // btn_stop
            // 
            this.btn_stop.Location = new System.Drawing.Point(207, 26);
            this.btn_stop.Name = "btn_stop";
            this.btn_stop.Size = new System.Drawing.Size(60, 28);
            this.btn_stop.TabIndex = 6;
            this.btn_stop.Text = "停止";
            this.skinToolTip1.SetToolTip(this.btn_stop, "停止程序");
            this.btn_stop.UseVisualStyleBackColor = true;
            this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
            // 
            // pic_run_state
            // 
            this.pic_run_state.BackgroundImage = global::AppMonitor.Properties.Resources.gray_light_48;
            this.pic_run_state.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pic_run_state.Location = new System.Drawing.Point(31, 25);
            this.pic_run_state.Name = "pic_run_state";
            this.pic_run_state.Size = new System.Drawing.Size(48, 48);
            this.pic_run_state.TabIndex = 4;
            this.pic_run_state.TabStop = false;
            this.skinToolTip1.SetToolTip(this.pic_run_state, "未检测");
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newItemToolStripMenuItem,
            this.editToolStripMenuItem,
            this.deleteToolStripMenuItem,
            this.toolStripSeparator2,
            this.visitToolStripMenuItem,
            this.visit2ToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(133, 120);
            // 
            // newItemToolStripMenuItem
            // 
            this.newItemToolStripMenuItem.Name = "newItemToolStripMenuItem";
            this.newItemToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
            this.newItemToolStripMenuItem.Text = "New Item";
            this.newItemToolStripMenuItem.Click += new System.EventHandler(this.newItemToolStripMenuItem_Click);
            // 
            // editToolStripMenuItem
            // 
            this.editToolStripMenuItem.Name = "editToolStripMenuItem";
            this.editToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
            this.editToolStripMenuItem.Text = "Edit";
            this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
            // 
            // deleteToolStripMenuItem
            // 
            this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
            this.deleteToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
            this.deleteToolStripMenuItem.Text = "Delete";
            this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(129, 6);
            // 
            // visitToolStripMenuItem
            // 
            this.visitToolStripMenuItem.Name = "visitToolStripMenuItem";
            this.visitToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
            this.visitToolStripMenuItem.Text = "Visit 1";
            this.visitToolStripMenuItem.Click += new System.EventHandler(this.visitToolStripMenuItem_Click);
            // 
            // visit2ToolStripMenuItem
            // 
            this.visit2ToolStripMenuItem.Name = "visit2ToolStripMenuItem";
            this.visit2ToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
            this.visit2ToolStripMenuItem.Text = "Visit 2";
            this.visit2ToolStripMenuItem.Click += new System.EventHandler(this.visit2ToolStripMenuItem_Click);
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.toolStripMenuItem3});
            this.contextMenuStrip2.Name = "contextMenuStrip1";
            this.contextMenuStrip2.Size = new System.Drawing.Size(114, 48);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem2.Text = "Edit";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem3.Text = "Delete";
            this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
            // 
            // startBtnMenu
            // 
            this.startBtnMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.nginxpathsStart,
            this.nginxpathcnginxconf});
            this.startBtnMenu.Name = "startBtnMenu";
            this.startBtnMenu.Size = new System.Drawing.Size(235, 48);
            // 
            // nginxpathsStart
            // 
            this.nginxpathsStart.Checked = true;
            this.nginxpathsStart.CheckState = System.Windows.Forms.CheckState.Checked;
            this.nginxpathsStart.Name = "nginxpathsStart";
            this.nginxpathsStart.Size = new System.Drawing.Size(234, 22);
            this.nginxpathsStart.Tag = "1";
            this.nginxpathsStart.Text = "{nginx_path} -s start";
            this.nginxpathsStart.Click += new System.EventHandler(this.nginxStartWayClick);
            // 
            // nginxpathcnginxconf
            // 
            this.nginxpathcnginxconf.Name = "nginxpathcnginxconf";
            this.nginxpathcnginxconf.Size = new System.Drawing.Size(234, 22);
            this.nginxpathcnginxconf.Tag = "2";
            this.nginxpathcnginxconf.Text = "{nginx_path} -c {nginx_conf}";
            this.nginxpathcnginxconf.Click += new System.EventHandler(this.nginxStartWayClick);
            // 
            // groupBox1
            // 
            this.groupBox1.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.groupBox1.Controls.Add(this.linkLabel2);
            this.groupBox1.Controls.Add(this.projects);
            this.groupBox1.Controls.Add(this.linkLabel1);
            this.groupBox1.Controls.Add(this.l_name);
            this.groupBox1.Controls.Add(this.l_nginx_path);
            this.groupBox1.Controls.Add(this.l_nginx_conf);
            this.groupBox1.Controls.Add(this.l_visit_url);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(8, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(815, 191);
            this.groupBox1.TabIndex = 7;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "基本信息";
            // 
            // l_name
            // 
            this.l_name.BackColor = System.Drawing.SystemColors.Control;
            this.l_name.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_name.Font = new System.Drawing.Font("宋体", 9F);
            this.l_name.Location = new System.Drawing.Point(90, 29);
            this.l_name.Name = "l_name";
            this.l_name.ReadOnly = true;
            this.l_name.Size = new System.Drawing.Size(263, 14);
            this.l_name.TabIndex = 19;
            // 
            // l_nginx_path
            // 
            this.l_nginx_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_nginx_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_nginx_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_nginx_path.Location = new System.Drawing.Point(90, 64);
            this.l_nginx_path.Name = "l_nginx_path";
            this.l_nginx_path.ReadOnly = true;
            this.l_nginx_path.Size = new System.Drawing.Size(263, 14);
            this.l_nginx_path.TabIndex = 18;
            // 
            // l_nginx_conf
            // 
            this.l_nginx_conf.BackColor = System.Drawing.SystemColors.Control;
            this.l_nginx_conf.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_nginx_conf.Font = new System.Drawing.Font("宋体", 9F);
            this.l_nginx_conf.Location = new System.Drawing.Point(90, 96);
            this.l_nginx_conf.Name = "l_nginx_conf";
            this.l_nginx_conf.ReadOnly = true;
            this.l_nginx_conf.Size = new System.Drawing.Size(263, 14);
            this.l_nginx_conf.TabIndex = 17;
            // 
            // l_visit_url
            // 
            this.l_visit_url.BackColor = System.Drawing.SystemColors.Control;
            this.l_visit_url.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_visit_url.Font = new System.Drawing.Font("宋体", 9F);
            this.l_visit_url.Location = new System.Drawing.Point(90, 129);
            this.l_visit_url.Name = "l_visit_url";
            this.l_visit_url.ReadOnly = true;
            this.l_visit_url.Size = new System.Drawing.Size(263, 14);
            this.l_visit_url.TabIndex = 16;
            // 
            // label6
            // 
            this.label6.Location = new System.Drawing.Point(11, 29);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(80, 14);
            this.label6.TabIndex = 10;
            this.label6.Text = "Nginx Name:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label5
            // 
            this.label5.Location = new System.Drawing.Point(11, 95);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(80, 14);
            this.label5.TabIndex = 9;
            this.label5.Text = "nginx.conf:";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label3
            // 
            this.label3.Location = new System.Drawing.Point(11, 128);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(80, 14);
            this.label3.TabIndex = 7;
            this.label3.Text = "Visit Url:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label2
            // 
            this.label2.Location = new System.Drawing.Point(11, 62);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(80, 14);
            this.label2.TabIndex = 0;
            this.label2.Text = "nginx path:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // groupBox2
            // 
            this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.progressBar1);
            this.groupBox2.Controls.Add(this.button5);
            this.groupBox2.Controls.Add(this.groupBox4);
            this.groupBox2.Controls.Add(this.groupBox3);
            this.groupBox2.Controls.Add(this.pic_run_state);
            this.groupBox2.Controls.Add(this.label_status);
            this.groupBox2.Location = new System.Drawing.Point(9, 203);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(814, 305);
            this.groupBox2.TabIndex = 8;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "状态监控";
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Silver;
            this.label1.Location = new System.Drawing.Point(4, 276);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(66, 25);
            this.label1.TabIndex = 13;
            this.label1.Text = "Nginx";
            // 
            // progressBar1
            // 
            this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.progressBar1.BackColor = System.Drawing.SystemColors.Control;
            this.progressBar1.Location = new System.Drawing.Point(59, 6);
            this.progressBar1.Maximum = 20;
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(758, 2);
            this.progressBar1.TabIndex = 9;
            this.progressBar1.Value = 20;
            // 
            // groupBox4
            // 
            this.groupBox4.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.groupBox4.Controls.Add(this.custom_btn);
            this.groupBox4.Controls.Add(this.customShellListView);
            this.groupBox4.Controls.Add(this.shellView);
            this.groupBox4.Controls.Add(this.btn_run);
            this.groupBox4.Location = new System.Drawing.Point(107, 101);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(701, 197);
            this.groupBox4.TabIndex = 10;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "扩展功能";
            // 
            // custom_btn
            // 
            this.custom_btn.AutoSize = true;
            this.custom_btn.LinkColor = System.Drawing.Color.Blue;
            this.custom_btn.Location = new System.Drawing.Point(67, 1);
            this.custom_btn.Name = "custom_btn";
            this.custom_btn.Size = new System.Drawing.Size(41, 12);
            this.custom_btn.TabIndex = 14;
            this.custom_btn.TabStop = true;
            this.custom_btn.Text = "自定义";
            this.skinToolTip1.SetToolTip(this.custom_btn, "自定义Shell、Task");
            this.custom_btn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
            // 
            // customShellListView
            // 
            this.customShellListView.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.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader3});
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(8, 20);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.SkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(284, 168);
            this.customShellListView.TabIndex = 10;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.SelectedIndexChanged += new System.EventHandler(this.customShellListView_SelectedIndexChanged);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "名称";
            this.columnHeader1.Width = 150;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "类型";
            this.columnHeader3.Width = 100;
            // 
            // shellView
            // 
            this.shellView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.shellView.BackColor = System.Drawing.Color.Transparent;
            this.shellView.DownBack = null;
            this.shellView.Icon = null;
            this.shellView.IconIsButton = false;
            this.shellView.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.IsPreplacedwordChat = '\0';
            this.shellView.IsSystemPreplacedwordChar = false;
            this.shellView.Lines = new string[0];
            this.shellView.Location = new System.Drawing.Point(295, 21);
            this.shellView.Margin = new System.Windows.Forms.Padding(0);
            this.shellView.MaxLength = 32767;
            this.shellView.MinimumSize = new System.Drawing.Size(28, 28);
            this.shellView.MouseBack = null;
            this.shellView.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.Multiline = true;
            this.shellView.Name = "shellView";
            this.shellView.NormlBack = null;
            this.shellView.Padding = new System.Windows.Forms.Padding(5);
            this.shellView.ReadOnly = false;
            this.shellView.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.Size = new System.Drawing.Size(400, 142);
            // 
            // 
            // 
            this.shellView.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shellView.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shellView.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shellView.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shellView.SkinTxt.Multiline = true;
            this.shellView.SkinTxt.Name = "BaseText";
            this.shellView.SkinTxt.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.SkinTxt.Size = new System.Drawing.Size(390, 132);
            this.shellView.SkinTxt.TabIndex = 0;
            this.shellView.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.SkinTxt.WaterText = "";
            this.shellView.TabIndex = 0;
            this.shellView.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shellView.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.WaterText = "";
            this.shellView.WordWrap = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox3.Controls.Add(this.button1);
            this.groupBox3.Controls.Add(this.btn_restart);
            this.groupBox3.Controls.Add(this.btn_start);
            this.groupBox3.Controls.Add(this.btn_stop);
            this.groupBox3.Location = new System.Drawing.Point(107, 19);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(701, 76);
            this.groupBox3.TabIndex = 9;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "基础功能";
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.Azure;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.button1.ForeColor = System.Drawing.Color.DarkOrange;
            this.button1.Location = new System.Drawing.Point(84, 27);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(100, 26);
            this.button1.TabIndex = 8;
            this.button1.Text = "选择启动方式";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // label_status
            // 
            this.label_status.Location = new System.Drawing.Point(6, 83);
            this.label_status.Name = "label_status";
            this.label_status.Size = new System.Drawing.Size(98, 12);
            this.label_status.TabIndex = 1;
            this.label_status.Text = "检测中...";
            this.label_status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // NginxMonitorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(831, 513);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "NginxMonitorForm";
            this.Text = "NginxMonitorForm";
            this.Load += new System.EventHandler(this.NginxMonitorForm_Load);
            this.contextMenu3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).EndInit();
            this.contextMenuStrip1.ResumeLayout(false);
            this.contextMenuStrip2.ResumeLayout(false);
            this.startBtnMenu.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : MeshBoolean.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

protected override void SolveInstance(IGH_DataAccess DA) {

            Random random = new Random();
            //Input
            GH_Structure<GH_Mesh> B0 = new GH_Structure<GH_Mesh>();
            GH_Structure<GH_Mesh> B1 = new GH_Structure<GH_Mesh>();
            DA.GetDataTree(0, out B0);
            DA.GetDataTree(1, out B1);

            int t = 0;
            DA.GetData(2, ref t);



            double scale = 1.001;
            DA.GetData(3, ref scale);


            bool showEdges = false;
            DA.GetData(5, ref showEdges);


            var color = System.Drawing.Color.White;
            bool f = DA.GetData(4, ref color);
            if (color.R == 255 && color.G == 255 && color.B == 255) {
                f = false;
            }

            //Match trees

            var result = new DataTree<Mesh>();



            for (int i = 0; i < B0.PathCount; i++) {

                var path = B0.Paths[i];


                result.Add(B0.get_DataItem(path, 0).Value, path);
                if (!B1.PathExists(path)) continue;

                HashSet<Point3d> cylindersCenters = new HashSet<Point3d>();

  

                var nonNulls = new List<GH_Mesh>();
                foreach (var v in B1[path]) {
                    if (v != null) {
                        nonNulls.Add(v);
                    }
                }


                for (int j = 0; j < nonNulls.Count; j++) {

                    var brep = nonNulls[j].Value.DuplicateMesh();
                    brep.Transform(Rhino.Geometry.Transform.Scale(brep.GetBoundingBox(true).Center, scale));
                    Mesh mesh = brep;
                    result.Add(mesh, path);
                }

            }



            //Perform boolean
            var resultBoolean = new DataTree<Mesh>();

            for (int b = 0; b < result.BranchCount; b++) {
                GH_Path path = result.Paths[b];
                List<Mesh> m = result.Branch(path);

                //Rhino.RhinoApp.WriteLine(m.Count.ToString());
                if (m.Count == 1) {
                    Mesh mm = m[0].DuplicateMesh();
                    mm.Unweld(0, true);

                    //DA.SetDataList(0, new Mesh[] { mm });

                    //if (!f) 
                    mm.VertexColors.CreateMonotoneMesh(System.Drawing.Color.FromArgb(200, 200, 200));
                    m_.Append(mm);
                    if(showEdges)
                        l_.AddRange(MeshEdgesByAngle(mm, 0.37));
                    if (bbox_.IsValid) bbox_.Union(m_.GetBoundingBox(false)); else bbox_ = m_.GetBoundingBox(false);


                    resultBoolean.Add(mm, path);

                } else {
                    try {
                        //Mesh r = f ? PInvokeCSharp.TestLIBIGL.CreateLIBIGLMeshBoolean(m.ToArray(), t) : PInvokeCSharp.TestCGAL.CreateMeshBooleanArray(m.ToArray(), t);
                        Mesh r = f ? PInvokeCSharp.TestCGAL.CreateMeshBooleanArrayTrackColors(m.ToArray(), color,Math.Abs( t)) : PInvokeCSharp.TestCGAL.CreateMeshBooleanArray(m.ToArray(), Math.Abs(t));
                        // Mesh r = PInvokeCSharp.TestCGAL.CreateMeshBooleanArrayTrackColors(m.ToArray(), color, t) ;
                        //resultBoolean.Add(r, path);
                        if (r.IsValid) {

                            Mesh[] s = null;
                            if (t == 0 || t == 1) {
                              s = r.SplitDisjointPieces();

                                double[] a = new double[s.Length];
                                for (int i = 0; i < s.Length; i++)
                                    a[i] = s[i].GetBoundingBox(false).Diagonal.Length;

                                Array.Sort(a, s);
                            } else {
                                s = new Mesh[] { r };
                            }

                            if (!f) s[s.Length - 1].VertexColors.CreateMonotoneMesh(System.Drawing.Color.FromArgb(200, 200, 200));
                            m_.Append(s[s.Length - 1]);

                            if (showEdges)
                                l_.AddRange(MeshEdgesByAngle(s[s.Length - 1], 0.37));
                            if (bbox_.IsValid) bbox_.Union(m_.GetBoundingBox(false)); else bbox_ = m_.GetBoundingBox(false);
                            resultBoolean.Add(s[s.Length - 1], path);

                        }
                    } catch (Exception e) {
                        Rhino.RhinoApp.WriteLine(e.ToString());
                    }
                }
            }

            DA.SetDataTree(0, resultBoolean);

        }

19 View Source File : Demo.Designer.cs
License : MIT License
Project Creator : 0xLaileb

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.fSwitchBox_global_rgb = new FC_UI.Controls.FSwitchBox();
            this.fSwitchBox_rgb_mode = new FC_UI.Controls.FSwitchBox();
            this.fTextBox2 = new FC_UI.Controls.FTextBox();
            this.fSwitchBox_random_style = new FC_UI.Controls.FSwitchBox();
            this.zColorPicker = new FC_UI.Controls.ZColorPicker();
            this.fTextBox1 = new FC_UI.Controls.FTextBox();
            this.fScrollBar1 = new FC_UI.Controls.FScrollBar();
            this.fRichTextBox1 = new FC_UI.Controls.FRichTextBox();
            this.fRadioButton1 = new FC_UI.Controls.FRadioButton();
            this.fProgressBar1 = new FC_UI.Controls.FProgressBar();
            this.fGroupBox1 = new FC_UI.Controls.FGroupBox();
            this.fCheckBox1 = new FC_UI.Controls.FCheckBox();
            this.fButton1 = new FC_UI.Controls.FButton();
            this.fGlobal_RGB1 = new FC_UI.Comonents.FGlobal_RGB(this.components);
            this.exit = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(this.exit)).BeginInit();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Arial", 11F);
            this.label1.ForeColor = System.Drawing.Color.WhiteSmoke;
            this.label1.Location = new System.Drawing.Point(487, 332);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(96, 17);
            this.label1.TabIndex = 11;
            this.label1.Text = "RandomStyle";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Arial", 11F);
            this.label2.ForeColor = System.Drawing.Color.WhiteSmoke;
            this.label2.Location = new System.Drawing.Point(487, 363);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(75, 17);
            this.label2.TabIndex = 13;
            this.label2.Text = "RGBMode";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Arial", 11F);
            this.label3.ForeColor = System.Drawing.Color.WhiteSmoke;
            this.label3.Location = new System.Drawing.Point(487, 393);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(89, 17);
            this.label3.TabIndex = 15;
            this.label3.Text = "Global_RGB";
            // 
            // fSwitchBox_global_rgb
            // 
            this.fSwitchBox_global_rgb.Alpha = 50;
            this.fSwitchBox_global_rgb.BackColor = System.Drawing.Color.Transparent;
            this.fSwitchBox_global_rgb.Background = true;
            this.fSwitchBox_global_rgb.Background_WidthPen = 2F;
            this.fSwitchBox_global_rgb.BackgroundPen = true;
            this.fSwitchBox_global_rgb.Checked = false;
            this.fSwitchBox_global_rgb.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_global_rgb.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_global_rgb.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_global_rgb.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_global_rgb.ColorBackground_Value_1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_global_rgb.ColorBackground_Value_2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(208)))), ((int)(((byte)(232)))));
            this.fSwitchBox_global_rgb.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_global_rgb.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_global_rgb.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_global_rgb.ColorValue = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_global_rgb.Font = new System.Drawing.Font("Arial", 11F);
            this.fSwitchBox_global_rgb.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fSwitchBox_global_rgb.FSwitchBoxStyle = FC_UI.Controls.FSwitchBox.Style.Custom;
            this.fSwitchBox_global_rgb.Lighting = false;
            this.fSwitchBox_global_rgb.LinearGradient_Background = false;
            this.fSwitchBox_global_rgb.LinearGradient_Value = false;
            this.fSwitchBox_global_rgb.LinearGradientPen = false;
            this.fSwitchBox_global_rgb.Location = new System.Drawing.Point(446, 391);
            this.fSwitchBox_global_rgb.Name = "fSwitchBox_global_rgb";
            this.fSwitchBox_global_rgb.PenWidth = 10;
            this.fSwitchBox_global_rgb.RGB = false;
            this.fSwitchBox_global_rgb.Rounding = true;
            this.fSwitchBox_global_rgb.RoundingInt = 90;
            this.fSwitchBox_global_rgb.Size = new System.Drawing.Size(35, 20);
            this.fSwitchBox_global_rgb.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fSwitchBox_global_rgb.TabIndex = 14;
            this.fSwitchBox_global_rgb.Tag = "FC_UI";
            this.fSwitchBox_global_rgb.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fSwitchBox_global_rgb.Timer_RGB = 300;
            this.fSwitchBox_global_rgb.CheckedChanged += new FC_UI.Controls.FSwitchBox.EventHandler(this.fSwitchBox_global_rgb_CheckedChanged);
            // 
            // fSwitchBox_rgb_mode
            // 
            this.fSwitchBox_rgb_mode.Alpha = 50;
            this.fSwitchBox_rgb_mode.BackColor = System.Drawing.Color.Transparent;
            this.fSwitchBox_rgb_mode.Background = true;
            this.fSwitchBox_rgb_mode.Background_WidthPen = 2F;
            this.fSwitchBox_rgb_mode.BackgroundPen = true;
            this.fSwitchBox_rgb_mode.Checked = false;
            this.fSwitchBox_rgb_mode.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_rgb_mode.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_rgb_mode.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_rgb_mode.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_rgb_mode.ColorBackground_Value_1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_rgb_mode.ColorBackground_Value_2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(208)))), ((int)(((byte)(232)))));
            this.fSwitchBox_rgb_mode.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_rgb_mode.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_rgb_mode.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_rgb_mode.ColorValue = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_rgb_mode.Font = new System.Drawing.Font("Arial", 11F);
            this.fSwitchBox_rgb_mode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fSwitchBox_rgb_mode.FSwitchBoxStyle = FC_UI.Controls.FSwitchBox.Style.Custom;
            this.fSwitchBox_rgb_mode.Lighting = false;
            this.fSwitchBox_rgb_mode.LinearGradient_Background = false;
            this.fSwitchBox_rgb_mode.LinearGradient_Value = false;
            this.fSwitchBox_rgb_mode.LinearGradientPen = false;
            this.fSwitchBox_rgb_mode.Location = new System.Drawing.Point(446, 361);
            this.fSwitchBox_rgb_mode.Name = "fSwitchBox_rgb_mode";
            this.fSwitchBox_rgb_mode.PenWidth = 10;
            this.fSwitchBox_rgb_mode.RGB = false;
            this.fSwitchBox_rgb_mode.Rounding = true;
            this.fSwitchBox_rgb_mode.RoundingInt = 90;
            this.fSwitchBox_rgb_mode.Size = new System.Drawing.Size(35, 20);
            this.fSwitchBox_rgb_mode.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fSwitchBox_rgb_mode.TabIndex = 12;
            this.fSwitchBox_rgb_mode.Tag = "FC_UI";
            this.fSwitchBox_rgb_mode.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fSwitchBox_rgb_mode.Timer_RGB = 300;
            this.fSwitchBox_rgb_mode.CheckedChanged += new FC_UI.Controls.FSwitchBox.EventHandler(this.fSwitchBox_rgb_mode_CheckedChanged);
            // 
            // fTextBox2
            // 
            this.fTextBox2.Alpha = 20;
            this.fTextBox2.BackColor = System.Drawing.Color.Transparent;
            this.fTextBox2.Background_WidthPen = 3F;
            this.fTextBox2.BackgroundPen = true;
            this.fTextBox2.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fTextBox2.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox2.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox2.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox2.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fTextBox2.Font = new System.Drawing.Font("Arial", 10F);
            this.fTextBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fTextBox2.FTextBoxStyle = FC_UI.Controls.FTextBox.Style.Custom;
            this.fTextBox2.Lighting = false;
            this.fTextBox2.LinearGradientPen = false;
            this.fTextBox2.Location = new System.Drawing.Point(96, 438);
            this.fTextBox2.Name = "fTextBox2";
            this.fTextBox2.Preplacedword = true;
            this.fTextBox2.PenWidth = 15;
            this.fTextBox2.RGB = false;
            this.fTextBox2.Rounding = true;
            this.fTextBox2.RoundingInt = 60;
            this.fTextBox2.Size = new System.Drawing.Size(200, 40);
            this.fTextBox2.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fTextBox2.TabIndex = 10;
            this.fTextBox2.Tag = "FC_UI";
            this.fTextBox2.TextButton = "Text";
            this.fTextBox2.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fTextBox2.Timer_RGB = 300;
            // 
            // fSwitchBox_random_style
            // 
            this.fSwitchBox_random_style.Alpha = 50;
            this.fSwitchBox_random_style.BackColor = System.Drawing.Color.Transparent;
            this.fSwitchBox_random_style.Background = true;
            this.fSwitchBox_random_style.Background_WidthPen = 2F;
            this.fSwitchBox_random_style.BackgroundPen = true;
            this.fSwitchBox_random_style.Checked = false;
            this.fSwitchBox_random_style.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_random_style.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_random_style.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_random_style.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_random_style.ColorBackground_Value_1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_random_style.ColorBackground_Value_2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(208)))), ((int)(((byte)(232)))));
            this.fSwitchBox_random_style.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_random_style.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fSwitchBox_random_style.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fSwitchBox_random_style.ColorValue = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fSwitchBox_random_style.Font = new System.Drawing.Font("Arial", 11F);
            this.fSwitchBox_random_style.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fSwitchBox_random_style.FSwitchBoxStyle = FC_UI.Controls.FSwitchBox.Style.Custom;
            this.fSwitchBox_random_style.Lighting = false;
            this.fSwitchBox_random_style.LinearGradient_Background = false;
            this.fSwitchBox_random_style.LinearGradient_Value = false;
            this.fSwitchBox_random_style.LinearGradientPen = false;
            this.fSwitchBox_random_style.Location = new System.Drawing.Point(446, 330);
            this.fSwitchBox_random_style.Name = "fSwitchBox_random_style";
            this.fSwitchBox_random_style.PenWidth = 10;
            this.fSwitchBox_random_style.RGB = false;
            this.fSwitchBox_random_style.Rounding = true;
            this.fSwitchBox_random_style.RoundingInt = 90;
            this.fSwitchBox_random_style.Size = new System.Drawing.Size(35, 20);
            this.fSwitchBox_random_style.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fSwitchBox_random_style.TabIndex = 9;
            this.fSwitchBox_random_style.Tag = "FC_UI";
            this.fSwitchBox_random_style.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fSwitchBox_random_style.Timer_RGB = 300;
            this.fSwitchBox_random_style.CheckedChanged += new FC_UI.Controls.FSwitchBox.EventHandler(this.fSwitchBox_random_style_CheckedChanged);
            // 
            // zColorPicker
            // 
            this.zColorPicker.BackColor = System.Drawing.Color.Transparent;
            this.zColorPicker.ForeColor = System.Drawing.Color.Black;
            this.zColorPicker.Location = new System.Drawing.Point(421, 95);
            this.zColorPicker.Name = "zColorPicker";
            this.zColorPicker.SelectedColor = System.Drawing.Color.Empty;
            this.zColorPicker.Size = new System.Drawing.Size(185, 210);
            this.zColorPicker.TabIndex = 8;
            this.zColorPicker.Tag = "FC_UI";
            this.zColorPicker.ColorChanged += new FC_UI.Controls.ZColorPicker.EventHandler(this.zColorPicker_ColorChanged);
            // 
            // fTextBox1
            // 
            this.fTextBox1.Alpha = 20;
            this.fTextBox1.BackColor = System.Drawing.Color.Transparent;
            this.fTextBox1.Background_WidthPen = 3F;
            this.fTextBox1.BackgroundPen = true;
            this.fTextBox1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fTextBox1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fTextBox1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fTextBox1.Font = new System.Drawing.Font("Arial", 10F);
            this.fTextBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fTextBox1.FTextBoxStyle = FC_UI.Controls.FTextBox.Style.Custom;
            this.fTextBox1.Lighting = false;
            this.fTextBox1.LinearGradientPen = false;
            this.fTextBox1.Location = new System.Drawing.Point(96, 381);
            this.fTextBox1.Name = "fTextBox1";
            this.fTextBox1.PenWidth = 15;
            this.fTextBox1.RGB = false;
            this.fTextBox1.Rounding = true;
            this.fTextBox1.RoundingInt = 60;
            this.fTextBox1.Size = new System.Drawing.Size(200, 40);
            this.fTextBox1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fTextBox1.TabIndex = 7;
            this.fTextBox1.Tag = "FC_UI";
            this.fTextBox1.TextButton = "Text";
            this.fTextBox1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fTextBox1.Timer_RGB = 300;
            // 
            // fScrollBar1
            // 
            this.fScrollBar1.Alpha = 50;
            this.fScrollBar1.BackColor = System.Drawing.Color.Transparent;
            this.fScrollBar1.Background = true;
            this.fScrollBar1.Background_WidthPen = 3F;
            this.fScrollBar1.BackgroundPen = true;
            this.fScrollBar1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fScrollBar1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fScrollBar1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fScrollBar1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fScrollBar1.ColorBackground_Value_1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fScrollBar1.ColorBackground_Value_2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(208)))), ((int)(((byte)(232)))));
            this.fScrollBar1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fScrollBar1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fScrollBar1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fScrollBar1.ColorScrollBar = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fScrollBar1.ColorScrollBar_Transparency = 255;
            this.fScrollBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fScrollBar1.FScrollBarStyle = FC_UI.Controls.FScrollBar.Style.Custom;
            this.fScrollBar1.Lighting = false;
            this.fScrollBar1.LinearGradient_Background = false;
            this.fScrollBar1.LinearGradient_Value = false;
            this.fScrollBar1.LinearGradientPen = false;
            this.fScrollBar1.Location = new System.Drawing.Point(51, 194);
            this.fScrollBar1.Maximum = 100;
            this.fScrollBar1.Minimum = 0;
            this.fScrollBar1.Name = "fScrollBar1";
            this.fScrollBar1.OrientationValue = System.Windows.Forms.Orientation.Horizontal;
            this.fScrollBar1.PenWidth = 10;
            this.fScrollBar1.RGB = false;
            this.fScrollBar1.Rounding = true;
            this.fScrollBar1.RoundingInt = 70;
            this.fScrollBar1.Size = new System.Drawing.Size(300, 26);
            this.fScrollBar1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fScrollBar1.TabIndex = 6;
            this.fScrollBar1.Tag = "FC_UI";
            this.fScrollBar1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fScrollBar1.ThumbSize = 60;
            this.fScrollBar1.Timer_RGB = 300;
            this.fScrollBar1.Value = 0;
            this.fScrollBar1.ValueChanged += new System.EventHandler(this.fScrollBar1_ValueChanged);
            // 
            // fRichTextBox1
            // 
            this.fRichTextBox1.Alpha = 20;
            this.fRichTextBox1.BackColor = System.Drawing.Color.Transparent;
            this.fRichTextBox1.Background_WidthPen = 3F;
            this.fRichTextBox1.BackgroundPen = true;
            this.fRichTextBox1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fRichTextBox1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRichTextBox1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRichTextBox1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRichTextBox1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fRichTextBox1.Font = new System.Drawing.Font("Arial", 11F);
            this.fRichTextBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fRichTextBox1.FRichTextBoxStyle = FC_UI.Controls.FRichTextBox.Style.Custom;
            this.fRichTextBox1.Lighting = false;
            this.fRichTextBox1.LinearGradientPen = false;
            this.fRichTextBox1.Location = new System.Drawing.Point(204, 236);
            this.fRichTextBox1.Name = "fRichTextBox1";
            this.fRichTextBox1.PenWidth = 15;
            this.fRichTextBox1.RGB = false;
            this.fRichTextBox1.Rounding = true;
            this.fRichTextBox1.RoundingInt = 60;
            this.fRichTextBox1.Size = new System.Drawing.Size(150, 130);
            this.fRichTextBox1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fRichTextBox1.TabIndex = 5;
            this.fRichTextBox1.Tag = "FC_UI";
            this.fRichTextBox1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fRichTextBox1.Timer_RGB = 300;
            // 
            // fRadioButton1
            // 
            this.fRadioButton1.BackColor = System.Drawing.Color.Transparent;
            this.fRadioButton1.Background = true;
            this.fRadioButton1.Background_WidthPen = 2F;
            this.fRadioButton1.BackgroundPen = true;
            this.fRadioButton1.Checked = true;
            this.fRadioButton1.Color_1_Background_value = System.Drawing.Color.Empty;
            this.fRadioButton1.Color_2_Background_value = System.Drawing.Color.Empty;
            this.fRadioButton1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fRadioButton1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fRadioButton1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fRadioButton1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRadioButton1.ColorChecked = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRadioButton1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fRadioButton1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fRadioButton1.Effect_1_ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fRadioButton1.Effect_1_Transparency = 25;
            this.fRadioButton1.Effect_2 = true;
            this.fRadioButton1.Effect_2_ColorBackground = System.Drawing.Color.White;
            this.fRadioButton1.Effect_2_Transparency = 15;
            this.fRadioButton1.Font = new System.Drawing.Font("Arial", 11F);
            this.fRadioButton1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fRadioButton1.FRadioButtonStyle = FC_UI.Controls.FRadioButton.Style.Custom;
            this.fRadioButton1.LinearGradient_Background = false;
            this.fRadioButton1.LinearGradient_Value = false;
            this.fRadioButton1.LinearGradientPen = false;
            this.fRadioButton1.Location = new System.Drawing.Point(201, 92);
            this.fRadioButton1.Name = "fRadioButton1";
            this.fRadioButton1.RGB = false;
            this.fRadioButton1.Rounding = true;
            this.fRadioButton1.RoundingInt = 100;
            this.fRadioButton1.Size = new System.Drawing.Size(140, 45);
            this.fRadioButton1.SizeChecked = 8;
            this.fRadioButton1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fRadioButton1.TabIndex = 4;
            this.fRadioButton1.Tag = "FC_UI";
            this.fRadioButton1.TextButton = "FRadioButton";
            this.fRadioButton1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fRadioButton1.Timer_Effect_1 = 1;
            this.fRadioButton1.Timer_RGB = 300;
            // 
            // fProgressBar1
            // 
            this.fProgressBar1.Alpha = 50;
            this.fProgressBar1.BackColor = System.Drawing.Color.Transparent;
            this.fProgressBar1.Background = true;
            this.fProgressBar1.Background_WidthPen = 3F;
            this.fProgressBar1.BackgroundPen = true;
            this.fProgressBar1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fProgressBar1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fProgressBar1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fProgressBar1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fProgressBar1.ColorBackground_Value_1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fProgressBar1.ColorBackground_Value_2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(208)))), ((int)(((byte)(232)))));
            this.fProgressBar1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fProgressBar1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fProgressBar1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fProgressBar1.ColorProgressBar = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fProgressBar1.ColorValue_Transparency = 200;
            this.fProgressBar1.Font = new System.Drawing.Font("Arial", 11F);
            this.fProgressBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fProgressBar1.FProgressBarStyle = FC_UI.Controls.FProgressBar.Style.Custom;
            this.fProgressBar1.Lighting = false;
            this.fProgressBar1.LinearGradient_Background = false;
            this.fProgressBar1.LinearGradient_Value = false;
            this.fProgressBar1.LinearGradientPen = false;
            this.fProgressBar1.Location = new System.Drawing.Point(51, 147);
            this.fProgressBar1.Maximum = 100;
            this.fProgressBar1.Minimum = 0;
            this.fProgressBar1.Name = "fProgressBar1";
            this.fProgressBar1.PenWidth = 10;
            this.fProgressBar1.ProgressText = true;
            this.fProgressBar1.RGB = false;
            this.fProgressBar1.Rounding = true;
            this.fProgressBar1.RoundingInt = 70;
            this.fProgressBar1.Size = new System.Drawing.Size(300, 34);
            this.fProgressBar1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fProgressBar1.TabIndex = 3;
            this.fProgressBar1.Tag = "FC_UI";
            this.fProgressBar1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fProgressBar1.Timer_RGB = 300;
            this.fProgressBar1.Value = 48;
            // 
            // fGroupBox1
            // 
            this.fGroupBox1.Alpha = 20;
            this.fGroupBox1.BackColor = System.Drawing.Color.Transparent;
            this.fGroupBox1.Background = true;
            this.fGroupBox1.Background_WidthPen = 3F;
            this.fGroupBox1.BackgroundPen = true;
            this.fGroupBox1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fGroupBox1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fGroupBox1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fGroupBox1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fGroupBox1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fGroupBox1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fGroupBox1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fGroupBox1.FGroupBoxStyle = FC_UI.Controls.FGroupBox.Style.Custom;
            this.fGroupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fGroupBox1.Lighting = false;
            this.fGroupBox1.LinearGradient_Background = false;
            this.fGroupBox1.LinearGradientPen = false;
            this.fGroupBox1.Location = new System.Drawing.Point(48, 236);
            this.fGroupBox1.Name = "fGroupBox1";
            this.fGroupBox1.PenWidth = 15;
            this.fGroupBox1.RGB = false;
            this.fGroupBox1.Rounding = true;
            this.fGroupBox1.RoundingInt = 60;
            this.fGroupBox1.Size = new System.Drawing.Size(150, 130);
            this.fGroupBox1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fGroupBox1.TabIndex = 2;
            this.fGroupBox1.Tag = "FC_UI";
            this.fGroupBox1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fGroupBox1.Timer_RGB = 300;
            // 
            // fCheckBox1
            // 
            this.fCheckBox1.BackColor = System.Drawing.Color.Transparent;
            this.fCheckBox1.Background = true;
            this.fCheckBox1.Background_WidthPen = 2F;
            this.fCheckBox1.BackgroundPen = true;
            this.fCheckBox1.Checked = true;
            this.fCheckBox1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fCheckBox1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fCheckBox1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fCheckBox1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fCheckBox1.ColorChecked = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fCheckBox1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fCheckBox1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fCheckBox1.Effect_1_ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fCheckBox1.Effect_1_Transparency = 25;
            this.fCheckBox1.Effect_2 = true;
            this.fCheckBox1.Effect_2_ColorBackground = System.Drawing.Color.White;
            this.fCheckBox1.Effect_2_Transparency = 15;
            this.fCheckBox1.FCheckBoxStyle = FC_UI.Controls.FCheckBox.Style.Custom;
            this.fCheckBox1.Font = new System.Drawing.Font("Arial", 11F);
            this.fCheckBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fCheckBox1.LinearGradient_Background = false;
            this.fCheckBox1.LinearGradientPen = false;
            this.fCheckBox1.Location = new System.Drawing.Point(51, 92);
            this.fCheckBox1.Name = "fCheckBox1";
            this.fCheckBox1.RGB = false;
            this.fCheckBox1.Rounding = true;
            this.fCheckBox1.RoundingInt = 100;
            this.fCheckBox1.Size = new System.Drawing.Size(140, 45);
            this.fCheckBox1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fCheckBox1.TabIndex = 1;
            this.fCheckBox1.Tag = "FC_UI";
            this.fCheckBox1.TextButton = "FCheckBox";
            this.fCheckBox1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fCheckBox1.Timer_Effect_1 = 1;
            this.fCheckBox1.Timer_RGB = 300;
            // 
            // fButton1
            // 
            this.fButton1.Alpha = 20;
            this.fButton1.BackColor = System.Drawing.Color.Transparent;
            this.fButton1.Background = true;
            this.fButton1.Background_WidthPen = 4F;
            this.fButton1.BackgroundPen = true;
            this.fButton1.ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fButton1.ColorBackground_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fButton1.ColorBackground_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fButton1.ColorBackground_Pen = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fButton1.ColorLighting = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fButton1.ColorPen_1 = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(52)))), ((int)(((byte)(68)))));
            this.fButton1.ColorPen_2 = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(63)))), ((int)(((byte)(86)))));
            this.fButton1.Effect_1 = true;
            this.fButton1.Effect_1_ColorBackground = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(200)))), ((int)(((byte)(238)))));
            this.fButton1.Effect_1_Transparency = 25;
            this.fButton1.Effect_2 = true;
            this.fButton1.Effect_2_ColorBackground = System.Drawing.Color.White;
            this.fButton1.Effect_2_Transparency = 20;
            this.fButton1.FButtonStyle = FC_UI.Controls.FButton.Style.Custom;
            this.fButton1.Font = new System.Drawing.Font("Arial", 11F);
            this.fButton1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.fButton1.Lighting = false;
            this.fButton1.LinearGradient_Background = false;
            this.fButton1.LinearGradientPen = false;
            this.fButton1.Location = new System.Drawing.Point(126, 25);
            this.fButton1.Name = "fButton1";
            this.fButton1.PenWidth = 15;
            this.fButton1.Rounding = true;
            this.fButton1.RoundingInt = 70;
            this.fButton1.Size = new System.Drawing.Size(130, 50);
            this.fButton1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.fButton1.TabIndex = 0;
            this.fButton1.Tag = "FC_UI";
            this.fButton1.TextButton = "FButton";
            this.fButton1.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.fButton1.Timer_Effect_1 = 5;
            this.fButton1.Timer_RGB = 300;
            // 
            // fGlobal_RGB1
            // 
            this.fGlobal_RGB1.Status = false;
            this.fGlobal_RGB1.TimerInterval = 300;
            // 
            // exit
            // 
            this.exit.BackgroundImage = global::FC_UI_Demo.Properties.Resources.x;
            this.exit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
            this.exit.Location = new System.Drawing.Point(612, 12);
            this.exit.Name = "exit";
            this.exit.Size = new System.Drawing.Size(28, 25);
            this.exit.TabIndex = 16;
            this.exit.TabStop = false;
            this.exit.Click += new System.EventHandler(this.exit_Click);
            // 
            // Demo
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(29)))), ((int)(((byte)(40)))), ((int)(((byte)(52)))));
            this.ClientSize = new System.Drawing.Size(652, 515);
            this.Controls.Add(this.exit);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.fSwitchBox_global_rgb);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.fSwitchBox_rgb_mode);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.fTextBox2);
            this.Controls.Add(this.fSwitchBox_random_style);
            this.Controls.Add(this.zColorPicker);
            this.Controls.Add(this.fTextBox1);
            this.Controls.Add(this.fScrollBar1);
            this.Controls.Add(this.fRichTextBox1);
            this.Controls.Add(this.fRadioButton1);
            this.Controls.Add(this.fProgressBar1);
            this.Controls.Add(this.fGroupBox1);
            this.Controls.Add(this.fCheckBox1);
            this.Controls.Add(this.fButton1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "Demo";
            this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Demo_MouseDown);
            ((System.ComponentModel.ISupportInitialize)(this.exit)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : SelectFm.Designer.cs
License : GNU General Public License v3.0
Project Creator : a4004

private void InitializeComponent()
        {
            System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {
            "NULL",
            "NULL",
            "NULL"}, -1);
            this.header = new System.Windows.Forms.Panel();
            this.question = new System.Windows.Forms.Label();
            this.qCaption = new System.Windows.Forms.Label();
            this.footer = new System.Windows.Forms.Panel();
            this.versionSelect = new System.Windows.Forms.ComboBox();
            this.lblver = new System.Windows.Forms.Label();
            this.back = new System.Windows.Forms.Button();
            this.spacer = new System.Windows.Forms.Panel();
            this.submit = new System.Windows.Forms.Button();
            this.body = new System.Windows.Forms.Panel();
            this.listView = new System.Windows.Forms.ListView();
            this.colvendor = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.colfile = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.colext = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.header.SuspendLayout();
            this.footer.SuspendLayout();
            this.body.SuspendLayout();
            this.SuspendLayout();
            // 
            // header
            // 
            this.header.Controls.Add(this.question);
            this.header.Dock = System.Windows.Forms.DockStyle.Top;
            this.header.Location = new System.Drawing.Point(15, 16);
            this.header.Name = "header";
            this.header.Size = new System.Drawing.Size(570, 36);
            this.header.TabIndex = 3;
            // 
            // question
            // 
            this.question.AutoSize = true;
            this.question.Dock = System.Windows.Forms.DockStyle.Left;
            this.question.Font = new System.Drawing.Font("Segoe UI Semilight", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.question.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.question.Location = new System.Drawing.Point(0, 0);
            this.question.Name = "question";
            this.question.Size = new System.Drawing.Size(215, 32);
            this.question.TabIndex = 0;
            this.question.Text = "Software download";
            this.question.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // qCaption
            // 
            this.qCaption.Dock = System.Windows.Forms.DockStyle.Top;
            this.qCaption.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.qCaption.Location = new System.Drawing.Point(15, 52);
            this.qCaption.Name = "qCaption";
            this.qCaption.Padding = new System.Windows.Forms.Padding(3, 0, 8, 0);
            this.qCaption.Size = new System.Drawing.Size(570, 21);
            this.qCaption.TabIndex = 4;
            this.qCaption.Text = "Choose the appropriate software version for your device.";
            // 
            // footer
            // 
            this.footer.BackColor = System.Drawing.SystemColors.Window;
            this.footer.Controls.Add(this.versionSelect);
            this.footer.Controls.Add(this.lblver);
            this.footer.Controls.Add(this.back);
            this.footer.Controls.Add(this.spacer);
            this.footer.Controls.Add(this.submit);
            this.footer.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.footer.Location = new System.Drawing.Point(15, 330);
            this.footer.Name = "footer";
            this.footer.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10);
            this.footer.Size = new System.Drawing.Size(570, 45);
            this.footer.TabIndex = 6;
            // 
            // versionSelect
            // 
            this.versionSelect.Dock = System.Windows.Forms.DockStyle.Left;
            this.versionSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.versionSelect.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.versionSelect.FormattingEnabled = true;
            this.versionSelect.Location = new System.Drawing.Point(55, 10);
            this.versionSelect.Name = "versionSelect";
            this.versionSelect.Size = new System.Drawing.Size(121, 21);
            this.versionSelect.TabIndex = 4;
            // 
            // lblver
            // 
            this.lblver.Dock = System.Windows.Forms.DockStyle.Left;
            this.lblver.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblver.Location = new System.Drawing.Point(5, 10);
            this.lblver.Name = "lblver";
            this.lblver.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
            this.lblver.Size = new System.Drawing.Size(50, 25);
            this.lblver.TabIndex = 5;
            this.lblver.Text = "Version:";
            // 
            // back
            // 
            this.back.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.back.Dock = System.Windows.Forms.DockStyle.Right;
            this.back.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
            this.back.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.back.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.back.Location = new System.Drawing.Point(408, 10);
            this.back.Name = "back";
            this.back.Size = new System.Drawing.Size(75, 25);
            this.back.TabIndex = 2;
            this.back.Text = "Back";
            this.back.UseVisualStyleBackColor = false;
            this.back.Click += new System.EventHandler(this.back_Click);
            // 
            // spacer
            // 
            this.spacer.Dock = System.Windows.Forms.DockStyle.Right;
            this.spacer.Location = new System.Drawing.Point(483, 10);
            this.spacer.Name = "spacer";
            this.spacer.Size = new System.Drawing.Size(7, 25);
            this.spacer.TabIndex = 1;
            // 
            // submit
            // 
            this.submit.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.submit.Dock = System.Windows.Forms.DockStyle.Right;
            this.submit.FlatAppearance.BorderColor = System.Drawing.Color.Gray;
            this.submit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.submit.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.submit.Location = new System.Drawing.Point(490, 10);
            this.submit.Name = "submit";
            this.submit.Size = new System.Drawing.Size(75, 25);
            this.submit.TabIndex = 0;
            this.submit.Text = "Next";
            this.submit.UseVisualStyleBackColor = false;
            this.submit.Click += new System.EventHandler(this.submit_Click);
            // 
            // body
            // 
            this.body.BackColor = System.Drawing.SystemColors.Window;
            this.body.Controls.Add(this.listView);
            this.body.Dock = System.Windows.Forms.DockStyle.Fill;
            this.body.Location = new System.Drawing.Point(15, 73);
            this.body.Name = "body";
            this.body.Padding = new System.Windows.Forms.Padding(5, 10, 5, 10);
            this.body.Size = new System.Drawing.Size(570, 257);
            this.body.TabIndex = 7;
            // 
            // listView
            // 
            this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.colvendor,
            this.colfile,
            this.colext});
            this.listView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.listView.FullRowSelect = true;
            this.listView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
            this.listView.HideSelection = false;
            this.listView.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
            listViewItem1});
            this.listView.Location = new System.Drawing.Point(5, 10);
            this.listView.MultiSelect = false;
            this.listView.Name = "listView";
            this.listView.Size = new System.Drawing.Size(560, 237);
            this.listView.TabIndex = 6;
            this.listView.UseCompatibleStateImageBehavior = false;
            this.listView.View = System.Windows.Forms.View.Details;
            // 
            // colvendor
            // 
            this.colvendor.Text = "Vendor";
            this.colvendor.Width = 132;
            // 
            // colfile
            // 
            this.colfile.Text = "Version";
            this.colfile.Width = 349;
            // 
            // colext
            // 
            this.colext.Text = "Type";
            this.colext.Width = 75;
            // 
            // SelectFm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(600, 400);
            this.Controls.Add(this.body);
            this.Controls.Add(this.footer);
            this.Controls.Add(this.qCaption);
            this.Controls.Add(this.header);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "SelectFm";
            this.Padding = new System.Windows.Forms.Padding(15, 16, 15, 25);
            this.Load += new System.EventHandler(this.SelectFm_Load);
            this.header.ResumeLayout(false);
            this.header.PerformLayout();
            this.footer.ResumeLayout(false);
            this.body.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : CentralServerConfigForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CentralServerConfigForm));
            System.Windows.Forms.TreeListViewItemCollection.TreeListViewItemCollectionComparer treeListViewItemCollectionComparer1 = new System.Windows.Forms.TreeListViewItemCollection.TreeListViewItemCollectionComparer();
            this.listView1 = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.skinPanel2 = new CCWin.SkinControl.SkinPanel();
            this._treeView = new System.Windows.Forms.TreeListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.编辑节点ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.添加子节点ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.添加同级节点ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.添加顶级节点ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.升级ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.降级ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除节点ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.imageList2 = new System.Windows.Forms.ImageList(this.components);
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.skinPanel1 = new CCWin.SkinControl.SkinPanel();
            this.ymlEditor = new System.Windows.Forms.RichTextBox();
            this.contextMenuStrip3 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.复制ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.粘贴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.剪切ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除行ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.行注释ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.btn_reload = new System.Windows.Forms.Button();
            this.btn_new = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.校验ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.下载到本地ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.上传到服务器ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.更改文件名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.删除文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.label4 = new System.Windows.Forms.Label();
            this.pictureBox3 = new System.Windows.Forms.PictureBox();
            this.label5 = new System.Windows.Forms.Label();
            this.pictureBox4 = new System.Windows.Forms.PictureBox();
            this.btn_save = new System.Windows.Forms.Button();
            this.btn_meihua = new System.Windows.Forms.Button();
            this.btn_tree = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.file_label = new System.Windows.Forms.ToolStripStatusLabel();
            this.pos_label = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.btn_show = new System.Windows.Forms.Button();
            this.stb_remote_dir = new CCWin.SkinControl.SkinTextBox();
            this.panel2 = new System.Windows.Forms.Panel();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.btn_ok = new System.Windows.Forms.Button();
            this.打开本地临时目录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.skinPanel2.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.skinPanel1.SuspendLayout();
            this.contextMenuStrip3.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
            this.panel1.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // listView1
            // 
            this.listView1.AllowDrop = true;
            this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
            this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1});
            this.listView1.Font = new System.Drawing.Font("宋体", 10F);
            this.listView1.FullRowSelect = true;
            this.listView1.GridLines = true;
            this.listView1.Location = new System.Drawing.Point(15, 66);
            this.listView1.MultiSelect = false;
            this.listView1.Name = "listView1";
            this.listView1.OwnerDraw = true;
            this.listView1.RowBackColor2 = System.Drawing.Color.WhiteSmoke;
            this.listView1.SelectedColor = System.Drawing.Color.DarkOrange;
            this.listView1.Size = new System.Drawing.Size(230, 588);
            this.listView1.SmallImageList = this.imageList1;
            this.listView1.StateImageList = this.imageList1;
            this.listView1.TabIndex = 2;
            this.listView1.UseCompatibleStateImageBehavior = false;
            this.listView1.View = System.Windows.Forms.View.Details;
            this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
            this.listView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "YML 文件";
            this.columnHeader1.Width = 220;
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "gray_light_16px.png");
            this.imageList1.Images.SetKeyName(1, "green_light_16px.png");
            this.imageList1.Images.SetKeyName(2, "MB_light_16px.png");
            this.imageList1.Images.SetKeyName(3, "yellow_light_16px.png");
            // 
            // tabControl1
            // 
            this.tabControl1.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.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Location = new System.Drawing.Point(247, 39);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(914, 720);
            this.tabControl1.TabIndex = 3;
            this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.skinPanel2);
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(906, 691);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "YML 树形视图";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // skinPanel2
            // 
            this.skinPanel2.BackColor = System.Drawing.Color.Transparent;
            this.skinPanel2.BorderColor = System.Drawing.SystemColors.ActiveCaption;
            this.skinPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.skinPanel2.Controls.Add(this._treeView);
            this.skinPanel2.ControlState = CCWin.SkinClreplaced.ControlState.Normal;
            this.skinPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.skinPanel2.DownBack = null;
            this.skinPanel2.Location = new System.Drawing.Point(3, 3);
            this.skinPanel2.MouseBack = null;
            this.skinPanel2.Name = "skinPanel2";
            this.skinPanel2.NormlBack = null;
            this.skinPanel2.Size = new System.Drawing.Size(900, 685);
            this.skinPanel2.TabIndex = 0;
            // 
            // _treeView
            // 
            this._treeView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader3,
            this.columnHeader4,
            this.columnHeader5});
            treeListViewItemCollectionComparer1.Column = 0;
            treeListViewItemCollectionComparer1.SortOrder = System.Windows.Forms.SortOrder.None;
            this._treeView.Comparer = treeListViewItemCollectionComparer1;
            this._treeView.ContextMenuStrip = this.contextMenuStrip2;
            this._treeView.Dock = System.Windows.Forms.DockStyle.Fill;
            this._treeView.GridLines = true;
            this._treeView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
            this._treeView.LabelWrap = false;
            this._treeView.Location = new System.Drawing.Point(0, 0);
            this._treeView.MultiSelect = false;
            this._treeView.Name = "_treeView";
            this._treeView.PlusMinusLineColor = System.Drawing.Color.Teal;
            this._treeView.Size = new System.Drawing.Size(898, 683);
            this._treeView.SmallImageList = this.imageList2;
            this._treeView.Sorting = System.Windows.Forms.SortOrder.None;
            this._treeView.TabIndex = 0;
            this._treeView.UseCompatibleStateImageBehavior = false;
            this._treeView.AfterExpand += new System.Windows.Forms.TreeListViewEventHandler(this._treeView_AfterExpand);
            this._treeView.AfterCollapse += new System.Windows.Forms.TreeListViewEventHandler(this._treeView_AfterCollapse);
            this._treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this._treeView_MouseUp);
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "属性";
            this.columnHeader2.Width = 240;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "值";
            this.columnHeader3.Width = 280;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "层级";
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "描述";
            this.columnHeader5.Width = 280;
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.编辑节点ToolStripMenuItem,
            this.添加子节点ToolStripMenuItem,
            this.添加同级节点ToolStripMenuItem,
            this.添加顶级节点ToolStripMenuItem1,
            this.升级ToolStripMenuItem,
            this.降级ToolStripMenuItem,
            this.删除节点ToolStripMenuItem});
            this.contextMenuStrip2.Name = "contextMenuStrip2";
            this.contextMenuStrip2.Size = new System.Drawing.Size(149, 158);
            // 
            // 编辑节点ToolStripMenuItem
            // 
            this.编辑节点ToolStripMenuItem.Name = "编辑节点ToolStripMenuItem";
            this.编辑节点ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.编辑节点ToolStripMenuItem.Text = "编辑节点";
            this.编辑节点ToolStripMenuItem.Click += new System.EventHandler(this.编辑节点ToolStripMenuItem_Click);
            // 
            // 添加子节点ToolStripMenuItem
            // 
            this.添加子节点ToolStripMenuItem.Name = "添加子节点ToolStripMenuItem";
            this.添加子节点ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.添加子节点ToolStripMenuItem.Text = "添加子节点";
            this.添加子节点ToolStripMenuItem.Click += new System.EventHandler(this.添加子节点ToolStripMenuItem_Click);
            // 
            // 添加同级节点ToolStripMenuItem
            // 
            this.添加同级节点ToolStripMenuItem.Name = "添加同级节点ToolStripMenuItem";
            this.添加同级节点ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.添加同级节点ToolStripMenuItem.Text = "添加同级节点";
            this.添加同级节点ToolStripMenuItem.Click += new System.EventHandler(this.添加同级节点ToolStripMenuItem_Click);
            // 
            // 添加顶级节点ToolStripMenuItem1
            // 
            this.添加顶级节点ToolStripMenuItem1.Name = "添加顶级节点ToolStripMenuItem1";
            this.添加顶级节点ToolStripMenuItem1.Size = new System.Drawing.Size(148, 22);
            this.添加顶级节点ToolStripMenuItem1.Text = "添加顶级节点";
            this.添加顶级节点ToolStripMenuItem1.Click += new System.EventHandler(this.添加顶级节点ToolStripMenuItem1_Click);
            // 
            // 升级ToolStripMenuItem
            // 
            this.升级ToolStripMenuItem.Name = "升级ToolStripMenuItem";
            this.升级ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.升级ToolStripMenuItem.Text = "升级";
            this.升级ToolStripMenuItem.Click += new System.EventHandler(this.升级ToolStripMenuItem_Click);
            // 
            // 降级ToolStripMenuItem
            // 
            this.降级ToolStripMenuItem.Name = "降级ToolStripMenuItem";
            this.降级ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.降级ToolStripMenuItem.Text = "降级";
            this.降级ToolStripMenuItem.Click += new System.EventHandler(this.降级ToolStripMenuItem_Click);
            // 
            // 删除节点ToolStripMenuItem
            // 
            this.删除节点ToolStripMenuItem.Name = "删除节点ToolStripMenuItem";
            this.删除节点ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
            this.删除节点ToolStripMenuItem.Text = "删除节点";
            this.删除节点ToolStripMenuItem.Click += new System.EventHandler(this.删除节点ToolStripMenuItem_Click);
            // 
            // imageList2
            // 
            this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName(0, "Folder_open_16px.png");
            this.imageList2.Images.SetKeyName(1, "item_16px.png");
            this.imageList2.Images.SetKeyName(2, "gray_light_16px.png");
            this.imageList2.Images.SetKeyName(3, "openSession.png");
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.skinPanel1);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(906, 691);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "YML 编辑器";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // skinPanel1
            // 
            this.skinPanel1.BackColor = System.Drawing.Color.Transparent;
            this.skinPanel1.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.skinPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.skinPanel1.Controls.Add(this.ymlEditor);
            this.skinPanel1.ControlState = CCWin.SkinClreplaced.ControlState.Normal;
            this.skinPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.skinPanel1.DownBack = null;
            this.skinPanel1.Location = new System.Drawing.Point(3, 3);
            this.skinPanel1.MouseBack = null;
            this.skinPanel1.Name = "skinPanel1";
            this.skinPanel1.NormlBack = null;
            this.skinPanel1.Size = new System.Drawing.Size(900, 685);
            this.skinPanel1.TabIndex = 0;
            // 
            // ymlEditor
            // 
            this.ymlEditor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
            this.ymlEditor.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.ymlEditor.ContextMenuStrip = this.contextMenuStrip3;
            this.ymlEditor.DetectUrls = false;
            this.ymlEditor.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ymlEditor.Font = new System.Drawing.Font("新宋体", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.ymlEditor.ForeColor = System.Drawing.Color.White;
            this.ymlEditor.Location = new System.Drawing.Point(0, 0);
            this.ymlEditor.Name = "ymlEditor";
            this.ymlEditor.Size = new System.Drawing.Size(898, 683);
            this.ymlEditor.TabIndex = 0;
            this.ymlEditor.Text = "";
            this.ymlEditor.WordWrap = false;
            this.ymlEditor.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ymlEditor_KeyUp);
            this.ymlEditor.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ymlEditor_MouseDown);
            // 
            // contextMenuStrip3
            // 
            this.contextMenuStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.复制ToolStripMenuItem,
            this.粘贴ToolStripMenuItem,
            this.剪切ToolStripMenuItem,
            this.删除行ToolStripMenuItem,
            this.行注释ToolStripMenuItem});
            this.contextMenuStrip3.Name = "contextMenuStrip3";
            this.contextMenuStrip3.Size = new System.Drawing.Size(215, 114);
            // 
            // 复制ToolStripMenuItem
            // 
            this.复制ToolStripMenuItem.Name = "复制ToolStripMenuItem";
            this.复制ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
            this.复制ToolStripMenuItem.Text = "复制";
            this.复制ToolStripMenuItem.Click += new System.EventHandler(this.复制ToolStripMenuItem_Click);
            // 
            // 粘贴ToolStripMenuItem
            // 
            this.粘贴ToolStripMenuItem.Name = "粘贴ToolStripMenuItem";
            this.粘贴ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
            this.粘贴ToolStripMenuItem.Text = "粘贴";
            this.粘贴ToolStripMenuItem.Click += new System.EventHandler(this.粘贴ToolStripMenuItem_Click);
            // 
            // 剪切ToolStripMenuItem
            // 
            this.剪切ToolStripMenuItem.Name = "剪切ToolStripMenuItem";
            this.剪切ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
            this.剪切ToolStripMenuItem.Text = "剪切";
            this.剪切ToolStripMenuItem.Click += new System.EventHandler(this.剪切ToolStripMenuItem_Click);
            // 
            // 删除行ToolStripMenuItem
            // 
            this.删除行ToolStripMenuItem.Name = "删除行ToolStripMenuItem";
            this.删除行ToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
            this.删除行ToolStripMenuItem.ShowShortcutKeys = false;
            this.删除行ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
            this.删除行ToolStripMenuItem.Text = "删除行                Ctrl + D";
            this.删除行ToolStripMenuItem.Click += new System.EventHandler(this.删除行ToolStripMenuItem_Click);
            // 
            // 行注释ToolStripMenuItem
            // 
            this.行注释ToolStripMenuItem.Name = "行注释ToolStripMenuItem";
            this.行注释ToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.OemQuestion)));
            this.行注释ToolStripMenuItem.ShowShortcutKeys = false;
            this.行注释ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
            this.行注释ToolStripMenuItem.Text = "行注释/取消注释   Ctrl + /";
            this.行注释ToolStripMenuItem.Click += new System.EventHandler(this.行注释ToolStripMenuItem_Click);
            // 
            // btn_reload
            // 
            this.btn_reload.Location = new System.Drawing.Point(15, 35);
            this.btn_reload.Name = "btn_reload";
            this.btn_reload.Size = new System.Drawing.Size(75, 27);
            this.btn_reload.TabIndex = 3;
            this.btn_reload.Text = "重新加载";
            this.btn_reload.UseVisualStyleBackColor = true;
            this.btn_reload.Click += new System.EventHandler(this.btn_reload_Click);
            // 
            // btn_new
            // 
            this.btn_new.Location = new System.Drawing.Point(156, 36);
            this.btn_new.Name = "btn_new";
            this.btn_new.Size = new System.Drawing.Size(90, 27);
            this.btn_new.TabIndex = 4;
            this.btn_new.Text = "新建YML文件";
            this.btn_new.UseVisualStyleBackColor = true;
            this.btn_new.Click += new System.EventHandler(this.btn_new_Click);
            // 
            // label1
            // 
            this.label1.BackColor = System.Drawing.Color.Red;
            this.label1.Font = new System.Drawing.Font("宋体", 11F);
            this.label1.ForeColor = System.Drawing.Color.White;
            this.label1.Location = new System.Drawing.Point(30, 137);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(201, 52);
            this.label1.TabIndex = 3;
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.label1.Visible = false;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.校验ToolStripMenuItem,
            this.下载到本地ToolStripMenuItem,
            this.上传到服务器ToolStripMenuItem,
            this.更改文件名ToolStripMenuItem,
            this.删除文件ToolStripMenuItem,
            this.打开本地临时目录ToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(173, 158);
            // 
            // 校验ToolStripMenuItem
            // 
            this.校验ToolStripMenuItem.Name = "校验ToolStripMenuItem";
            this.校验ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.校验ToolStripMenuItem.Text = "格式校验";
            this.校验ToolStripMenuItem.Click += new System.EventHandler(this.校验ToolStripMenuItem_Click);
            // 
            // 下载到本地ToolStripMenuItem
            // 
            this.下载到本地ToolStripMenuItem.Name = "下载到本地ToolStripMenuItem";
            this.下载到本地ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.下载到本地ToolStripMenuItem.Text = "重新获取文件";
            this.下载到本地ToolStripMenuItem.Click += new System.EventHandler(this.下载到本地ToolStripMenuItem_Click);
            // 
            // 上传到服务器ToolStripMenuItem
            // 
            this.上传到服务器ToolStripMenuItem.Name = "上传到服务器ToolStripMenuItem";
            this.上传到服务器ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.上传到服务器ToolStripMenuItem.Text = "上传到服务器";
            this.上传到服务器ToolStripMenuItem.Click += new System.EventHandler(this.上传到服务器ToolStripMenuItem_Click);
            // 
            // 更改文件名ToolStripMenuItem
            // 
            this.更改文件名ToolStripMenuItem.Name = "更改文件名ToolStripMenuItem";
            this.更改文件名ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.更改文件名ToolStripMenuItem.Text = "更改文件名";
            this.更改文件名ToolStripMenuItem.Click += new System.EventHandler(this.更改文件名ToolStripMenuItem_Click);
            // 
            // 删除文件ToolStripMenuItem
            // 
            this.删除文件ToolStripMenuItem.Name = "删除文件ToolStripMenuItem";
            this.删除文件ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.删除文件ToolStripMenuItem.Text = "删除文件";
            this.删除文件ToolStripMenuItem.Click += new System.EventHandler(this.删除文件ToolStripMenuItem_Click);
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox1.BackgroundImage = global::AppMonitor.Properties.Resources.green_light_16px;
            this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pictureBox1.Location = new System.Drawing.Point(9, 26);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(16, 16);
            this.pictureBox1.TabIndex = 6;
            this.pictureBox1.TabStop = false;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(31, 28);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(161, 12);
            this.label2.TabIndex = 7;
            this.label2.Text = "格式正确,与服务器保持同步";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(31, 52);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(161, 12);
            this.label3.TabIndex = 9;
            this.label3.Text = "内容已修改,未与服务器同步";
            // 
            // pictureBox2
            // 
            this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox2.BackgroundImage = global::AppMonitor.Properties.Resources.MB_light_16px;
            this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pictureBox2.Location = new System.Drawing.Point(9, 50);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(16, 16);
            this.pictureBox2.TabIndex = 8;
            this.pictureBox2.TabStop = false;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Location = new System.Drawing.Point(31, 76);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(65, 12);
            this.label4.TabIndex = 11;
            this.label4.Text = "格式有错误";
            // 
            // pictureBox3
            // 
            this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox3.BackgroundImage = global::AppMonitor.Properties.Resources.yellow_light_16px;
            this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pictureBox3.Location = new System.Drawing.Point(9, 74);
            this.pictureBox3.Name = "pictureBox3";
            this.pictureBox3.Size = new System.Drawing.Size(16, 16);
            this.pictureBox3.TabIndex = 10;
            this.pictureBox3.TabStop = false;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.Location = new System.Drawing.Point(31, 5);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(161, 12);
            this.label5.TabIndex = 13;
            this.label5.Text = "只存在本地,未同步到服务器";
            // 
            // pictureBox4
            // 
            this.pictureBox4.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox4.BackgroundImage = global::AppMonitor.Properties.Resources.gray_light_16px;
            this.pictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pictureBox4.Location = new System.Drawing.Point(9, 3);
            this.pictureBox4.Name = "pictureBox4";
            this.pictureBox4.Size = new System.Drawing.Size(16, 16);
            this.pictureBox4.TabIndex = 12;
            this.pictureBox4.TabStop = false;
            // 
            // btn_save
            // 
            this.btn_save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_save.Enabled = false;
            this.btn_save.Location = new System.Drawing.Point(1075, 33);
            this.btn_save.Name = "btn_save";
            this.btn_save.Size = new System.Drawing.Size(78, 27);
            this.btn_save.TabIndex = 14;
            this.btn_save.Text = "保存";
            this.btn_save.UseVisualStyleBackColor = true;
            this.btn_save.Click += new System.EventHandler(this.button1_Click);
            // 
            // btn_meihua
            // 
            this.btn_meihua.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_meihua.Location = new System.Drawing.Point(949, 33);
            this.btn_meihua.Name = "btn_meihua";
            this.btn_meihua.Size = new System.Drawing.Size(78, 27);
            this.btn_meihua.TabIndex = 15;
            this.btn_meihua.Text = "美化";
            this.btn_meihua.UseVisualStyleBackColor = true;
            this.btn_meihua.Visible = false;
            this.btn_meihua.Click += new System.EventHandler(this.btn_meihua_Click);
            // 
            // btn_tree
            // 
            this.btn_tree.Location = new System.Drawing.Point(474, 33);
            this.btn_tree.Name = "btn_tree";
            this.btn_tree.Size = new System.Drawing.Size(108, 27);
            this.btn_tree.TabIndex = 16;
            this.btn_tree.Text = "展开全部节点";
            this.btn_tree.UseVisualStyleBackColor = true;
            this.btn_tree.Click += new System.EventHandler(this.btn_tree_Click);
            // 
            // panel1
            // 
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.panel1.BackColor = System.Drawing.Color.Transparent;
            this.panel1.Controls.Add(this.pictureBox4);
            this.panel1.Controls.Add(this.pictureBox1);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.pictureBox2);
            this.panel1.Controls.Add(this.label3);
            this.panel1.Controls.Add(this.pictureBox3);
            this.panel1.Controls.Add(this.label4);
            this.panel1.Controls.Add(this.label5);
            this.panel1.Location = new System.Drawing.Point(14, 660);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(230, 94);
            this.panel1.TabIndex = 17;
            // 
            // statusStrip1
            // 
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.file_label,
            this.pos_label,
            this.toolStripStatusLabel1});
            this.statusStrip1.Location = new System.Drawing.Point(8, 759);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(1156, 22);
            this.statusStrip1.TabIndex = 18;
            this.statusStrip1.Text = "statusStrip1";
            // 
            // file_label
            // 
            this.file_label.AutoSize = false;
            this.file_label.BackColor = System.Drawing.Color.Transparent;
            this.file_label.Name = "file_label";
            this.file_label.Size = new System.Drawing.Size(800, 17);
            this.file_label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // pos_label
            // 
            this.pos_label.AutoSize = false;
            this.pos_label.BackColor = System.Drawing.Color.Transparent;
            this.pos_label.Name = "pos_label";
            this.pos_label.Size = new System.Drawing.Size(150, 17);
            this.pos_label.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // toolStripStatusLabel1
            // 
            this.toolStripStatusLabel1.BackColor = System.Drawing.Color.Transparent;
            this.toolStripStatusLabel1.ForeColor = System.Drawing.Color.Gray;
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(116, 17);
            this.toolStripStatusLabel1.Text = "支持文件拖拽到窗口";
            // 
            // btn_show
            // 
            this.btn_show.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.btn_show.Location = new System.Drawing.Point(89, 35);
            this.btn_show.Name = "btn_show";
            this.btn_show.Size = new System.Drawing.Size(22, 27);
            this.btn_show.TabIndex = 19;
            this.btn_show.Text = "↓";
            this.btn_show.UseVisualStyleBackColor = true;
            this.btn_show.Click += new System.EventHandler(this.btn_show_Click);
            // 
            // stb_remote_dir
            // 
            this.stb_remote_dir.BackColor = System.Drawing.Color.Transparent;
            this.stb_remote_dir.DownBack = null;
            this.stb_remote_dir.Icon = null;
            this.stb_remote_dir.IconIsButton = false;
            this.stb_remote_dir.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_remote_dir.IsPreplacedwordChat = '\0';
            this.stb_remote_dir.IsSystemPreplacedwordChar = false;
            this.stb_remote_dir.Lines = new string[0];
            this.stb_remote_dir.Location = new System.Drawing.Point(10, 24);
            this.stb_remote_dir.Margin = new System.Windows.Forms.Padding(0);
            this.stb_remote_dir.MaxLength = 32767;
            this.stb_remote_dir.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_remote_dir.MouseBack = null;
            this.stb_remote_dir.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_remote_dir.Multiline = false;
            this.stb_remote_dir.Name = "stb_remote_dir";
            this.stb_remote_dir.NormlBack = null;
            this.stb_remote_dir.Padding = new System.Windows.Forms.Padding(5);
            this.stb_remote_dir.ReadOnly = false;
            this.stb_remote_dir.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_remote_dir.Size = new System.Drawing.Size(425, 28);
            // 
            // 
            // 
            this.stb_remote_dir.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_remote_dir.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_remote_dir.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_remote_dir.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_remote_dir.SkinTxt.Name = "BaseText";
            this.stb_remote_dir.SkinTxt.Size = new System.Drawing.Size(415, 18);
            this.stb_remote_dir.SkinTxt.TabIndex = 0;
            this.stb_remote_dir.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_remote_dir.SkinTxt.WaterText = "远程服务器YML配置文件所在目录";
            this.stb_remote_dir.TabIndex = 20;
            this.stb_remote_dir.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_remote_dir.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_remote_dir.WaterText = "远程服务器YML配置文件所在目录";
            this.stb_remote_dir.WordWrap = true;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.SystemColors.ActiveCaption;
            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel2.Controls.Add(this.groupBox1);
            this.panel2.Location = new System.Drawing.Point(15, 62);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(456, 109);
            this.panel2.TabIndex = 21;
            this.panel2.Visible = false;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.stb_remote_dir);
            this.groupBox1.Controls.Add(this.btn_ok);
            this.groupBox1.Location = new System.Drawing.Point(8, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(442, 94);
            this.groupBox1.TabIndex = 23;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "YML配置目录:";
            // 
            // btn_ok
            // 
            this.btn_ok.Location = new System.Drawing.Point(370, 60);
            this.btn_ok.Name = "btn_ok";
            this.btn_ok.Size = new System.Drawing.Size(65, 29);
            this.btn_ok.TabIndex = 22;
            this.btn_ok.Text = "确定";
            this.btn_ok.UseVisualStyleBackColor = true;
            this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
            // 
            // 打开本地临时目录ToolStripMenuItem
            // 
            this.打开本地临时目录ToolStripMenuItem.Name = "打开本地临时目录ToolStripMenuItem";
            this.打开本地临时目录ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.打开本地临时目录ToolStripMenuItem.Text = "打开本地临时目录";
            this.打开本地临时目录ToolStripMenuItem.Click += new System.EventHandler(this.打开本地临时目录ToolStripMenuItem_Click);
            // 
            // CentralServerConfigForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(1172, 789);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.btn_show);
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.btn_tree);
            this.Controls.Add(this.btn_meihua);
            this.Controls.Add(this.btn_save);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.btn_new);
            this.Controls.Add(this.btn_reload);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.listView1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "CentralServerConfigForm";
            this.Text = "Docker公共配置";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.CentralServerConfigForm_Load);
            this.DragDrop += new System.Windows.Forms.DragEventHandler(this.CentralServerConfigForm_DragDrop);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.skinPanel2.ResumeLayout(false);
            this.contextMenuStrip2.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.skinPanel1.ResumeLayout(false);
            this.contextMenuStrip3.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : TextEditorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextEditorForm));
            this.cmMain = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
            this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
            this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.editor = new System.Windows.Forms.RichTextBox();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.cmMain.SuspendLayout();
            this.SuspendLayout();
            // 
            // cmMain
            // 
            this.cmMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.cutToolStripMenuItem,
            this.copyToolStripMenuItem,
            this.pasteToolStripMenuItem,
            this.selectAllToolStripMenuItem,
            this.toolStripMenuItem2,
            this.undoToolStripMenuItem,
            this.redoToolStripMenuItem,
            this.toolStripMenuItem3,
            this.findToolStripMenuItem,
            this.replaceToolStripMenuItem});
            this.cmMain.Name = "cmMain";
            this.cmMain.Size = new System.Drawing.Size(125, 192);
            // 
            // cutToolStripMenuItem
            // 
            this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
            this.cutToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.cutToolStripMenuItem.Text = "剪切";
            this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
            // 
            // copyToolStripMenuItem
            // 
            this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
            this.copyToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.copyToolStripMenuItem.Text = "复制";
            this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
            // 
            // pasteToolStripMenuItem
            // 
            this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
            this.pasteToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.pasteToolStripMenuItem.Text = "粘贴";
            this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
            // 
            // selectAllToolStripMenuItem
            // 
            this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
            this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.selectAllToolStripMenuItem.Text = "选择全部";
            this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(121, 6);
            // 
            // undoToolStripMenuItem
            // 
            this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
            this.undoToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.undoToolStripMenuItem.Text = "撤销";
            this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
            // 
            // redoToolStripMenuItem
            // 
            this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
            this.redoToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.redoToolStripMenuItem.Text = "重做";
            this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(121, 6);
            // 
            // findToolStripMenuItem
            // 
            this.findToolStripMenuItem.Name = "findToolStripMenuItem";
            this.findToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.findToolStripMenuItem.Text = "查找";
            this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click);
            // 
            // replaceToolStripMenuItem
            // 
            this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem";
            this.replaceToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
            this.replaceToolStripMenuItem.Text = "替换";
            this.replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click);
            // 
            // editor
            // 
            this.editor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
            this.editor.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.editor.ContextMenuStrip = this.cmMain;
            this.editor.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editor.Font = new System.Drawing.Font("宋体", 11F);
            this.editor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.editor.Location = new System.Drawing.Point(8, 30);
            this.editor.Name = "editor";
            this.editor.Size = new System.Drawing.Size(906, 560);
            this.editor.TabIndex = 1;
            this.editor.Text = "";
            this.editor.TextChanged += new System.EventHandler(this.editor_TextChanged);
            this.editor.KeyDown += new System.Windows.Forms.KeyEventHandler(this.editor_KeyDown);
            this.editor.KeyUp += new System.Windows.Forms.KeyEventHandler(this.editor_KeyUp);
            // 
            // TextEditorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(922, 598);
            this.Controls.Add(this.editor);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "TextEditorForm";
            this.Text = "TextEditor";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TextEditorForm_FormClosing);
            this.Load += new System.EventHandler(this.TextEditorForm_Load);
            this.cmMain.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : DiscordWebhook.Designer.cs
License : MIT License
Project Creator : 1-EXON

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscordWebhook));
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.setting = new System.Windows.Forms.PictureBox();
            this.Chat = new System.Windows.Forms.PictureBox();
            this.replacedle = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.Send = new System.Windows.Forms.PictureBox();
            this.logout = new System.Windows.Forms.PictureBox();
            this.resetRepeat = new System.Windows.Forms.CheckBox();
            this.label8 = new System.Windows.Forms.Label();
            this.help_but = new System.Windows.Forms.PictureBox();
            this.resetContent = new System.Windows.Forms.CheckBox();
            this.buttonGradation = new System.Windows.Forms.CheckBox();
            this.Thema = new System.Windows.Forms.CheckBox();
            this.name = new Guna.UI2.WinForms.Guna2TextBox();
            this.repeat = new Guna.UI2.WinForms.Guna2TextBox();
            this.image = new Guna.UI2.WinForms.Guna2TextBox();
            this.content = new Guna.UI2.WinForms.Guna2TextBox();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.setting)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Chat)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Send)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.logout)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.help_but)).BeginInit();
            this.SuspendLayout();
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("Arial Narrow", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.White;
            this.label2.Location = new System.Drawing.Point(112, 70);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(52, 23);
            this.label2.TabIndex = 6;
            this.label2.Text = "Name";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Font = new System.Drawing.Font("Arial Narrow", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.Color.White;
            this.label3.Location = new System.Drawing.Point(112, 141);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(132, 23);
            this.label3.TabIndex = 7;
            this.label3.Text = "Profile Image Link";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Font = new System.Drawing.Font("Arial Narrow", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.Color.White;
            this.label4.Location = new System.Drawing.Point(112, 215);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(63, 23);
            this.label4.TabIndex = 8;
            this.label4.Text = "Content";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.Font = new System.Drawing.Font("Arial Narrow", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.Color.White;
            this.label5.Location = new System.Drawing.Point(424, 70);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(60, 23);
            this.label5.TabIndex = 10;
            this.label5.Text = "Repeat";
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.Transparent;
            this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage")));
            this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.panel1.Controls.Add(this.setting);
            this.panel1.Controls.Add(this.Chat);
            this.panel1.Location = new System.Drawing.Point(19, 12);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(68, 539);
            this.panel1.TabIndex = 13;
            // 
            // setting
            // 
            this.setting.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("setting.BackgroundImage")));
            this.setting.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.setting.Location = new System.Drawing.Point(10, 129);
            this.setting.Name = "setting";
            this.setting.Size = new System.Drawing.Size(47, 46);
            this.setting.TabIndex = 16;
            this.setting.TabStop = false;
            this.setting.Click += new System.EventHandler(this.setting_Click);
            // 
            // Chat
            // 
            this.Chat.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Chat.BackgroundImage")));
            this.Chat.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.Chat.Location = new System.Drawing.Point(10, 32);
            this.Chat.Name = "Chat";
            this.Chat.Size = new System.Drawing.Size(47, 49);
            this.Chat.TabIndex = 15;
            this.Chat.TabStop = false;
            this.Chat.Click += new System.EventHandler(this.Chat_Click);
            // 
            // replacedle
            // 
            this.replacedle.AutoSize = true;
            this.replacedle.BackColor = System.Drawing.Color.Transparent;
            this.replacedle.Font = new System.Drawing.Font("Arial Narrow", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.replacedle.ForeColor = System.Drawing.Color.White;
            this.replacedle.Location = new System.Drawing.Point(104, 12);
            this.replacedle.Name = "replacedle";
            this.replacedle.Size = new System.Drawing.Size(77, 43);
            this.replacedle.TabIndex = 14;
            this.replacedle.Text = "replacedle";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.White;
            this.label1.Location = new System.Drawing.Point(114, 98);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(50, 18);
            this.label1.TabIndex = 16;
            this.label1.Text = "label1";
            this.label1.Click += new System.EventHandler(this.label1_Click);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.BackColor = System.Drawing.Color.Transparent;
            this.label6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.Color.White;
            this.label6.Location = new System.Drawing.Point(114, 169);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(50, 18);
            this.label6.TabIndex = 17;
            this.label6.Text = "label6";
            this.label6.Click += new System.EventHandler(this.label6_Click);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.BackColor = System.Drawing.Color.Transparent;
            this.label7.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.Color.White;
            this.label7.Location = new System.Drawing.Point(114, 244);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(50, 18);
            this.label7.TabIndex = 18;
            this.label7.Text = "label7";
            this.label7.Click += new System.EventHandler(this.label7_Click);
            // 
            // Send
            // 
            this.Send.BackColor = System.Drawing.Color.Transparent;
            this.Send.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Send.BackgroundImage")));
            this.Send.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.Send.Location = new System.Drawing.Point(117, 500);
            this.Send.Name = "Send";
            this.Send.Size = new System.Drawing.Size(100, 50);
            this.Send.TabIndex = 20;
            this.Send.TabStop = false;
            this.Send.Click += new System.EventHandler(this.Send_Click);
            // 
            // logout
            // 
            this.logout.BackColor = System.Drawing.Color.Transparent;
            this.logout.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("logout.BackgroundImage")));
            this.logout.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.logout.Location = new System.Drawing.Point(661, 12);
            this.logout.Name = "logout";
            this.logout.Size = new System.Drawing.Size(89, 43);
            this.logout.TabIndex = 21;
            this.logout.TabStop = false;
            this.logout.Click += new System.EventHandler(this.logout_Click_1);
            // 
            // resetRepeat
            // 
            this.resetRepeat.AutoSize = true;
            this.resetRepeat.BackColor = System.Drawing.Color.Transparent;
            this.resetRepeat.ForeColor = System.Drawing.Color.White;
            this.resetRepeat.Location = new System.Drawing.Point(117, 360);
            this.resetRepeat.Name = "resetRepeat";
            this.resetRepeat.Size = new System.Drawing.Size(102, 19);
            this.resetRepeat.TabIndex = 23;
            this.resetRepeat.Text = "Reset Repeat";
            this.resetRepeat.UseVisualStyleBackColor = false;
            this.resetRepeat.CheckedChanged += new System.EventHandler(this.resetRepeat_CheckedChanged);
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.BackColor = System.Drawing.Color.Transparent;
            this.label8.Font = new System.Drawing.Font("Arial Narrow", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.ForeColor = System.Drawing.Color.White;
            this.label8.Location = new System.Drawing.Point(113, 309);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(56, 23);
            this.label8.TabIndex = 24;
            this.label8.Text = "Setting";
            // 
            // help_but
            // 
            this.help_but.BackColor = System.Drawing.Color.Transparent;
            this.help_but.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("help_but.BackgroundImage")));
            this.help_but.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.help_but.Location = new System.Drawing.Point(690, 516);
            this.help_but.Name = "help_but";
            this.help_but.Size = new System.Drawing.Size(60, 35);
            this.help_but.TabIndex = 25;
            this.help_but.TabStop = false;
            this.help_but.Click += new System.EventHandler(this.help_but_Click);
            // 
            // resetContent
            // 
            this.resetContent.AutoSize = true;
            this.resetContent.BackColor = System.Drawing.Color.Transparent;
            this.resetContent.Checked = true;
            this.resetContent.CheckState = System.Windows.Forms.CheckState.Checked;
            this.resetContent.ForeColor = System.Drawing.Color.White;
            this.resetContent.Location = new System.Drawing.Point(117, 385);
            this.resetContent.Name = "resetContent";
            this.resetContent.Size = new System.Drawing.Size(105, 19);
            this.resetContent.TabIndex = 26;
            this.resetContent.Text = "Reset Content";
            this.resetContent.UseVisualStyleBackColor = false;
            this.resetContent.CheckedChanged += new System.EventHandler(this.resetContent_CheckedChanged);
            // 
            // buttonGradation
            // 
            this.buttonGradation.AutoSize = true;
            this.buttonGradation.BackColor = System.Drawing.Color.Transparent;
            this.buttonGradation.ForeColor = System.Drawing.Color.White;
            this.buttonGradation.Location = new System.Drawing.Point(117, 410);
            this.buttonGradation.Name = "buttonGradation";
            this.buttonGradation.Size = new System.Drawing.Size(118, 19);
            this.buttonGradation.TabIndex = 27;
            this.buttonGradation.Text = "Button Gradation";
            this.buttonGradation.UseVisualStyleBackColor = false;
            this.buttonGradation.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            // 
            // Thema
            // 
            this.Thema.AutoSize = true;
            this.Thema.BackColor = System.Drawing.Color.Transparent;
            this.Thema.Checked = true;
            this.Thema.CheckState = System.Windows.Forms.CheckState.Checked;
            this.Thema.ForeColor = System.Drawing.Color.White;
            this.Thema.Location = new System.Drawing.Point(117, 335);
            this.Thema.Name = "Thema";
            this.Thema.Size = new System.Drawing.Size(98, 19);
            this.Thema.TabIndex = 28;
            this.Thema.Text = "Black Thema";
            this.Thema.UseVisualStyleBackColor = false;
            this.Thema.CheckedChanged += new System.EventHandler(this.Thema_CheckedChanged);
            // 
            // name
            // 
            this.name.BackColor = System.Drawing.Color.Transparent;
            this.name.BorderColor = System.Drawing.Color.Transparent;
            this.name.BorderRadius = 15;
            this.name.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.name.DefaultText = "";
            this.name.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
            this.name.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
            this.name.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.name.DisabledState.Parent = this.name;
            this.name.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.name.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.name.FocusedState.Parent = this.name;
            this.name.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.name.ForeColor = System.Drawing.Color.Black;
            this.name.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.name.HoverState.Parent = this.name;
            this.name.Location = new System.Drawing.Point(112, 95);
            this.name.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.name.Name = "name";
            this.name.PreplacedwordChar = '\0';
            this.name.PlaceholderText = "";
            this.name.SelectedText = "";
            this.name.ShadowDecoration.Parent = this.name;
            this.name.Size = new System.Drawing.Size(214, 30);
            this.name.TabIndex = 29;
            this.name.KeyUp += new System.Windows.Forms.KeyEventHandler(this.name_KeyUp_1);
            // 
            // repeat
            // 
            this.repeat.BackColor = System.Drawing.Color.Transparent;
            this.repeat.BorderColor = System.Drawing.Color.Transparent;
            this.repeat.BorderRadius = 15;
            this.repeat.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.repeat.DefaultText = "1";
            this.repeat.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
            this.repeat.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
            this.repeat.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.repeat.DisabledState.Parent = this.repeat;
            this.repeat.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.repeat.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.repeat.FocusedState.Parent = this.repeat;
            this.repeat.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.repeat.ForeColor = System.Drawing.Color.Black;
            this.repeat.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.repeat.HoverState.Parent = this.repeat;
            this.repeat.Location = new System.Drawing.Point(428, 98);
            this.repeat.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.repeat.Name = "repeat";
            this.repeat.PreplacedwordChar = '\0';
            this.repeat.PlaceholderText = "";
            this.repeat.SelectedText = "";
            this.repeat.SelectionStart = 1;
            this.repeat.ShadowDecoration.Parent = this.repeat;
            this.repeat.Size = new System.Drawing.Size(56, 30);
            this.repeat.TabIndex = 30;
            // 
            // image
            // 
            this.image.BackColor = System.Drawing.Color.Transparent;
            this.image.BorderColor = System.Drawing.Color.Black;
            this.image.BorderRadius = 15;
            this.image.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.image.DefaultText = "";
            this.image.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
            this.image.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
            this.image.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.image.DisabledState.Parent = this.image;
            this.image.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.image.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.image.FocusedState.Parent = this.image;
            this.image.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.image.ForeColor = System.Drawing.Color.Black;
            this.image.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.image.HoverState.Parent = this.image;
            this.image.Location = new System.Drawing.Point(112, 168);
            this.image.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.image.Name = "image";
            this.image.PreplacedwordChar = '\0';
            this.image.PlaceholderText = "";
            this.image.SelectedText = "";
            this.image.ShadowDecoration.Parent = this.image;
            this.image.Size = new System.Drawing.Size(539, 30);
            this.image.TabIndex = 31;
            this.image.KeyUp += new System.Windows.Forms.KeyEventHandler(this.image_KeyUp_1);
            // 
            // content
            // 
            this.content.BackColor = System.Drawing.Color.Transparent;
            this.content.BorderColor = System.Drawing.Color.Transparent;
            this.content.BorderRadius = 15;
            this.content.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.content.DefaultText = "";
            this.content.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
            this.content.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
            this.content.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.content.DisabledState.Parent = this.content;
            this.content.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.content.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.content.FocusedState.Parent = this.content;
            this.content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.content.ForeColor = System.Drawing.Color.Black;
            this.content.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.content.HoverState.Parent = this.content;
            this.content.Location = new System.Drawing.Point(112, 242);
            this.content.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.content.Multiline = true;
            this.content.Name = "content";
            this.content.PreplacedwordChar = '\0';
            this.content.PlaceholderText = "";
            this.content.SelectedText = "";
            this.content.ShadowDecoration.Parent = this.content;
            this.content.Size = new System.Drawing.Size(539, 234);
            this.content.TabIndex = 32;
            this.content.TextChanged += new System.EventHandler(this.content_TextChanged_1);
            this.content.KeyUp += new System.Windows.Forms.KeyEventHandler(this.content_KeyUp);
            // 
            // DiscordWebhook
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.ClientSize = new System.Drawing.Size(762, 562);
            this.Controls.Add(this.content);
            this.Controls.Add(this.image);
            this.Controls.Add(this.repeat);
            this.Controls.Add(this.name);
            this.Controls.Add(this.Thema);
            this.Controls.Add(this.buttonGradation);
            this.Controls.Add(this.resetContent);
            this.Controls.Add(this.help_but);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.resetRepeat);
            this.Controls.Add(this.logout);
            this.Controls.Add(this.Send);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.replacedle);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.Name = "DiscordWebhook";
            this.Text = " DisHook";
            this.Load += new System.EventHandler(this.DiscordWebhook_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.setting)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Chat)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Send)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.logout)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.help_but)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : CustomShellForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomShellForm));
            this.stb_name = new CCWin.SkinControl.SkinTextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.cmd = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // stb_name
            // 
            this.stb_name.BackColor = System.Drawing.Color.Transparent;
            this.stb_name.DownBack = null;
            this.stb_name.Icon = null;
            this.stb_name.IconIsButton = false;
            this.stb_name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_name.IsPreplacedwordChat = '\0';
            this.stb_name.IsSystemPreplacedwordChar = false;
            this.stb_name.Lines = new string[0];
            this.stb_name.Location = new System.Drawing.Point(109, 33);
            this.stb_name.Margin = new System.Windows.Forms.Padding(0);
            this.stb_name.MaxLength = 32767;
            this.stb_name.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_name.MouseBack = null;
            this.stb_name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_name.Multiline = false;
            this.stb_name.Name = "stb_name";
            this.stb_name.NormlBack = null;
            this.stb_name.Padding = new System.Windows.Forms.Padding(5);
            this.stb_name.ReadOnly = false;
            this.stb_name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_name.Size = new System.Drawing.Size(352, 28);
            // 
            // 
            // 
            this.stb_name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_name.SkinTxt.Name = "BaseText";
            this.stb_name.SkinTxt.Size = new System.Drawing.Size(342, 18);
            this.stb_name.SkinTxt.TabIndex = 0;
            this.stb_name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_name.SkinTxt.WaterText = "命令名称";
            this.stb_name.TabIndex = 6;
            this.stb_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_name.WaterText = "命令名称";
            this.stb_name.WordWrap = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label1.Location = new System.Drawing.Point(13, 37);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(93, 20);
            this.label1.TabIndex = 7;
            this.label1.Text = "自定义名称:";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label3.Location = new System.Drawing.Point(26, 71);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(79, 20);
            this.label3.TabIndex = 10;
            this.label3.Text = "执行命令:";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.label4.ForeColor = System.Drawing.Color.LightSalmon;
            this.label4.Location = new System.Drawing.Point(105, 72);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(177, 20);
            this.label4.TabIndex = 11;
            this.label4.Text = "每条命令一行,按顺序执行";
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(300, 352);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 12;
            this.button1.Text = "保存";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(386, 352);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 13;
            this.button2.Text = "关闭";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // cmd
            // 
            this.cmd.Font = new System.Drawing.Font("微软雅黑", 10F);
            this.cmd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.cmd.Location = new System.Drawing.Point(17, 104);
            this.cmd.Multiline = true;
            this.cmd.Name = "cmd";
            this.cmd.Size = new System.Drawing.Size(444, 237);
            this.cmd.TabIndex = 14;
            // 
            // CustomShellForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(475, 390);
            this.Controls.Add(this.cmd);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.stb_name);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(475, 390);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(475, 390);
            this.Name = "CustomShellForm";
            this.Text = "自定义脚本";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.CustomScriptForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : NginxMappingItemForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NginxMappingItemForm));
            this.stb_url = new CCWin.SkinControl.SkinTextBox();
            this.stb_host = new CCWin.SkinControl.SkinTextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.cb_check = new System.Windows.Forms.CheckBox();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // stb_url
            // 
            this.stb_url.BackColor = System.Drawing.Color.Transparent;
            this.stb_url.DownBack = null;
            this.stb_url.Icon = null;
            this.stb_url.IconIsButton = false;
            this.stb_url.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_url.IsPreplacedwordChat = '\0';
            this.stb_url.IsSystemPreplacedwordChar = false;
            this.stb_url.Lines = new string[0];
            this.stb_url.Location = new System.Drawing.Point(126, 48);
            this.stb_url.Margin = new System.Windows.Forms.Padding(0);
            this.stb_url.MaxLength = 32767;
            this.stb_url.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_url.MouseBack = null;
            this.stb_url.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_url.Multiline = false;
            this.stb_url.Name = "stb_url";
            this.stb_url.NormlBack = null;
            this.stb_url.Padding = new System.Windows.Forms.Padding(5);
            this.stb_url.ReadOnly = false;
            this.stb_url.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_url.Size = new System.Drawing.Size(326, 28);
            // 
            // 
            // 
            this.stb_url.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_url.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_url.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_url.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_url.SkinTxt.Name = "BaseText";
            this.stb_url.SkinTxt.Size = new System.Drawing.Size(316, 18);
            this.stb_url.SkinTxt.TabIndex = 0;
            this.stb_url.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_url.SkinTxt.WaterText = "项目访问的地址,为Nginx服务器的地址";
            this.stb_url.TabIndex = 0;
            this.stb_url.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_url.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_url.WaterText = "项目访问的地址,为Nginx服务器的地址";
            this.stb_url.WordWrap = true;
            // 
            // stb_host
            // 
            this.stb_host.BackColor = System.Drawing.Color.Transparent;
            this.stb_host.DownBack = null;
            this.stb_host.Icon = null;
            this.stb_host.IconIsButton = false;
            this.stb_host.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_host.IsPreplacedwordChat = '\0';
            this.stb_host.IsSystemPreplacedwordChar = false;
            this.stb_host.Lines = new string[0];
            this.stb_host.Location = new System.Drawing.Point(126, 103);
            this.stb_host.Margin = new System.Windows.Forms.Padding(0);
            this.stb_host.MaxLength = 32767;
            this.stb_host.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_host.MouseBack = null;
            this.stb_host.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_host.Multiline = false;
            this.stb_host.Name = "stb_host";
            this.stb_host.NormlBack = null;
            this.stb_host.Padding = new System.Windows.Forms.Padding(5);
            this.stb_host.ReadOnly = false;
            this.stb_host.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_host.Size = new System.Drawing.Size(326, 28);
            // 
            // 
            // 
            this.stb_host.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_host.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_host.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_host.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_host.SkinTxt.Name = "BaseText";
            this.stb_host.SkinTxt.Size = new System.Drawing.Size(316, 18);
            this.stb_host.SkinTxt.TabIndex = 0;
            this.stb_host.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_host.SkinTxt.WaterText = "项目实际的地址,为Nginx反向代理的地址";
            this.stb_host.TabIndex = 1;
            this.stb_host.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_host.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_host.WaterText = "项目实际的地址,为Nginx反向代理的地址";
            this.stb_host.WordWrap = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label1.Location = new System.Drawing.Point(44, 51);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(74, 19);
            this.label1.TabIndex = 2;
            this.label1.Text = "访问地址:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.label2.Location = new System.Drawing.Point(44, 106);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(74, 19);
            this.label2.TabIndex = 3;
            this.label2.Text = "实际地址:";
            // 
            // cb_check
            // 
            this.cb_check.AutoSize = true;
            this.cb_check.BackColor = System.Drawing.Color.Transparent;
            this.cb_check.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.cb_check.Location = new System.Drawing.Point(126, 157);
            this.cb_check.Name = "cb_check";
            this.cb_check.Size = new System.Drawing.Size(132, 16);
            this.cb_check.TabIndex = 4;
            this.cb_check.Text = "是否检测可访问状态";
            this.cb_check.UseVisualStyleBackColor = false;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(330, 205);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(68, 25);
            this.button1.TabIndex = 5;
            this.button1.Text = "保存";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(418, 205);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(68, 25);
            this.button2.TabIndex = 6;
            this.button2.Text = "取消";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // NginxMappingItemForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(510, 250);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.cb_check);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.stb_host);
            this.Controls.Add(this.stb_url);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(510, 250);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(510, 250);
            this.Name = "NginxMappingItemForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Nginx Mapping Item";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.NginxMappingItemForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : TomcatMonitorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.contextMenu2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.自定义命令ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.TimedTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.ConditionTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.skinToolTip1 = new CCWin.SkinToolTip(this.components);
            this.linkLabel2 = new System.Windows.Forms.LinkLabel();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.projects = new CCWin.SkinControl.SkinListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.button5 = new System.Windows.Forms.Button();
            this.btn_run = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.btn_restart = new System.Windows.Forms.Button();
            this.btn_start = new System.Windows.Forms.Button();
            this.btn_stop = new System.Windows.Forms.Button();
            this.pic_run_state = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.l_visit_url = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.l_name = new System.Windows.Forms.TextBox();
            this.l_tomcat_path = new System.Windows.Forms.TextBox();
            this.l_xml_path = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label3 = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.custom_btn = new System.Windows.Forms.LinkLabel();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.shellView = new CCWin.SkinControl.SkinTextBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.label_msg = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.tb_port = new System.Windows.Forms.TextBox();
            this.label_status = new System.Windows.Forms.Label();
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
            this.contextMenu2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.SuspendLayout();
            // 
            // timer1
            // 
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // contextMenu2
            // 
            this.contextMenu2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.自定义命令ToolStripMenuItem,
            this.toolStripSeparator1,
            this.TimedTaskToolStripMenuItem,
            this.ConditionTaskToolStripMenuItem});
            this.contextMenu2.Name = "contextMenuStrip1";
            this.contextMenu2.Size = new System.Drawing.Size(137, 76);
            // 
            // 自定义命令ToolStripMenuItem
            // 
            this.自定义命令ToolStripMenuItem.Name = "自定义命令ToolStripMenuItem";
            this.自定义命令ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.自定义命令ToolStripMenuItem.Text = "自定义脚本";
            this.自定义命令ToolStripMenuItem.Click += new System.EventHandler(this.自定义命令ToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6);
            // 
            // TimedTaskToolStripMenuItem
            // 
            this.TimedTaskToolStripMenuItem.Name = "TimedTaskToolStripMenuItem";
            this.TimedTaskToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.TimedTaskToolStripMenuItem.Text = "定时任务";
            this.TimedTaskToolStripMenuItem.Click += new System.EventHandler(this.CustomTimeTaskToolStripMenuItem_Click);
            // 
            // ConditionTaskToolStripMenuItem
            // 
            this.ConditionTaskToolStripMenuItem.Name = "ConditionTaskToolStripMenuItem";
            this.ConditionTaskToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.ConditionTaskToolStripMenuItem.Text = "条件任务";
            this.ConditionTaskToolStripMenuItem.Click += new System.EventHandler(this.ConditionTaskToolStripMenuItem_Click_1);
            // 
            // skinToolTip1
            // 
            this.skinToolTip1.AutoPopDelay = 5000;
            this.skinToolTip1.InitialDelay = 500;
            this.skinToolTip1.OwnerDraw = true;
            this.skinToolTip1.ReshowDelay = 800;
            this.skinToolTip1.ToolTipreplacedle = "AppMonitor";
            // 
            // linkLabel2
            // 
            this.linkLabel2.AutoSize = true;
            this.linkLabel2.Location = new System.Drawing.Point(358, 95);
            this.linkLabel2.Name = "linkLabel2";
            this.linkLabel2.Size = new System.Drawing.Size(29, 12);
            this.linkLabel2.TabIndex = 24;
            this.linkLabel2.TabStop = true;
            this.linkLabel2.Text = "编辑";
            this.skinToolTip1.SetToolTip(this.linkLabel2, "编辑服务器上的server.xml文件");
            this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(357, 129);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(29, 12);
            this.linkLabel1.TabIndex = 23;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "访问";
            this.skinToolTip1.SetToolTip(this.linkLabel1, "在默认浏览器中打开项目首页地址");
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // projects
            // 
            this.projects.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.projects.BorderColor = System.Drawing.Color.LightGray;
            this.projects.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader4});
            this.projects.FullRowSelect = true;
            this.projects.GridLines = true;
            this.projects.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.projects.Location = new System.Drawing.Point(395, 13);
            this.projects.MultiSelect = false;
            this.projects.Name = "projects";
            this.projects.OwnerDraw = true;
            this.projects.RowBackColor2 = System.Drawing.Color.White;
            this.projects.SelectedColor = System.Drawing.Color.SkyBlue;
            this.projects.Size = new System.Drawing.Size(414, 186);
            this.projects.TabIndex = 11;
            this.skinToolTip1.SetToolTip(this.projects, "双击访问各个项目");
            this.projects.UseCompatibleStateImageBehavior = false;
            this.projects.View = System.Windows.Forms.View.Details;
            this.projects.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.projects_MouseDoubleClick);
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "项目访问地址";
            this.columnHeader2.Width = 220;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "磁盘路径";
            this.columnHeader4.Width = 300;
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(14, 111);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(81, 25);
            this.button5.TabIndex = 9;
            this.button5.Text = "立即检测";
            this.skinToolTip1.SetToolTip(this.button5, "立即检测程序运行是否正常");
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // btn_run
            // 
            this.btn_run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_run.Enabled = false;
            this.btn_run.Location = new System.Drawing.Point(631, 158);
            this.btn_run.Name = "btn_run";
            this.btn_run.Size = new System.Drawing.Size(65, 26);
            this.btn_run.TabIndex = 9;
            this.btn_run.Text = "运行";
            this.skinToolTip1.SetToolTip(this.btn_run, "手动运行脚本");
            this.btn_run.UseVisualStyleBackColor = true;
            this.btn_run.Click += new System.EventHandler(this.btn_run_Click);
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(403, 27);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(60, 28);
            this.button1.TabIndex = 21;
            this.button1.Text = "修改";
            this.skinToolTip1.SetToolTip(this.button1, "修改端口号");
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // btn_restart
            // 
            this.btn_restart.Location = new System.Drawing.Point(176, 27);
            this.btn_restart.Name = "btn_restart";
            this.btn_restart.Size = new System.Drawing.Size(60, 28);
            this.btn_restart.TabIndex = 7;
            this.btn_restart.Text = "重启";
            this.skinToolTip1.SetToolTip(this.btn_restart, "重启Tomcat,会先停止Tomcat然后再启动Tomcat");
            this.btn_restart.UseVisualStyleBackColor = true;
            this.btn_restart.Click += new System.EventHandler(this.btn_restart_Click);
            // 
            // btn_start
            // 
            this.btn_start.Location = new System.Drawing.Point(19, 27);
            this.btn_start.Name = "btn_start";
            this.btn_start.Size = new System.Drawing.Size(60, 28);
            this.btn_start.TabIndex = 5;
            this.btn_start.Text = "启动";
            this.skinToolTip1.SetToolTip(this.btn_start, "启动Tomcat,如果Tomcat未停止或导致因重复启动而失败");
            this.btn_start.UseVisualStyleBackColor = true;
            this.btn_start.Click += new System.EventHandler(this.btn_start_Click);
            // 
            // btn_stop
            // 
            this.btn_stop.Location = new System.Drawing.Point(99, 27);
            this.btn_stop.Name = "btn_stop";
            this.btn_stop.Size = new System.Drawing.Size(60, 28);
            this.btn_stop.TabIndex = 6;
            this.btn_stop.Text = "停止";
            this.skinToolTip1.SetToolTip(this.btn_stop, "停止Tomcat");
            this.btn_stop.UseVisualStyleBackColor = true;
            this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
            // 
            // pic_run_state
            // 
            this.pic_run_state.BackgroundImage = global::AppMonitor.Properties.Resources.gray_light_48;
            this.pic_run_state.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pic_run_state.Location = new System.Drawing.Point(31, 30);
            this.pic_run_state.Name = "pic_run_state";
            this.pic_run_state.Size = new System.Drawing.Size(48, 48);
            this.pic_run_state.TabIndex = 4;
            this.pic_run_state.TabStop = false;
            this.skinToolTip1.SetToolTip(this.pic_run_state, "未检测");
            // 
            // groupBox1
            // 
            this.groupBox1.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.groupBox1.Controls.Add(this.linkLabel2);
            this.groupBox1.Controls.Add(this.linkLabel1);
            this.groupBox1.Controls.Add(this.l_visit_url);
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this.projects);
            this.groupBox1.Controls.Add(this.l_name);
            this.groupBox1.Controls.Add(this.l_tomcat_path);
            this.groupBox1.Controls.Add(this.l_xml_path);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(7, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(815, 207);
            this.groupBox1.TabIndex = 7;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "基本信息";
            // 
            // l_visit_url
            // 
            this.l_visit_url.BackColor = System.Drawing.SystemColors.Control;
            this.l_visit_url.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_visit_url.Font = new System.Drawing.Font("宋体", 9F);
            this.l_visit_url.Location = new System.Drawing.Point(90, 129);
            this.l_visit_url.Name = "l_visit_url";
            this.l_visit_url.Size = new System.Drawing.Size(261, 14);
            this.l_visit_url.TabIndex = 22;
            // 
            // label9
            // 
            this.label9.Location = new System.Drawing.Point(11, 129);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(80, 12);
            this.label9.TabIndex = 21;
            this.label9.Text = "Home Url:";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // l_name
            // 
            this.l_name.BackColor = System.Drawing.SystemColors.Control;
            this.l_name.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_name.Font = new System.Drawing.Font("宋体", 9F);
            this.l_name.Location = new System.Drawing.Point(90, 27);
            this.l_name.Name = "l_name";
            this.l_name.ReadOnly = true;
            this.l_name.Size = new System.Drawing.Size(287, 14);
            this.l_name.TabIndex = 19;
            // 
            // l_tomcat_path
            // 
            this.l_tomcat_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_tomcat_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_tomcat_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_tomcat_path.Location = new System.Drawing.Point(90, 61);
            this.l_tomcat_path.Name = "l_tomcat_path";
            this.l_tomcat_path.ReadOnly = true;
            this.l_tomcat_path.Size = new System.Drawing.Size(287, 14);
            this.l_tomcat_path.TabIndex = 18;
            // 
            // l_xml_path
            // 
            this.l_xml_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_xml_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_xml_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_xml_path.Location = new System.Drawing.Point(90, 94);
            this.l_xml_path.Name = "l_xml_path";
            this.l_xml_path.ReadOnly = true;
            this.l_xml_path.Size = new System.Drawing.Size(261, 14);
            this.l_xml_path.TabIndex = 17;
            // 
            // label6
            // 
            this.label6.Location = new System.Drawing.Point(11, 27);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(80, 12);
            this.label6.TabIndex = 10;
            this.label6.Text = "Tomcat名称:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label5
            // 
            this.label5.Location = new System.Drawing.Point(11, 93);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(80, 12);
            this.label5.TabIndex = 9;
            this.label5.Text = "server.xml:";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // label2
            // 
            this.label2.Location = new System.Drawing.Point(11, 60);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(80, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "Tomcat路径:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // groupBox2
            // 
            this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox2.Controls.Add(this.label3);
            this.groupBox2.Controls.Add(this.progressBar1);
            this.groupBox2.Controls.Add(this.button5);
            this.groupBox2.Controls.Add(this.groupBox4);
            this.groupBox2.Controls.Add(this.groupBox3);
            this.groupBox2.Controls.Add(this.pic_run_state);
            this.groupBox2.Controls.Add(this.label_status);
            this.groupBox2.Location = new System.Drawing.Point(8, 219);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(814, 289);
            this.groupBox2.TabIndex = 8;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "状态监控";
            // 
            // label3
            // 
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.label3.ForeColor = System.Drawing.Color.Silver;
            this.label3.Location = new System.Drawing.Point(4, 262);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(67, 21);
            this.label3.TabIndex = 14;
            this.label3.Text = "Tomcat";
            // 
            // progressBar1
            // 
            this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.progressBar1.BackColor = System.Drawing.SystemColors.Control;
            this.progressBar1.Location = new System.Drawing.Point(59, 6);
            this.progressBar1.Maximum = 20;
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(758, 2);
            this.progressBar1.TabIndex = 9;
            this.progressBar1.Value = 20;
            // 
            // groupBox4
            // 
            this.groupBox4.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.groupBox4.Controls.Add(this.custom_btn);
            this.groupBox4.Controls.Add(this.customShellListView);
            this.groupBox4.Controls.Add(this.shellView);
            this.groupBox4.Controls.Add(this.btn_run);
            this.groupBox4.Location = new System.Drawing.Point(107, 94);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(701, 188);
            this.groupBox4.TabIndex = 10;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "扩展功能";
            // 
            // custom_btn
            // 
            this.custom_btn.AutoSize = true;
            this.custom_btn.LinkColor = System.Drawing.Color.Blue;
            this.custom_btn.Location = new System.Drawing.Point(69, 1);
            this.custom_btn.Name = "custom_btn";
            this.custom_btn.Size = new System.Drawing.Size(41, 12);
            this.custom_btn.TabIndex = 12;
            this.custom_btn.TabStop = true;
            this.custom_btn.Text = "自定义";
            this.skinToolTip1.SetToolTip(this.custom_btn, "自定义Shell、Task");
            this.custom_btn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
            // 
            // customShellListView
            // 
            this.customShellListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader3});
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(8, 20);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.SkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(284, 161);
            this.customShellListView.TabIndex = 10;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.SelectedIndexChanged += new System.EventHandler(this.customShellListView_SelectedIndexChanged);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "名称";
            this.columnHeader1.Width = 150;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "类型";
            this.columnHeader3.Width = 100;
            // 
            // shellView
            // 
            this.shellView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.shellView.BackColor = System.Drawing.Color.Transparent;
            this.shellView.DownBack = null;
            this.shellView.Icon = null;
            this.shellView.IconIsButton = false;
            this.shellView.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.IsPreplacedwordChat = '\0';
            this.shellView.IsSystemPreplacedwordChar = false;
            this.shellView.Lines = new string[0];
            this.shellView.Location = new System.Drawing.Point(295, 20);
            this.shellView.Margin = new System.Windows.Forms.Padding(0);
            this.shellView.MaxLength = 32767;
            this.shellView.MinimumSize = new System.Drawing.Size(28, 28);
            this.shellView.MouseBack = null;
            this.shellView.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.Multiline = true;
            this.shellView.Name = "shellView";
            this.shellView.NormlBack = null;
            this.shellView.Padding = new System.Windows.Forms.Padding(5);
            this.shellView.ReadOnly = false;
            this.shellView.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.Size = new System.Drawing.Size(400, 136);
            // 
            // 
            // 
            this.shellView.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shellView.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shellView.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shellView.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shellView.SkinTxt.Multiline = true;
            this.shellView.SkinTxt.Name = "BaseText";
            this.shellView.SkinTxt.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.SkinTxt.Size = new System.Drawing.Size(390, 126);
            this.shellView.SkinTxt.TabIndex = 0;
            this.shellView.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.SkinTxt.WaterText = "";
            this.shellView.TabIndex = 0;
            this.shellView.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shellView.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.WaterText = "";
            this.shellView.WordWrap = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox3.Controls.Add(this.label_msg);
            this.groupBox3.Controls.Add(this.button1);
            this.groupBox3.Controls.Add(this.label1);
            this.groupBox3.Controls.Add(this.tb_port);
            this.groupBox3.Controls.Add(this.btn_restart);
            this.groupBox3.Controls.Add(this.btn_start);
            this.groupBox3.Controls.Add(this.btn_stop);
            this.groupBox3.Location = new System.Drawing.Point(107, 12);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(701, 76);
            this.groupBox3.TabIndex = 9;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "基础功能";
            // 
            // label_msg
            // 
            this.label_msg.AutoSize = true;
            this.label_msg.ForeColor = System.Drawing.Color.Teal;
            this.label_msg.Location = new System.Drawing.Point(480, 38);
            this.label_msg.Name = "label_msg";
            this.label_msg.Size = new System.Drawing.Size(0, 12);
            this.label_msg.TabIndex = 22;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(282, 34);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(53, 12);
            this.label1.TabIndex = 20;
            this.label1.Text = "端口号:";
            // 
            // tb_port
            // 
            this.tb_port.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tb_port.Location = new System.Drawing.Point(339, 34);
            this.tb_port.Name = "tb_port";
            this.tb_port.ReadOnly = true;
            this.tb_port.Size = new System.Drawing.Size(55, 14);
            this.tb_port.TabIndex = 8;
            this.tb_port.Text = "8080";
            // 
            // label_status
            // 
            this.label_status.Location = new System.Drawing.Point(17, 88);
            this.label_status.Name = "label_status";
            this.label_status.Size = new System.Drawing.Size(79, 12);
            this.label_status.TabIndex = 1;
            this.label_status.Text = "检测中...";
            this.label_status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.toolStripMenuItem3});
            this.contextMenuStrip2.Name = "contextMenuStrip1";
            this.contextMenuStrip2.Size = new System.Drawing.Size(114, 48);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem2.Text = "Edit";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem3.Text = "Delete";
            this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
            // 
            // TomcatMonitorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(831, 513);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.groupBox2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "TomcatMonitorForm";
            this.Text = "TomcatMonitorForm";
            this.Load += new System.EventHandler(this.TomcatMonitorForm_Load);
            this.contextMenu2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.contextMenuStrip2.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : TimedTaskForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TimedTaskForm));
            this.scb_cycle = new CCWin.SkinControl.SkinComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.deleteItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.upToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.downToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.task_name = new CCWin.SkinControl.SkinTextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.week_panel = new System.Windows.Forms.Panel();
            this.week6 = new System.Windows.Forms.CheckBox();
            this.week5 = new System.Windows.Forms.CheckBox();
            this.week4 = new System.Windows.Forms.CheckBox();
            this.week3 = new System.Windows.Forms.CheckBox();
            this.week2 = new System.Windows.Forms.CheckBox();
            this.week1 = new System.Windows.Forms.CheckBox();
            this.week0 = new System.Windows.Forms.CheckBox();
            this.time = new System.Windows.Forms.DateTimePicker();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.date = new System.Windows.Forms.DateTimePicker();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.linkLabel2 = new System.Windows.Forms.LinkLabel();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.button1 = new System.Windows.Forms.Button();
            this.shell = new CCWin.SkinControl.SkinTextBox();
            this.shell_name = new CCWin.SkinControl.SkinTextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.label7 = new System.Windows.Forms.Label();
            this.scb_template = new CCWin.SkinControl.SkinListView();
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.var_list = new CCWin.SkinControl.SkinListView();
            this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.week_panel.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.SuspendLayout();
            // 
            // scb_cycle
            // 
            this.scb_cycle.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_cycle.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_cycle.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_cycle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_cycle.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_cycle.FormattingEnabled = true;
            this.scb_cycle.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_cycle.ItemHeight = 18;
            this.scb_cycle.Items.AddRange(new object[] {
            "仅一次",
            "每天",
            "每周",
            "每月",
            "每年"});
            this.scb_cycle.Location = new System.Drawing.Point(78, 23);
            this.scb_cycle.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_cycle.MouseColor = System.Drawing.Color.Orange;
            this.scb_cycle.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_cycle.Name = "scb_cycle";
            this.scb_cycle.Size = new System.Drawing.Size(137, 24);
            this.scb_cycle.TabIndex = 1;
            this.scb_cycle.WaterText = "";
            this.scb_cycle.SelectedIndexChanged += new System.EventHandler(this.skinComboBox1_SelectedIndexChanged);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(24, 25);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(48, 19);
            this.label1.TabIndex = 2;
            this.label1.Text = "周期:";
            // 
            // customShellListView
            // 
            this.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader3});
            this.customShellListView.ContextMenuStrip = this.contextMenuStrip1;
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(20, 290);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.LightSkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(955, 367);
            this.customShellListView.TabIndex = 11;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AllKeyUp);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "执行时间";
            this.columnHeader1.Width = 200;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "命令名称";
            this.columnHeader2.Width = 150;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "Shell脚本";
            this.columnHeader3.Width = 600;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.deleteItemToolStripMenuItem,
            this.upToolStripMenuItem,
            this.downToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(144, 70);
            // 
            // deleteItemToolStripMenuItem
            // 
            this.deleteItemToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.remove_16px;
            this.deleteItemToolStripMenuItem.Name = "deleteItemToolStripMenuItem";
            this.deleteItemToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.deleteItemToolStripMenuItem.Text = "Delete Item";
            this.deleteItemToolStripMenuItem.Click += new System.EventHandler(this.deleteItemToolStripMenuItem_Click);
            // 
            // upToolStripMenuItem
            // 
            this.upToolStripMenuItem.Name = "upToolStripMenuItem";
            this.upToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.upToolStripMenuItem.Text = "Up";
            this.upToolStripMenuItem.Click += new System.EventHandler(this.upToolStripMenuItem_Click);
            // 
            // downToolStripMenuItem
            // 
            this.downToolStripMenuItem.Name = "downToolStripMenuItem";
            this.downToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.downToolStripMenuItem.Text = "Down";
            this.downToolStripMenuItem.Click += new System.EventHandler(this.downToolStripMenuItem_Click);
            // 
            // task_name
            // 
            this.task_name.BackColor = System.Drawing.Color.Transparent;
            this.task_name.DownBack = null;
            this.task_name.Icon = null;
            this.task_name.IconIsButton = false;
            this.task_name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.task_name.IsPreplacedwordChat = '\0';
            this.task_name.IsSystemPreplacedwordChar = false;
            this.task_name.Lines = new string[0];
            this.task_name.Location = new System.Drawing.Point(93, 19);
            this.task_name.Margin = new System.Windows.Forms.Padding(0);
            this.task_name.MaxLength = 32767;
            this.task_name.MinimumSize = new System.Drawing.Size(28, 28);
            this.task_name.MouseBack = null;
            this.task_name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.task_name.Multiline = false;
            this.task_name.Name = "task_name";
            this.task_name.NormlBack = null;
            this.task_name.Padding = new System.Windows.Forms.Padding(5);
            this.task_name.ReadOnly = false;
            this.task_name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.task_name.Size = new System.Drawing.Size(433, 28);
            // 
            // 
            // 
            this.task_name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.task_name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.task_name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.task_name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.task_name.SkinTxt.Name = "BaseText";
            this.task_name.SkinTxt.Size = new System.Drawing.Size(423, 18);
            this.task_name.SkinTxt.TabIndex = 0;
            this.task_name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.task_name.SkinTxt.WaterText = "任务名称";
            this.task_name.TabIndex = 12;
            this.task_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.task_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.task_name.WaterText = "任务名称";
            this.task_name.WordWrap = true;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(12, 23);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(74, 19);
            this.label2.TabIndex = 13;
            this.label2.Text = "任务名称:";
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.scb_cycle);
            this.groupBox1.Controls.Add(this.week_panel);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.time);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.date);
            this.groupBox1.Location = new System.Drawing.Point(20, 110);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(427, 172);
            this.groupBox1.TabIndex = 14;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "执行时间";
            // 
            // week_panel
            // 
            this.week_panel.Controls.Add(this.week6);
            this.week_panel.Controls.Add(this.week5);
            this.week_panel.Controls.Add(this.week4);
            this.week_panel.Controls.Add(this.week3);
            this.week_panel.Controls.Add(this.week2);
            this.week_panel.Controls.Add(this.week1);
            this.week_panel.Controls.Add(this.week0);
            this.week_panel.Location = new System.Drawing.Point(76, 57);
            this.week_panel.Name = "week_panel";
            this.week_panel.Size = new System.Drawing.Size(332, 29);
            this.week_panel.TabIndex = 18;
            this.week_panel.Visible = false;
            // 
            // week6
            // 
            this.week6.AutoSize = true;
            this.week6.Location = new System.Drawing.Point(266, 4);
            this.week6.Name = "week6";
            this.week6.Size = new System.Drawing.Size(39, 21);
            this.week6.TabIndex = 6;
            this.week6.Text = "六";
            this.week6.UseVisualStyleBackColor = true;
            // 
            // week5
            // 
            this.week5.AutoSize = true;
            this.week5.Location = new System.Drawing.Point(223, 4);
            this.week5.Name = "week5";
            this.week5.Size = new System.Drawing.Size(39, 21);
            this.week5.TabIndex = 5;
            this.week5.Text = "五";
            this.week5.UseVisualStyleBackColor = true;
            // 
            // week4
            // 
            this.week4.AutoSize = true;
            this.week4.Location = new System.Drawing.Point(180, 4);
            this.week4.Name = "week4";
            this.week4.Size = new System.Drawing.Size(39, 21);
            this.week4.TabIndex = 4;
            this.week4.Text = "四";
            this.week4.UseVisualStyleBackColor = true;
            // 
            // week3
            // 
            this.week3.AutoSize = true;
            this.week3.Location = new System.Drawing.Point(137, 4);
            this.week3.Name = "week3";
            this.week3.Size = new System.Drawing.Size(39, 21);
            this.week3.TabIndex = 3;
            this.week3.Text = "三";
            this.week3.UseVisualStyleBackColor = true;
            // 
            // week2
            // 
            this.week2.AutoSize = true;
            this.week2.Location = new System.Drawing.Point(94, 4);
            this.week2.Name = "week2";
            this.week2.Size = new System.Drawing.Size(39, 21);
            this.week2.TabIndex = 2;
            this.week2.Text = "二";
            this.week2.UseVisualStyleBackColor = true;
            // 
            // week1
            // 
            this.week1.AutoSize = true;
            this.week1.Location = new System.Drawing.Point(51, 4);
            this.week1.Name = "week1";
            this.week1.Size = new System.Drawing.Size(39, 21);
            this.week1.TabIndex = 1;
            this.week1.Text = "一";
            this.week1.UseVisualStyleBackColor = true;
            // 
            // week0
            // 
            this.week0.AutoSize = true;
            this.week0.Location = new System.Drawing.Point(4, 4);
            this.week0.Name = "week0";
            this.week0.Size = new System.Drawing.Size(43, 21);
            this.week0.TabIndex = 0;
            this.week0.Text = "日 ";
            this.week0.UseVisualStyleBackColor = true;
            // 
            // time
            // 
            this.time.Format = System.Windows.Forms.DateTimePickerFormat.Time;
            this.time.Location = new System.Drawing.Point(78, 94);
            this.time.MinDate = new System.DateTime(2017, 11, 20, 0, 0, 0, 0);
            this.time.Name = "time";
            this.time.ShowUpDown = true;
            this.time.Size = new System.Drawing.Size(137, 23);
            this.time.TabIndex = 17;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.Location = new System.Drawing.Point(24, 59);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(48, 19);
            this.label3.TabIndex = 15;
            this.label3.Text = "日期:";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.Location = new System.Drawing.Point(24, 95);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(48, 19);
            this.label4.TabIndex = 14;
            this.label4.Text = "时间:";
            // 
            // date
            // 
            this.date.CalendarTrailingForeColor = System.Drawing.Color.Olive;
            this.date.Location = new System.Drawing.Point(78, 57);
            this.date.MinDate = new System.DateTime(2017, 11, 20, 0, 0, 0, 0);
            this.date.Name = "date";
            this.date.ShowUpDown = true;
            this.date.Size = new System.Drawing.Size(137, 23);
            this.date.TabIndex = 16;
            // 
            // groupBox2
            // 
            this.groupBox2.BackColor = System.Drawing.Color.Transparent;
            this.groupBox2.Controls.Add(this.task_name);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Location = new System.Drawing.Point(20, 35);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(788, 61);
            this.groupBox2.TabIndex = 15;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "任务信息";
            // 
            // groupBox3
            // 
            this.groupBox3.BackColor = System.Drawing.Color.Transparent;
            this.groupBox3.Controls.Add(this.linkLabel2);
            this.groupBox3.Controls.Add(this.linkLabel1);
            this.groupBox3.Controls.Add(this.button1);
            this.groupBox3.Controls.Add(this.shell);
            this.groupBox3.Controls.Add(this.shell_name);
            this.groupBox3.Controls.Add(this.label5);
            this.groupBox3.Controls.Add(this.label6);
            this.groupBox3.Location = new System.Drawing.Point(453, 111);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(522, 172);
            this.groupBox3.TabIndex = 18;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "任务命令";
            // 
            // linkLabel2
            // 
            this.linkLabel2.AutoSize = true;
            this.linkLabel2.Location = new System.Drawing.Point(457, 68);
            this.linkLabel2.Name = "linkLabel2";
            this.linkLabel2.Size = new System.Drawing.Size(56, 17);
            this.linkLabel2.TabIndex = 20;
            this.linkLabel2.TabStop = true;
            this.linkLabel2.Text = "插入变量";
            this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(456, 26);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(56, 17);
            this.linkLabel1.TabIndex = 16;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "选择模版";
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(456, 128);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(60, 38);
            this.button1.TabIndex = 19;
            this.button1.Text = "新增↓";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // shell
            // 
            this.shell.BackColor = System.Drawing.Color.Transparent;
            this.shell.DownBack = null;
            this.shell.Icon = null;
            this.shell.IconIsButton = false;
            this.shell.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell.IsPreplacedwordChat = '\0';
            this.shell.IsSystemPreplacedwordChar = false;
            this.shell.Lines = new string[0];
            this.shell.Location = new System.Drawing.Point(78, 56);
            this.shell.Margin = new System.Windows.Forms.Padding(0);
            this.shell.MaxLength = 32767;
            this.shell.MinimumSize = new System.Drawing.Size(28, 28);
            this.shell.MouseBack = null;
            this.shell.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell.Multiline = true;
            this.shell.Name = "shell";
            this.shell.NormlBack = null;
            this.shell.Padding = new System.Windows.Forms.Padding(5);
            this.shell.ReadOnly = false;
            this.shell.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.shell.Size = new System.Drawing.Size(372, 111);
            // 
            // 
            // 
            this.shell.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shell.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shell.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shell.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shell.SkinTxt.Multiline = true;
            this.shell.SkinTxt.Name = "BaseText";
            this.shell.SkinTxt.Size = new System.Drawing.Size(362, 101);
            this.shell.SkinTxt.TabIndex = 0;
            this.shell.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell.SkinTxt.WaterText = "shell脚本";
            this.shell.TabIndex = 14;
            this.shell.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shell.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell.WaterText = "shell脚本";
            this.shell.WordWrap = true;
            this.shell.Enter += new System.EventHandler(this.shell_Enter);
            // 
            // shell_name
            // 
            this.shell_name.BackColor = System.Drawing.Color.Transparent;
            this.shell_name.DownBack = null;
            this.shell_name.Icon = null;
            this.shell_name.IconIsButton = false;
            this.shell_name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell_name.IsPreplacedwordChat = '\0';
            this.shell_name.IsSystemPreplacedwordChar = false;
            this.shell_name.Lines = new string[0];
            this.shell_name.Location = new System.Drawing.Point(78, 19);
            this.shell_name.Margin = new System.Windows.Forms.Padding(0);
            this.shell_name.MaxLength = 32767;
            this.shell_name.MinimumSize = new System.Drawing.Size(28, 28);
            this.shell_name.MouseBack = null;
            this.shell_name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell_name.Multiline = false;
            this.shell_name.Name = "shell_name";
            this.shell_name.NormlBack = null;
            this.shell_name.Padding = new System.Windows.Forms.Padding(5);
            this.shell_name.ReadOnly = false;
            this.shell_name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.shell_name.Size = new System.Drawing.Size(372, 28);
            // 
            // 
            // 
            this.shell_name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shell_name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shell_name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shell_name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shell_name.SkinTxt.Name = "BaseText";
            this.shell_name.SkinTxt.Size = new System.Drawing.Size(362, 18);
            this.shell_name.SkinTxt.TabIndex = 0;
            this.shell_name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell_name.SkinTxt.WaterText = "命令/脚本名称";
            this.shell_name.TabIndex = 13;
            this.shell_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shell_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell_name.WaterText = "命令/脚本名称";
            this.shell_name.WordWrap = true;
            this.shell_name.Enter += new System.EventHandler(this.shell_name_Enter);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.Location = new System.Drawing.Point(27, 23);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(48, 19);
            this.label5.TabIndex = 15;
            this.label5.Text = "名称:";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.Location = new System.Drawing.Point(27, 57);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(48, 19);
            this.label6.TabIndex = 14;
            this.label6.Text = "脚本:";
            // 
            // button2
            // 
            this.button2.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.button2.Location = new System.Drawing.Point(814, 44);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(161, 52);
            this.button2.TabIndex = 18;
            this.button2.Text = "保存 Ctrl+S";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label7
            // 
            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label7.BackColor = System.Drawing.SystemColors.ActiveCaption;
            this.label7.Location = new System.Drawing.Point(9, 101);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(980, 5);
            this.label7.TabIndex = 19;
            // 
            // scb_template
            // 
            this.scb_template.BorderColor = System.Drawing.Color.LightGray;
            this.scb_template.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader4,
            this.columnHeader5});
            this.scb_template.FullRowSelect = true;
            this.scb_template.GridLines = true;
            this.scb_template.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_template.Location = new System.Drawing.Point(158, 5);
            this.scb_template.MultiSelect = false;
            this.scb_template.Name = "scb_template";
            this.scb_template.OwnerDraw = true;
            this.scb_template.RowBackColor2 = System.Drawing.Color.White;
            this.scb_template.SelectedColor = System.Drawing.Color.LightSteelBlue;
            this.scb_template.Size = new System.Drawing.Size(370, 182);
            this.scb_template.TabIndex = 21;
            this.scb_template.UseCompatibleStateImageBehavior = false;
            this.scb_template.View = System.Windows.Forms.View.Details;
            this.scb_template.Visible = false;
            this.scb_template.MouseClick += new System.Windows.Forms.MouseEventHandler(this.scb_template_MouseClick);
            this.scb_template.MouseUp += new System.Windows.Forms.MouseEventHandler(this.scb_template_MouseUp);
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "命令名称";
            this.columnHeader4.Width = 120;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "Shell脚本";
            this.columnHeader5.Width = 245;
            // 
            // var_list
            // 
            this.var_list.BorderColor = System.Drawing.Color.LightGray;
            this.var_list.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader6,
            this.columnHeader7});
            this.var_list.FullRowSelect = true;
            this.var_list.GridLines = true;
            this.var_list.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.var_list.Location = new System.Drawing.Point(539, 5);
            this.var_list.MultiSelect = false;
            this.var_list.Name = "var_list";
            this.var_list.OwnerDraw = true;
            this.var_list.RowBackColor2 = System.Drawing.Color.White;
            this.var_list.SelectedColor = System.Drawing.Color.LightSteelBlue;
            this.var_list.Size = new System.Drawing.Size(370, 182);
            this.var_list.TabIndex = 22;
            this.var_list.UseCompatibleStateImageBehavior = false;
            this.var_list.View = System.Windows.Forms.View.Details;
            this.var_list.Visible = false;
            this.var_list.MouseClick += new System.Windows.Forms.MouseEventHandler(this.var_list_MouseClick);
            this.var_list.MouseUp += new System.Windows.Forms.MouseEventHandler(this.var_list_MouseUp);
            // 
            // columnHeader6
            // 
            this.columnHeader6.Text = "变量";
            this.columnHeader6.Width = 180;
            // 
            // columnHeader7
            // 
            this.columnHeader7.Text = "描述";
            this.columnHeader7.Width = 185;
            // 
            // TimedTaskForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(997, 670);
            this.Controls.Add(this.var_list);
            this.Controls.Add(this.scb_template);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.customShellListView);
            this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(718, 528);
            this.Name = "TimedTaskForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "定时任务";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.TimedTaskForm_Load);
            this.contextMenuStrip1.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.week_panel.ResumeLayout(false);
            this.week_panel.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.ResumeLayout(false);

        }

19 View Source File : Form1.Designer.cs
License : MIT License
Project Creator : 200Tigersbloxed

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.panel1 = new System.Windows.Forms.Panel();
            this.label1 = new System.Windows.Forms.Label();
            this.closeForm1 = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.button3 = new System.Windows.Forms.Button();
            this.label7 = new System.Windows.Forms.Label();
            this.button4 = new System.Windows.Forms.Button();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.label8 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.closeForm1);
            this.panel1.Location = new System.Drawing.Point(-4, -3);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(402, 36);
            this.panel1.TabIndex = 0;
            this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.SystemColors.Control;
            this.label1.Location = new System.Drawing.Point(17, 16);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(117, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "BSMulti Installer v2";
            // 
            // closeForm1
            // 
            this.closeForm1.FlatAppearance.BorderSize = 0;
            this.closeForm1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.closeForm1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.closeForm1.ForeColor = System.Drawing.SystemColors.Control;
            this.closeForm1.Location = new System.Drawing.Point(353, 0);
            this.closeForm1.Name = "closeForm1";
            this.closeForm1.Size = new System.Drawing.Size(46, 36);
            this.closeForm1.TabIndex = 1;
            this.closeForm1.TabStop = false;
            this.closeForm1.Text = "X";
            this.closeForm1.UseVisualStyleBackColor = true;
            this.closeForm1.Click += new System.EventHandler(this.closeForm1_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Arial Narrow", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.SystemColors.Control;
            this.label2.Location = new System.Drawing.Point(12, 62);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 25);
            this.label2.TabIndex = 3;
            this.label2.Text = "Step 1";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.ForeColor = System.Drawing.SystemColors.Control;
            this.label3.Location = new System.Drawing.Point(14, 106);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(215, 16);
            this.label3.TabIndex = 4;
            this.label3.Text = "Please select your Beat Saber Directory";
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.button1.FlatAppearance.BorderSize = 0;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor = System.Drawing.SystemColors.Control;
            this.button1.Location = new System.Drawing.Point(12, 217);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(122, 38);
            this.button1.TabIndex = 5;
            this.button1.TabStop = false;
            this.button1.Text = "STEAM";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label4.Location = new System.Drawing.Point(112, 186);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(168, 16);
            this.label4.TabIndex = 6;
            this.label4.Text = "AUTO FIND GAME DIRECTORY";
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.button2.FlatAppearance.BorderSize = 0;
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor = System.Drawing.SystemColors.Control;
            this.button2.Location = new System.Drawing.Point(261, 217);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(122, 38);
            this.button2.TabIndex = 7;
            this.button2.TabStop = false;
            this.button2.Text = "OCULUS";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label5.Location = new System.Drawing.Point(183, 268);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(24, 16);
            this.label5.TabIndex = 8;
            this.label5.Text = "OR";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label6.Location = new System.Drawing.Point(96, 307);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(199, 16);
            this.label6.TabIndex = 9;
            this.label6.Text = "MANUALLY FIND GAME DIRECTORY";
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(17, 339);
            this.textBox1.Name = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size = new System.Drawing.Size(278, 20);
            this.textBox1.TabIndex = 10;
            // 
            // button3
            // 
            this.button3.BackColor = System.Drawing.SystemColors.MenuHighlight;
            this.button3.FlatAppearance.BorderSize = 0;
            this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button3.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button3.ForeColor = System.Drawing.SystemColors.Control;
            this.button3.Location = new System.Drawing.Point(309, 339);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(74, 20);
            this.button3.TabIndex = 11;
            this.button3.TabStop = false;
            this.button3.Text = "SELECT";
            this.button3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
            this.label7.Location = new System.Drawing.Point(14, 394);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(372, 16);
            this.label7.TabIndex = 12;
            this.label7.Text = "---------------------------------------------------------------------------------" +
    "----------";
            // 
            // button4
            // 
            this.button4.BackColor = System.Drawing.SystemColors.GrayText;
            this.button4.FlatAppearance.BorderSize = 0;
            this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button4.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button4.ForeColor = System.Drawing.SystemColors.Control;
            this.button4.Location = new System.Drawing.Point(16, 425);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(122, 38);
            this.button4.TabIndex = 13;
            this.button4.TabStop = false;
            this.button4.Text = "NEXT";
            this.button4.UseVisualStyleBackColor = false;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = global::BSMulti_Installer2.Properties.Resources.cross;
            this.pictureBox1.Location = new System.Drawing.Point(309, 62);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(69, 69);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 14;
            this.pictureBox1.TabStop = false;
            // 
            // linkLabel1
            // 
            this.linkLabel1.LinkColor = System.Drawing.SystemColors.MenuHighlight;
            this.linkLabel1.Location = new System.Drawing.Point(139, 231);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(117, 23);
            this.linkLabel1.TabIndex = 29;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "README";
            this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.ForeColor = System.Drawing.SystemColors.Control;
            this.label8.Location = new System.Drawing.Point(144, 425);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(113, 16);
            this.label8.TabIndex = 30;
            this.label8.Text = "Multiplayer Version:";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Font = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.ForeColor = System.Drawing.SystemColors.Control;
            this.label9.Location = new System.Drawing.Point(144, 447);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(133, 16);
            this.label9.TabIndex = 31;
            this.label9.Text = "MultiplayerLite Version:";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(37)))), ((int)(((byte)(37)))));
            this.ClientSize = new System.Drawing.Size(395, 484);
            this.Controls.Add(this.label9);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.linkLabel1);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.button4);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.panel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "BeatSaber Multiplayer Installer v2";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : SftpForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SftpForm));
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.status_info = new System.Windows.Forms.ToolStripStatusLabel();
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
            this.text_host = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
            this.text_username = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
            this.text_preplaced = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
            this.text_port = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panel2 = new System.Windows.Forms.Panel();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.listView3 = new System.Windows.Forms.ListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.removeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.restartFailedsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.restartTransfersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.logtext = new System.Windows.Forms.RichTextBox();
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.statusStrip1.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.SuspendLayout();
            // 
            // statusStrip1
            // 
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.status_info});
            this.statusStrip1.Location = new System.Drawing.Point(8, 733);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(1125, 22);
            this.statusStrip1.TabIndex = 2;
            this.statusStrip1.Text = "statusStrip1";
            // 
            // status_info
            // 
            this.status_info.AutoSize = false;
            this.status_info.Name = "status_info";
            this.status_info.Size = new System.Drawing.Size(200, 17);
            this.status_info.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // toolStrip2
            // 
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripLabel1,
            this.text_host,
            this.toolStripSeparator1,
            this.toolStripLabel2,
            this.text_username,
            this.toolStripSeparator2,
            this.toolStripLabel3,
            this.text_preplaced,
            this.toolStripLabel4,
            this.text_port,
            this.toolStripButton7});
            this.toolStrip2.Location = new System.Drawing.Point(8, 30);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.Size = new System.Drawing.Size(1125, 25);
            this.toolStrip2.TabIndex = 3;
            this.toolStrip2.Text = "toolStrip2";
            // 
            // toolStripLabel1
            // 
            this.toolStripLabel1.Name = "toolStripLabel1";
            this.toolStripLabel1.Size = new System.Drawing.Size(47, 22);
            this.toolStripLabel1.Text = "Host:";
            // 
            // text_host
            // 
            this.text_host.Name = "text_host";
            this.text_host.Size = new System.Drawing.Size(200, 25);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            // 
            // toolStripLabel2
            // 
            this.toolStripLabel2.Name = "toolStripLabel2";
            this.toolStripLabel2.Size = new System.Drawing.Size(82, 22);
            this.toolStripLabel2.Text = "UserName:";
            // 
            // text_username
            // 
            this.text_username.Name = "text_username";
            this.text_username.Size = new System.Drawing.Size(160, 25);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            // 
            // toolStripLabel3
            // 
            this.toolStripLabel3.Name = "toolStripLabel3";
            this.toolStripLabel3.Size = new System.Drawing.Size(76, 22);
            this.toolStripLabel3.Text = "Preplacedword:";
            // 
            // text_preplaced
            // 
            this.text_preplaced.Name = "text_preplaced";
            this.text_preplaced.Size = new System.Drawing.Size(160, 25);
            // 
            // toolStripLabel4
            // 
            this.toolStripLabel4.Name = "toolStripLabel4";
            this.toolStripLabel4.Size = new System.Drawing.Size(44, 22);
            this.toolStripLabel4.Text = "Port:";
            // 
            // text_port
            // 
            this.text_port.Name = "text_port";
            this.text_port.Size = new System.Drawing.Size(60, 25);
            this.text_port.Text = "22";
            // 
            // toolStripButton7
            // 
            this.toolStripButton7.Image = global::AppMonitor.Properties.Resources.reConn;
            this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(75, 22);
            this.toolStripButton7.Text = "Connect";
            this.toolStripButton7.Click += new System.EventHandler(this.toolStripButton7_Click);
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(8, 55);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
            this.splitContainer1.Size = new System.Drawing.Size(1125, 678);
            this.splitContainer1.SplitterDistance = 520;
            this.splitContainer1.TabIndex = 4;
            // 
            // splitContainer2
            // 
            this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name = "splitContainer2";
            // 
            // splitContainer2.Panel1
            // 
            this.splitContainer2.Panel1.Controls.Add(this.panel1);
            // 
            // splitContainer2.Panel2
            // 
            this.splitContainer2.Panel2.Controls.Add(this.panel2);
            this.splitContainer2.Size = new System.Drawing.Size(1125, 520);
            this.splitContainer2.SplitterDistance = 501;
            this.splitContainer2.TabIndex = 0;
            // 
            // panel1
            // 
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(501, 520);
            this.panel1.TabIndex = 0;
            // 
            // panel2
            // 
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(620, 520);
            this.panel2.TabIndex = 1;
            // 
            // tabControl1
            // 
            this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            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(1125, 154);
            this.tabControl1.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.listView3);
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(1117, 125);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Transfers";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // listView3
            // 
            this.listView3.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader3,
            this.columnHeader4,
            this.columnHeader5,
            this.columnHeader6,
            this.columnHeader7,
            this.columnHeader8});
            this.listView3.ContextMenuStrip = this.contextMenuStrip1;
            this.listView3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView3.FullRowSelect = true;
            this.listView3.Location = new System.Drawing.Point(3, 3);
            this.listView3.Name = "listView3";
            this.listView3.Size = new System.Drawing.Size(1111, 119);
            this.listView3.TabIndex = 0;
            this.listView3.UseCompatibleStateImageBehavior = false;
            this.listView3.View = System.Windows.Forms.View.Details;
            this.listView3.SelectedIndexChanged += new System.EventHandler(this.listView3_SelectedIndexChanged);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "Name";
            this.columnHeader1.Width = 270;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "Status";
            this.columnHeader2.Width = 70;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "Progress";
            this.columnHeader3.Width = 80;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "Size";
            this.columnHeader4.Width = 70;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "Local Path";
            this.columnHeader5.Width = 220;
            // 
            // columnHeader6
            // 
            this.columnHeader6.Text = "Remote Path";
            this.columnHeader6.Width = 220;
            // 
            // columnHeader7
            // 
            this.columnHeader7.Text = "Speed";
            // 
            // columnHeader8
            // 
            this.columnHeader8.Text = "Time Left";
            this.columnHeader8.Width = 70;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.removeToolStripMenuItem,
            this.removeAllToolStripMenuItem,
            this.toolStripSeparator5,
            this.restartFailedsToolStripMenuItem,
            this.restartTransfersToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(176, 98);
            // 
            // removeToolStripMenuItem
            // 
            this.removeToolStripMenuItem.Enabled = false;
            this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
            this.removeToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
            this.removeToolStripMenuItem.Text = "Remove";
            this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
            // 
            // removeAllToolStripMenuItem
            // 
            this.removeAllToolStripMenuItem.Enabled = false;
            this.removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem";
            this.removeAllToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
            this.removeAllToolStripMenuItem.Text = "Remove All";
            this.removeAllToolStripMenuItem.Click += new System.EventHandler(this.removeAllToolStripMenuItem_Click);
            // 
            // toolStripSeparator5
            // 
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(172, 6);
            // 
            // restartFailedsToolStripMenuItem
            // 
            this.restartFailedsToolStripMenuItem.Enabled = false;
            this.restartFailedsToolStripMenuItem.Name = "restartFailedsToolStripMenuItem";
            this.restartFailedsToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
            this.restartFailedsToolStripMenuItem.Text = "Restart All Failed";
            this.restartFailedsToolStripMenuItem.Click += new System.EventHandler(this.restartFailedsToolStripMenuItem_Click);
            // 
            // restartTransfersToolStripMenuItem
            // 
            this.restartTransfersToolStripMenuItem.Enabled = false;
            this.restartTransfersToolStripMenuItem.Name = "restartTransfersToolStripMenuItem";
            this.restartTransfersToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
            this.restartTransfersToolStripMenuItem.Text = "Restart Transfers";
            this.restartTransfersToolStripMenuItem.Click += new System.EventHandler(this.restartTransfersToolStripMenuItem_Click);
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.logtext);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(1117, 125);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Logs";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // logtext
            // 
            this.logtext.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
            this.logtext.ContextMenuStrip = this.contextMenuStrip2;
            this.logtext.Dock = System.Windows.Forms.DockStyle.Fill;
            this.logtext.ForeColor = System.Drawing.Color.White;
            this.logtext.Location = new System.Drawing.Point(3, 3);
            this.logtext.Name = "logtext";
            this.logtext.ReadOnly = true;
            this.logtext.Size = new System.Drawing.Size(1111, 119);
            this.logtext.TabIndex = 0;
            this.logtext.Text = "";
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.copyToolStripMenuItem,
            this.clearToolStripMenuItem,
            this.selectAllToolStripMenuItem});
            this.contextMenuStrip2.Name = "contextMenuStrip2";
            this.contextMenuStrip2.Size = new System.Drawing.Size(129, 70);
            // 
            // copyToolStripMenuItem
            // 
            this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
            this.copyToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
            this.copyToolStripMenuItem.Text = "&Copy";
            this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
            // 
            // clearToolStripMenuItem
            // 
            this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
            this.clearToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
            this.clearToolStripMenuItem.Text = "&Clear";
            this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click);
            // 
            // selectAllToolStripMenuItem
            // 
            this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
            this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
            this.selectAllToolStripMenuItem.Text = "&Select All";
            this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
            // 
            // SftpForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(1141, 763);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.toolStrip2);
            this.Controls.Add(this.statusStrip1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "SftpForm";
            this.Text = "AMSftp";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SftpForm_FormClosing);
            this.Load += new System.EventHandler(this.SftpForm_Load);
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
            this.splitContainer2.ResumeLayout(false);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.contextMenuStrip2.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : FScrollBar.cs
License : MIT License
Project Creator : 0xLaileb

private void Draw_Bar(Graphics graphics, float roundingValue)
        {
            if (Maximum <= 0) return;
            rectangle_value = new Rectangle(2, 2, rectangle_region.Width, ThumbSize);

            switch (OrientationValue)
            {
                case Orientation.Vertical:
                    rectangle_value = new Rectangle(
                    rectangle_region.X,
                    rectangle_region.Y + (Value * (rectangle_region.Height - ThumbSize) / Maximum),
                    rectangle_region.Width,
                    ThumbSize);
                    break;
                case Orientation.Horizontal:
                    rectangle_value = new Rectangle(
                    rectangle_region.X + (Value * (rectangle_region.Width - ThumbSize) / Maximum),
                    rectangle_region.Y,
                    ThumbSize,
                    rectangle_region.Height);
                    break;
            }

            int tmp = 1;
            rectangle_value.X -= tmp;
            rectangle_value.Y -= tmp;
            rectangle_value.Width += tmp * 2;
            rectangle_value.Height += tmp * 2;
            roundingValue += tmp * 2;

            if (LinearGradient_Value) graphics.FillPath(new LinearGradientBrush(rectangle_region,
                    Color.FromArgb(ColorScrollBar_Transparency, RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1),
                    Color.FromArgb(ColorScrollBar_Transparency, RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2), 360),
                    DrawEngine.RoundedRectangle(rectangle_value, roundingValue));
            else graphics.FillPath(new SolidBrush(
                Color.FromArgb(ColorScrollBar_Transparency, RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorScrollBar)),
                DrawEngine.RoundedRectangle(rectangle_value, roundingValue));
        }

19 View Source File : UCGeneratedCode.Designer.cs
License : MIT License
Project Creator : 2881099

private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
            this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
            this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
            this.groupPanel3 = new DevComponents.DotNetBar.Controls.GroupPanel();
            this.labelX1 = new DevComponents.DotNetBar.LabelX();
            this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx();
            this.checkBoxX4 = new DevComponents.DotNetBar.Controls.CheckBoxX();
            this.checkBoxX3 = new DevComponents.DotNetBar.Controls.CheckBoxX();
            this.checkBoxX2 = new DevComponents.DotNetBar.Controls.CheckBoxX();
            this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
            this.textBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX();
            this.labelX6 = new DevComponents.DotNetBar.LabelX();
            this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX();
            this.labelX5 = new DevComponents.DotNetBar.LabelX();
            this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem();
            this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
            this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem();
            this.elementHost1 = new System.Windows.Forms.Integration.ElementHost();
            this.elementHost2 = new System.Windows.Forms.Integration.ElementHost();
            ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
            this.superTabControl1.SuspendLayout();
            this.superTabControlPanel1.SuspendLayout();
            this.groupPanel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
            this.superTabControlPanel2.SuspendLayout();
            this.SuspendLayout();
            // 
            // superTabControl1
            // 
            // 
            // 
            // 
            // 
            // 
            // 
            this.superTabControl1.ControlBox.CloseBox.Name = "";
            // 
            // 
            // 
            this.superTabControl1.ControlBox.MenuBox.Name = "";
            this.superTabControl1.ControlBox.Name = "";
            this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            this.superTabControl1.ControlBox.MenuBox,
            this.superTabControl1.ControlBox.CloseBox});
            this.superTabControl1.Controls.Add(this.superTabControlPanel2);
            this.superTabControl1.Controls.Add(this.superTabControlPanel1);
            this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.superTabControl1.Location = new System.Drawing.Point(0, 0);
            this.superTabControl1.Name = "superTabControl1";
            this.superTabControl1.ReorderTabsEnabled = true;
            this.superTabControl1.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
            this.superTabControl1.SelectedTabIndex = 0;
            this.superTabControl1.Size = new System.Drawing.Size(1304, 666);
            this.superTabControl1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Bottom;
            this.superTabControl1.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.superTabControl1.TabIndex = 8;
            this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            this.superTabItem1,
            this.superTabItem2});
            this.superTabControl1.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.OfficeMobile2014;
            this.superTabControl1.Text = "superTabControl1";
            this.superTabControl1.SelectedTabChanging += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangingEventArgs>(this.superTabControl1_SelectedTabChanging);
            // 
            // superTabControlPanel1
            // 
            this.superTabControlPanel1.Controls.Add(this.elementHost1);
            this.superTabControlPanel1.Controls.Add(this.groupPanel3);
            this.superTabControlPanel1.Controls.Add(this.dataGridViewX1);
            this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0);
            this.superTabControlPanel1.Name = "superTabControlPanel1";
            this.superTabControlPanel1.Size = new System.Drawing.Size(1304, 630);
            this.superTabControlPanel1.TabIndex = 1;
            this.superTabControlPanel1.TabItem = this.superTabItem1;
            // 
            // groupPanel3
            // 
            this.groupPanel3.CanvasColor = System.Drawing.SystemColors.Control;
            this.groupPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
            this.groupPanel3.Controls.Add(this.labelX1);
            this.groupPanel3.Controls.Add(this.comboBoxEx1);
            this.groupPanel3.Controls.Add(this.checkBoxX4);
            this.groupPanel3.Controls.Add(this.checkBoxX3);
            this.groupPanel3.Controls.Add(this.checkBoxX2);
            this.groupPanel3.Controls.Add(this.checkBoxX1);
            this.groupPanel3.Controls.Add(this.textBoxX2);
            this.groupPanel3.Controls.Add(this.labelX6);
            this.groupPanel3.Controls.Add(this.textBoxX1);
            this.groupPanel3.Controls.Add(this.labelX5);
            this.groupPanel3.DisabledBackColor = System.Drawing.Color.Empty;
            this.groupPanel3.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupPanel3.Location = new System.Drawing.Point(0, 217);
            this.groupPanel3.Name = "groupPanel3";
            this.groupPanel3.Size = new System.Drawing.Size(1304, 100);
            // 
            // 
            // 
            this.groupPanel3.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
            this.groupPanel3.Style.BackColorGradientAngle = 90;
            this.groupPanel3.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
            this.groupPanel3.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
            this.groupPanel3.Style.BorderBottomWidth = 1;
            this.groupPanel3.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
            this.groupPanel3.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
            this.groupPanel3.Style.BorderLeftWidth = 1;
            this.groupPanel3.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
            this.groupPanel3.Style.BorderRightWidth = 1;
            this.groupPanel3.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
            this.groupPanel3.Style.BorderTopWidth = 1;
            this.groupPanel3.Style.CornerDiameter = 4;
            this.groupPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
            this.groupPanel3.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
            this.groupPanel3.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
            this.groupPanel3.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
            // 
            // 
            // 
            this.groupPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            // 
            // 
            // 
            this.groupPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.groupPanel3.TabIndex = 8;
            this.groupPanel3.Text = "参数设置";
            // 
            // labelX1
            // 
            this.labelX1.AutoSize = true;
            this.labelX1.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.labelX1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.labelX1.Location = new System.Drawing.Point(622, 9);
            this.labelX1.Name = "labelX1";
            this.labelX1.Size = new System.Drawing.Size(90, 26);
            this.labelX1.TabIndex = 10;
            this.labelX1.Text = "选择模板:";
            // 
            // comboBoxEx1
            // 
            this.comboBoxEx1.DisplayMember = "Text";
            this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.comboBoxEx1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxEx1.Font = new System.Drawing.Font("宋体", 12F);
            this.comboBoxEx1.FormattingEnabled = true;
            this.comboBoxEx1.ItemHeight = 21;
            this.comboBoxEx1.Location = new System.Drawing.Point(718, 9);
            this.comboBoxEx1.Name = "comboBoxEx1";
            this.comboBoxEx1.Size = new System.Drawing.Size(384, 27);
            this.comboBoxEx1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.comboBoxEx1.TabIndex = 9;
            this.comboBoxEx1.DropDownClosed += new System.EventHandler(this.comboBoxEx1_DropDownClosed);
            // 
            // checkBoxX4
            // 
            this.checkBoxX4.AutoSize = true;
            this.checkBoxX4.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.checkBoxX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.checkBoxX4.CheckSignSize = new System.Drawing.Size(18, 18);
            this.checkBoxX4.Font = new System.Drawing.Font("宋体", 12F);
            this.checkBoxX4.Location = new System.Drawing.Point(481, 41);
            this.checkBoxX4.Name = "checkBoxX4";
            this.checkBoxX4.Size = new System.Drawing.Size(132, 23);
            this.checkBoxX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.checkBoxX4.TabIndex = 8;
            this.checkBoxX4.Text = "下画线转驼峰";
            // 
            // checkBoxX3
            // 
            this.checkBoxX3.AutoSize = true;
            this.checkBoxX3.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.checkBoxX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.checkBoxX3.CheckSignSize = new System.Drawing.Size(18, 18);
            this.checkBoxX3.Font = new System.Drawing.Font("宋体", 12F);
            this.checkBoxX3.Location = new System.Drawing.Point(341, 41);
            this.checkBoxX3.Name = "checkBoxX3";
            this.checkBoxX3.Size = new System.Drawing.Size(99, 23);
            this.checkBoxX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.checkBoxX3.TabIndex = 7;
            this.checkBoxX3.Text = "全部小写";
            // 
            // checkBoxX2
            // 
            this.checkBoxX2.AutoSize = true;
            this.checkBoxX2.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.checkBoxX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.checkBoxX2.CheckSignSize = new System.Drawing.Size(18, 18);
            this.checkBoxX2.Font = new System.Drawing.Font("宋体", 12F);
            this.checkBoxX2.Location = new System.Drawing.Point(154, 41);
            this.checkBoxX2.Name = "checkBoxX2";
            this.checkBoxX2.Size = new System.Drawing.Size(181, 23);
            this.checkBoxX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.checkBoxX2.TabIndex = 6;
            this.checkBoxX2.Text = "首字母大写其他小写";
            // 
            // checkBoxX1
            // 
            this.checkBoxX1.AutoSize = true;
            this.checkBoxX1.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.checkBoxX1.CheckSignSize = new System.Drawing.Size(18, 18);
            this.checkBoxX1.Font = new System.Drawing.Font("宋体", 12F);
            this.checkBoxX1.Location = new System.Drawing.Point(14, 41);
            this.checkBoxX1.Name = "checkBoxX1";
            this.checkBoxX1.Size = new System.Drawing.Size(115, 23);
            this.checkBoxX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.checkBoxX1.TabIndex = 5;
            this.checkBoxX1.Text = "首字母大写";
            // 
            // textBoxX2
            // 
            // 
            // 
            // 
            this.textBoxX2.Border.Clreplaced = "TextBoxBorder";
            this.textBoxX2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.textBoxX2.Font = new System.Drawing.Font("宋体", 12F);
            this.textBoxX2.Location = new System.Drawing.Point(499, 9);
            this.textBoxX2.Name = "textBoxX2";
            this.textBoxX2.PreventEnterBeep = true;
            this.textBoxX2.Size = new System.Drawing.Size(102, 26);
            this.textBoxX2.TabIndex = 4;
            // 
            // labelX6
            // 
            this.labelX6.AutoSize = true;
            this.labelX6.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.labelX6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.labelX6.Location = new System.Drawing.Point(390, 9);
            this.labelX6.Name = "labelX6";
            this.labelX6.Size = new System.Drawing.Size(123, 26);
            this.labelX6.TabIndex = 3;
            this.labelX6.Text = "去掉表中字符:";
            // 
            // textBoxX1
            // 
            // 
            // 
            // 
            this.textBoxX1.Border.Clreplaced = "TextBoxBorder";
            this.textBoxX1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.textBoxX1.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::FreeSqlTools.Properties.Settings.Default, "namespaceName", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.textBoxX1.Font = new System.Drawing.Font("宋体", 12F);
            this.textBoxX1.Location = new System.Drawing.Point(90, 9);
            this.textBoxX1.Name = "textBoxX1";
            this.textBoxX1.PreventEnterBeep = true;
            this.textBoxX1.Size = new System.Drawing.Size(278, 26);
            this.textBoxX1.TabIndex = 2;
            this.textBoxX1.Text = global::FreeSqlTools.Properties.Settings.Default.namespaceName;
            // 
            // labelX5
            // 
            this.labelX5.AutoSize = true;
            this.labelX5.BackColor = System.Drawing.Color.Transparent;
            // 
            // 
            // 
            this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            this.labelX5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.labelX5.Location = new System.Drawing.Point(14, 9);
            this.labelX5.Name = "labelX5";
            this.labelX5.Size = new System.Drawing.Size(90, 26);
            this.labelX5.TabIndex = 1;
            this.labelX5.Text = "命名空间:";
            // 
            // dataGridViewX1
            // 
            this.dataGridViewX1.AllowUserToAddRows = false;
            this.dataGridViewX1.AllowUserToDeleteRows = false;
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewX1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
            this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column1});
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle5;
            this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Top;
            this.dataGridViewX1.EnableHeadersVisualStyles = false;
            this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
            this.dataGridViewX1.Location = new System.Drawing.Point(0, 0);
            this.dataGridViewX1.Name = "dataGridViewX1";
            this.dataGridViewX1.ReadOnly = true;
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewX1.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
            this.dataGridViewX1.RowTemplate.Height = 23;
            this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewX1.Size = new System.Drawing.Size(1304, 217);
            this.dataGridViewX1.TabIndex = 1;
            // 
            // Column1
            // 
            this.Column1.DataPropertyName = "Table";
            this.Column1.HeaderText = "Column1";
            this.Column1.Name = "Column1";
            this.Column1.ReadOnly = true;
            this.Column1.Visible = false;
            // 
            // superTabItem1
            // 
            this.superTabItem1.AttachedControl = this.superTabControlPanel1;
            this.superTabItem1.GlobalItem = false;
            this.superTabItem1.Name = "superTabItem1";
            this.superTabItem1.Text = "生成设置";
            // 
            // superTabControlPanel2
            // 
            this.superTabControlPanel2.Controls.Add(this.elementHost2);
            this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0);
            this.superTabControlPanel2.Name = "superTabControlPanel2";
            this.superTabControlPanel2.Size = new System.Drawing.Size(1304, 630);
            this.superTabControlPanel2.TabIndex = 0;
            this.superTabControlPanel2.TabItem = this.superTabItem2;
            // 
            // superTabItem2
            // 
            this.superTabItem2.AttachedControl = this.superTabControlPanel2;
            this.superTabItem2.GlobalItem = false;
            this.superTabItem2.Name = "superTabItem2";
            this.superTabItem2.Text = "生成代码";
            // 
            // elementHost1
            // 
            this.elementHost1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.elementHost1.Location = new System.Drawing.Point(0, 317);
            this.elementHost1.Name = "elementHost1";
            this.elementHost1.Size = new System.Drawing.Size(1304, 313);
            this.elementHost1.TabIndex = 9;
            this.elementHost1.Text = "elementHost1";
            this.elementHost1.Child = null;
            // 
            // elementHost2
            // 
            this.elementHost2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.elementHost2.Location = new System.Drawing.Point(0, 0);
            this.elementHost2.Name = "elementHost2";
            this.elementHost2.Size = new System.Drawing.Size(1304, 630);
            this.elementHost2.TabIndex = 0;
            this.elementHost2.Text = "elementHost2";
            this.elementHost2.Child = null;
            // 
            // UCGeneratedCode
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.superTabControl1);
            this.Name = "UCGeneratedCode";
            this.Size = new System.Drawing.Size(1304, 666);
            ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
            this.superTabControl1.ResumeLayout(false);
            this.superTabControlPanel1.ResumeLayout(false);
            this.groupPanel3.ResumeLayout(false);
            this.groupPanel3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
            this.superTabControlPanel2.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : InputSshPwdForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputSshPwdForm));
            this.preplacedword = new CCWin.SkinControl.SkinTextBox();
            this.label_name = new CCWin.SkinControl.SkinLabel();
            this.cb_remenber = new CCWin.SkinControl.SkinCheckBox();
            this.button1 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // preplacedword
            // 
            this.preplacedword.BackColor = System.Drawing.Color.Transparent;
            this.preplacedword.DownBack = null;
            this.preplacedword.Icon = null;
            this.preplacedword.IconIsButton = false;
            this.preplacedword.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.preplacedword.IsPreplacedwordChat = '●';
            this.preplacedword.IsSystemPreplacedwordChar = true;
            this.preplacedword.Lines = new string[0];
            this.preplacedword.Location = new System.Drawing.Point(137, 47);
            this.preplacedword.Margin = new System.Windows.Forms.Padding(0);
            this.preplacedword.MaxLength = 32767;
            this.preplacedword.MinimumSize = new System.Drawing.Size(28, 28);
            this.preplacedword.MouseBack = null;
            this.preplacedword.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.preplacedword.Multiline = false;
            this.preplacedword.Name = "preplacedword";
            this.preplacedword.NormlBack = null;
            this.preplacedword.Padding = new System.Windows.Forms.Padding(5);
            this.preplacedword.ReadOnly = false;
            this.preplacedword.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.preplacedword.Size = new System.Drawing.Size(284, 28);
            // 
            // 
            // 
            this.preplacedword.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.preplacedword.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.preplacedword.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.preplacedword.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.preplacedword.SkinTxt.Name = "BaseText";
            this.preplacedword.SkinTxt.PreplacedwordChar = '●';
            this.preplacedword.SkinTxt.Size = new System.Drawing.Size(274, 18);
            this.preplacedword.SkinTxt.TabIndex = 0;
            this.preplacedword.SkinTxt.UseSystemPreplacedwordChar = true;
            this.preplacedword.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.preplacedword.SkinTxt.WaterText = "请输入密码";
            this.preplacedword.TabIndex = 0;
            this.preplacedword.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.preplacedword.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.preplacedword.WaterText = "请输入密码";
            this.preplacedword.WordWrap = true;
            // 
            // label_name
            // 
            this.label_name.BackColor = System.Drawing.SystemColors.Control;
            this.label_name.BorderColor = System.Drawing.Color.White;
            this.label_name.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label_name.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label_name.Location = new System.Drawing.Point(18, 51);
            this.label_name.Name = "label_name";
            this.label_name.Size = new System.Drawing.Size(116, 23);
            this.label_name.TabIndex = 1;
            this.label_name.Text = "xx的密码:";
            this.label_name.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            // 
            // cb_remenber
            // 
            this.cb_remenber.AutoSize = true;
            this.cb_remenber.BackColor = System.Drawing.Color.Transparent;
            this.cb_remenber.Checked = true;
            this.cb_remenber.CheckState = System.Windows.Forms.CheckState.Checked;
            this.cb_remenber.ControlState = CCWin.SkinClreplaced.ControlState.Normal;
            this.cb_remenber.DownBack = null;
            this.cb_remenber.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.cb_remenber.Location = new System.Drawing.Point(29, 97);
            this.cb_remenber.MouseBack = null;
            this.cb_remenber.Name = "cb_remenber";
            this.cb_remenber.NormlBack = null;
            this.cb_remenber.SelectedDownBack = null;
            this.cb_remenber.SelectedMouseBack = null;
            this.cb_remenber.SelectedNormlBack = null;
            this.cb_remenber.Size = new System.Drawing.Size(75, 21);
            this.cb_remenber.TabIndex = 2;
            this.cb_remenber.Text = "记住密码";
            this.cb_remenber.UseVisualStyleBackColor = false;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(346, 94);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 28);
            this.button1.TabIndex = 3;
            this.button1.Text = "确定";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // InputSshPwdForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(440, 140);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.cb_remenber);
            this.Controls.Add(this.label_name);
            this.Controls.Add(this.preplacedword);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(440, 140);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(440, 140);
            this.Name = "InputSshPwdForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "InputSshPwdForm";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.InputSshPwdForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : TestLIBIGL.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static Mesh CreateLIBIGLMeshBoolean(Mesh[] m_, int Difference_Union_Intersection = 0) {

            //var watch = new System.Diagnostics.Stopwatch();
            //watch.Start();
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Clean Mesh
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            var meshes = new List<Mesh>(m_.Length);

            for (int i = 0; i < m_.Length; i++) {

                if (!m_[i].IsClosed)
                    continue;

                m_[i].Vertices.UseDoublePrecisionVertices = true;
                Mesh m = m_[i].DuplicateMesh();
                m.Vertices.UseDoublePrecisionVertices = true;
                m.Faces.ConvertQuadsToTriangles();
                m.Vertices.CombineIdentical(true, true);
                m.Vertices.CullUnused();
                m.Weld(3.14159265358979);
                m.FillHoles();
                m.RebuildNormals();
                m.Vertices.UseDoublePrecisionVertices = true;

                if (m.IsValid && m.IsClosed)
                    meshes.Add(m);
            }

            if (meshes.Count < 2)
                return null;

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution Time Clean Mesh: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();
            //watch.Start();
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Send Vertices and Faces to C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////




            int numberOfVertices = 0;
            int numberOfFaces = 0;
            foreach (Mesh tempMesh in meshes) {
                numberOfVertices += tempMesh.Vertices.Count;
                numberOfFaces += tempMesh.Faces.Count;
            }

            double[] coord = new double[numberOfVertices * 3];
            int[] vertexArrayCount = new int[meshes.Count + 1]; vertexArrayCount[0] = 0;

            int[] faceID = new int[numberOfFaces * 3];
            int[] faceArrayCount = new int[meshes.Count + 1]; faceArrayCount[0] = 0;

            int nMesh = meshes.Count;



            for (int i = 0; i < meshes.Count; i++) {

                vertexArrayCount[i + 1] = vertexArrayCount[i] + meshes[i].Vertices.Count;
                faceArrayCount[i + 1] = faceArrayCount[i] + meshes[i].Faces.Count;

                for (int j = 0; j < meshes[i].Vertices.Count; j++) {
                    int n = vertexArrayCount[i] * 3;
                    coord[n + (j * 3 + 0)] = meshes[i].Vertices.Point3dAt(j).X;
                    coord[n + (j * 3 + 1)] = meshes[i].Vertices.Point3dAt(j).Y;
                    coord[n + (j * 3 + 2)] = meshes[i].Vertices.Point3dAt(j).Z;
                    ////Rhino.RhinoApp.WriteLine((n + (j * 3 + 0).ToString() + " " + meshes[i].Vertices[j].X.ToString()));
                    ////Rhino.RhinoApp.WriteLine((n + (j * 3 + 1).ToString() + " " + meshes[i].Vertices[j].Y.ToString()));
                    ////Rhino.RhinoApp.WriteLine((n + (j * 3 + 2).ToString() + " " + meshes[i].Vertices[j].Z.ToString()));
                }

                for (int j = 0; j < meshes[i].Faces.Count; j++) {
                    int n = faceArrayCount[i] * 3;
                    faceID[n + (j * 3 + 0)] = meshes[i].Faces[j].A;
                    faceID[n + (j * 3 + 1)] = meshes[i].Faces[j].B;
                    faceID[n + (j * 3 + 2)] = meshes[i].Faces[j].C;
                }

            }


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution Copy coordinates: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();
            //watch.Start();


            //Rhino.RhinoApp.WriteLine(coord.Length.ToString());
            //foreach(var c in vertexArrayCount)
            //Rhino.RhinoApp.Write(c.ToString()+" ");
            //Rhino.RhinoApp.WriteLine();
            //Rhino.RhinoApp.WriteLine(faceID.Length.ToString());
            // foreach (var c in faceArrayCount)
            //Rhino.RhinoApp.Write(c.ToString() + " ");
            //Rhino.RhinoApp.WriteLine();
            //Rhino.RhinoApp.WriteLine(nMesh.ToString());




            ////Inputs
            IntPtr vertexCoordPointer = IntPtr.Zero;
            int nVertices = 0;
            IntPtr faceIndicesPointer = IntPtr.Zero;
            int nFaces = 0;
            IntPtr facesColorsPointer = IntPtr.Zero;
            int nFaceColors = 0;
            int numberOfValidMeshes = -1;

            //Call C++ method
            UnsafeLIBIGL.LIBIGL_MeshBoolean_CreateArray(
                coord, vertexArrayCount,
                faceID, faceArrayCount,
                (ulong)nMesh,

                (ulong)Math.Max(0, Math.Min(Difference_Union_Intersection, 2)),

                ref vertexCoordPointer, ref nVertices,
                ref faceIndicesPointer, ref nFaces,
                ref facesColorsPointer, ref nFaceColors,
                ref numberOfValidMeshes);//

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution LIBIGL_MeshBoolean_CreateArray: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();
            //watch.Start();
            //Rhino.RhinoApp.WriteLine(numberOfValidMeshes.ToString());
            // return null;


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Get Vertices and Faces from C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //Convert faceIndicesPointer to C# int[]
            double[] verticesCoordinates = new double[nVertices * 3];
            Marshal.Copy(vertexCoordPointer, verticesCoordinates, 0, verticesCoordinates.Length);

            int[] faceIndices = new int[nFaces * 3];
            Marshal.Copy(faceIndicesPointer, faceIndices, 0, faceIndices.Length);

            int[] faceColorsIndices = new int[nFaceColors];
            Marshal.Copy(facesColorsPointer, faceColorsIndices, 0, faceColorsIndices.Length);

            //Rhino.RhinoApp.WriteLine(verticesCoordinates.Length.ToString()  + " " + nVertices.ToString());
            //Rhino.RhinoApp.WriteLine(faceIndices.Length.ToString() + " " + nFaces.ToString());



            //Create mesh
            Mesh r_ = new Mesh();
            for (int i = 0; i < verticesCoordinates.Length; i += 3)
                r_.Vertices.Add(new Point3d(verticesCoordinates[i + 0], verticesCoordinates[i + 1], verticesCoordinates[i + 2]));

            for (int i = 0; i < faceIndices.Length; i += 3) {
                r_.Faces.AddFace(faceIndices[i + 0], faceIndices[i + 1], faceIndices[i + 2]);
            }


            //mesh.Vertices.Align(0.01);
            //mesh.Vertices.CombineIdentical(true, true);
            //mesh.Vertices.CullUnused();
            //mesh.Weld(3.14159265358979);
            //mesh.FillHoles();
            r_.RebuildNormals();


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution Construct mesh: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();
            //watch.Start();

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Colorize Cuts
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //Mesh r_ = r.DuplicateMesh();
            r_.Unweld(0, true);
            r_.VertexColors.CreateMonotoneMesh(System.Drawing.Color.Black);


            Interval[] domains = new Interval[meshes.Count];

            int count = 0;
            for (int i = 0; i < meshes.Count; i++) {

                domains[i] = new Interval(count, count + meshes[i].Faces.Count);
                count += meshes[i].Faces.Count;
                //if (i == 0)
                //  count += meshes[1].Faces.Count;
                //groups[i] = new List<Mesh>();
            }



            var colorWhite = System.Drawing.Color.FromArgb(200, 200, 200);

            double colorScale = 255.0 / meshes.Count;

            int[] colors = new int[faceColorsIndices.Length];
            for (int i = 0; i < faceColorsIndices.Length; i++) {



                for (int j = 0; j < domains.Length; j++) {
                    if (domains[j].IncludesParameter(faceColorsIndices[i])) {

                        int c = (int)(colorScale * j);

                        if (c == 0) {

                            r_.VertexColors.SetColor(r_.Faces[i].A, colorWhite);
                            r_.VertexColors.SetColor(r_.Faces[i].B, colorWhite);
                            r_.VertexColors.SetColor(r_.Faces[i].C, colorWhite);
                        } else {
                            var colorRed = System.Drawing.Color.FromArgb(255, c, 0);
                            r_.VertexColors.SetColor(r_.Faces[i].A, colorRed);
                            r_.VertexColors.SetColor(r_.Faces[i].B, colorRed);
                            r_.VertexColors.SetColor(r_.Faces[i].C, colorRed);
                        }


                        colors[i] = j;
                    }
                }


            }


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution Create Colors: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();
            //watch.Start();


            //Release memory from output
            UnsafeLIBIGL.ReleaseDouble(vertexCoordPointer, true);
            UnsafeLIBIGL.ReleaseInt(faceIndicesPointer, true);
            UnsafeLIBIGL.ReleaseInt(facesColorsPointer, true);

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine($"Execution Release Memory: {watch.ElapsedMilliseconds} ms");
            //watch.Reset();


            return r_;
        }

19 View Source File : DrawEngine.cs
License : MIT License
Project Creator : 0xLaileb

public static Color HSV_To_RGB(float hue, float saturation, float value)
        {
            if (saturation < float.Epsilon)
            {
                int c = (int)(value * 255);
                return Color.FromArgb(c, c, c);
            }
            if (timer_global_rgb.Enabled) hue = h_temp;

            float r, g, b, f, p, q, t;
            int i;

            hue /= 60;
            i = (int)Math.Floor(hue);

            f = hue - i;
            p = value * (1 - saturation);
            q = value * (1 - saturation * f);
            t = value * (1 - saturation * (1 - f));

            switch (i)
            {
                case 0: r = value; g = t; b = p; break;
                case 1: r = q; g = value; b = p; break;
                case 2: r = p; g = value; b = t; break;
                case 3: r = p; g = q; b = value; break;
                case 4: r = t; g = p; b = value; break;
                default: r = value; g = p; b = q; break;
            }
            return Color.FromArgb(255, (int)(r * 255), (int)(g * 255), (int)(b * 255));
        }

19 View Source File : TestCilantro.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static PointCloud[] GetClusterConnectedComponentRadius(PointCloud cloud, double voxelSizeSearch = 0.1, double normalThresholdDegree = 2.0, int minClusterSize = 100, bool colorPointCloud = true, bool split = false) {

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Conversion from Rhino PointCloud to Flat Array
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //var watch = System.Diagnostics.Stopwatch.StartNew();


            double[] p = new double[cloud.Count * 3];
            ulong p_c = (ulong)cloud.Count;

            double[] n = new double[cloud.Count * 3];
            ulong n_c = p_c;

            double[] c = new double[cloud.Count * 3];
            ulong c_c = p_c;

            bool hasColors = cloud.ContainsColors;

            //System.Threading.Tasks.Parallel.For(0, cloud.Count, i => {
            for (int i = 0; i < cloud.Count; i++) {
                p[i * 3 + 0] = cloud[i].Location.X;
                p[i * 3 + 1] = cloud[i].Location.Y;
                p[i * 3 + 2] = cloud[i].Location.Z;
                if (cloud.ContainsNormals) {
                    n[i * 3 + 0] = cloud[i].Normal.X;
                    n[i * 3 + 1] = cloud[i].Normal.Y;
                    n[i * 3 + 2] = cloud[i].Normal.Z;
                }
                if (cloud.ContainsColors) {
                    c[i * 3 + 0] = cloud[i].Color.R;
                    c[i * 3 + 1] = cloud[i].Color.G;
                    c[i * 3 + 2] = cloud[i].Color.B;
                }
            }

            //Rhino.RhinoApp.WriteLine(p.Length.ToString());

            //if (Math.Abs(FastPlaneToPt(denom, eq[0], eq[1], eq[2], eq[3], points[i])) <= tol)
            //    sectionPoints.Add(points[i]);
            //});



            //watch.Stop();
            // Rhino.RhinoApp.WriteLine("Convert PointCloud to double array "+watch.ElapsedMilliseconds.ToString());

     
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Call C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            IntPtr p_pointer = IntPtr.Zero;
            int p_pointer_c = 0;
            IntPtr n_pointer = IntPtr.Zero;
            int n_pointer_c = 0;
            IntPtr c_pointer = IntPtr.Zero;
            int c_pointer_c = 0;
            IntPtr clusterID_pointer = IntPtr.Zero;
            int clusterID_pointer_c = 0;


            UnsafeCilantro.ClusterConnectedComponentRadius(
                p, p_c,
                n, n_c,
                c, c_c,
                voxelSizeSearch,
                normalThresholdDegree,
                minClusterSize,
                colorPointCloud,
                ref p_pointer, ref p_pointer_c,
                ref n_pointer, ref n_pointer_c,
                ref c_pointer, ref c_pointer_c,
                ref clusterID_pointer, ref clusterID_pointer_c
                );

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("C++ Downsample "+ watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert Pointers to double arrays
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
         

            //Convert faceIndicesPointer to C# int[]

            //watch = System.Diagnostics.Stopwatch.StartNew();
            double[] P = new double[p_pointer_c];
            Marshal.Copy(p_pointer, P, 0, P.Length);

            double[] N = new double[n_pointer_c];
            Marshal.Copy(n_pointer, N, 0, N.Length);
         
            int[] C = new int[c_pointer_c];
            Marshal.Copy(c_pointer, C, 0, C.Length);

            int[] ClusterID = new int[clusterID_pointer_c];
            Marshal.Copy(clusterID_pointer, ClusterID, 0, ClusterID.Length);


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Convert Pointer to double Array "+watch.ElapsedMilliseconds.ToString());
 
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Release C++ memory
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            UnsafeOpen3D.ReleaseDouble(p_pointer, true);
            UnsafeOpen3D.ReleaseDouble(n_pointer, true);
            UnsafeOpen3D.ReleaseInt(c_pointer, true);
            UnsafeOpen3D.ReleaseInt(clusterID_pointer, true);


            // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            // //Convert C++ to C# Pointcloud
            // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            PointCloud[] clouds = new PointCloud[0];

            if(!split){


                int count = P.Length / 3;
                Point3d[] location = new Point3d[count];
                Vector3d[] normals = new Vector3d[count];
                Color[] colors = new Color[count];


                for (int i = 0; i < P.Length; i += 3) {
                    //Rhino.RhinoApp.WriteLine((C[i + 0]).ToString() + " " + (C[i + 1]).ToString() + " " + (C[i + 2]).ToString());
                    int id = i / 3;
                    location[id] = new Point3d(P[i + 0], P[i + 1], P[i + 2]);
                    normals[id] = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
                    colors[id] = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);
                }

                PointCloud newCloud = new PointCloud();
                newCloud.AddRange(location, normals, colors);
                clouds = new PointCloud[] { newCloud };
            } else {




                Point3d[][] location = new Point3d[ClusterID.Length][];
                Vector3d[][] normals = new Vector3d[ClusterID.Length][];
                Color[][] colors = new Color[ClusterID.Length][];

                int[] flatClusterID = new int[(int)(P.Length / 3)];
                int[] flatGroupClusterID = new int[(int)(P.Length / 3)];
                int flatCounter = 0;

                for (int i = 0; i < ClusterID.Length; i++) {
                    location[i] = new Point3d[ClusterID[i]];
                    normals[i] = new Vector3d[ClusterID[i]];
                    colors[i] = new System.Drawing.Color[ClusterID[i]];

                    for (int j = 0; j < ClusterID[i]; j++) {
                        flatClusterID[flatCounter] = i;
                        flatGroupClusterID[flatCounter] = j;
                        flatCounter++;
                    }
                }




                for (int i = 0; i < P.Length; i += 3) {
                    //Rhino.RhinoApp.WriteLine((C[i + 0]).ToString() + " " + (C[i + 1]).ToString() + " " + (C[i + 2]).ToString());
                    int id = i / 3;
                    location[flatClusterID[id]][flatGroupClusterID[id]] = new Point3d(P[i + 0], P[i + 1], P[i + 2]);
                    normals[flatClusterID[id]][flatGroupClusterID[id]] = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
                    colors[flatClusterID[id]][flatGroupClusterID[id]] = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

                }

                clouds = new PointCloud[ClusterID.Length];
                for (int i = 0; i < ClusterID.Length; i++) {
                    clouds[i] = new PointCloud();
                    clouds[i].AddRange(location[i], normals[i], colors[i]);
                }


            }

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Output
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            return clouds;

        }

19 View Source File : CustomScriptForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomScriptForm));
            this.stb_shell = new CCWin.SkinControl.SkinTextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.cb_cr = new System.Windows.Forms.CheckBox();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.label_info = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // stb_shell
            // 
            this.stb_shell.BackColor = System.Drawing.Color.Transparent;
            this.stb_shell.DownBack = null;
            this.stb_shell.Icon = null;
            this.stb_shell.IconIsButton = false;
            this.stb_shell.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_shell.IsPreplacedwordChat = '\0';
            this.stb_shell.IsSystemPreplacedwordChar = false;
            this.stb_shell.Lines = new string[0];
            this.stb_shell.Location = new System.Drawing.Point(20, 72);
            this.stb_shell.Margin = new System.Windows.Forms.Padding(0);
            this.stb_shell.MaxLength = 32767;
            this.stb_shell.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_shell.MouseBack = null;
            this.stb_shell.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_shell.Multiline = false;
            this.stb_shell.Name = "stb_shell";
            this.stb_shell.NormlBack = null;
            this.stb_shell.Padding = new System.Windows.Forms.Padding(5);
            this.stb_shell.ReadOnly = false;
            this.stb_shell.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_shell.Size = new System.Drawing.Size(513, 28);
            // 
            // 
            // 
            this.stb_shell.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_shell.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_shell.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_shell.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_shell.SkinTxt.Name = "BaseText";
            this.stb_shell.SkinTxt.Size = new System.Drawing.Size(503, 18);
            this.stb_shell.SkinTxt.TabIndex = 0;
            this.stb_shell.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_shell.SkinTxt.WaterText = "请输入Shell脚本命令";
            this.stb_shell.TabIndex = 0;
            this.stb_shell.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_shell.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_shell.WaterText = "请输入Shell脚本命令";
            this.stb_shell.WordWrap = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font = new System.Drawing.Font("宋体", 10F);
            this.label1.Location = new System.Drawing.Point(18, 41);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(56, 14);
            this.label1.TabIndex = 1;
            this.label1.Text = "Shell:";
            // 
            // cb_cr
            // 
            this.cb_cr.AutoSize = true;
            this.cb_cr.BackColor = System.Drawing.Color.Transparent;
            this.cb_cr.Location = new System.Drawing.Point(21, 114);
            this.cb_cr.Name = "cb_cr";
            this.cb_cr.Size = new System.Drawing.Size(78, 16);
            this.cb_cr.TabIndex = 2;
            this.cb_cr.Text = "Append CR";
            this.cb_cr.UseVisualStyleBackColor = false;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(366, 176);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 25);
            this.button1.TabIndex = 3;
            this.button1.Text = "保存";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(458, 176);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 25);
            this.button2.TabIndex = 4;
            this.button2.Text = "取消";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label_info
            // 
            this.label_info.BackColor = System.Drawing.Color.Transparent;
            this.label_info.Font = new System.Drawing.Font("宋体", 10F);
            this.label_info.ForeColor = System.Drawing.Color.Red;
            this.label_info.Location = new System.Drawing.Point(94, 137);
            this.label_info.Name = "label_info";
            this.label_info.Size = new System.Drawing.Size(393, 22);
            this.label_info.TabIndex = 5;
            this.label_info.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // CustomScriptForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(554, 222);
            this.Controls.Add(this.label_info);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.cb_cr);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.stb_shell);
            this.HelpButton = true;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(554, 222);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(554, 222);
            this.Name = "CustomScriptForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Custom Quick Command";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.CustomScriptForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : TestOpen3D.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static PointCloud Normals(PointCloud cloud, double radius=0.1, int iterations = 30, int neighbours = 100) {

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Conversion from Rhino PointCloud to Flat Array
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //var watch = System.Diagnostics.Stopwatch.StartNew();


            double[] p = new double[cloud.Count * 3];
            ulong p_c = (ulong)cloud.Count;

            double[] n = new double[cloud.Count * 3];
            ulong n_c = p_c;

            double[] c = new double[cloud.Count * 3];
            ulong c_c = p_c;

            bool hasColors = cloud.ContainsColors;

            System.Threading.Tasks.Parallel.For(0, cloud.Count, i => {
                //for (int i = 0; i < cloud.Count; i++) {
                p[i * 3 + 0] = cloud[i].Location.X;
                p[i * 3 + 1] = cloud[i].Location.Y;
                p[i * 3 + 2] = cloud[i].Location.Z;
                if (cloud.ContainsNormals) {
                    n[i * 3 + 0] = cloud[i].Normal.X;
                    n[i * 3 + 1] = cloud[i].Normal.Y;
                    n[i * 3 + 2] = cloud[i].Normal.Z;
                }
                if (cloud.ContainsColors) {
                    c[i * 3 + 0] = cloud[i].Color.R;
                    c[i * 3 + 1] = cloud[i].Color.G;
                    c[i * 3 + 2] = cloud[i].Color.B;
                }
                //}
                //if (Math.Abs(FastPlaneToPt(denom, eq[0], eq[1], eq[2], eq[3], points[i])) <= tol)
                //    sectionPoints.Add(points[i]);
            });



            //watch.Stop();
            // Rhino.RhinoApp.WriteLine("Convert PointCloud to double array "+watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Call C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            IntPtr p_pointer = IntPtr.Zero;
            int p_pointer_c = 0;
            IntPtr n_pointer = IntPtr.Zero;
            int n_pointer_c = 0;
            IntPtr c_pointer = IntPtr.Zero;
            int c_pointer_c = 0;


            UnsafeOpen3D.Open3DNormals(
                p, p_c,
                n, n_c,
                c, c_c,
                radius,
                iterations,
                neighbours,
                ref p_pointer, ref p_pointer_c,
                ref n_pointer, ref n_pointer_c,
                ref c_pointer, ref c_pointer_c
                );

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("C++ Downsample "+ watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert Pointers to double arrays
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert faceIndicesPointer to C# int[]

            //watch = System.Diagnostics.Stopwatch.StartNew();
            double[] P = new double[p_pointer_c];
            Marshal.Copy(p_pointer, P, 0, P.Length);

            double[] N = new double[n_pointer_c];
            Marshal.Copy(n_pointer, N, 0, P.Length);

            double[] C = new double[c_pointer_c];
            Marshal.Copy(c_pointer, C, 0, P.Length);
            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Convert Pointer to double Array "+watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Release C++ memory
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            UnsafeOpen3D.ReleaseDouble(p_pointer, true);
            UnsafeOpen3D.ReleaseDouble(n_pointer, true);
            UnsafeOpen3D.ReleaseDouble(c_pointer, true);


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert C++ to C# Pointcloud
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            PointCloud newCloud = new PointCloud();

            //System.Threading.Tasks.Parallel.For(0, P.Length, i => {

            //    newCloud.Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

            //    if (!(C[i + 0] == 0 && C[i + 1] == 0 && C[i + 2] == 0)) {
            //        newCloud[(int)(i / 3)].Color = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);
            //    }

            //});

            //System.Threading.Tasks.Parallel.For(0, P.Length, i => {

            //    if (!(N[i + 0] == 0 && N[i + 1] == 0 && N[i + 2] == 0)) {
            //        newCloud[(int)(i / 3)].Normal = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
            //    }

            //});







            for (int i = 0; i < P.Length; i += 3) {
                newCloud.Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

                //if (c[i + 0] == 0 && c[i + 1] == 0 && c[i + 2] == 0) continue;
                newCloud[(int)Math.Round((i / 3.0))].Color = System.Drawing.Color.FromArgb((int)c[i + 0], (int)c[i + 1], (int)c[i + 2]);

            }


            for (int i = 0; i < P.Length; i += 3) {
                if (N[i + 0] == 0 && N[i + 1] == 0 && N[i + 2] == 0) continue;
                newCloud[(int)Math.Round((i / 3.0))].Normal = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
            }




            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Create PointCloud from double arrays "+ watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Output
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            return newCloud;

        }

19 View Source File : ConditionTaskForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConditionTaskForm));
            this.scb_condition1 = new CCWin.SkinControl.SkinComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.deleteItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.upToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.downToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.task_name = new CCWin.SkinControl.SkinTextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.groupBox5 = new System.Windows.Forms.GroupBox();
            this.scb_status3 = new CCWin.SkinControl.SkinComboBox();
            this.btn_di3 = new System.Windows.Forms.Button();
            this.scb_condition3 = new CCWin.SkinControl.SkinComboBox();
            this.rb_q2 = new System.Windows.Forms.RadioButton();
            this.rb_h2 = new System.Windows.Forms.RadioButton();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.scb_status2 = new CCWin.SkinControl.SkinComboBox();
            this.scb_status1 = new CCWin.SkinControl.SkinComboBox();
            this.btn_di2 = new System.Windows.Forms.Button();
            this.rb_q1 = new System.Windows.Forms.RadioButton();
            this.rb_h1 = new System.Windows.Forms.RadioButton();
            this.scb_condition2 = new CCWin.SkinControl.SkinComboBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.linkLabel2 = new System.Windows.Forms.LinkLabel();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.button1 = new System.Windows.Forms.Button();
            this.shell = new CCWin.SkinControl.SkinTextBox();
            this.shell_name = new CCWin.SkinControl.SkinTextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.label7 = new System.Windows.Forms.Label();
            this.scb_template = new CCWin.SkinControl.SkinListView();
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.var_list = new CCWin.SkinControl.SkinListView();
            this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.contextMenuStrip1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.groupBox5.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.SuspendLayout();
            // 
            // scb_condition1
            // 
            this.scb_condition1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition1.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_condition1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_condition1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_condition1.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_condition1.FormattingEnabled = true;
            this.scb_condition1.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition1.ItemHeight = 18;
            this.scb_condition1.Location = new System.Drawing.Point(98, 19);
            this.scb_condition1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_condition1.MouseColor = System.Drawing.Color.Orange;
            this.scb_condition1.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_condition1.Name = "scb_condition1";
            this.scb_condition1.Size = new System.Drawing.Size(192, 24);
            this.scb_condition1.TabIndex = 1;
            this.scb_condition1.WaterText = "";
            this.scb_condition1.SelectedIndexChanged += new System.EventHandler(this.scb_condition1_SelectedIndexChanged);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(68, 22);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(22, 19);
            this.label1.TabIndex = 2;
            this.label1.Text = "当";
            // 
            // customShellListView
            // 
            this.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader3});
            this.customShellListView.ContextMenuStrip = this.contextMenuStrip1;
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(20, 290);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.LightSkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(955, 367);
            this.customShellListView.TabIndex = 11;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AllKeyUp);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "命令名称";
            this.columnHeader2.Width = 200;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "Shell脚本";
            this.columnHeader3.Width = 750;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.deleteItemToolStripMenuItem,
            this.upToolStripMenuItem,
            this.downToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(144, 70);
            // 
            // deleteItemToolStripMenuItem
            // 
            this.deleteItemToolStripMenuItem.Image = global::AppMonitor.Properties.Resources.remove_16px;
            this.deleteItemToolStripMenuItem.Name = "deleteItemToolStripMenuItem";
            this.deleteItemToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.deleteItemToolStripMenuItem.Text = "Delete Item";
            this.deleteItemToolStripMenuItem.Click += new System.EventHandler(this.deleteItemToolStripMenuItem_Click);
            // 
            // upToolStripMenuItem
            // 
            this.upToolStripMenuItem.Name = "upToolStripMenuItem";
            this.upToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.upToolStripMenuItem.Text = "Up";
            this.upToolStripMenuItem.Click += new System.EventHandler(this.upToolStripMenuItem_Click);
            // 
            // downToolStripMenuItem
            // 
            this.downToolStripMenuItem.Name = "downToolStripMenuItem";
            this.downToolStripMenuItem.Size = new System.Drawing.Size(143, 22);
            this.downToolStripMenuItem.Text = "Down";
            this.downToolStripMenuItem.Click += new System.EventHandler(this.downToolStripMenuItem_Click);
            // 
            // task_name
            // 
            this.task_name.BackColor = System.Drawing.Color.Transparent;
            this.task_name.DownBack = null;
            this.task_name.Icon = null;
            this.task_name.IconIsButton = false;
            this.task_name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.task_name.IsPreplacedwordChat = '\0';
            this.task_name.IsSystemPreplacedwordChar = false;
            this.task_name.Lines = new string[0];
            this.task_name.Location = new System.Drawing.Point(93, 19);
            this.task_name.Margin = new System.Windows.Forms.Padding(0);
            this.task_name.MaxLength = 32767;
            this.task_name.MinimumSize = new System.Drawing.Size(28, 28);
            this.task_name.MouseBack = null;
            this.task_name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.task_name.Multiline = false;
            this.task_name.Name = "task_name";
            this.task_name.NormlBack = null;
            this.task_name.Padding = new System.Windows.Forms.Padding(5);
            this.task_name.ReadOnly = false;
            this.task_name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.task_name.Size = new System.Drawing.Size(433, 28);
            // 
            // 
            // 
            this.task_name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.task_name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.task_name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.task_name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.task_name.SkinTxt.Name = "BaseText";
            this.task_name.SkinTxt.Size = new System.Drawing.Size(423, 18);
            this.task_name.SkinTxt.TabIndex = 0;
            this.task_name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.task_name.SkinTxt.WaterText = "任务名称";
            this.task_name.TabIndex = 12;
            this.task_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.task_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.task_name.WaterText = "任务名称";
            this.task_name.WordWrap = true;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(12, 23);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(74, 19);
            this.label2.TabIndex = 13;
            this.label2.Text = "任务名称:";
            // 
            // groupBox1
            // 
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.groupBox5);
            this.groupBox1.Controls.Add(this.groupBox4);
            this.groupBox1.Location = new System.Drawing.Point(20, 110);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(427, 172);
            this.groupBox1.TabIndex = 14;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "执行条件";
            // 
            // groupBox5
            // 
            this.groupBox5.Controls.Add(this.scb_status3);
            this.groupBox5.Controls.Add(this.btn_di3);
            this.groupBox5.Controls.Add(this.scb_condition3);
            this.groupBox5.Controls.Add(this.rb_q2);
            this.groupBox5.Controls.Add(this.rb_h2);
            this.groupBox5.Location = new System.Drawing.Point(6, 108);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new System.Drawing.Size(415, 54);
            this.groupBox5.TabIndex = 26;
            this.groupBox5.TabStop = false;
            // 
            // scb_status3
            // 
            this.scb_status3.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status3.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_status3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_status3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_status3.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_status3.FormattingEnabled = true;
            this.scb_status3.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status3.ItemHeight = 18;
            this.scb_status3.Location = new System.Drawing.Point(295, 20);
            this.scb_status3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_status3.MouseColor = System.Drawing.Color.Orange;
            this.scb_status3.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_status3.Name = "scb_status3";
            this.scb_status3.Size = new System.Drawing.Size(90, 24);
            this.scb_status3.TabIndex = 24;
            this.scb_status3.WaterText = "";
            // 
            // btn_di3
            // 
            this.btn_di3.Enabled = false;
            this.btn_di3.Image = global::AppMonitor.Properties.Resources.remove_16px;
            this.btn_di3.Location = new System.Drawing.Point(391, 22);
            this.btn_di3.Name = "btn_di3";
            this.btn_di3.Size = new System.Drawing.Size(20, 20);
            this.btn_di3.TabIndex = 22;
            this.btn_di3.UseVisualStyleBackColor = true;
            this.btn_di3.Click += new System.EventHandler(this.btn_di3_Click);
            // 
            // scb_condition3
            // 
            this.scb_condition3.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition3.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_condition3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_condition3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_condition3.Enabled = false;
            this.scb_condition3.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_condition3.FormattingEnabled = true;
            this.scb_condition3.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition3.ItemHeight = 18;
            this.scb_condition3.Location = new System.Drawing.Point(98, 19);
            this.scb_condition3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_condition3.MouseColor = System.Drawing.Color.Orange;
            this.scb_condition3.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_condition3.Name = "scb_condition3";
            this.scb_condition3.Size = new System.Drawing.Size(192, 24);
            this.scb_condition3.TabIndex = 23;
            this.scb_condition3.WaterText = "";
            this.scb_condition3.SelectedIndexChanged += new System.EventHandler(this.scb_condition3_SelectedIndexChanged);
            // 
            // rb_q2
            // 
            this.rb_q2.AutoSize = true;
            this.rb_q2.Enabled = false;
            this.rb_q2.Location = new System.Drawing.Point(8, 21);
            this.rb_q2.Name = "rb_q2";
            this.rb_q2.Size = new System.Drawing.Size(38, 21);
            this.rb_q2.TabIndex = 21;
            this.rb_q2.TabStop = true;
            this.rb_q2.Text = "且";
            this.rb_q2.UseVisualStyleBackColor = true;
            this.rb_q2.CheckedChanged += new System.EventHandler(this.CheckBoxGroup2_CheckedChange);
            // 
            // rb_h2
            // 
            this.rb_h2.AutoSize = true;
            this.rb_h2.Enabled = false;
            this.rb_h2.Location = new System.Drawing.Point(52, 21);
            this.rb_h2.Name = "rb_h2";
            this.rb_h2.Size = new System.Drawing.Size(38, 21);
            this.rb_h2.TabIndex = 22;
            this.rb_h2.TabStop = true;
            this.rb_h2.Text = "或";
            this.rb_h2.UseVisualStyleBackColor = true;
            this.rb_h2.CheckedChanged += new System.EventHandler(this.CheckBoxGroup2_CheckedChange);
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.scb_status2);
            this.groupBox4.Controls.Add(this.scb_status1);
            this.groupBox4.Controls.Add(this.btn_di2);
            this.groupBox4.Controls.Add(this.scb_condition1);
            this.groupBox4.Controls.Add(this.label1);
            this.groupBox4.Controls.Add(this.rb_q1);
            this.groupBox4.Controls.Add(this.rb_h1);
            this.groupBox4.Controls.Add(this.scb_condition2);
            this.groupBox4.Location = new System.Drawing.Point(6, 17);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(415, 92);
            this.groupBox4.TabIndex = 25;
            this.groupBox4.TabStop = false;
            // 
            // scb_status2
            // 
            this.scb_status2.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status2.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_status2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_status2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_status2.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_status2.FormattingEnabled = true;
            this.scb_status2.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status2.ItemHeight = 18;
            this.scb_status2.Location = new System.Drawing.Point(296, 57);
            this.scb_status2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_status2.MouseColor = System.Drawing.Color.Orange;
            this.scb_status2.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_status2.Name = "scb_status2";
            this.scb_status2.Size = new System.Drawing.Size(90, 24);
            this.scb_status2.TabIndex = 23;
            this.scb_status2.WaterText = "";
            // 
            // scb_status1
            // 
            this.scb_status1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status1.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_status1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_status1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_status1.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_status1.FormattingEnabled = true;
            this.scb_status1.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_status1.ItemHeight = 18;
            this.scb_status1.Location = new System.Drawing.Point(296, 19);
            this.scb_status1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_status1.MouseColor = System.Drawing.Color.Orange;
            this.scb_status1.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_status1.Name = "scb_status1";
            this.scb_status1.Size = new System.Drawing.Size(90, 24);
            this.scb_status1.TabIndex = 22;
            this.scb_status1.WaterText = "";
            // 
            // btn_di2
            // 
            this.btn_di2.Enabled = false;
            this.btn_di2.Image = global::AppMonitor.Properties.Resources.remove_16px;
            this.btn_di2.Location = new System.Drawing.Point(391, 59);
            this.btn_di2.Name = "btn_di2";
            this.btn_di2.Size = new System.Drawing.Size(20, 20);
            this.btn_di2.TabIndex = 21;
            this.btn_di2.UseVisualStyleBackColor = true;
            this.btn_di2.Click += new System.EventHandler(this.btn_di2_Click);
            // 
            // rb_q1
            // 
            this.rb_q1.AutoSize = true;
            this.rb_q1.Enabled = false;
            this.rb_q1.Location = new System.Drawing.Point(8, 58);
            this.rb_q1.Name = "rb_q1";
            this.rb_q1.Size = new System.Drawing.Size(38, 21);
            this.rb_q1.TabIndex = 17;
            this.rb_q1.TabStop = true;
            this.rb_q1.Text = "且";
            this.rb_q1.UseVisualStyleBackColor = true;
            this.rb_q1.CheckedChanged += new System.EventHandler(this.CheckBoxGroup1_CheckedChange);
            // 
            // rb_h1
            // 
            this.rb_h1.AutoSize = true;
            this.rb_h1.Enabled = false;
            this.rb_h1.Location = new System.Drawing.Point(52, 58);
            this.rb_h1.Name = "rb_h1";
            this.rb_h1.Size = new System.Drawing.Size(38, 21);
            this.rb_h1.TabIndex = 18;
            this.rb_h1.TabStop = true;
            this.rb_h1.Text = "或";
            this.rb_h1.UseVisualStyleBackColor = true;
            this.rb_h1.CheckedChanged += new System.EventHandler(this.CheckBoxGroup1_CheckedChange);
            // 
            // scb_condition2
            // 
            this.scb_condition2.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition2.BorderColor = System.Drawing.Color.LightSteelBlue;
            this.scb_condition2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.scb_condition2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.scb_condition2.Enabled = false;
            this.scb_condition2.Font = new System.Drawing.Font("宋体", 10F);
            this.scb_condition2.FormattingEnabled = true;
            this.scb_condition2.ItemBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_condition2.ItemHeight = 18;
            this.scb_condition2.Location = new System.Drawing.Point(98, 56);
            this.scb_condition2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.scb_condition2.MouseColor = System.Drawing.Color.Orange;
            this.scb_condition2.MouseGradientColor = System.Drawing.Color.Orange;
            this.scb_condition2.Name = "scb_condition2";
            this.scb_condition2.Size = new System.Drawing.Size(192, 24);
            this.scb_condition2.TabIndex = 19;
            this.scb_condition2.WaterText = "";
            this.scb_condition2.SelectedIndexChanged += new System.EventHandler(this.scb_condition2_SelectedIndexChanged);
            // 
            // groupBox2
            // 
            this.groupBox2.BackColor = System.Drawing.Color.Transparent;
            this.groupBox2.Controls.Add(this.task_name);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Location = new System.Drawing.Point(20, 35);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(788, 61);
            this.groupBox2.TabIndex = 15;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "任务信息";
            // 
            // groupBox3
            // 
            this.groupBox3.BackColor = System.Drawing.Color.Transparent;
            this.groupBox3.Controls.Add(this.linkLabel2);
            this.groupBox3.Controls.Add(this.linkLabel1);
            this.groupBox3.Controls.Add(this.button1);
            this.groupBox3.Controls.Add(this.shell);
            this.groupBox3.Controls.Add(this.shell_name);
            this.groupBox3.Controls.Add(this.label5);
            this.groupBox3.Controls.Add(this.label6);
            this.groupBox3.Location = new System.Drawing.Point(453, 111);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(522, 172);
            this.groupBox3.TabIndex = 18;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "任务命令";
            // 
            // linkLabel2
            // 
            this.linkLabel2.AutoSize = true;
            this.linkLabel2.Location = new System.Drawing.Point(457, 68);
            this.linkLabel2.Name = "linkLabel2";
            this.linkLabel2.Size = new System.Drawing.Size(56, 17);
            this.linkLabel2.TabIndex = 20;
            this.linkLabel2.TabStop = true;
            this.linkLabel2.Text = "插入变量";
            this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(456, 26);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(56, 17);
            this.linkLabel1.TabIndex = 16;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "选择模版";
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(456, 128);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(60, 38);
            this.button1.TabIndex = 19;
            this.button1.Text = "新增↓";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // shell
            // 
            this.shell.BackColor = System.Drawing.Color.Transparent;
            this.shell.DownBack = null;
            this.shell.Icon = null;
            this.shell.IconIsButton = false;
            this.shell.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell.IsPreplacedwordChat = '\0';
            this.shell.IsSystemPreplacedwordChar = false;
            this.shell.Lines = new string[0];
            this.shell.Location = new System.Drawing.Point(78, 56);
            this.shell.Margin = new System.Windows.Forms.Padding(0);
            this.shell.MaxLength = 32767;
            this.shell.MinimumSize = new System.Drawing.Size(28, 28);
            this.shell.MouseBack = null;
            this.shell.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell.Multiline = true;
            this.shell.Name = "shell";
            this.shell.NormlBack = null;
            this.shell.Padding = new System.Windows.Forms.Padding(5);
            this.shell.ReadOnly = false;
            this.shell.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.shell.Size = new System.Drawing.Size(372, 111);
            // 
            // 
            // 
            this.shell.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shell.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shell.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shell.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shell.SkinTxt.Multiline = true;
            this.shell.SkinTxt.Name = "BaseText";
            this.shell.SkinTxt.Size = new System.Drawing.Size(362, 101);
            this.shell.SkinTxt.TabIndex = 0;
            this.shell.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell.SkinTxt.WaterText = "shell脚本";
            this.shell.TabIndex = 14;
            this.shell.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shell.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell.WaterText = "shell脚本";
            this.shell.WordWrap = true;
            this.shell.Enter += new System.EventHandler(this.shell_Enter);
            // 
            // shell_name
            // 
            this.shell_name.BackColor = System.Drawing.Color.Transparent;
            this.shell_name.DownBack = null;
            this.shell_name.Icon = null;
            this.shell_name.IconIsButton = false;
            this.shell_name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell_name.IsPreplacedwordChat = '\0';
            this.shell_name.IsSystemPreplacedwordChar = false;
            this.shell_name.Lines = new string[0];
            this.shell_name.Location = new System.Drawing.Point(78, 19);
            this.shell_name.Margin = new System.Windows.Forms.Padding(0);
            this.shell_name.MaxLength = 32767;
            this.shell_name.MinimumSize = new System.Drawing.Size(28, 28);
            this.shell_name.MouseBack = null;
            this.shell_name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shell_name.Multiline = false;
            this.shell_name.Name = "shell_name";
            this.shell_name.NormlBack = null;
            this.shell_name.Padding = new System.Windows.Forms.Padding(5);
            this.shell_name.ReadOnly = false;
            this.shell_name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.shell_name.Size = new System.Drawing.Size(372, 28);
            // 
            // 
            // 
            this.shell_name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shell_name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shell_name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shell_name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shell_name.SkinTxt.Name = "BaseText";
            this.shell_name.SkinTxt.Size = new System.Drawing.Size(362, 18);
            this.shell_name.SkinTxt.TabIndex = 0;
            this.shell_name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell_name.SkinTxt.WaterText = "命令/脚本名称";
            this.shell_name.TabIndex = 13;
            this.shell_name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shell_name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shell_name.WaterText = "命令/脚本名称";
            this.shell_name.WordWrap = true;
            this.shell_name.Enter += new System.EventHandler(this.shell_name_Enter);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.Location = new System.Drawing.Point(27, 23);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(48, 19);
            this.label5.TabIndex = 15;
            this.label5.Text = "名称:";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.Location = new System.Drawing.Point(27, 57);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(48, 19);
            this.label6.TabIndex = 14;
            this.label6.Text = "脚本:";
            // 
            // button2
            // 
            this.button2.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.button2.Location = new System.Drawing.Point(814, 44);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(161, 52);
            this.button2.TabIndex = 18;
            this.button2.Text = "保存 Ctrl+S";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label7
            // 
            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.label7.BackColor = System.Drawing.SystemColors.ActiveCaption;
            this.label7.Location = new System.Drawing.Point(9, 101);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(980, 5);
            this.label7.TabIndex = 19;
            // 
            // scb_template
            // 
            this.scb_template.BorderColor = System.Drawing.Color.LightGray;
            this.scb_template.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader4,
            this.columnHeader5});
            this.scb_template.FullRowSelect = true;
            this.scb_template.GridLines = true;
            this.scb_template.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.scb_template.Location = new System.Drawing.Point(484, 5);
            this.scb_template.MultiSelect = false;
            this.scb_template.Name = "scb_template";
            this.scb_template.OwnerDraw = true;
            this.scb_template.RowBackColor2 = System.Drawing.Color.White;
            this.scb_template.SelectedColor = System.Drawing.Color.LightSteelBlue;
            this.scb_template.Size = new System.Drawing.Size(370, 182);
            this.scb_template.TabIndex = 21;
            this.scb_template.UseCompatibleStateImageBehavior = false;
            this.scb_template.View = System.Windows.Forms.View.Details;
            this.scb_template.Visible = false;
            this.scb_template.MouseClick += new System.Windows.Forms.MouseEventHandler(this.scb_template_MouseClick);
            this.scb_template.MouseUp += new System.Windows.Forms.MouseEventHandler(this.scb_template_MouseUp);
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "命令名称";
            this.columnHeader4.Width = 120;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "Shell脚本";
            this.columnHeader5.Width = 245;
            // 
            // var_list
            // 
            this.var_list.BorderColor = System.Drawing.Color.LightGray;
            this.var_list.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader6,
            this.columnHeader7});
            this.var_list.FullRowSelect = true;
            this.var_list.GridLines = true;
            this.var_list.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.var_list.Location = new System.Drawing.Point(539, 5);
            this.var_list.MultiSelect = false;
            this.var_list.Name = "var_list";
            this.var_list.OwnerDraw = true;
            this.var_list.RowBackColor2 = System.Drawing.Color.White;
            this.var_list.SelectedColor = System.Drawing.Color.LightSteelBlue;
            this.var_list.Size = new System.Drawing.Size(370, 182);
            this.var_list.TabIndex = 22;
            this.var_list.UseCompatibleStateImageBehavior = false;
            this.var_list.View = System.Windows.Forms.View.Details;
            this.var_list.Visible = false;
            this.var_list.MouseClick += new System.Windows.Forms.MouseEventHandler(this.var_list_MouseClick);
            this.var_list.MouseUp += new System.Windows.Forms.MouseEventHandler(this.var_list_MouseUp);
            // 
            // columnHeader6
            // 
            this.columnHeader6.Text = "变量";
            this.columnHeader6.Width = 180;
            // 
            // columnHeader7
            // 
            this.columnHeader7.Text = "描述";
            this.columnHeader7.Width = 185;
            // 
            // ConditionTaskForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(997, 670);
            this.Controls.Add(this.var_list);
            this.Controls.Add(this.scb_template);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.customShellListView);
            this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(718, 528);
            this.Name = "ConditionTaskForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "条件任务";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.ConditionTaskForm_Load);
            this.contextMenuStrip1.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.ResumeLayout(false);

        }

19 View Source File : TestOpen3D.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

public static PointCloud[] RANSACPlane(PointCloud cloud, double distance = 0, double neighbours = 0, double iterations = 10, bool InliersOrOutliers = true) {

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Conversion from Rhino PointCloud to Flat Array
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            //var watch = System.Diagnostics.Stopwatch.StartNew();


            double[] p = new double[cloud.Count * 3];
            ulong p_c = (ulong)cloud.Count;

            double[] n = new double[cloud.Count * 3];
            ulong n_c = p_c;

            double[] c = new double[cloud.Count * 3];
            ulong c_c = p_c;

            // bool hasColors = cloud.ContainsColors;

            System.Threading.Tasks.Parallel.For(0, cloud.Count, i => {
                //for (int i = 0; i < cloud.Count; i++) {
                p[i * 3 + 0] = cloud[i].Location.X;
                p[i * 3 + 1] = cloud[i].Location.Y;
                p[i * 3 + 2] = cloud[i].Location.Z;
                if (cloud.ContainsNormals) {
                    n[i * 3 + 0] = cloud[i].Normal.X;
                    n[i * 3 + 1] = cloud[i].Normal.Y;
                    n[i * 3 + 2] = cloud[i].Normal.Z;
                }
                if (cloud.ContainsColors) {
                    c[i * 3 + 0] = cloud[i].Color.R;
                    c[i * 3 + 1] = cloud[i].Color.G;
                    c[i * 3 + 2] = cloud[i].Color.B;
                }

            });


            //watch.Stop();
            // Rhino.RhinoApp.WriteLine("Convert PointCloud to double array "+watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Call C++
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////

            IntPtr p_pointer = IntPtr.Zero;
            int p_pointer_c = 0;
            IntPtr n_pointer = IntPtr.Zero;
            int n_pointer_c = 0;
            IntPtr c_pointer = IntPtr.Zero;
            int c_pointer_c = 0;

            UnsafeOpen3D.RANSACPlane(
                p, p_c,
                n,n_c,
                c,c_c,

                distance,
                (int)neighbours,
                (int)iterations,
                InliersOrOutliers,

                ref p_pointer, ref p_pointer_c,
                ref n_pointer, ref n_pointer_c,
                ref c_pointer, ref c_pointer_c
                );

            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("C++ Downsample "+ watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert Pointers to double arrays
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert faceIndicesPointer to C# int[]

            //watch = System.Diagnostics.Stopwatch.StartNew();
            //int[] P = new int[p_pointer_c];
            double[] P = new double[p_pointer_c];
            Marshal.Copy(p_pointer, P, 0, P.Length);

            double[] N = new double[n_pointer_c];
            Marshal.Copy(n_pointer, N, 0, P.Length);

            double[] C = new double[c_pointer_c];
            Marshal.Copy(c_pointer, C, 0, P.Length);


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Convert Pointer to double Array "+watch.ElapsedMilliseconds.ToString());

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Release C++ memory
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            UnsafeOpen3D.ReleaseDouble(p_pointer, true);
            UnsafeOpen3D.ReleaseDouble(n_pointer, true);
            UnsafeOpen3D.ReleaseDouble(c_pointer, true);



            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Convert C++ to C# Pointcloud
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //watch = System.Diagnostics.Stopwatch.StartNew();
            PointCloud[] clouds = new PointCloud[1];

            int count = P.Length / 3;
            Point3d[] location = new Point3d[count];
            Vector3d[] normals = new Vector3d[count];
            Color[] colors = new Color[count];

            for (int i = 0; i < clouds.Length; i++) {
                clouds[i] = new PointCloud();
            }

            for (int i = 0; i < P.Length; i += 3) {

                int id = i / 3;
                location[id] = new Point3d(P[i + 0], P[i + 1], P[i + 2]);
                normals[id] = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
                colors[id] = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

                //clouds[0].Add(new Point3d(P[i + 0], P[i + 1], P[i + 2]));

                //if (C[i + 0] == 0 && C[i + 1] == 0 && C[i + 2] == 0) continue;
                //clouds[0][(int)Math.Round((i / 3.0))].Color = System.Drawing.Color.FromArgb((int)C[i + 0], (int)C[i + 1], (int)C[i + 2]);

            }
            clouds[0].AddRange(location,normals,colors);

            //for (int i = 0; i < P.Length; i += 3) {
            //    if (N[i + 0] == 0 && N[i + 1] == 0 && N[i + 2] == 0) continue;
            //    clouds[0][(int)Math.Round((i / 3.0))].Normal = new Vector3d(N[i + 0], N[i + 1], N[i + 2]);
            //}

            // Rhino.RhinoApp.WriteLine(hash.Count.ToString());


            //watch.Stop();
            //Rhino.RhinoApp.WriteLine("Create PointCloud from double arrays "+ watch.ElapsedMilliseconds.ToString());


            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            //Output
            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            return clouds;

        }

19 View Source File : QuickCommandManageForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QuickCommandManageForm));
            this.skinDataGridView1 = new CCWin.SkinControl.SkinDataGridView();
            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column4 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
            this.Column3 = new System.Windows.Forms.DataGridViewButtonColumn();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).BeginInit();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // skinDataGridView1
            // 
            this.skinDataGridView1.AllowUserToAddRows = false;
            this.skinDataGridView1.AllowUserToDeleteRows = false;
            this.skinDataGridView1.AllowUserToResizeColumns = false;
            this.skinDataGridView1.AllowUserToResizeRows = false;
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(246)))), ((int)(((byte)(253)))));
            this.skinDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.skinDataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
            this.skinDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.skinDataGridView1.ColumnFont = null;
            this.skinDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(246)))), ((int)(((byte)(239)))));
            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 10F);
            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.skinDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
            this.skinDataGridView1.ColumnHeadersHeight = 24;
            this.skinDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            this.skinDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column2,
            this.Column1,
            this.Column4,
            this.Column3});
            this.skinDataGridView1.ColumnSelectForeColor = System.Drawing.SystemColors.HighlightText;
            this.skinDataGridView1.ContextMenuStrip = this.contextMenuStrip1;
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor = System.Drawing.Color.White;
            dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(188)))), ((int)(((byte)(240)))));
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.White;
            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.skinDataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
            this.skinDataGridView1.EnableHeadersVisualStyles = false;
            this.skinDataGridView1.GridColor = System.Drawing.SystemColors.GradientActiveCaption;
            this.skinDataGridView1.HeadFont = new System.Drawing.Font("宋体", 10F);
            this.skinDataGridView1.HeadSelectForeColor = System.Drawing.SystemColors.HighlightText;
            this.skinDataGridView1.Location = new System.Drawing.Point(12, 36);
            this.skinDataGridView1.MultiSelect = false;
            this.skinDataGridView1.Name = "skinDataGridView1";
            this.skinDataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
            this.skinDataGridView1.RowHeadersVisible = false;
            this.skinDataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            this.skinDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4;
            this.skinDataGridView1.RowTemplate.Height = 23;
            this.skinDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.skinDataGridView1.Size = new System.Drawing.Size(804, 413);
            this.skinDataGridView1.TabIndex = 0;
            this.skinDataGridView1.replacedleBack = null;
            this.skinDataGridView1.replacedleBackColorBegin = System.Drawing.SystemColors.Control;
            this.skinDataGridView1.replacedleBackColorEnd = System.Drawing.SystemColors.Control;
            this.skinDataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.skinDataGridView1_CellClick);
            this.skinDataGridView1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.skinDataGridView1_CellMouseDown);
            this.skinDataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.skinDataGridView1_CellValueChanged);
            // 
            // Column2
            // 
            this.Column2.HeaderText = "Index";
            this.Column2.Name = "Column2";
            this.Column2.ReadOnly = true;
            // 
            // Column1
            // 
            this.Column1.HeaderText = "Shell";
            this.Column1.Name = "Column1";
            this.Column1.Width = 540;
            // 
            // Column4
            // 
            this.Column4.HeaderText = "Append CR";
            this.Column4.Name = "Column4";
            // 
            // Column3
            // 
            this.Column3.HeaderText = "Del";
            this.Column3.Name = "Column3";
            this.Column3.ReadOnly = true;
            this.Column3.Width = 60;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(12, 457);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(136, 25);
            this.button1.TabIndex = 1;
            this.button1.Text = "New Quick Command";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(748, 457);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(70, 25);
            this.button2.TabIndex = 2;
            this.button2.Text = "Close";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newToolStripMenuItem,
            this.editToolStripMenuItem,
            this.removeToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(124, 70);
            // 
            // editToolStripMenuItem
            // 
            this.editToolStripMenuItem.Name = "editToolStripMenuItem";
            this.editToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.editToolStripMenuItem.Text = "Edit";
            this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
            // 
            // removeToolStripMenuItem
            // 
            this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
            this.removeToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.removeToolStripMenuItem.Text = "Remove";
            this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
            // 
            // newToolStripMenuItem
            // 
            this.newToolStripMenuItem.Name = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.newToolStripMenuItem.Text = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
            // 
            // QuickCommandManageForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(830, 496);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.skinDataGridView1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "QuickCommandManageForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Quick Command Manage";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.QuickCommandManageForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.skinDataGridView1)).EndInit();
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : PointCloudToMeshComponentFull.cs
License : GNU Lesser General Public License v3.0
Project Creator : 9and3

protected override void SolveInstance(IGH_DataAccess DA) {

            int Downsample = 5000;
            int NormalsNeighbours = 100;
            bool debug = false;

            int maximumDeptOfReconstructionSurfaceTree = 8;
            int targetWidthOfTheFinestLevelOctree = 0;
            double ratioBetweenReconCubeAndBBCubeStd = 1.1;
            bool ReconstructorUsingLinearInterpolation = false;

            DA.GetData(1, ref Downsample);
            DA.GetData(2, ref NormalsNeighbours);
            DA.GetData(3, ref debug);
            DA.GetData(4, ref maximumDeptOfReconstructionSurfaceTree);
            DA.GetData(5, ref targetWidthOfTheFinestLevelOctree);
            DA.GetData(6, ref ratioBetweenReconCubeAndBBCubeStd);
            DA.GetData(7, ref ReconstructorUsingLinearInterpolation);

            //Guid to PointCloud
            //PointCloud c = new PointCloud();
            PointCloudGH c = new PointCloudGH();

            string debugInfo = debug ? "1" : "0";
            

            if (DA.GetData(0, ref c)) {
                if (!c.IsValid) return;
                if (c.Value.Count==0) return;
                Downsample = Math.Min(Downsample, c.Value.Count);

               // var watch = System.Diagnostics.Stopwatch.StartNew();
                // the code that you want to measure comes here

                /////////////////////////////////////////////////////////////////
                //Get Directory
                /////////////////////////////////////////////////////////////////
                string replacedemblyLocation = System.Reflection.replacedembly.GetExecutingreplacedembly().Location;
                string replacedemblyPath = System.IO.Path.GetDirectoryName(replacedemblyLocation);


                /////////////////////////////////////////////////////////////////
                //write PointCloud to PLY
                /////////////////////////////////////////////////////////////////
                PlyReaderWriter.PlyWriter.SavePLY(c.Value, replacedemblyPath + @"\in.ply");
                //Rhino.RhinoApp.WriteLine("PointCloudToMesh. Saved Input: " + replacedemblyPath + @"\in.ply");
                //watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds / 1000.0).ToString());

                /////////////////////////////////////////////////////////////////
                //Ply to Mesh to Obj
                /////////////////////////////////////////////////////////////////
                //watch = System.Diagnostics.Stopwatch.StartNew();
                //tring argument = replacedemblyPath + "TestVisualizer.exe " + "-1 " + "100";//--asci 
                string argument = " "+Downsample.ToString()+ " " + NormalsNeighbours.ToString() + " " + debugInfo + " " + maximumDeptOfReconstructionSurfaceTree.ToString() + " " + targetWidthOfTheFinestLevelOctree.ToString() + " " + ratioBetweenReconCubeAndBBCubeStd.ToString() + " " + Convert.ToInt32(ReconstructorUsingLinearInterpolation).ToString();
                //--asci 
                                                                                                                  // Rhino.RhinoApp.WriteLine("PointCloudToMesh. Arguments: " + argument );



                // Rhino.RhinoApp.WriteLine("PointCloudToMesh. Directory: " + replacedemblyPath + @"\TestVisualizer.exe");

                if (debug) {
                    var proc = new System.Diagnostics.Process {
                        StartInfo = new System.Diagnostics.ProcessStartInfo {
                            FileName = replacedemblyPath + @"\TestVisualizer.exe",//filePath+"PoissonRecon.exe",
                            Arguments = argument,
                            //UseShellExecute = false,
                            //RedirectStandardOutput = true,
                            CreateNoWindow = false,
                            // WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
                            WorkingDirectory = replacedemblyPath + @"\TestVisualizer.exe"
                        }
                    };

                    proc.Start();
                 
                    proc.WaitForExit();
                } else {
                    var proc = new System.Diagnostics.Process {
                        StartInfo = new System.Diagnostics.ProcessStartInfo {
                            FileName = replacedemblyPath + @"\TestVisualizer.exe",//filePath+"PoissonRecon.exe",
                            Arguments = argument,
                            //UseShellExecute = false,
                            //RedirectStandardOutput = true,
                            CreateNoWindow = true,
                             WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
                            WorkingDirectory = replacedemblyPath + @"\TestVisualizer.exe"
                        }
                    };
                    proc.Start();
                    proc.WaitForExit();
                }

               // watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds / 1000.0).ToString());

                /////////////////////////////////////////////////////////////////
                //Read Obj
                /////////////////////////////////////////////////////////////////
                ///

                //Outputs
               // watch = System.Diagnostics.Stopwatch.StartNew();

                // Initialize
                var obj = new ObjParser.Obj();

                // Read Wavefront OBJ file
                //obj.LoadObj(@"C:\libs\windows\out.obj");
            

                //PlyReaderWriter.PlyLoader plyLoader = new PlyReaderWriter.PlyLoader();
                //Mesh mesh3D = plyLoader.load(replacedemblyPath + @"\out.ply")[0];


                //Rhino.RhinoApp.WriteLine(replacedemblyPath + @"\windows\out.obj");
                obj.LoadObj(replacedemblyPath + @"\out.obj");

                Mesh mesh3D = new Mesh();
                foreach (ObjParser.Types.Vertex v in obj.VertexList) {
                    mesh3D.Vertices.Add(new Point3d(v.X, v.Y, v.Z));
                    mesh3D.VertexColors.Add(System.Drawing.Color.FromArgb((int)(v.r * 255), (int)(v.g * 255), (int)(v.b * 255)  ));
                }
 
                int num = checked(mesh3D.Vertices.Count - 1);

                foreach (ObjParser.Types.Face f in obj.FaceList) {

                    string[] lineData = f.ToString().Split(' ');
                    string[] v0 = lineData[1].Split('/');
                    string[] v1 = lineData[2].Split('/');
                    string[] v2 = lineData[3].Split('/');

                    MeshFace mf3D = new MeshFace(Convert.ToInt32(v0[0]) - 1, Convert.ToInt32(v1[0]) - 1, Convert.ToInt32(v2[0]) - 1);
                    if (mf3D.IsValid())
                        if (!(mf3D.A > num || mf3D.B > num || mf3D.C > num || mf3D.D > num))
                            mesh3D.Faces.AddFace(mf3D);


                }








                DA.SetData(0, mesh3D);

                /////////////////////////////////////////////////////////////////
                //Output Iso Values
                /////////////////////////////////////////////////////////////////
                string[] lines = System.IO.File.ReadAllLines(replacedemblyPath + @"\out.txt");
                double[] iso = new double[lines.Length];
                for (int i = 0; i < lines.Length; i++) { 
                    iso[i] = Convert.ToDouble(lines[i]);
                }
                //watch.Stop();
                //Rhino.RhinoApp.WriteLine((watch.ElapsedMilliseconds/1000.0).ToString());

                DA.SetDataList(1, iso);

            }


        }

19 View Source File : FProgressBar.cs
License : MIT License
Project Creator : 0xLaileb

private void Draw_Value(Graphics graphics, float roundingValue)
        {
            if (Value != 0)
            {
                value_progressbar_for_draw = Convert.ToInt32(((graphicsPath.GetBounds().Width / 100) * (Value / (Maximum / 100))));
                rectangle_value = new Rectangle(
                    rectangle_region.X,
                    rectangle_region.Y,
                    value_progressbar_for_draw,
                    rectangle_region.Height);

                int tmp = 1;
                rectangle_value.X -= tmp;
                rectangle_value.Y -= tmp;
                rectangle_value.Width += tmp * 2;
                rectangle_value.Height += tmp * 2;
                roundingValue += tmp * 2;

                GraphicsPath graphicsPath_value = DrawEngine.RoundedRectangle(rectangle_value, roundingValue);
                if (LinearGradient_Value) graphics.FillPath(new LinearGradientBrush(rectangle_value,
                    Color.FromArgb(ColorValue_Transparency, RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1),
                    Color.FromArgb(ColorValue_Transparency, RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2), 360),
                    graphicsPath_value);
                else graphics.FillPath(new SolidBrush(
                    Color.FromArgb(ColorValue_Transparency, RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorProgressBar)),
                    graphicsPath_value);
            }
        }

19 View Source File : MessageFm.Designer.cs
License : GNU General Public License v3.0
Project Creator : a4004

private void InitializeComponent()
        {
            this.header = new System.Windows.Forms.Panel();
            this.message = new System.Windows.Forms.Label();
            this.mCaption = new System.Windows.Forms.Label();
            this.header.SuspendLayout();
            this.SuspendLayout();
            // 
            // header
            // 
            this.header.Controls.Add(this.message);
            this.header.Dock = System.Windows.Forms.DockStyle.Top;
            this.header.Location = new System.Drawing.Point(15, 16);
            this.header.Name = "header";
            this.header.Size = new System.Drawing.Size(570, 36);
            this.header.TabIndex = 3;
            // 
            // message
            // 
            this.message.AutoSize = true;
            this.message.Dock = System.Windows.Forms.DockStyle.Left;
            this.message.Font = new System.Drawing.Font("Segoe UI Semilight", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.message.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(97)))), ((int)(((byte)(255)))));
            this.message.Location = new System.Drawing.Point(0, 0);
            this.message.Name = "message";
            this.message.Size = new System.Drawing.Size(279, 32);
            this.message.TabIndex = 0;
            this.message.Text = "Something has happened";
            this.message.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // mCaption
            // 
            this.mCaption.Dock = System.Windows.Forms.DockStyle.Top;
            this.mCaption.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mCaption.Location = new System.Drawing.Point(15, 52);
            this.mCaption.Name = "mCaption";
            this.mCaption.Padding = new System.Windows.Forms.Padding(3, 0, 8, 0);
            this.mCaption.Size = new System.Drawing.Size(570, 45);
            this.mCaption.TabIndex = 4;
            this.mCaption.Text = "If you\'re seeing this page, please restart the application";
            // 
            // MessageFm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(600, 400);
            this.Controls.Add(this.mCaption);
            this.Controls.Add(this.header);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "MessageFm";
            this.Padding = new System.Windows.Forms.Padding(15, 16, 15, 25);
            this.header.ResumeLayout(false);
            this.header.PerformLayout();
            this.ResumeLayout(false);

        }

19 View Source File : SpringBootMonitorForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.自定义命令ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.定时任务ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.条件任务ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.skinToolTip1 = new CCWin.SkinToolTip(this.components);
            this.button5 = new System.Windows.Forms.Button();
            this.btn_run = new System.Windows.Forms.Button();
            this.btn_restart = new System.Windows.Forms.Button();
            this.btn_build = new System.Windows.Forms.Button();
            this.btn_start = new System.Windows.Forms.Button();
            this.btn_stop = new System.Windows.Forms.Button();
            this.pic_run_state = new System.Windows.Forms.PictureBox();
            this.linkLabel1 = new System.Windows.Forms.LinkLabel();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label1 = new System.Windows.Forms.Label();
            this.progressBar1 = new System.Windows.Forms.ProgressBar();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.custom_btn = new System.Windows.Forms.LinkLabel();
            this.customShellListView = new CCWin.SkinControl.SkinListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.shellView = new CCWin.SkinControl.SkinTextBox();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.label_status = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.l_pro_visit_url = new System.Windows.Forms.TextBox();
            this.l_appname = new System.Windows.Forms.TextBox();
            this.l_source_path = new System.Windows.Forms.TextBox();
            this.l_ctl_path = new System.Windows.Forms.TextBox();
            this.l_build_path = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
            this.contextMenu.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).BeginInit();
            this.groupBox2.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.contextMenuStrip2.SuspendLayout();
            this.SuspendLayout();
            // 
            // timer1
            // 
            this.timer1.Interval = 1000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // contextMenu
            // 
            this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.自定义命令ToolStripMenuItem,
            this.toolStripSeparator1,
            this.定时任务ToolStripMenuItem,
            this.条件任务ToolStripMenuItem});
            this.contextMenu.Name = "contextMenuStrip1";
            this.contextMenu.Size = new System.Drawing.Size(137, 76);
            // 
            // 自定义命令ToolStripMenuItem
            // 
            this.自定义命令ToolStripMenuItem.Name = "自定义命令ToolStripMenuItem";
            this.自定义命令ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.自定义命令ToolStripMenuItem.Text = "自定义脚本";
            this.自定义命令ToolStripMenuItem.Click += new System.EventHandler(this.自定义命令ToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(133, 6);
            // 
            // 定时任务ToolStripMenuItem
            // 
            this.定时任务ToolStripMenuItem.Name = "定时任务ToolStripMenuItem";
            this.定时任务ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.定时任务ToolStripMenuItem.Text = "定时任务";
            this.定时任务ToolStripMenuItem.Click += new System.EventHandler(this.CustomTimeTask_Click);
            // 
            // 条件任务ToolStripMenuItem
            // 
            this.条件任务ToolStripMenuItem.Name = "条件任务ToolStripMenuItem";
            this.条件任务ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
            this.条件任务ToolStripMenuItem.Text = "条件任务";
            this.条件任务ToolStripMenuItem.Click += new System.EventHandler(this.条件任务ToolStripMenuItem_Click);
            // 
            // skinToolTip1
            // 
            this.skinToolTip1.AutoPopDelay = 5000;
            this.skinToolTip1.InitialDelay = 500;
            this.skinToolTip1.OwnerDraw = true;
            this.skinToolTip1.ReshowDelay = 800;
            this.skinToolTip1.ToolTipreplacedle = "AppMonitor";
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(14, 106);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(81, 25);
            this.button5.TabIndex = 9;
            this.button5.Text = "立即检测";
            this.skinToolTip1.SetToolTip(this.button5, "立即检测程序运行是否正常");
            this.button5.UseVisualStyleBackColor = true;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            // 
            // btn_run
            // 
            this.btn_run.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btn_run.Enabled = false;
            this.btn_run.Location = new System.Drawing.Point(631, 193);
            this.btn_run.Name = "btn_run";
            this.btn_run.Size = new System.Drawing.Size(65, 26);
            this.btn_run.TabIndex = 9;
            this.btn_run.Text = "运行";
            this.skinToolTip1.SetToolTip(this.btn_run, "手动运行脚本");
            this.btn_run.UseVisualStyleBackColor = true;
            this.btn_run.Click += new System.EventHandler(this.btn_run_Click);
            // 
            // btn_restart
            // 
            this.btn_restart.Location = new System.Drawing.Point(273, 25);
            this.btn_restart.Name = "btn_restart";
            this.btn_restart.Size = new System.Drawing.Size(80, 28);
            this.btn_restart.TabIndex = 7;
            this.btn_restart.Text = "重启";
            this.skinToolTip1.SetToolTip(this.btn_restart, "重启程序,会先停止程序然后再启动程序");
            this.btn_restart.UseVisualStyleBackColor = true;
            this.btn_restart.Click += new System.EventHandler(this.btn_restart_Click);
            // 
            // btn_build
            // 
            this.btn_build.Location = new System.Drawing.Point(19, 25);
            this.btn_build.Name = "btn_build";
            this.btn_build.Size = new System.Drawing.Size(86, 28);
            this.btn_build.TabIndex = 8;
            this.btn_build.Text = "更新并编译";
            this.skinToolTip1.SetToolTip(this.btn_build, "构建程序,从SVN更新最新版本并编译");
            this.btn_build.UseVisualStyleBackColor = true;
            this.btn_build.Click += new System.EventHandler(this.btn_build_Click);
            // 
            // btn_start
            // 
            this.btn_start.Location = new System.Drawing.Point(121, 25);
            this.btn_start.Name = "btn_start";
            this.btn_start.Size = new System.Drawing.Size(60, 28);
            this.btn_start.TabIndex = 5;
            this.btn_start.Text = "启动";
            this.skinToolTip1.SetToolTip(this.btn_start, "启动程序,如果程序未停止或导致重复启动");
            this.btn_start.UseVisualStyleBackColor = true;
            this.btn_start.Click += new System.EventHandler(this.btn_start_Click);
            // 
            // btn_stop
            // 
            this.btn_stop.Location = new System.Drawing.Point(197, 25);
            this.btn_stop.Name = "btn_stop";
            this.btn_stop.Size = new System.Drawing.Size(60, 28);
            this.btn_stop.TabIndex = 6;
            this.btn_stop.Text = "停止";
            this.skinToolTip1.SetToolTip(this.btn_stop, "停止程序");
            this.btn_stop.UseVisualStyleBackColor = true;
            this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
            // 
            // pic_run_state
            // 
            this.pic_run_state.BackgroundImage = global::AppMonitor.Properties.Resources.gray_light_48;
            this.pic_run_state.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pic_run_state.Location = new System.Drawing.Point(31, 25);
            this.pic_run_state.Name = "pic_run_state";
            this.pic_run_state.Size = new System.Drawing.Size(48, 48);
            this.pic_run_state.TabIndex = 4;
            this.pic_run_state.TabStop = false;
            this.skinToolTip1.SetToolTip(this.pic_run_state, "未检测");
            // 
            // linkLabel1
            // 
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(709, 29);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new System.Drawing.Size(29, 12);
            this.linkLabel1.TabIndex = 21;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "访问";
            this.skinToolTip1.SetToolTip(this.linkLabel1, "在默认浏览器中打开项目首页地址");
            this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            // 
            // groupBox2
            // 
            this.groupBox2.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.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.progressBar1);
            this.groupBox2.Controls.Add(this.button5);
            this.groupBox2.Controls.Add(this.groupBox4);
            this.groupBox2.Controls.Add(this.groupBox3);
            this.groupBox2.Controls.Add(this.pic_run_state);
            this.groupBox2.Controls.Add(this.label_status);
            this.groupBox2.Location = new System.Drawing.Point(8, 176);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(814, 331);
            this.groupBox2.TabIndex = 6;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "状态监控";
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 12F);
            this.label1.ForeColor = System.Drawing.Color.Silver;
            this.label1.Location = new System.Drawing.Point(4, 305);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(95, 21);
            this.label1.TabIndex = 13;
            this.label1.Text = "SpringBoot";
            // 
            // progressBar1
            // 
            this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.progressBar1.BackColor = System.Drawing.SystemColors.Control;
            this.progressBar1.Location = new System.Drawing.Point(59, 6);
            this.progressBar1.Maximum = 20;
            this.progressBar1.Name = "progressBar1";
            this.progressBar1.Size = new System.Drawing.Size(758, 2);
            this.progressBar1.TabIndex = 9;
            this.progressBar1.Value = 20;
            // 
            // groupBox4
            // 
            this.groupBox4.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.groupBox4.Controls.Add(this.custom_btn);
            this.groupBox4.Controls.Add(this.customShellListView);
            this.groupBox4.Controls.Add(this.shellView);
            this.groupBox4.Controls.Add(this.btn_run);
            this.groupBox4.Location = new System.Drawing.Point(107, 101);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(701, 223);
            this.groupBox4.TabIndex = 10;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "扩展功能";
            // 
            // custom_btn
            // 
            this.custom_btn.AutoSize = true;
            this.custom_btn.LinkColor = System.Drawing.Color.Blue;
            this.custom_btn.Location = new System.Drawing.Point(67, 1);
            this.custom_btn.Name = "custom_btn";
            this.custom_btn.Size = new System.Drawing.Size(41, 12);
            this.custom_btn.TabIndex = 15;
            this.custom_btn.TabStop = true;
            this.custom_btn.Text = "自定义";
            this.skinToolTip1.SetToolTip(this.custom_btn, "自定义Shell、Task");
            this.custom_btn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
            // 
            // customShellListView
            // 
            this.customShellListView.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.customShellListView.BorderColor = System.Drawing.Color.LightGray;
            this.customShellListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader3});
            this.customShellListView.FullRowSelect = true;
            this.customShellListView.GridLines = true;
            this.customShellListView.HeadColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.customShellListView.Location = new System.Drawing.Point(8, 20);
            this.customShellListView.MultiSelect = false;
            this.customShellListView.Name = "customShellListView";
            this.customShellListView.OwnerDraw = true;
            this.customShellListView.RowBackColor2 = System.Drawing.Color.White;
            this.customShellListView.SelectedColor = System.Drawing.Color.SkyBlue;
            this.customShellListView.Size = new System.Drawing.Size(284, 194);
            this.customShellListView.TabIndex = 10;
            this.customShellListView.UseCompatibleStateImageBehavior = false;
            this.customShellListView.View = System.Windows.Forms.View.Details;
            this.customShellListView.SelectedIndexChanged += new System.EventHandler(this.customShellListView_SelectedIndexChanged);
            this.customShellListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.customShellListView_MouseUp);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "名称";
            this.columnHeader1.Width = 150;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "类型";
            this.columnHeader3.Width = 100;
            // 
            // shellView
            // 
            this.shellView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.shellView.BackColor = System.Drawing.Color.Transparent;
            this.shellView.DownBack = null;
            this.shellView.Icon = null;
            this.shellView.IconIsButton = false;
            this.shellView.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.IsPreplacedwordChat = '\0';
            this.shellView.IsSystemPreplacedwordChar = false;
            this.shellView.Lines = new string[0];
            this.shellView.Location = new System.Drawing.Point(295, 21);
            this.shellView.Margin = new System.Windows.Forms.Padding(0);
            this.shellView.MaxLength = 32767;
            this.shellView.MinimumSize = new System.Drawing.Size(28, 28);
            this.shellView.MouseBack = null;
            this.shellView.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.shellView.Multiline = true;
            this.shellView.Name = "shellView";
            this.shellView.NormlBack = null;
            this.shellView.Padding = new System.Windows.Forms.Padding(5);
            this.shellView.ReadOnly = false;
            this.shellView.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.Size = new System.Drawing.Size(400, 168);
            // 
            // 
            // 
            this.shellView.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.shellView.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.shellView.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.shellView.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.shellView.SkinTxt.Multiline = true;
            this.shellView.SkinTxt.Name = "BaseText";
            this.shellView.SkinTxt.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.shellView.SkinTxt.Size = new System.Drawing.Size(390, 158);
            this.shellView.SkinTxt.TabIndex = 0;
            this.shellView.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.SkinTxt.WaterText = "";
            this.shellView.TabIndex = 0;
            this.shellView.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.shellView.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.shellView.WaterText = "";
            this.shellView.WordWrap = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox3.Controls.Add(this.btn_restart);
            this.groupBox3.Controls.Add(this.btn_build);
            this.groupBox3.Controls.Add(this.btn_start);
            this.groupBox3.Controls.Add(this.btn_stop);
            this.groupBox3.Location = new System.Drawing.Point(107, 19);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(701, 76);
            this.groupBox3.TabIndex = 9;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "基础功能";
            // 
            // label_status
            // 
            this.label_status.Location = new System.Drawing.Point(17, 83);
            this.label_status.Name = "label_status";
            this.label_status.Size = new System.Drawing.Size(79, 12);
            this.label_status.TabIndex = 1;
            this.label_status.Text = "检测中...";
            this.label_status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox1.Controls.Add(this.linkLabel1);
            this.groupBox1.Controls.Add(this.l_pro_visit_url);
            this.groupBox1.Controls.Add(this.l_appname);
            this.groupBox1.Controls.Add(this.l_source_path);
            this.groupBox1.Controls.Add(this.l_ctl_path);
            this.groupBox1.Controls.Add(this.l_build_path);
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Location = new System.Drawing.Point(7, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(815, 165);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "基本信息";
            // 
            // l_pro_visit_url
            // 
            this.l_pro_visit_url.BackColor = System.Drawing.SystemColors.Control;
            this.l_pro_visit_url.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_pro_visit_url.Font = new System.Drawing.Font("宋体", 9F);
            this.l_pro_visit_url.Location = new System.Drawing.Point(444, 29);
            this.l_pro_visit_url.Name = "l_pro_visit_url";
            this.l_pro_visit_url.Size = new System.Drawing.Size(259, 14);
            this.l_pro_visit_url.TabIndex = 20;
            // 
            // l_appname
            // 
            this.l_appname.BackColor = System.Drawing.SystemColors.Control;
            this.l_appname.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_appname.Font = new System.Drawing.Font("宋体", 9F);
            this.l_appname.Location = new System.Drawing.Point(110, 28);
            this.l_appname.Name = "l_appname";
            this.l_appname.ReadOnly = true;
            this.l_appname.Size = new System.Drawing.Size(183, 14);
            this.l_appname.TabIndex = 19;
            // 
            // l_source_path
            // 
            this.l_source_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_source_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_source_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_source_path.Location = new System.Drawing.Point(110, 59);
            this.l_source_path.Name = "l_source_path";
            this.l_source_path.ReadOnly = true;
            this.l_source_path.Size = new System.Drawing.Size(500, 14);
            this.l_source_path.TabIndex = 18;
            // 
            // l_ctl_path
            // 
            this.l_ctl_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_ctl_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_ctl_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_ctl_path.Location = new System.Drawing.Point(110, 92);
            this.l_ctl_path.Name = "l_ctl_path";
            this.l_ctl_path.ReadOnly = true;
            this.l_ctl_path.Size = new System.Drawing.Size(500, 14);
            this.l_ctl_path.TabIndex = 17;
            // 
            // l_build_path
            // 
            this.l_build_path.BackColor = System.Drawing.SystemColors.Control;
            this.l_build_path.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.l_build_path.Font = new System.Drawing.Font("宋体", 9F);
            this.l_build_path.Location = new System.Drawing.Point(110, 128);
            this.l_build_path.Name = "l_build_path";
            this.l_build_path.ReadOnly = true;
            this.l_build_path.Size = new System.Drawing.Size(500, 14);
            this.l_build_path.TabIndex = 16;
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(334, 29);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(89, 12);
            this.label9.TabIndex = 13;
            this.label9.Text = "项目访问地址:";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(40, 29);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(65, 12);
            this.label6.TabIndex = 10;
            this.label6.Text = "项目名称:";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(40, 95);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(65, 12);
            this.label5.TabIndex = 9;
            this.label5.Text = "控制脚本:";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(40, 128);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(65, 12);
            this.label3.TabIndex = 7;
            this.label3.Text = "构建脚本:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(40, 62);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 0;
            this.label2.Text = "代码路径:";
            // 
            // contextMenuStrip2
            // 
            this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.toolStripMenuItem3});
            this.contextMenuStrip2.Name = "contextMenuStrip1";
            this.contextMenuStrip2.Size = new System.Drawing.Size(114, 48);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem2.Text = "Edit";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(113, 22);
            this.toolStripMenuItem3.Text = "Delete";
            this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
            // 
            // SpringBootMonitorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.ClientSize = new System.Drawing.Size(831, 513);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Name = "SpringBootMonitorForm";
            this.Text = "MonitorWorkForm";
            this.Load += new System.EventHandler(this.SpringBootMonitorForm_Load);
            this.contextMenu.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pic_run_state)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.contextMenuStrip2.ResumeLayout(false);
            this.ResumeLayout(false);

        }

19 View Source File : LockForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LockForm));
            this.stb_pwd = new CCWin.SkinControl.SkinTextBox();
            this.info = new CCWin.SkinControl.SkinLabel();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button4 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // stb_pwd
            // 
            this.stb_pwd.BackColor = System.Drawing.Color.Transparent;
            this.stb_pwd.DownBack = null;
            this.stb_pwd.Icon = null;
            this.stb_pwd.IconIsButton = false;
            this.stb_pwd.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_pwd.IsPreplacedwordChat = '★';
            this.stb_pwd.IsSystemPreplacedwordChar = false;
            this.stb_pwd.Lines = new string[0];
            this.stb_pwd.Location = new System.Drawing.Point(29, 75);
            this.stb_pwd.Margin = new System.Windows.Forms.Padding(0);
            this.stb_pwd.MaxLength = 32767;
            this.stb_pwd.MinimumSize = new System.Drawing.Size(28, 28);
            this.stb_pwd.MouseBack = null;
            this.stb_pwd.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.stb_pwd.Multiline = false;
            this.stb_pwd.Name = "stb_pwd";
            this.stb_pwd.NormlBack = null;
            this.stb_pwd.Padding = new System.Windows.Forms.Padding(5);
            this.stb_pwd.ReadOnly = false;
            this.stb_pwd.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.stb_pwd.Size = new System.Drawing.Size(320, 28);
            // 
            // 
            // 
            this.stb_pwd.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.stb_pwd.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.stb_pwd.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.stb_pwd.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.stb_pwd.SkinTxt.Name = "BaseText";
            this.stb_pwd.SkinTxt.PreplacedwordChar = '★';
            this.stb_pwd.SkinTxt.Size = new System.Drawing.Size(310, 18);
            this.stb_pwd.SkinTxt.TabIndex = 0;
            this.stb_pwd.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_pwd.SkinTxt.WaterText = "请输入解锁密码,只用于本次解锁";
            this.stb_pwd.TabIndex = 0;
            this.stb_pwd.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.stb_pwd.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.stb_pwd.WaterText = "请输入解锁密码,只用于本次解锁";
            this.stb_pwd.WordWrap = true;
            // 
            // info
            // 
            this.info.AutoSize = true;
            this.info.BackColor = System.Drawing.Color.Transparent;
            this.info.BorderColor = System.Drawing.Color.White;
            this.info.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.info.Location = new System.Drawing.Point(29, 43);
            this.info.Name = "info";
            this.info.Size = new System.Drawing.Size(92, 17);
            this.info.TabIndex = 1;
            this.info.Text = "请输入解锁密码";
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.Transparent;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.ForeColor = System.Drawing.Color.Teal;
            this.button1.Location = new System.Drawing.Point(287, 132);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 26);
            this.button1.TabIndex = 2;
            this.button1.Text = "解锁";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Visible = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.Color.Transparent;
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
            this.button2.Location = new System.Drawing.Point(197, 132);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 26);
            this.button2.TabIndex = 3;
            this.button2.Text = "退出软件";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Visible = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // button3
            // 
            this.button3.BackColor = System.Drawing.Color.Transparent;
            this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
            this.button3.Location = new System.Drawing.Point(197, 131);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(75, 26);
            this.button3.TabIndex = 5;
            this.button3.Text = "取消";
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // button4
            // 
            this.button4.BackColor = System.Drawing.Color.Transparent;
            this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button4.ForeColor = System.Drawing.Color.Teal;
            this.button4.Location = new System.Drawing.Point(287, 131);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(75, 26);
            this.button4.TabIndex = 4;
            this.button4.Text = "锁定";
            this.button4.UseVisualStyleBackColor = false;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // LockForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(379, 175);
            this.ControlBox = false;
            this.Controls.Add(this.button3);
            this.Controls.Add(this.button4);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.info);
            this.Controls.Add(this.stb_pwd);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "LockForm";
            this.Text = "Lock";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.LockForm_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : Form1.Designer.cs
License : GNU General Public License v3.0
Project Creator : 00000vish

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label1 = new System.Windows.Forms.Label();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.button3 = new System.Windows.Forms.Button();
            this.groupBox1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.groupBox1.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(212)))), ((int)(((byte)(231)))));
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(323, 85);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Current HWID";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.ContextMenuStrip = this.contextMenuStrip1;
            this.label1.Font = new System.Drawing.Font("Consolas", 9.25F);
            this.label1.Location = new System.Drawing.Point(25, 37);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(0, 15);
            this.label1.TabIndex = 0;
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.copyToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(103, 26);
            // 
            // copyToolStripMenuItem
            // 
            this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
            this.copyToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
            this.copyToolStripMenuItem.Text = "Copy";
            this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(112)))), ((int)(((byte)(116)))));
            this.button1.FlatAppearance.BorderSize = 0;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location = new System.Drawing.Point(260, 103);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 1;
            this.button1.Text = "Change";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(112)))), ((int)(((byte)(116)))));
            this.button2.FlatAppearance.BorderSize = 0;
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Location = new System.Drawing.Point(179, 103);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 2;
            this.button2.Text = "Randomize";
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(12, 105);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(242, 20);
            this.textBox1.TabIndex = 3;
            this.textBox1.Visible = false;
            // 
            // button3
            // 
            this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(112)))), ((int)(((byte)(116)))));
            this.button3.FlatAppearance.BorderSize = 0;
            this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button3.Location = new System.Drawing.Point(260, 79);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(75, 23);
            this.button3.TabIndex = 4;
            this.button3.Text = "Cancel";
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Visible = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(42)))));
            this.ClientSize = new System.Drawing.Size(347, 141);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.textBox1);
            this.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(212)))), ((int)(((byte)(231)))));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
            this.Name = "Form1";
            this.Text = "HWID_CHNGER";
            this.TopMost = true;
            this.Load += new System.EventHandler(this.Form1_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : FSwitchBox.cs
License : MIT License
Project Creator : 0xLaileb

private void Draw_Checked(Graphics graphics)
        {
            //RoundedRectangle
            Rectangle rectangle_new = new Rectangle();

            if (Checked)
            {
                int num_X = (int)((rectangle_region.Width / 10) * 6.2F);
                int num_Y = rectangle_region.Height / 6;
                rectangle_new.X = rectangle_region.X + num_X;
                rectangle_new.Y = rectangle_region.Y + num_Y;
                rectangle_new.Height = rectangle_region.Height - num_Y * 2;
                rectangle_new.Width = rectangle_new.Height;

                if (LinearGradient_Value) graphics.FillEllipse(new LinearGradientBrush(rectangle_region,
                    RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1,
                    RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2,
                    360), rectangle_new);
                else graphics.FillEllipse(new SolidBrush(
                    RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorValue), rectangle_new);
            }
            else
            {
                int num_X = rectangle_region.Width / 10;
                int num_Y = rectangle_region.Height / 6;
                rectangle_new.X = rectangle_region.X + num_X;
                rectangle_new.Y = rectangle_region.Y + num_Y;
                rectangle_new.Height = rectangle_region.Height - num_Y * 2;
                rectangle_new.Width = rectangle_new.Height;
                float size_brightness = 0.5F;

                if (LinearGradient_Value) graphics.FillEllipse(new LinearGradientBrush(rectangle_region,
                    Color.FromArgb(
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1).R * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1).G * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorBackground_Value_1).B * size_brightness)),
                    Color.FromArgb(
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2).R * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2).G * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h + 20, 1f, 1f) : ColorBackground_Value_2).B * size_brightness)),
                    360), rectangle_new);
                else graphics.FillEllipse(new SolidBrush(Color.FromArgb(100,
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorValue).R * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorValue).G * size_brightness),
                    (int)((RGB ? DrawEngine.HSV_To_RGB(h, 1f, 1f) : ColorValue).B * size_brightness))), rectangle_new);
            }
        }

19 View Source File : Login.Designer.cs
License : MIT License
Project Creator : 1-EXON

private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Login));
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.log_in = new System.Windows.Forms.PictureBox();
            this.webhookLink = new Guna.UI2.WinForms.Guna2TextBox();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.log_in)).BeginInit();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.ForeColor = System.Drawing.Color.White;
            this.label1.Location = new System.Drawing.Point(103, 134);
            this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(131, 22);
            this.label1.TabIndex = 7;
            this.label1.Text = "Webhook Link";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.White;
            this.label2.Location = new System.Drawing.Point(13, 197);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(331, 15);
            this.label2.TabIndex = 9;
            this.label2.Text = "잘못된 링크를 입력할 시 프로그램이 정상작동 되지 않습니다.";
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
            this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.pictureBox1.Location = new System.Drawing.Point(107, 12);
            this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(127, 119);
            this.pictureBox1.TabIndex = 10;
            this.pictureBox1.TabStop = false;
            // 
            // log_in
            // 
            this.log_in.BackColor = System.Drawing.Color.Transparent;
            this.log_in.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("log_in.BackgroundImage")));
            this.log_in.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.log_in.Location = new System.Drawing.Point(107, 220);
            this.log_in.Name = "log_in";
            this.log_in.Size = new System.Drawing.Size(100, 50);
            this.log_in.TabIndex = 22;
            this.log_in.TabStop = false;
            this.log_in.Click += new System.EventHandler(this.log_in_Click);
            // 
            // webhookLink
            // 
            this.webhookLink.BackColor = System.Drawing.Color.Transparent;
            this.webhookLink.BorderColor = System.Drawing.Color.Transparent;
            this.webhookLink.BorderRadius = 15;
            this.webhookLink.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.webhookLink.DefaultText = "";
            this.webhookLink.DisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))));
            this.webhookLink.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(226)))), ((int)(((byte)(226)))));
            this.webhookLink.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.webhookLink.DisabledState.Parent = this.webhookLink;
            this.webhookLink.DisabledState.PlaceholderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            this.webhookLink.FocusedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.webhookLink.FocusedState.Parent = this.webhookLink;
            this.webhookLink.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.webhookLink.ForeColor = System.Drawing.Color.Black;
            this.webhookLink.HoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(148)))), ((int)(((byte)(255)))));
            this.webhookLink.HoverState.Parent = this.webhookLink;
            this.webhookLink.Location = new System.Drawing.Point(52, 158);
            this.webhookLink.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
            this.webhookLink.Name = "webhookLink";
            this.webhookLink.PreplacedwordChar = '\0';
            this.webhookLink.PlaceholderForeColor = System.Drawing.Color.Transparent;
            this.webhookLink.PlaceholderText = "";
            this.webhookLink.SelectedText = "";
            this.webhookLink.ShadowDecoration.Parent = this.webhookLink;
            this.webhookLink.Size = new System.Drawing.Size(233, 33);
            this.webhookLink.TabIndex = 23;
            this.webhookLink.TextChanged += new System.EventHandler(this.guna2TextBox1_TextChanged);
            // 
            // Login
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 22F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
            this.ClientSize = new System.Drawing.Size(356, 282);
            this.Controls.Add(this.webhookLink);
            this.Controls.Add(this.log_in);
            this.Controls.Add(this.pictureBox1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Login";
            this.Text = "Login";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Login_FormClosing);
            this.Load += new System.EventHandler(this.Login_Load);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.log_in)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

19 View Source File : AreaForm.cs
License : MIT License
Project Creator : 1CM69

private void mouse_Click(object sender, MouseEventArgs e)
        {
      this.g.Clear(Color.FromArgb((int) byte.MaxValue, (int) byte.MaxValue, 192));
      this.LeftButtonDown = true;
      this.ClickPoint = new Point(Control.MousePosition.X, Control.MousePosition.Y);
      this.activated = false;
        }

19 View Source File : YmlNodeForm.Designer.cs
License : Apache License 2.0
Project Creator : 214175590

private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.TreeListViewItemCollection.TreeListViewItemCollectionComparer treeListViewItemCollectionComparer2 = new System.Windows.Forms.TreeListViewItemCollection.TreeListViewItemCollectionComparer();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(YmlNodeForm));
            this.parent = new CCWin.SkinControl.SkinTextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.name = new CCWin.SkinControl.SkinTextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.value = new CCWin.SkinControl.SkinTextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.common = new CCWin.SkinControl.SkinTextBox();
            this.btn_sure = new System.Windows.Forms.Button();
            this.btn_cancel = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this._treeView = new System.Windows.Forms.TreeListView();
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.imageList2 = new System.Windows.Forms.ImageList(this.components);
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            // 
            // parent
            // 
            this.parent.BackColor = System.Drawing.Color.Transparent;
            this.parent.DownBack = null;
            this.parent.Icon = null;
            this.parent.IconIsButton = false;
            this.parent.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.parent.IsPreplacedwordChat = '\0';
            this.parent.IsSystemPreplacedwordChar = false;
            this.parent.Lines = new string[0];
            this.parent.Location = new System.Drawing.Point(102, 43);
            this.parent.Margin = new System.Windows.Forms.Padding(0);
            this.parent.MaxLength = 32767;
            this.parent.MinimumSize = new System.Drawing.Size(28, 28);
            this.parent.MouseBack = null;
            this.parent.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.parent.Multiline = false;
            this.parent.Name = "parent";
            this.parent.NormlBack = null;
            this.parent.Padding = new System.Windows.Forms.Padding(5);
            this.parent.ReadOnly = true;
            this.parent.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.parent.Size = new System.Drawing.Size(464, 28);
            // 
            // 
            // 
            this.parent.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.parent.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.parent.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.parent.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.parent.SkinTxt.Name = "BaseText";
            this.parent.SkinTxt.ReadOnly = true;
            this.parent.SkinTxt.Size = new System.Drawing.Size(454, 18);
            this.parent.SkinTxt.TabIndex = 0;
            this.parent.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.parent.SkinTxt.WaterText = "父节点属性名称";
            this.parent.TabIndex = 0;
            this.parent.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.parent.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.parent.WaterText = "父节点属性名称";
            this.parent.WordWrap = true;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(17, 51);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(77, 12);
            this.label1.TabIndex = 1;
            this.label1.Text = "父属性名称:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(29, 95);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 3;
            this.label2.Text = "属性名称:";
            // 
            // name
            // 
            this.name.BackColor = System.Drawing.Color.Transparent;
            this.name.DownBack = null;
            this.name.Icon = null;
            this.name.IconIsButton = false;
            this.name.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.name.IsPreplacedwordChat = '\0';
            this.name.IsSystemPreplacedwordChar = false;
            this.name.Lines = new string[0];
            this.name.Location = new System.Drawing.Point(102, 87);
            this.name.Margin = new System.Windows.Forms.Padding(0);
            this.name.MaxLength = 32767;
            this.name.MinimumSize = new System.Drawing.Size(28, 28);
            this.name.MouseBack = null;
            this.name.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.name.Multiline = false;
            this.name.Name = "name";
            this.name.NormlBack = null;
            this.name.Padding = new System.Windows.Forms.Padding(5);
            this.name.ReadOnly = false;
            this.name.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.name.Size = new System.Drawing.Size(464, 28);
            // 
            // 
            // 
            this.name.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.name.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.name.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.name.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.name.SkinTxt.Name = "BaseText";
            this.name.SkinTxt.Size = new System.Drawing.Size(454, 18);
            this.name.SkinTxt.TabIndex = 0;
            this.name.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.name.SkinTxt.WaterText = "属性名称";
            this.name.TabIndex = 2;
            this.name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.name.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.name.WaterText = "属性名称";
            this.name.WordWrap = true;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(41, 141);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(53, 12);
            this.label3.TabIndex = 3;
            this.label3.Text = "属性值:";
            // 
            // value
            // 
            this.value.BackColor = System.Drawing.Color.Transparent;
            this.value.DownBack = null;
            this.value.Icon = null;
            this.value.IconIsButton = false;
            this.value.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.value.IsPreplacedwordChat = '\0';
            this.value.IsSystemPreplacedwordChar = false;
            this.value.Lines = new string[0];
            this.value.Location = new System.Drawing.Point(102, 133);
            this.value.Margin = new System.Windows.Forms.Padding(0);
            this.value.MaxLength = 32767;
            this.value.MinimumSize = new System.Drawing.Size(28, 28);
            this.value.MouseBack = null;
            this.value.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.value.Multiline = false;
            this.value.Name = "value";
            this.value.NormlBack = null;
            this.value.Padding = new System.Windows.Forms.Padding(5);
            this.value.ReadOnly = false;
            this.value.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.value.Size = new System.Drawing.Size(464, 28);
            // 
            // 
            // 
            this.value.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.value.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.value.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.value.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.value.SkinTxt.Name = "BaseText";
            this.value.SkinTxt.Size = new System.Drawing.Size(454, 18);
            this.value.SkinTxt.TabIndex = 0;
            this.value.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.value.SkinTxt.WaterText = "属性值";
            this.value.TabIndex = 2;
            this.value.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.value.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.value.WaterText = "属性值";
            this.value.WordWrap = true;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Location = new System.Drawing.Point(53, 186);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(41, 12);
            this.label4.TabIndex = 5;
            this.label4.Text = "备注:";
            // 
            // common
            // 
            this.common.BackColor = System.Drawing.Color.Transparent;
            this.common.DownBack = null;
            this.common.Icon = null;
            this.common.IconIsButton = false;
            this.common.IconMouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.common.IsPreplacedwordChat = '\0';
            this.common.IsSystemPreplacedwordChar = false;
            this.common.Lines = new string[0];
            this.common.Location = new System.Drawing.Point(102, 178);
            this.common.Margin = new System.Windows.Forms.Padding(0);
            this.common.MaxLength = 32767;
            this.common.MinimumSize = new System.Drawing.Size(28, 28);
            this.common.MouseBack = null;
            this.common.MouseState = CCWin.SkinClreplaced.ControlState.Normal;
            this.common.Multiline = false;
            this.common.Name = "common";
            this.common.NormlBack = null;
            this.common.Padding = new System.Windows.Forms.Padding(5);
            this.common.ReadOnly = false;
            this.common.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.common.Size = new System.Drawing.Size(464, 28);
            // 
            // 
            // 
            this.common.SkinTxt.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.common.SkinTxt.Dock = System.Windows.Forms.DockStyle.Fill;
            this.common.SkinTxt.Font = new System.Drawing.Font("微软雅黑", 9.75F);
            this.common.SkinTxt.Location = new System.Drawing.Point(5, 5);
            this.common.SkinTxt.Name = "BaseText";
            this.common.SkinTxt.Size = new System.Drawing.Size(454, 18);
            this.common.SkinTxt.TabIndex = 0;
            this.common.SkinTxt.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.common.SkinTxt.WaterText = "备注";
            this.common.TabIndex = 4;
            this.common.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            this.common.WaterColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            this.common.WaterText = "备注";
            this.common.WordWrap = true;
            // 
            // btn_sure
            // 
            this.btn_sure.Location = new System.Drawing.Point(491, 228);
            this.btn_sure.Name = "btn_sure";
            this.btn_sure.Size = new System.Drawing.Size(75, 27);
            this.btn_sure.TabIndex = 6;
            this.btn_sure.Text = "确定";
            this.btn_sure.UseVisualStyleBackColor = true;
            this.btn_sure.Click += new System.EventHandler(this.btn_sure_Click);
            // 
            // btn_cancel
            // 
            this.btn_cancel.Location = new System.Drawing.Point(396, 228);
            this.btn_cancel.Name = "btn_cancel";
            this.btn_cancel.Size = new System.Drawing.Size(75, 27);
            this.btn_cancel.TabIndex = 7;
            this.btn_cancel.Text = "取消";
            this.btn_cancel.UseVisualStyleBackColor = true;
            this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.Transparent;
            this.panel1.Controls.Add(this.button2);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this._treeView);
            this.panel1.Location = new System.Drawing.Point(102, 71);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(464, 191);
            this.panel1.TabIndex = 1;
            this.panel1.Visible = false;
            // 
            // _treeView
            // 
            this._treeView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader2,
            this.columnHeader3});
            treeListViewItemCollectionComparer2.Column = 0;
            treeListViewItemCollectionComparer2.SortOrder = System.Windows.Forms.SortOrder.None;
            this._treeView.Comparer = treeListViewItemCollectionComparer2;
            this._treeView.GridLines = true;
            this._treeView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
            this._treeView.LabelWrap = false;
            this._treeView.Location = new System.Drawing.Point(0, -1);
            this._treeView.MultiSelect = false;
            this._treeView.Name = "_treeView";
            this._treeView.PlusMinusLineColor = System.Drawing.Color.Teal;
            this._treeView.Size = new System.Drawing.Size(464, 152);
            this._treeView.SmallImageList = this.imageList2;
            this._treeView.Sorting = System.Windows.Forms.SortOrder.None;
            this._treeView.TabIndex = 1;
            this._treeView.UseCompatibleStateImageBehavior = false;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "属性";
            this.columnHeader2.Width = 240;
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "值";
            this.columnHeader3.Width = 210;
            // 
            // imageList2
            // 
            this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName(0, "Folder_open_16px.png");
            this.imageList2.Images.SetKeyName(1, "item_16px.png");
            this.imageList2.Images.SetKeyName(2, "gray_light_16px.png");
            this.imageList2.Images.SetKeyName(3, "openSession.png");
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(381, 157);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 27);
            this.button1.TabIndex = 2;
            this.button1.Text = "选定";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(299, 157);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 27);
            this.button2.TabIndex = 3;
            this.button2.Text = "取消";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // YmlNodeForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackgroundImage = global::AppMonitor.Properties.Resources.skin_12;
            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.CaptionFont = new System.Drawing.Font("微软雅黑", 9F);
            this.ClientSize = new System.Drawing.Size(589, 273);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.btn_cancel);
            this.Controls.Add(this.btn_sure);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.common);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.value);
            this.Controls.Add(this.name);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.parent);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(589, 273);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(589, 273);
            this.Name = "YmlNodeForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "新增/修改节点";
            this.replacedleCenter = false;
            this.replacedleColor = System.Drawing.Color.White;
            this.Load += new System.EventHandler(this.YmlNodeForm_Load);
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

See More Examples