예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     MetroFramework.Controls.MetroPanel             metroPanel1;
     System.Windows.Forms.PictureBox                pictureBox1;
     MetroFramework.Controls.MetroLabel             metroLabel1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormWelcome));
     this.metroProgressBar1 = new MetroFramework.Controls.MetroProgressBar();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.metroTextBox1     = new MetroFramework.Controls.MetroTextBox();
     metroPanel1            = new MetroFramework.Controls.MetroPanel();
     pictureBox1            = new System.Windows.Forms.PictureBox();
     metroLabel1            = new MetroFramework.Controls.MetroLabel();
     this.tableLayoutPanel1.SuspendLayout();
     metroPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // metroProgressBar1
     //
     this.metroProgressBar1.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.metroProgressBar1.Location         = new System.Drawing.Point(20, 390);
     this.metroProgressBar1.Margin           = new System.Windows.Forms.Padding(0);
     this.metroProgressBar1.Name             = "metroProgressBar1";
     this.metroProgressBar1.ProgressBarStyle = System.Windows.Forms.ProgressBarStyle.Marquee;
     this.metroProgressBar1.Size             = new System.Drawing.Size(796, 23);
     this.metroProgressBar1.TabIndex         = 0;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.metroTextBox1, 1, 0);
     this.tableLayoutPanel1.Controls.Add(metroPanel1, 0, 0);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(20, 60);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0, 5, 0, 5);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 1;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(796, 330);
     this.tableLayoutPanel1.TabIndex = 1;
     //
     // metroTextBox1
     //
     this.metroTextBox1.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.metroTextBox1.CustomButton.Image         = null;
     this.metroTextBox1.CustomButton.Location      = new System.Drawing.Point(90, 2);
     this.metroTextBox1.CustomButton.Name          = "";
     this.metroTextBox1.CustomButton.Size          = new System.Drawing.Size(305, 305);
     this.metroTextBox1.CustomButton.Style         = MetroFramework.MetroColorStyle.Blue;
     this.metroTextBox1.CustomButton.TabIndex      = 1;
     this.metroTextBox1.CustomButton.Theme         = MetroFramework.MetroThemeStyle.Light;
     this.metroTextBox1.CustomButton.UseSelectable = true;
     this.metroTextBox1.CustomButton.Visible       = false;
     this.metroTextBox1.Lines = new string[] {
         "start up...OK",
         "loading configuration...OK",
         "connecting to the server...OK",
         "confirm that the API Key...OK"
     };
     this.metroTextBox1.Location         = new System.Drawing.Point(398, 10);
     this.metroTextBox1.Margin           = new System.Windows.Forms.Padding(0, 10, 0, 10);
     this.metroTextBox1.MaxLength        = 32767;
     this.metroTextBox1.Multiline        = true;
     this.metroTextBox1.Name             = "metroTextBox1";
     this.metroTextBox1.PasswordChar     = '\0';
     this.metroTextBox1.ReadOnly         = true;
     this.metroTextBox1.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this.metroTextBox1.SelectedText     = "";
     this.metroTextBox1.SelectionLength  = 0;
     this.metroTextBox1.SelectionStart   = 0;
     this.metroTextBox1.ShortcutsEnabled = true;
     this.metroTextBox1.Size             = new System.Drawing.Size(398, 310);
     this.metroTextBox1.TabIndex         = 10;
     this.metroTextBox1.TabStop          = false;
     this.metroTextBox1.Text             = "start up...OK\r\nloading configuration...OK\r\nconnecting to the server...OK\r\nconfirm" +
                                           " that the API Key...OK";
     this.metroTextBox1.UseSelectable  = true;
     this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     this.metroTextBox1.WaterMarkFont  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
     //
     // metroPanel1
     //
     metroPanel1.Controls.Add(metroLabel1);
     metroPanel1.Controls.Add(pictureBox1);
     metroPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     metroPanel1.HorizontalScrollbarBarColor         = true;
     metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
     metroPanel1.HorizontalScrollbarSize             = 10;
     metroPanel1.Location = new System.Drawing.Point(0, 10);
     metroPanel1.Margin   = new System.Windows.Forms.Padding(0, 10, 0, 10);
     metroPanel1.Name     = "metroPanel1";
     metroPanel1.Size     = new System.Drawing.Size(398, 310);
     metroPanel1.TabIndex = 2;
     metroPanel1.VerticalScrollbarBarColor         = true;
     metroPanel1.VerticalScrollbarHighlightOnWheel = false;
     metroPanel1.VerticalScrollbarSize             = 10;
     //
     // pictureBox1
     //
     pictureBox1.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)));
     pictureBox1.Image    = global::ECC_client_windows.Properties.Resources.LOGO;
     pictureBox1.Location = new System.Drawing.Point(3, 3);
     pictureBox1.Name     = "pictureBox1";
     pictureBox1.Size     = new System.Drawing.Size(395, 244);
     pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     pictureBox1.TabIndex = 3;
     pictureBox1.TabStop  = false;
     //
     // metroLabel1
     //
     metroLabel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     metroLabel1.FontSize  = MetroFramework.MetroLabelSize.Small;
     metroLabel1.Location  = new System.Drawing.Point(0, 250);
     metroLabel1.Name      = "metroLabel1";
     metroLabel1.Size      = new System.Drawing.Size(398, 60);
     metroLabel1.TabIndex  = 4;
     metroLabel1.Text      = "ECCIoT Client for Windows\r\nCopyright © 2018 Landriesnidis.\r\nAll Rights Reserved.";
     metroLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // FormWelcome
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(836, 433);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Controls.Add(this.metroProgressBar1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "FormWelcome";
     this.Resizable   = false;
     this.Text        = "ECCIoT Client for Windows";
     this.tableLayoutPanel1.ResumeLayout(false);
     metroPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Требуемый метод для поддержки конструктора — не изменяйте
 /// содержимое этого метода с помощью редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     MetroFramework.Controls.MetroPanel metroPanel1;
     this.powerLabel        = new MetroFramework.Controls.MetroLabel();
     this.nameLabel         = new MetroFramework.Controls.MetroLabel();
     this.rarityColorBorder = new MetroFramework.Controls.MetroPanel();
     metroPanel1            = new MetroFramework.Controls.MetroPanel();
     metroPanel1.SuspendLayout();
     this.rarityColorBorder.SuspendLayout();
     this.SuspendLayout();
     //
     // metroPanel1
     //
     metroPanel1.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)));
     metroPanel1.BackColor = System.Drawing.Color.White;
     metroPanel1.Controls.Add(this.powerLabel);
     metroPanel1.Controls.Add(this.nameLabel);
     metroPanel1.HorizontalScrollbarBarColor         = true;
     metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
     metroPanel1.HorizontalScrollbarSize             = 10;
     metroPanel1.Location = new System.Drawing.Point(3, 3);
     metroPanel1.Name     = "metroPanel1";
     metroPanel1.Size     = new System.Drawing.Size(224, 357);
     metroPanel1.TabIndex = 2;
     metroPanel1.VerticalScrollbarBarColor         = true;
     metroPanel1.VerticalScrollbarHighlightOnWheel = false;
     metroPanel1.VerticalScrollbarSize             = 10;
     metroPanel1.Click += new System.EventHandler(this.metroPanel1_Click_1);
     //
     // powerLabel
     //
     this.powerLabel.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.powerLabel.FontSize   = MetroFramework.MetroLabelSize.Tall;
     this.powerLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.powerLabel.Location   = new System.Drawing.Point(3, 51);
     this.powerLabel.Name       = "powerLabel";
     this.powerLabel.Size       = new System.Drawing.Size(218, 47);
     this.powerLabel.TabIndex   = 3;
     this.powerLabel.Text       = "metroLabel1";
     this.powerLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // nameLabel
     //
     this.nameLabel.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.nameLabel.FontSize   = MetroFramework.MetroLabelSize.Tall;
     this.nameLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.nameLabel.Location   = new System.Drawing.Point(3, 0);
     this.nameLabel.Name       = "nameLabel";
     this.nameLabel.Size       = new System.Drawing.Size(218, 51);
     this.nameLabel.TabIndex   = 2;
     this.nameLabel.Text       = "metroLabel1";
     this.nameLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // rarityColorBorder
     //
     this.rarityColorBorder.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.rarityColorBorder.BackColor = System.Drawing.Color.Red;
     this.rarityColorBorder.Controls.Add(metroPanel1);
     this.rarityColorBorder.HorizontalScrollbarBarColor         = true;
     this.rarityColorBorder.HorizontalScrollbarHighlightOnWheel = false;
     this.rarityColorBorder.HorizontalScrollbarSize             = 10;
     this.rarityColorBorder.Location                          = new System.Drawing.Point(3, 3);
     this.rarityColorBorder.Name                              = "rarityColorBorder";
     this.rarityColorBorder.Size                              = new System.Drawing.Size(230, 363);
     this.rarityColorBorder.TabIndex                          = 1;
     this.rarityColorBorder.UseCustomBackColor                = true;
     this.rarityColorBorder.VerticalScrollbarBarColor         = true;
     this.rarityColorBorder.VerticalScrollbarHighlightOnWheel = false;
     this.rarityColorBorder.VerticalScrollbarSize             = 10;
     //
     // PlayerControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.rarityColorBorder);
     this.Name = "PlayerControl";
     this.Size = new System.Drawing.Size(236, 369);
     metroPanel1.ResumeLayout(false);
     this.rarityColorBorder.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #3
0
 /// <summary>
 /// Требуемый метод для поддержки конструктора — не изменяйте
 /// содержимое этого метода с помощью редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     MetroFramework.Controls.MetroPanel metroPanel1;
     this.descriptionLabel  = new MetroFramework.Controls.MetroLabel();
     this.typeLabel         = new MetroFramework.Controls.MetroLabel();
     this.rarityLabel       = new MetroFramework.Controls.MetroLabel();
     this.powerLabel        = new MetroFramework.Controls.MetroLabel();
     this.nameLabel         = new MetroFramework.Controls.MetroLabel();
     this.rarityColorBorder = new MetroFramework.Controls.MetroPanel();
     metroPanel1            = new MetroFramework.Controls.MetroPanel();
     metroPanel1.SuspendLayout();
     this.rarityColorBorder.SuspendLayout();
     this.SuspendLayout();
     //
     // metroPanel1
     //
     metroPanel1.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)));
     metroPanel1.BackColor = System.Drawing.Color.White;
     metroPanel1.Controls.Add(this.descriptionLabel);
     metroPanel1.Controls.Add(this.typeLabel);
     metroPanel1.Controls.Add(this.rarityLabel);
     metroPanel1.Controls.Add(this.powerLabel);
     metroPanel1.Controls.Add(this.nameLabel);
     metroPanel1.HorizontalScrollbarBarColor         = true;
     metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
     metroPanel1.HorizontalScrollbarSize             = 10;
     metroPanel1.Location = new System.Drawing.Point(3, 3);
     metroPanel1.Name     = "metroPanel1";
     metroPanel1.Size     = new System.Drawing.Size(224, 357);
     metroPanel1.TabIndex = 2;
     metroPanel1.VerticalScrollbarBarColor         = true;
     metroPanel1.VerticalScrollbarHighlightOnWheel = false;
     metroPanel1.VerticalScrollbarSize             = 10;
     metroPanel1.Click += new System.EventHandler(this.metroPanel1_Click);
     //
     // descriptionLabel
     //
     this.descriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.descriptionLabel.FontSize    = MetroFramework.MetroLabelSize.Small;
     this.descriptionLabel.FontWeight  = MetroFramework.MetroLabelWeight.Regular;
     this.descriptionLabel.Location    = new System.Drawing.Point(3, 98);
     this.descriptionLabel.MaximumSize = new System.Drawing.Size(218, 222);
     this.descriptionLabel.MinimumSize = new System.Drawing.Size(218, 49);
     this.descriptionLabel.Name        = "descriptionLabel";
     this.descriptionLabel.Size        = new System.Drawing.Size(218, 49);
     this.descriptionLabel.TabIndex    = 7;
     this.descriptionLabel.Text        = "Приходит, значит, мужик к батюшке, \\n  и говорит,мол, можно покаятся.\r\nБатюшка ем" +
                                         "у: конечно. Он начинает\r\n";
     this.descriptionLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // typeLabel
     //
     this.typeLabel.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.typeLabel.FontSize   = MetroFramework.MetroLabelSize.Small;
     this.typeLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.typeLabel.Location   = new System.Drawing.Point(112, 320);
     this.typeLabel.Name       = "typeLabel";
     this.typeLabel.Size       = new System.Drawing.Size(112, 37);
     this.typeLabel.TabIndex   = 6;
     this.typeLabel.Text       = "metroLabel1";
     this.typeLabel.TextAlign  = System.Drawing.ContentAlignment.BottomRight;
     //
     // rarityLabel
     //
     this.rarityLabel.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.rarityLabel.FontSize   = MetroFramework.MetroLabelSize.Small;
     this.rarityLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.rarityLabel.Location   = new System.Drawing.Point(0, 320);
     this.rarityLabel.Name       = "rarityLabel";
     this.rarityLabel.Size       = new System.Drawing.Size(112, 37);
     this.rarityLabel.TabIndex   = 5;
     this.rarityLabel.Text       = "metroLabel1";
     this.rarityLabel.TextAlign  = System.Drawing.ContentAlignment.BottomLeft;
     //
     // powerLabel
     //
     this.powerLabel.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.powerLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.powerLabel.Location   = new System.Drawing.Point(3, 51);
     this.powerLabel.Name       = "powerLabel";
     this.powerLabel.Size       = new System.Drawing.Size(218, 47);
     this.powerLabel.TabIndex   = 3;
     this.powerLabel.Text       = "metroLabel1";
     this.powerLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // nameLabel
     //
     this.nameLabel.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.nameLabel.FontWeight = MetroFramework.MetroLabelWeight.Bold;
     this.nameLabel.Location   = new System.Drawing.Point(3, 0);
     this.nameLabel.Name       = "nameLabel";
     this.nameLabel.Size       = new System.Drawing.Size(218, 51);
     this.nameLabel.TabIndex   = 2;
     this.nameLabel.Text       = "metroLabel1";
     this.nameLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // rarityColorBorder
     //
     this.rarityColorBorder.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.rarityColorBorder.BackColor = System.Drawing.Color.Red;
     this.rarityColorBorder.Controls.Add(metroPanel1);
     this.rarityColorBorder.HorizontalScrollbarBarColor         = true;
     this.rarityColorBorder.HorizontalScrollbarHighlightOnWheel = false;
     this.rarityColorBorder.HorizontalScrollbarSize             = 10;
     this.rarityColorBorder.Location                          = new System.Drawing.Point(3, 3);
     this.rarityColorBorder.Name                              = "rarityColorBorder";
     this.rarityColorBorder.Size                              = new System.Drawing.Size(230, 363);
     this.rarityColorBorder.TabIndex                          = 0;
     this.rarityColorBorder.UseCustomBackColor                = true;
     this.rarityColorBorder.VerticalScrollbarBarColor         = true;
     this.rarityColorBorder.VerticalScrollbarHighlightOnWheel = false;
     this.rarityColorBorder.VerticalScrollbarSize             = 10;
     //
     // CardControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.rarityColorBorder);
     this.Name = "CardControl";
     this.Size = new System.Drawing.Size(236, 369);
     metroPanel1.ResumeLayout(false);
     this.rarityColorBorder.ResumeLayout(false);
     this.ResumeLayout(false);
 }