Пример #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Wisej.Web.ComponentTool componentTool2 = new Wisej.Web.ComponentTool();
     this.dataGridView1 = new Wisej.Web.DataGridView();
     this.colID         = new Wisej.Web.DataGridViewColumn();
     this.colFIRSTNAME  = new Wisej.Web.DataGridViewColumn();
     this.colNAME       = new Wisej.Web.DataGridViewColumn();
     this.colACTIVE     = new Wisej.Web.DataGridViewCheckBoxColumn();
     this.colDEPARTMENT = new Wisej.Web.DataGridViewComboBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.Columns.AddRange(new Wisej.Web.DataGridViewColumn[] {
         this.colID,
         this.colFIRSTNAME,
         this.colNAME,
         this.colACTIVE,
         this.colDEPARTMENT
     });
     this.dataGridView1.Location = new System.Drawing.Point(27, 27);
     this.dataGridView1.Name     = "dataGridView1";
     this.dataGridView1.Size     = new System.Drawing.Size(594, 356);
     this.dataGridView1.TabIndex = 0;
     componentTool2.ImageSource  = "spinner-plus";
     componentTool2.Position     = Wisej.Web.LeftRightAlignment.Left;
     componentTool2.ToolTipText  = "Add new row";
     this.dataGridView1.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool2
     });
     this.dataGridView1.ToolClick += new Wisej.Web.ToolClickEventHandler(this.dataGridView1_ToolClick);
     //
     // colID
     //
     this.colID.HeaderText = "ID";
     this.colID.Name       = "colID";
     this.colID.Width      = 70;
     //
     // colFIRSTNAME
     //
     this.colFIRSTNAME.HeaderText = "First Name";
     this.colFIRSTNAME.Name       = "colFIRSTNAME";
     this.colFIRSTNAME.Width      = 200;
     //
     // colNAME
     //
     this.colNAME.HeaderText = "Name";
     this.colNAME.Name       = "colNAME";
     this.colNAME.SortMode   = Wisej.Web.DataGridViewColumnSortMode.Automatic;
     this.colNAME.Width      = 200;
     //
     // colACTIVE
     //
     this.colACTIVE.HeaderText = "Active";
     this.colACTIVE.Name       = "colACTIVE";
     this.colACTIVE.Width      = 70;
     //
     // colDEPARTMENT
     //
     this.colDEPARTMENT.HeaderText = "Department";
     this.colDEPARTMENT.Items.AddRange(new object[] {
         "IT",
         "Finance",
         "Administration"
     });
     this.colDEPARTMENT.Name = "colDEPARTMENT";
     //
     // Window3
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(682, 417);
     this.CloseBox            = false;
     this.Controls.Add(this.dataGridView1);
     this.Location = new System.Drawing.Point(100, 100);
     this.Name     = "Window3";
     this.Text     = "Form3";
     this.Load    += new System.EventHandler(this.Window3_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Wisej.Web.ComponentTool componentTool2 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool3 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool4 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool5 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool1 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool6 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool7 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool8 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool9 = new Wisej.Web.ComponentTool();
     this.dataGridView1          = new Wisej.Web.DataGridView();
     this.colEmployeeid          = new Wisej.Web.DataGridViewTextBoxColumn();
     this.colFirstname           = new Wisej.Web.DataGridViewTextBoxColumn();
     this.colLastname            = new Wisej.Web.DataGridViewTextBoxColumn();
     this.colTitle               = new Wisej.Web.DataGridViewComboBoxColumn();
     this.colBirthdate           = new Wisej.Web.DataGridViewDateTimePickerColumn();
     this.colPhone               = new Wisej.Web.DataGridViewMaskedTextBoxColumn();
     this.colEmail               = new Wisej.Web.DataGridViewTextBoxColumn();
     this.statusBar1             = new Wisej.Web.StatusBar();
     this.employeesBindingSource = new Wisej.Web.BindingSource(this.components);
     this.chinookDataSet         = new Wisej.CodeProject.chinookDataSet();
     this.textBox1               = new Wisej.Web.TextBox();
     this.label1                = new Wisej.Web.Label();
     this.label2                = new Wisej.Web.Label();
     this.textBox2              = new Wisej.Web.TextBox();
     this.label3                = new Wisej.Web.Label();
     this.dateTimePicker1       = new Wisej.Web.DateTimePicker();
     this.label4                = new Wisej.Web.Label();
     this.comboBox1             = new Wisej.Web.ComboBox();
     this.label5                = new Wisej.Web.Label();
     this.tableLayoutPanel1     = new Wisej.Web.TableLayoutPanel();
     this.textBox3              = new Wisej.Web.TextBox();
     this.maskedTextBox1        = new Wisej.Web.MaskedTextBox();
     this.label6                = new Wisej.Web.Label();
     this.employeesTableAdapter = new Wisej.CodeProject.chinookDataSetTableAdapters.employeesTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.dataGridView1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chinookDataSet)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // dataGridView1
     //
     this.dataGridView1.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                             | Wisej.Web.AnchorStyles.Left)
                                                            | Wisej.Web.AnchorStyles.Right)));
     this.dataGridView1.AutoGenerateColumns = false;
     this.dataGridView1.Columns.AddRange(new Wisej.Web.DataGridViewColumn[] {
         this.colEmployeeid,
         this.colFirstname,
         this.colLastname,
         this.colTitle,
         this.colBirthdate,
         this.colPhone,
         this.colEmail
     });
     this.dataGridView1.Controls.Add(this.statusBar1);
     this.dataGridView1.DataSource = this.employeesBindingSource;
     this.dataGridView1.EditMode   = Wisej.Web.DataGridViewEditMode.EditOnEnter;
     this.dataGridView1.Location   = new System.Drawing.Point(37, 264);
     this.dataGridView1.Name       = "dataGridView1";
     this.dataGridView1.Size       = new System.Drawing.Size(839, 311);
     this.dataGridView1.TabIndex   = 1;
     componentTool2.ImageSource    = "resource.wx/Wisej.Ext.MaterialDesign/square-add-button.svg?color=#3F76BF";
     componentTool2.Name           = "Add";
     componentTool2.Position       = Wisej.Web.LeftRightAlignment.Left;
     componentTool3.Enabled        = false;
     componentTool3.ImageSource    = "resource.wx/Wisej.Ext.MaterialDesign/save-button.svg?color=#3FBF47";
     componentTool3.Name           = "Save";
     componentTool3.Position       = Wisej.Web.LeftRightAlignment.Left;
     componentTool4.ImageSource    = "resource.wx/Wisej.Ext.MaterialDesign/refresh-button.svg?color=#003EFF";
     componentTool4.Name           = "Reload";
     componentTool4.Position       = Wisej.Web.LeftRightAlignment.Left;
     componentTool5.Enabled        = false;
     componentTool5.ImageSource    = "resource.wx/Wisej.Ext.MaterialDesign/rubbish-bin-delete-button.svg?color=#7A7A7A";
     componentTool5.Name           = "Delete";
     this.dataGridView1.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool2,
         componentTool3,
         componentTool4,
         componentTool5
     });
     this.dataGridView1.SelectionChanged += new System.EventHandler(this.dataGridView1_SelectionChanged);
     this.dataGridView1.ToolClick        += new Wisej.Web.ToolClickEventHandler(this.dataGridView1_ToolClick);
     this.dataGridView1.CellToolClick    += new Wisej.Web.DataGridViewToolClickEventHandler(this.dataGridView1_CellToolClick);
     this.dataGridView1.Enter            += new System.EventHandler(this.dataGridView1_Enter);
     //
     // colEmployeeid
     //
     this.colEmployeeid.DataPropertyName = "EmployeeId";
     this.colEmployeeid.HeaderText       = "ID";
     this.colEmployeeid.Name             = "colEmployeeid";
     this.colEmployeeid.ReadOnly         = true;
     this.colEmployeeid.Width            = 50;
     //
     // colFirstname
     //
     this.colFirstname.DataPropertyName = "FirstName";
     this.colFirstname.HeaderText       = "Name";
     this.colFirstname.Name             = "colFirstname";
     this.colFirstname.Width            = 150;
     //
     // colLastname
     //
     this.colLastname.DataPropertyName = "LastName";
     this.colLastname.HeaderText       = "Last Name";
     this.colLastname.Name             = "colLastname";
     this.colLastname.Width            = 150;
     //
     // colTitle
     //
     this.colTitle.DataPropertyName = "Title";
     this.colTitle.DropDownStyle    = Wisej.Web.ComboBoxStyle.DropDownList;
     this.colTitle.HeaderText       = "Title";
     this.colTitle.Items.AddRange(new object[] {
         "General Manager",
         "Sales Manager",
         "Sales Support Agent",
         "IT Manager",
         "IT Staff"
     });
     this.colTitle.Name = "colTitle";
     //
     // colBirthdate
     //
     this.colBirthdate.DataPropertyName = "BirthDate";
     this.colBirthdate.Format           = Wisej.Web.DateTimePickerFormat.Long;
     this.colBirthdate.HeaderText       = "Birth Date";
     this.colBirthdate.Name             = "colBirthdate";
     componentTool1.ImageSource         = "resource.wx/Wisej.Ext.MaterialDesign/shining-sun.svg?color=#FEC14C";
     this.colBirthdate.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool1
     });
     this.colBirthdate.Width = 150;
     //
     // colPhone
     //
     this.colPhone.DataPropertyName = "Phone";
     this.colPhone.HeaderText       = "Phone";
     this.colPhone.Mask             = "(999) 000-0000";
     this.colPhone.Name             = "colPhone";
     //
     // colEmail
     //
     this.colEmail.DataPropertyName = "Email";
     this.colEmail.HeaderText       = "Email";
     this.colEmail.Name             = "colEmail";
     this.colEmail.Width            = 150;
     //
     // statusBar1
     //
     this.statusBar1.BackgroundImageLayout = Wisej.Web.ImageLayout.Zoom;
     this.statusBar1.Location   = new System.Drawing.Point(0, 287);
     this.statusBar1.Name       = "statusBar1";
     this.statusBar1.ShowPanels = false;
     this.statusBar1.Size       = new System.Drawing.Size(837, 22);
     this.statusBar1.SizingGrip = false;
     this.statusBar1.TabIndex   = 0;
     this.statusBar1.Text       = "statusBar1";
     //
     // employeesBindingSource
     //
     this.employeesBindingSource.DataMember = "employees";
     this.employeesBindingSource.DataSource = this.chinookDataSet;
     //
     // chinookDataSet
     //
     this.chinookDataSet.DataSetName             = "chinookDataSet";
     this.chinookDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // textBox1
     //
     this.textBox1.AutoSize = false;
     this.textBox1.DataBindings.Add(new Wisej.Web.Binding("Text", this.employeesBindingSource, "FirstName", true));
     this.textBox1.Dock      = Wisej.Web.DockStyle.Fill;
     this.textBox1.Location  = new System.Drawing.Point(8, 58);
     this.textBox1.Margin    = new Wisej.Web.Padding(8);
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(204, 34);
     this.textBox1.TabIndex  = 1;
     this.textBox1.Watermark = "Enter a name";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Dock      = Wisej.Web.DockStyle.Fill;
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Margin    = new Wisej.Web.Padding(8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(204, 34);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Name";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Dock      = Wisej.Web.DockStyle.Fill;
     this.label2.Location  = new System.Drawing.Point(228, 8);
     this.label2.Margin    = new Wisej.Web.Padding(8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(204, 34);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "&Last Name";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox2
     //
     this.textBox2.AutoSize = false;
     this.textBox2.DataBindings.Add(new Wisej.Web.Binding("Text", this.employeesBindingSource, "LastName", true));
     this.textBox2.Dock         = Wisej.Web.DockStyle.Fill;
     this.textBox2.Location     = new System.Drawing.Point(228, 58);
     this.textBox2.Margin       = new Wisej.Web.Padding(8);
     this.textBox2.Name         = "textBox2";
     this.textBox2.Size         = new System.Drawing.Size(204, 34);
     this.textBox2.TabIndex     = 3;
     componentTool6.ImageSource = "resource.wx/Wisej.Ext.MaterialDesign/birthday-cake.svg";
     componentTool7.ImageSource = "resource.wx/Wisej.Ext.MaterialDesign/underline-text-button.svg";
     this.textBox2.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool6,
         componentTool7
     });
     this.textBox2.ToolClick += new Wisej.Web.ToolClickEventHandler(this.textBox2_ToolClick);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Dock      = Wisej.Web.DockStyle.Fill;
     this.label3.Location  = new System.Drawing.Point(624, 8);
     this.label3.Margin    = new Wisej.Web.Padding(8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(207, 34);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "&Date of Birth";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.AutoSize = false;
     this.dateTimePicker1.DataBindings.Add(new Wisej.Web.Binding("Value", this.employeesBindingSource, "BirthDate", true));
     this.dateTimePicker1.Dock     = Wisej.Web.DockStyle.Fill;
     this.dateTimePicker1.Location = new System.Drawing.Point(624, 58);
     this.dateTimePicker1.Margin   = new Wisej.Web.Padding(8);
     this.dateTimePicker1.Name     = "dateTimePicker1";
     this.dateTimePicker1.Size     = new System.Drawing.Size(207, 34);
     this.dateTimePicker1.TabIndex = 7;
     componentTool8.ImageSource    = "resource.wx/Wisej.Ext.MaterialDesign/shining-sun.svg?color=#FFA700";
     this.dateTimePicker1.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool8
     });
     this.dateTimePicker1.Value      = new System.DateTime(2017, 8, 25, 17, 55, 6, 102);
     this.dateTimePicker1.ToolClick += new Wisej.Web.ToolClickEventHandler(this.dateTimePicker1_ToolClick);
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Dock      = Wisej.Web.DockStyle.Fill;
     this.label4.Location  = new System.Drawing.Point(448, 8);
     this.label4.Margin    = new Wisej.Web.Padding(8);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(160, 34);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "&Title";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // comboBox1
     //
     this.comboBox1.AutoSize = false;
     this.comboBox1.DataBindings.Add(new Wisej.Web.Binding("Text", this.employeesBindingSource, "Title", true));
     this.comboBox1.Dock          = Wisej.Web.DockStyle.Fill;
     this.comboBox1.DropDownStyle = Wisej.Web.ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "General Manager",
         "Sales Manager",
         "Sales Support Agent",
         "IT Manager",
         "IT Staff"
     });
     this.comboBox1.Location = new System.Drawing.Point(448, 58);
     this.comboBox1.Margin   = new Wisej.Web.Padding(8);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(160, 34);
     this.comboBox1.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.tableLayoutPanel1.SetColumnSpan(this.label5, 2);
     this.label5.Dock      = Wisej.Web.DockStyle.Fill;
     this.label5.Location  = new System.Drawing.Point(228, 108);
     this.label5.Margin    = new Wisej.Web.Padding(8);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(380, 34);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "E&Mail";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                                | Wisej.Web.AnchorStyles.Right)));
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new Wisej.Web.ColumnStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new Wisej.Web.ColumnStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new Wisej.Web.ColumnStyle(Wisej.Web.SizeType.Percent, 40F));
     this.tableLayoutPanel1.ColumnStyles.Add(new Wisej.Web.ColumnStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.textBox3, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.maskedTextBox1, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.textBox1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.label5, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.comboBox1, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label4, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.textBox2, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.label3, 3, 0);
     this.tableLayoutPanel1.Controls.Add(this.dateTimePicker1, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.label6, 0, 2);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(37, 30);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new Wisej.Web.RowStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new Wisej.Web.RowStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new Wisej.Web.RowStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new Wisej.Web.RowStyle(Wisej.Web.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(839, 203);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // textBox3
     //
     this.textBox3.AutoSize = false;
     this.tableLayoutPanel1.SetColumnSpan(this.textBox3, 2);
     this.textBox3.DataBindings.Add(new Wisej.Web.Binding("Text", this.employeesBindingSource, "Email", true));
     this.textBox3.Dock         = Wisej.Web.DockStyle.Fill;
     this.textBox3.Location     = new System.Drawing.Point(223, 153);
     this.textBox3.Name         = "textBox3";
     this.textBox3.Size         = new System.Drawing.Size(390, 47);
     this.textBox3.TabIndex     = 11;
     componentTool9.ImageSource = "resource.wx/Wisej.Ext.MaterialDesign/write-email-envelope-button.svg";
     componentTool9.Name        = "Send Email";
     this.textBox3.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool9
     });
     this.textBox3.ToolClick += new Wisej.Web.ToolClickEventHandler(this.textBox3_ToolClick);
     //
     // maskedTextBox1
     //
     this.maskedTextBox1.AutoSize = false;
     this.maskedTextBox1.DataBindings.Add(new Wisej.Web.Binding("Text", this.employeesBindingSource, "Phone", true));
     this.maskedTextBox1.Dock     = Wisej.Web.DockStyle.Fill;
     this.maskedTextBox1.Location = new System.Drawing.Point(3, 153);
     this.maskedTextBox1.Mask     = "(999) 000-0000";
     this.maskedTextBox1.Name     = "maskedTextBox1";
     this.maskedTextBox1.Size     = new System.Drawing.Size(214, 47);
     this.maskedTextBox1.TabIndex = 9;
     this.maskedTextBox1.Text     = "(   )    -";
     //
     // label6
     //
     this.label6.Dock      = Wisej.Web.DockStyle.Fill;
     this.label6.Location  = new System.Drawing.Point(8, 108);
     this.label6.Margin    = new Wisej.Web.Padding(8);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(204, 34);
     this.label6.TabIndex  = 8;
     this.label6.Text      = "&Phone";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // employeesTableAdapter
     //
     this.employeesTableAdapter.ClearBeforeFill = true;
     //
     // DataBinding
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(913, 610);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Controls.Add(this.dataGridView1);
     this.IconSource = "resource.wx/Wisej.Ext.MaterialDesign/server-rack-with-three-levels.svg?color=#BF3" +
                       "F3F";
     this.Name  = "DataBinding";
     this.Text  = "DataBinding Example";
     this.Load += new System.EventHandler(this.DataBinding_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.dataGridView1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chinookDataSet)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Wisej.Web.ComponentTool componentTool1 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool2 = new Wisej.Web.ComponentTool();
     this.ribbonBar                 = new Wisej.Web.Ext.RibbonBar.RibbonBar();
     this.ribbonBarPage1            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup1           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemButton1      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton2      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton3      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemSeparator1   = new Wisej.Web.Ext.RibbonBar.RibbonBarItemSeparator();
     this.ribbonBarItemButton4      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton5      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton6      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.menuItem1                 = new Wisej.Web.MenuItem();
     this.menuItem2                 = new Wisej.Web.MenuItem();
     this.ribbonBarGroup2           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemSplitButton1 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemSplitButton();
     this.menuItem3                 = new Wisej.Web.MenuItem();
     this.menuItem4                 = new Wisej.Web.MenuItem();
     this.ribbonBarItemButton7      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemCheckBox1    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemCheckBox();
     this.ribbonBarItemCheckBox2    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemCheckBox();
     this.ribbonBarPage2            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup3           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemTextBox1     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemTextBox();
     this.ribbonBarItemTextBox2     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemTextBox();
     this.ribbonBarItemComboBox1    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemComboBox();
     this.ribbonBarGroup4           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemControl1     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemControl();
     this.themePicker1              = new Wisej.RibbonBar.ThemePicker();
     this.ribbonBarPage3            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup5           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemButtonGroup1 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButtonGroup();
     this.ribbonBarItemButton12     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton13     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton14     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton15     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton16     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButtonGroup2 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButtonGroup();
     this.ribbonBarItemButton17     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton18     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton19     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton20     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton21     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.SuspendLayout();
     //
     // ribbonBar
     //
     //
     //
     //
     this.ribbonBar.AppButton.ImageSource = "icon-preview?color=#3FBEBF";
     this.ribbonBar.AppButton.Text        = "FIle";
     this.ribbonBar.AppButton.Visible     = true;
     this.ribbonBar.Dock     = Wisej.Web.DockStyle.Top;
     this.ribbonBar.Location = new System.Drawing.Point(0, 0);
     this.ribbonBar.Name     = "ribbonBar";
     this.ribbonBar.Pages.Add(this.ribbonBarPage1);
     this.ribbonBar.Pages.Add(this.ribbonBarPage2);
     this.ribbonBar.Pages.Add(this.ribbonBarPage3);
     this.ribbonBar.Size        = new System.Drawing.Size(896, 145);
     componentTool1.ImageSource = "messagebox-question?color=#3600FF";
     componentTool1.Name        = "Help";
     componentTool1.Position    = Wisej.Web.LeftRightAlignment.Left;
     componentTool2.ImageSource = "icon-settings?color=#FF1700";
     componentTool2.Name        = "Settings";
     this.ribbonBar.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool1,
         componentTool2
     });
     this.ribbonBar.AppButtonClick += new System.EventHandler(this.ribbonBar_AppButtonClick);
     this.ribbonBar.ItemClick      += new Wisej.Web.Ext.RibbonBar.RibbonBarItemEventHandler(this.ribbonBar_ItemClick);
     this.ribbonBar.GroupClick     += new Wisej.Web.Ext.RibbonBar.RibbonBarGroupEventHandler(this.ribbonBar_GroupClick);
     this.ribbonBar.ToolClick      += new Wisej.Web.ToolClickEventHandler(this.ribbonBar_ToolClick);
     //
     // ribbonBarPage1
     //
     this.ribbonBarPage1.Groups.Add(this.ribbonBarGroup1);
     this.ribbonBarPage1.Groups.Add(this.ribbonBarGroup2);
     this.ribbonBarPage1.Text = "Home";
     //
     // ribbonBarGroup1
     //
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton1);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton2);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton3);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemSeparator1);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton4);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton5);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton6);
     this.ribbonBarGroup1.Text = "Clipboard";
     //
     // ribbonBarItemButton1
     //
     this.ribbonBarItemButton1.ColumnBreak = true;
     this.ribbonBarItemButton1.ImageSource = "ribbon-pin";
     this.ribbonBarItemButton1.Text        = "Pin to quick panel";
     this.ribbonBarItemButton1.ToolTipText = "Adds the item to the quick access panel.";
     //
     // ribbonBarItemButton2
     //
     this.ribbonBarItemButton2.ColumnBreak = true;
     this.ribbonBarItemButton2.ImageSource = "ribbon-copy";
     this.ribbonBarItemButton2.Text        = "Copy";
     //
     // ribbonBarItemButton3
     //
     this.ribbonBarItemButton3.ColumnBreak = true;
     this.ribbonBarItemButton3.ImageSource = "ribbon-paste";
     this.ribbonBarItemButton3.Text        = "Paste";
     //
     // ribbonBarItemButton4
     //
     this.ribbonBarItemButton4.ImageSource = "ribbon-cut";
     this.ribbonBarItemButton4.Orientation = Wisej.Web.Orientation.Horizontal;
     this.ribbonBarItemButton4.Text        = "Cut";
     //
     // ribbonBarItemButton5
     //
     this.ribbonBarItemButton5.ImageSource = "ribbon-copy";
     this.ribbonBarItemButton5.Orientation = Wisej.Web.Orientation.Horizontal;
     this.ribbonBarItemButton5.Text        = "Copy special...";
     //
     // ribbonBarItemButton6
     //
     this.ribbonBarItemButton6.ImageSource = "ribbon-paste";
     this.ribbonBarItemButton6.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     this.ribbonBarItemButton6.Orientation = Wisej.Web.Orientation.Horizontal;
     this.ribbonBarItemButton6.Text        = "Paste special";
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Name  = "menuItem1";
     this.menuItem1.Text  = "Only text";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Name  = "menuItem2";
     this.menuItem2.Text  = "Preserve formatting";
     //
     // ribbonBarGroup2
     //
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemSplitButton1);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemButton7);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemCheckBox1);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemCheckBox2);
     this.ribbonBarGroup2.ShowButton = true;
     this.ribbonBarGroup2.Text       = "New";
     //
     // ribbonBarItemSplitButton1
     //
     this.ribbonBarItemSplitButton1.ColumnBreak = true;
     this.ribbonBarItemSplitButton1.ImageSource = "ribbon-add-file";
     this.ribbonBarItemSplitButton1.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem3,
         this.menuItem4
     });
     this.ribbonBarItemSplitButton1.Text = "File";
     //
     // menuItem3
     //
     this.menuItem3.IconSource = "resource.wx/Wisej.Ext.FontAwesome/archive.svg?color=#FF8F00";
     this.menuItem3.Index      = 0;
     this.menuItem3.Name       = "menuItem3";
     this.menuItem3.Text       = "Archive";
     //
     // menuItem4
     //
     this.menuItem4.IconSource = "resource.wx/Wisej.Ext.FontAwesome/bar-chart.svg?color=#00FF00";
     this.menuItem4.Index      = 1;
     this.menuItem4.Name       = "menuItem4";
     this.menuItem4.Text       = "Chart";
     //
     // ribbonBarItemButton7
     //
     this.ribbonBarItemButton7.ColumnBreak = true;
     this.ribbonBarItemButton7.ImageSource = "ribbon-add-folder";
     this.ribbonBarItemButton7.Text        = "Folder";
     //
     // ribbonBarItemCheckBox1
     //
     this.ribbonBarItemCheckBox1.Text = "Overwrite";
     //
     // ribbonBarItemCheckBox2
     //
     this.ribbonBarItemCheckBox2.Text = "Save to cloud";
     //
     // ribbonBarPage2
     //
     this.ribbonBarPage2.Groups.Add(this.ribbonBarGroup3);
     this.ribbonBarPage2.Groups.Add(this.ribbonBarGroup4);
     this.ribbonBarPage2.Text = "&Options";
     //
     // ribbonBarGroup3
     //
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemTextBox1);
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemTextBox2);
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemComboBox1);
     this.ribbonBarGroup3.Text = "Settings";
     //
     // ribbonBarItemTextBox1
     //
     this.ribbonBarItemTextBox1.ImageSource = "icon-settings?color=#3FBF47";
     this.ribbonBarItemTextBox1.Text        = "Profile Name";
     //
     // ribbonBarItemTextBox2
     //
     this.ribbonBarItemTextBox2.ImageSource = "icon-settings?color=#3FBF47";
     this.ribbonBarItemTextBox2.Text        = "Unique ID";
     //
     // ribbonBarItemComboBox1
     //
     this.ribbonBarItemComboBox1.ImageSource = "menu-overflow?color=#DF00FF";
     this.ribbonBarItemComboBox1.Text        = "User Level";
     //
     // ribbonBarGroup4
     //
     this.ribbonBarGroup4.Items.Add(this.ribbonBarItemControl1);
     this.ribbonBarGroup4.Text = "Themes";
     //
     // ribbonBarItemControl1
     //
     this.ribbonBarItemControl1.ColumnBreak = true;
     this.ribbonBarItemControl1.Control     = this.themePicker1;
     this.ribbonBarItemControl1.Text        = "ribbonBarItemControl1";
     //
     // themePicker1
     //
     this.themePicker1.BorderStyle   = Wisej.Web.BorderStyle.Solid;
     this.themePicker1.Location      = new System.Drawing.Point(14, 163);
     this.themePicker1.Name          = "themePicker1";
     this.themePicker1.Size          = new System.Drawing.Size(340, 70);
     this.themePicker1.TabIndex      = 1;
     this.themePicker1.ThemeClicked += new System.EventHandler(this.themePicker1_ThemeClicked);
     //
     // ribbonBarPage3
     //
     this.ribbonBarPage3.Groups.Add(this.ribbonBarGroup5);
     this.ribbonBarPage3.TabBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(191)))), ((int)(((byte)(63)))));
     this.ribbonBarPage3.TabForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
     this.ribbonBarPage3.Text         = "Edit";
     //
     // ribbonBarGroup5
     //
     this.ribbonBarGroup5.Items.Add(this.ribbonBarItemButtonGroup1);
     this.ribbonBarGroup5.Items.Add(this.ribbonBarItemButtonGroup2);
     this.ribbonBarGroup5.Text = "Formatting";
     //
     // ribbonBarItemButtonGroup1
     //
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton12);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton13);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton14);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton15);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton16);
     //
     // ribbonBarItemButton12
     //
     this.ribbonBarItemButton12.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/align-center.svg";
     this.ribbonBarItemButton12.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton13
     //
     this.ribbonBarItemButton13.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/align-justify.svg";
     this.ribbonBarItemButton13.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton14
     //
     this.ribbonBarItemButton14.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/anchor.svg";
     this.ribbonBarItemButton14.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton15
     //
     this.ribbonBarItemButton15.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/arrows-alt.svg";
     this.ribbonBarItemButton15.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton16
     //
     this.ribbonBarItemButton16.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/code.svg";
     this.ribbonBarItemButton16.Orientation = Wisej.Web.Orientation.Horizontal;
     this.ribbonBarItemButton16.Text        = "Source";
     //
     // ribbonBarItemButtonGroup2
     //
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton17);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton18);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton19);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton20);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton21);
     //
     // ribbonBarItemButton17
     //
     this.ribbonBarItemButton17.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/arrow-circle-o-down.svg";
     this.ribbonBarItemButton17.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton18
     //
     this.ribbonBarItemButton18.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/arrow-circle-o-left.svg";
     this.ribbonBarItemButton18.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton19
     //
     this.ribbonBarItemButton19.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/arrow-circle-o-right.svg";
     this.ribbonBarItemButton19.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton20
     //
     this.ribbonBarItemButton20.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/arrow-circle-o-up.svg";
     this.ribbonBarItemButton20.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton21
     //
     this.ribbonBarItemButton21.ImageSource = "resource.wx/Wisej.Ext.FontAwesome/android.svg?color=#FF7700";
     this.ribbonBarItemButton21.Orientation = Wisej.Web.Orientation.Horizontal;
     this.ribbonBarItemButton21.Text        = "Wizard";
     //
     // Window1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(896, 467);
     this.Controls.Add(this.ribbonBar);
     this.Name = "Window1";
     this.Text = "Window1";
     this.ResumeLayout(false);
 }
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Window1));
     Wisej.Web.ComponentTool componentTool1 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool2 = new Wisej.Web.ComponentTool();
     this.ribbonBar                 = new Wisej.Web.Ext.RibbonBar.RibbonBar();
     this.ribbonBarPage1            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup1           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemButton1      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton2      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton3      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemSeparator1   = new Wisej.Web.Ext.RibbonBar.RibbonBarItemSeparator();
     this.ribbonBarItemButton4      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton5      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton6      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.menuItem1                 = new Wisej.Web.MenuItem();
     this.menuItem2                 = new Wisej.Web.MenuItem();
     this.ribbonBarGroup2           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemSplitButton1 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemSplitButton();
     this.menuItem3                 = new Wisej.Web.MenuItem();
     this.menuItem4                 = new Wisej.Web.MenuItem();
     this.ribbonBarItemButton7      = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemCheckBox1    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemCheckBox();
     this.ribbonBarItemCheckBox2    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemCheckBox();
     this.ribbonBarPage2            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup3           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemTextBox1     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemTextBox();
     this.ribbonBarItemTextBox2     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemTextBox();
     this.ribbonBarItemComboBox1    = new Wisej.Web.Ext.RibbonBar.RibbonBarItemComboBox();
     this.ribbonBarGroup4           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemControl1     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemControl();
     this.themePicker1              = new Wisej.RibbonBar.ThemePicker();
     this.ribbonBarPage3            = new Wisej.Web.Ext.RibbonBar.RibbonBarPage();
     this.ribbonBarGroup5           = new Wisej.Web.Ext.RibbonBar.RibbonBarGroup();
     this.ribbonBarItemButtonGroup1 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButtonGroup();
     this.ribbonBarItemButton12     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton13     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton14     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton15     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton16     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButtonGroup2 = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButtonGroup();
     this.ribbonBarItemButton17     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton18     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton19     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton20     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.ribbonBarItemButton21     = new Wisej.Web.Ext.RibbonBar.RibbonBarItemButton();
     this.SuspendLayout();
     //
     // ribbonBar
     //
     resources.ApplyResources(this.ribbonBar, "ribbonBar");
     //
     //
     //
     this.ribbonBar.AppButton.ImageIndex  = ((int)(resources.GetObject("ribbonBar.AppButton.ImageIndex")));
     this.ribbonBar.AppButton.ImageKey    = resources.GetString("ribbonBar.AppButton.ImageKey");
     this.ribbonBar.AppButton.ImageSource = resources.GetString("ribbonBar.AppButton.ImageSource");
     this.ribbonBar.AppButton.Text        = resources.GetString("ribbonBar.AppButton.Text");
     this.ribbonBar.AppButton.ToolTipText = resources.GetString("ribbonBar.AppButton.ToolTipText");
     this.ribbonBar.AppButton.Visible     = ((bool)(resources.GetObject("ribbonBar.AppButton.Visible")));
     this.ribbonBar.Name = "ribbonBar";
     this.ribbonBar.Pages.Add(this.ribbonBarPage1);
     this.ribbonBar.Pages.Add(this.ribbonBarPage2);
     this.ribbonBar.Pages.Add(this.ribbonBarPage3);
     resources.ApplyResources(componentTool1, "componentTool1");
     componentTool1.Name     = "Help";
     componentTool1.Position = Wisej.Web.LeftRightAlignment.Left;
     resources.ApplyResources(componentTool2, "componentTool2");
     componentTool2.Name = "Settings";
     this.ribbonBar.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool1,
         componentTool2
     });
     this.ribbonBar.AppButtonClick += new System.EventHandler(this.ribbonBar_AppButtonClick);
     this.ribbonBar.ItemClick      += new Wisej.Web.Ext.RibbonBar.RibbonBarItemEventHandler(this.ribbonBar_ItemClick);
     this.ribbonBar.GroupClick     += new Wisej.Web.Ext.RibbonBar.RibbonBarGroupEventHandler(this.ribbonBar_GroupClick);
     this.ribbonBar.ToolClick      += new Wisej.Web.ToolClickEventHandler(this.ribbonBar_ToolClick);
     //
     // ribbonBarPage1
     //
     resources.ApplyResources(this.ribbonBarPage1, "ribbonBarPage1");
     this.ribbonBarPage1.Groups.Add(this.ribbonBarGroup1);
     this.ribbonBarPage1.Groups.Add(this.ribbonBarGroup2);
     //
     // ribbonBarGroup1
     //
     resources.ApplyResources(this.ribbonBarGroup1, "ribbonBarGroup1");
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton1);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton2);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton3);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemSeparator1);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton4);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton5);
     this.ribbonBarGroup1.Items.Add(this.ribbonBarItemButton6);
     //
     // ribbonBarItemButton1
     //
     this.ribbonBarItemButton1.ColumnBreak = true;
     resources.ApplyResources(this.ribbonBarItemButton1, "ribbonBarItemButton1");
     //
     // ribbonBarItemButton2
     //
     this.ribbonBarItemButton2.ColumnBreak = true;
     resources.ApplyResources(this.ribbonBarItemButton2, "ribbonBarItemButton2");
     //
     // ribbonBarItemButton3
     //
     this.ribbonBarItemButton3.ColumnBreak = true;
     resources.ApplyResources(this.ribbonBarItemButton3, "ribbonBarItemButton3");
     //
     // ribbonBarItemSeparator1
     //
     resources.ApplyResources(this.ribbonBarItemSeparator1, "ribbonBarItemSeparator1");
     //
     // ribbonBarItemButton4
     //
     resources.ApplyResources(this.ribbonBarItemButton4, "ribbonBarItemButton4");
     this.ribbonBarItemButton4.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton5
     //
     resources.ApplyResources(this.ribbonBarItemButton5, "ribbonBarItemButton5");
     this.ribbonBarItemButton5.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton6
     //
     resources.ApplyResources(this.ribbonBarItemButton6, "ribbonBarItemButton6");
     this.ribbonBarItemButton6.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     this.ribbonBarItemButton6.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // menuItem1
     //
     resources.ApplyResources(this.menuItem1, "menuItem1");
     this.menuItem1.Index = 0;
     this.menuItem1.Name  = "menuItem1";
     //
     // menuItem2
     //
     resources.ApplyResources(this.menuItem2, "menuItem2");
     this.menuItem2.Index = 1;
     this.menuItem2.Name  = "menuItem2";
     //
     // ribbonBarGroup2
     //
     resources.ApplyResources(this.ribbonBarGroup2, "ribbonBarGroup2");
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemSplitButton1);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemButton7);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemCheckBox1);
     this.ribbonBarGroup2.Items.Add(this.ribbonBarItemCheckBox2);
     this.ribbonBarGroup2.ShowButton = true;
     //
     // ribbonBarItemSplitButton1
     //
     this.ribbonBarItemSplitButton1.ColumnBreak = true;
     resources.ApplyResources(this.ribbonBarItemSplitButton1, "ribbonBarItemSplitButton1");
     this.ribbonBarItemSplitButton1.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem3,
         this.menuItem4
     });
     //
     // menuItem3
     //
     resources.ApplyResources(this.menuItem3, "menuItem3");
     this.menuItem3.Index = 0;
     this.menuItem3.Name  = "menuItem3";
     //
     // menuItem4
     //
     resources.ApplyResources(this.menuItem4, "menuItem4");
     this.menuItem4.Index = 1;
     this.menuItem4.Name  = "menuItem4";
     //
     // ribbonBarItemButton7
     //
     this.ribbonBarItemButton7.ColumnBreak = true;
     resources.ApplyResources(this.ribbonBarItemButton7, "ribbonBarItemButton7");
     //
     // ribbonBarItemCheckBox1
     //
     resources.ApplyResources(this.ribbonBarItemCheckBox1, "ribbonBarItemCheckBox1");
     //
     // ribbonBarItemCheckBox2
     //
     resources.ApplyResources(this.ribbonBarItemCheckBox2, "ribbonBarItemCheckBox2");
     //
     // ribbonBarPage2
     //
     resources.ApplyResources(this.ribbonBarPage2, "ribbonBarPage2");
     this.ribbonBarPage2.Groups.Add(this.ribbonBarGroup3);
     this.ribbonBarPage2.Groups.Add(this.ribbonBarGroup4);
     //
     // ribbonBarGroup3
     //
     resources.ApplyResources(this.ribbonBarGroup3, "ribbonBarGroup3");
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemTextBox1);
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemTextBox2);
     this.ribbonBarGroup3.Items.Add(this.ribbonBarItemComboBox1);
     //
     // ribbonBarItemTextBox1
     //
     resources.ApplyResources(this.ribbonBarItemTextBox1, "ribbonBarItemTextBox1");
     //
     // ribbonBarItemTextBox2
     //
     resources.ApplyResources(this.ribbonBarItemTextBox2, "ribbonBarItemTextBox2");
     //
     // ribbonBarItemComboBox1
     //
     resources.ApplyResources(this.ribbonBarItemComboBox1, "ribbonBarItemComboBox1");
     //
     // ribbonBarGroup4
     //
     resources.ApplyResources(this.ribbonBarGroup4, "ribbonBarGroup4");
     this.ribbonBarGroup4.Items.Add(this.ribbonBarItemControl1);
     //
     // ribbonBarItemControl1
     //
     this.ribbonBarItemControl1.ColumnBreak = true;
     this.ribbonBarItemControl1.Control     = this.themePicker1;
     resources.ApplyResources(this.ribbonBarItemControl1, "ribbonBarItemControl1");
     //
     // themePicker1
     //
     resources.ApplyResources(this.themePicker1, "themePicker1");
     this.themePicker1.BorderStyle   = Wisej.Web.BorderStyle.Solid;
     this.themePicker1.Name          = "themePicker1";
     this.themePicker1.ThemeClicked += new System.EventHandler(this.themePicker1_ThemeClicked);
     //
     // ribbonBarPage3
     //
     resources.ApplyResources(this.ribbonBarPage3, "ribbonBarPage3");
     this.ribbonBarPage3.Groups.Add(this.ribbonBarGroup5);
     this.ribbonBarPage3.TabBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(191)))), ((int)(((byte)(63)))));
     this.ribbonBarPage3.TabForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(244)))));
     //
     // ribbonBarGroup5
     //
     resources.ApplyResources(this.ribbonBarGroup5, "ribbonBarGroup5");
     this.ribbonBarGroup5.Items.Add(this.ribbonBarItemButtonGroup1);
     this.ribbonBarGroup5.Items.Add(this.ribbonBarItemButtonGroup2);
     //
     // ribbonBarItemButtonGroup1
     //
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton12);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton13);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton14);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton15);
     this.ribbonBarItemButtonGroup1.Buttons.Add(this.ribbonBarItemButton16);
     resources.ApplyResources(this.ribbonBarItemButtonGroup1, "ribbonBarItemButtonGroup1");
     //
     // ribbonBarItemButton12
     //
     resources.ApplyResources(this.ribbonBarItemButton12, "ribbonBarItemButton12");
     this.ribbonBarItemButton12.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton13
     //
     resources.ApplyResources(this.ribbonBarItemButton13, "ribbonBarItemButton13");
     this.ribbonBarItemButton13.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton14
     //
     resources.ApplyResources(this.ribbonBarItemButton14, "ribbonBarItemButton14");
     this.ribbonBarItemButton14.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton15
     //
     resources.ApplyResources(this.ribbonBarItemButton15, "ribbonBarItemButton15");
     this.ribbonBarItemButton15.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton16
     //
     resources.ApplyResources(this.ribbonBarItemButton16, "ribbonBarItemButton16");
     this.ribbonBarItemButton16.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButtonGroup2
     //
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton17);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton18);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton19);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton20);
     this.ribbonBarItemButtonGroup2.Buttons.Add(this.ribbonBarItemButton21);
     resources.ApplyResources(this.ribbonBarItemButtonGroup2, "ribbonBarItemButtonGroup2");
     //
     // ribbonBarItemButton17
     //
     resources.ApplyResources(this.ribbonBarItemButton17, "ribbonBarItemButton17");
     this.ribbonBarItemButton17.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton18
     //
     resources.ApplyResources(this.ribbonBarItemButton18, "ribbonBarItemButton18");
     this.ribbonBarItemButton18.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton19
     //
     resources.ApplyResources(this.ribbonBarItemButton19, "ribbonBarItemButton19");
     this.ribbonBarItemButton19.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton20
     //
     resources.ApplyResources(this.ribbonBarItemButton20, "ribbonBarItemButton20");
     this.ribbonBarItemButton20.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // ribbonBarItemButton21
     //
     resources.ApplyResources(this.ribbonBarItemButton21, "ribbonBarItemButton21");
     this.ribbonBarItemButton21.Orientation = Wisej.Web.Orientation.Horizontal;
     //
     // Window1
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = Wisej.Web.AutoScaleMode.Font;
     this.Controls.Add(this.ribbonBar);
     this.Name = "Window1";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Wisej.Web.ComponentTool componentTool3 = new Wisej.Web.ComponentTool();
     this.mainMenu1    = new Wisej.Web.MainMenu(this.components);
     this.menuItem1    = new Wisej.Web.MenuItem();
     this.menuItem3    = new Wisej.Web.MenuItem();
     this.menuItem2    = new Wisej.Web.MenuItem();
     this.menuItem4    = new Wisej.Web.MenuItem();
     this.menuItem6    = new Wisej.Web.MenuItem();
     this.menuItem7    = new Wisej.Web.MenuItem();
     this.label1       = new Wisej.Web.Label();
     this.label2       = new Wisej.Web.Label();
     this.label3       = new Wisej.Web.Label();
     this.panel1       = new Wisej.Web.Panel();
     this.checkBox2    = new Wisej.Web.CheckBox();
     this.checkBox1    = new Wisej.Web.CheckBox();
     this.txtFirstName = new Wisej.Web.TextBox();
     this.txtName      = new Wisej.Web.TextBox();
     this.cmbInterest  = new Wisej.Web.ComboBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem1,
         this.menuItem6
     });
     this.mainMenu1.Name = "mainMenu1";
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem3,
         this.menuItem2,
         this.menuItem4
     });
     this.menuItem1.Name = "menuItem1";
     this.menuItem1.Text = "File";
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.Name  = "menuItem3";
     this.menuItem3.Text  = "New";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Name  = "menuItem2";
     this.menuItem2.Text  = "Open";
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.Name  = "menuItem4";
     this.menuItem4.Text  = "Save";
     //
     // menuItem6
     //
     this.menuItem6.Index = 1;
     this.menuItem6.MenuItems.AddRange(new Wisej.Web.MenuItem[] {
         this.menuItem7
     });
     this.menuItem6.Name = "menuItem6";
     this.menuItem6.Text = "Help";
     //
     // menuItem7
     //
     this.menuItem7.Index = 0;
     this.menuItem7.Name  = "menuItem7";
     this.menuItem7.Text  = "About";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 19);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(82, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "First Name *";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(7, 53);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(52, 16);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Name *";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(7, 88);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(59, 16);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Interests";
     //
     // panel1
     //
     this.panel1.Collapsed = true;
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location      = new System.Drawing.Point(8, 132);
     this.panel1.Name          = "panel1";
     this.panel1.RestoreBounds = new System.Drawing.Rectangle(8, 132, 159, 119);
     this.panel1.ShowHeader    = true;
     this.panel1.Size          = new System.Drawing.Size(159, 28);
     this.panel1.TabIndex      = 3;
     this.panel1.Text          = "More information";
     //
     // checkBox2
     //
     this.checkBox2.Location = new System.Drawing.Point(12, 51);
     this.checkBox2.Name     = "checkBox2";
     this.checkBox2.Size     = new System.Drawing.Size(123, 23);
     this.checkBox2.TabIndex = 1;
     this.checkBox2.Text     = "Special discount";
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(12, 22);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(106, 23);
     this.checkBox1.TabIndex = 0;
     this.checkBox1.Text     = "VIP customer";
     //
     // txtFirstName
     //
     this.txtFirstName.Location = new System.Drawing.Point(104, 15);
     this.txtFirstName.Name     = "txtFirstName";
     this.txtFirstName.Size     = new System.Drawing.Size(265, 22);
     this.txtFirstName.TabIndex = 4;
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(104, 51);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(265, 22);
     this.txtName.TabIndex = 5;
     //
     // cmbInterest
     //
     this.cmbInterest.Items.AddRange(new object[] {
         "Swimming",
         "Cooking",
         "Reading",
         "Football"
     });
     this.cmbInterest.Location  = new System.Drawing.Point(104, 88);
     this.cmbInterest.Name      = "cmbInterest";
     this.cmbInterest.Size      = new System.Drawing.Size(264, 22);
     this.cmbInterest.TabIndex  = 6;
     componentTool3.ImageSource = "window-maximize";
     this.cmbInterest.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool3
     });
     this.cmbInterest.ToolClick += new Wisej.Web.ToolClickEventHandler(this.comboBox1_ToolClick);
     //
     // Window1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1010, 673);
     this.CloseBox            = false;
     this.Controls.Add(this.cmbInterest);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.txtFirstName);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Location = new System.Drawing.Point(100, 100);
     this.Menu     = this.mainMenu1;
     this.Name     = "Window1";
     this.Text     = "Form1";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Wisej.Web.ComponentTool componentTool1 = new Wisej.Web.ComponentTool();
     this.supplierBindingSource    = new Wisej.Web.BindingSource(this.components);
     this.supplierIdTextBox        = new Wisej.Web.TextBox();
     this.supplierNameTextBox      = new Wisej.Web.TextBox();
     this.cancelButton             = new Wisej.Web.Button();
     this.saveButton               = new Wisej.Web.Button();
     this.parentComboBox           = new Wisej.Web.ComboBox();
     this.suplierListBindingSource = new Wisej.Web.BindingSource(this.components);
     this.parentLabel              = new Wisej.Web.Label();
     this.idLabel   = new Wisej.Web.Label();
     this.nameLabel = new Wisej.Web.Label();
     ((System.ComponentModel.ISupportInitialize)(this.supplierBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.suplierListBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // supplierBindingSource
     //
     this.supplierBindingSource.AllowNew             = false;
     this.supplierBindingSource.DataSource           = typeof(SeleniumDemo.WisejApp.Model.Supplier);
     this.supplierBindingSource.RefreshValueOnChange = true;
     //
     // supplierIdTextBox
     //
     this.supplierIdTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.supplierBindingSource, "SupplierId", true));
     this.supplierIdTextBox.Location = new System.Drawing.Point(103, 15);
     this.supplierIdTextBox.Name     = "supplierIdTextBox";
     this.supplierIdTextBox.Size     = new System.Drawing.Size(100, 22);
     this.supplierIdTextBox.TabIndex = 1;
     this.supplierIdTextBox.Text     = "0";
     //
     // supplierNameTextBox
     //
     this.supplierNameTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.supplierBindingSource, "SupplierName", true));
     this.supplierNameTextBox.Location = new System.Drawing.Point(103, 65);
     this.supplierNameTextBox.Name     = "supplierNameTextBox";
     this.supplierNameTextBox.Size     = new System.Drawing.Size(198, 22);
     this.supplierNameTextBox.TabIndex = 2;
     //
     // cancelButton
     //
     this.cancelButton.DataBindings.Add(new Wisej.Web.Binding("Text", this.supplierBindingSource, "CancelButtonText", true, Wisej.Web.DataSourceUpdateMode.Never));
     this.cancelButton.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(26, 190);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(100, 27);
     this.cancelButton.TabIndex     = 3;
     this.cancelButton.Text         = "Cancel";
     this.cancelButton.Click       += new System.EventHandler(this.cancelButton_Click);
     //
     // saveButton
     //
     this.saveButton.DataBindings.Add(new Wisej.Web.Binding("Enabled", this.supplierBindingSource, "IsDirty", true, Wisej.Web.DataSourceUpdateMode.Never));
     this.saveButton.DialogResult = Wisej.Web.DialogResult.OK;
     this.saveButton.Location     = new System.Drawing.Point(201, 190);
     this.saveButton.Name         = "saveButton";
     this.saveButton.Size         = new System.Drawing.Size(100, 27);
     this.saveButton.TabIndex     = 4;
     this.saveButton.Text         = "Save";
     this.saveButton.Click       += new System.EventHandler(this.saveButton_Click);
     //
     // parentComboBox
     //
     this.parentComboBox.AutoSize = false;
     this.parentComboBox.DataBindings.Add(new Wisej.Web.Binding("SelectedValue", this.supplierBindingSource, "ParentSupplierId", true));
     this.parentComboBox.DataSource    = this.suplierListBindingSource;
     this.parentComboBox.DisplayMember = "SupplierName";
     this.parentComboBox.Location      = new System.Drawing.Point(103, 105);
     this.parentComboBox.Name          = "parentComboBox";
     this.parentComboBox.Size          = new System.Drawing.Size(198, 22);
     this.parentComboBox.TabIndex      = 5;
     componentTool1.ImageSource        = "Resources/close-button.svg?color=Red";
     componentTool1.Name        = "clearParentId";
     componentTool1.ToolTipText = "Clear parent supplier";
     this.parentComboBox.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool1
     });
     this.parentComboBox.ValueMember = "SupplierId";
     this.parentComboBox.Watermark   = "Select a parent supplier";
     this.parentComboBox.ToolClick  += new Wisej.Web.ToolClickEventHandler(this.parentComboBox_ToolClick);
     //
     // suplierListBindingSource
     //
     this.suplierListBindingSource.AllowNew             = false;
     this.suplierListBindingSource.DataSource           = typeof(SeleniumDemo.WisejApp.Model.SupplierList);
     this.suplierListBindingSource.RefreshValueOnChange = true;
     //
     // parentLabel
     //
     this.parentLabel.AutoSize = true;
     this.parentLabel.Location = new System.Drawing.Point(26, 107);
     this.parentLabel.Name     = "parentLabel";
     this.parentLabel.Size     = new System.Drawing.Size(47, 16);
     this.parentLabel.TabIndex = 6;
     this.parentLabel.Text     = "Parent";
     //
     // idLabel
     //
     this.idLabel.AutoSize = true;
     this.idLabel.Location = new System.Drawing.Point(26, 17);
     this.idLabel.Name     = "idLabel";
     this.idLabel.Size     = new System.Drawing.Size(19, 16);
     this.idLabel.TabIndex = 7;
     this.idLabel.Text     = "Id";
     //
     // nameLabel
     //
     this.nameLabel.AutoSize = true;
     this.nameLabel.Location = new System.Drawing.Point(26, 67);
     this.nameLabel.Name     = "nameLabel";
     this.nameLabel.Size     = new System.Drawing.Size(44, 16);
     this.nameLabel.TabIndex = 8;
     this.nameLabel.Text     = "Name";
     //
     // SupplierEditor
     //
     this.AcceptButton        = this.saveButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(328, 240);
     this.ControlBox          = false;
     this.Controls.Add(this.nameLabel);
     this.Controls.Add(this.idLabel);
     this.Controls.Add(this.parentLabel);
     this.Controls.Add(this.parentComboBox);
     this.Controls.Add(this.saveButton);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.supplierNameTextBox);
     this.Controls.Add(this.supplierIdTextBox);
     this.MaximumSize   = new System.Drawing.Size(330, 300);
     this.MinimumSize   = new System.Drawing.Size(330, 300);
     this.Name          = "SupplierEditor";
     this.StartPosition = Wisej.Web.FormStartPosition.CenterParent;
     this.Text          = "Supplier Editor";
     this.Load         += new System.EventHandler(this.SupplierEditor_Load);
     ((System.ComponentModel.ISupportInitialize)(this.supplierBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.suplierListBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Wisej.Web.ComponentTool componentTool1 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool2 = new Wisej.Web.ComponentTool();
     Wisej.Web.ComponentTool componentTool3 = new Wisej.Web.ComponentTool();
     this.textBoxName    = new Wisej.Web.TextBox();
     this.buttonJoin     = new Wisej.Web.Button();
     this.buttonLeave    = new Wisej.Web.Button();
     this.listBoxMessage = new Wisej.Web.ListBox();
     this.textBoxMessage = new Wisej.Web.TextBox();
     this.buttonSend     = new Wisej.Web.Button();
     this.errorProvider  = new Wisej.Web.ErrorProvider(this.components);
     this.label1         = new Wisej.Web.Label();
     this.updateTimer    = new Wisej.Web.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.SuspendLayout();
     //
     // textBoxName
     //
     this.textBoxName.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                          | Wisej.Web.AnchorStyles.Right)));
     this.textBoxName.AutoSize  = false;
     this.textBoxName.Location  = new System.Drawing.Point(88, 89);
     this.textBoxName.Name      = "textBoxName";
     this.textBoxName.Size      = new System.Drawing.Size(126, 46);
     this.textBoxName.TabIndex  = 1;
     this.textBoxName.Watermark = "Name";
     //
     // buttonJoin
     //
     this.buttonJoin.Anchor   = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.buttonJoin.Location = new System.Drawing.Point(247, 89);
     this.buttonJoin.Name     = "buttonJoin";
     this.buttonJoin.Size     = new System.Drawing.Size(236, 46);
     this.buttonJoin.TabIndex = 2;
     this.buttonJoin.Text     = "Join";
     this.buttonJoin.Click   += new System.EventHandler(this.buttonJoin_Click);
     //
     // buttonLeave
     //
     this.buttonLeave.Anchor   = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.buttonLeave.Enabled  = false;
     this.buttonLeave.Location = new System.Drawing.Point(508, 89);
     this.buttonLeave.Name     = "buttonLeave";
     this.buttonLeave.Size     = new System.Drawing.Size(236, 46);
     this.buttonLeave.TabIndex = 3;
     this.buttonLeave.Text     = "Leave";
     this.buttonLeave.Click   += new System.EventHandler(this.buttonLeave_Click);
     //
     // listBoxMessage
     //
     this.listBoxMessage.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                              | Wisej.Web.AnchorStyles.Left)
                                                             | Wisej.Web.AnchorStyles.Right)));
     this.listBoxMessage.HorizontalScrollbar = true;
     this.listBoxMessage.Location            = new System.Drawing.Point(88, 163);
     this.listBoxMessage.Name     = "listBoxMessage";
     this.listBoxMessage.Size     = new System.Drawing.Size(656, 267);
     this.listBoxMessage.TabIndex = 4;
     componentTool1.ImageSource   = "tab-close";
     componentTool1.Name          = "Clear";
     componentTool1.ToolTipText   = "Clear all messages.";
     componentTool2.ImageSource   = "icon-save";
     componentTool2.Name          = "Save";
     componentTool2.ToolTipText   = "Save messages.";
     this.listBoxMessage.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool1,
         componentTool2
     });
     this.listBoxMessage.ToolClick += new Wisej.Web.ToolClickEventHandler(this.listBoxMessage_ToolClick);
     //
     // textBoxMessage
     //
     this.textBoxMessage.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Bottom | Wisej.Web.AnchorStyles.Left)
                                                             | Wisej.Web.AnchorStyles.Right)));
     this.textBoxMessage.AutoSize = false;
     this.textBoxMessage.Enabled  = false;
     this.textBoxMessage.Location = new System.Drawing.Point(88, 459);
     this.textBoxMessage.Name     = "textBoxMessage";
     this.textBoxMessage.Size     = new System.Drawing.Size(395, 46);
     this.textBoxMessage.TabIndex = 5;
     componentTool3.ImageSource   = "tab-close";
     componentTool3.Name          = "Clear";
     componentTool3.ToolTipText   = "Clear";
     this.textBoxMessage.Tools.AddRange(new Wisej.Web.ComponentTool[] {
         componentTool3
     });
     this.textBoxMessage.Watermark  = "Message";
     this.textBoxMessage.ToolClick += new Wisej.Web.ToolClickEventHandler(this.textBoxMessage_ToolClick);
     //
     // buttonSend
     //
     this.buttonSend.Anchor   = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Bottom | Wisej.Web.AnchorStyles.Right)));
     this.buttonSend.Enabled  = false;
     this.buttonSend.Location = new System.Drawing.Point(508, 459);
     this.buttonSend.Name     = "buttonSend";
     this.buttonSend.Size     = new System.Drawing.Size(236, 46);
     this.buttonSend.TabIndex = 6;
     this.buttonSend.Text     = "Send";
     this.buttonSend.Click   += new System.EventHandler(this.buttonSend_Click);
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Comic Sans MS", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
     this.label1.ForeColor = System.Drawing.Color.FromName("@activeCaption");
     this.label1.Location  = new System.Drawing.Point(88, 23);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(306, 43);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Simple Chat";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // updateTimer
     //
     this.updateTimer.Interval = 1000;
     this.updateTimer.Tick    += new System.EventHandler(this.updateTimer_Tick);
     //
     // SimpleChatClient
     //
     this.Accelerators = new Wisej.Web.Keys[] {
         Wisej.Web.Keys.Return
     };
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonSend);
     this.Controls.Add(this.textBoxMessage);
     this.Controls.Add(this.listBoxMessage);
     this.Controls.Add(this.buttonLeave);
     this.Controls.Add(this.buttonJoin);
     this.Controls.Add(this.textBoxName);
     this.Name         = "SimpleChatClient";
     this.Size         = new System.Drawing.Size(832, 586);
     this.Text         = "SimpleChat";
     this.Load        += new System.EventHandler(this.SimpleChatClient_Load);
     this.Accelerator += new Wisej.Web.AcceleratorEventHandler(this.SimpleChatClient_Accelerator);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.ResumeLayout(false);
 }