コード例 #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            this.SuspendLayout();
            // 
            // radGridView1
            // 
            this.radGridView1.Location = new System.Drawing.Point(13, 12);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.Size = new System.Drawing.Size(750, 451);
            this.radGridView1.TabIndex = 0;
            this.radGridView1.Text = "radGridView1";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(775, 475);
            this.Controls.Add(this.radGridView1);
            this.Name = "Form1";
            this.Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #2
0
ファイル: Color.Designer.cs プロジェクト: GaikovM/Auto
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            this.SuspendLayout();
            // 
            // radGridView1
            // 
            this.radGridView1.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.radGridView1.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.AllowSearchRow = true;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            this.radGridView1.MasterTemplate.EnableGrouping = false;
            this.radGridView1.MasterTemplate.EnablePaging = true;
            this.radGridView1.MasterTemplate.MultiSelect = true;
            this.radGridView1.MasterTemplate.SearchRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.ShowGroupPanel = false;
            this.radGridView1.Size = new System.Drawing.Size(581, 299);
            this.radGridView1.TabIndex = 1;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.UserAddedRow += new Telerik.WinControls.UI.GridViewRowEventHandler(this.radGridView1_UserAddedRow);
            this.radGridView1.UserDeletedRow += new Telerik.WinControls.UI.GridViewRowEventHandler(this.RadGridView1UserDeletedRow);
            this.radGridView1.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellValueChanged);
            // 
            // Color
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ClientSize = new System.Drawing.Size(581, 299);
            this.Controls.Add(this.radGridView1);
            this.Name = "Color";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Цвета";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Color_FormClosing);
            this.Load += new System.EventHandler(this.Color_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            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()
        {
            this.components = new System.ComponentModel.Container();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.faxGrid = new Telerik.WinControls.UI.RadGridView();
            this.fb = new System.Windows.Forms.BindingSource(this.components);
            this.create = new Telerik.WinControls.UI.RadButton();
            this.saveBtn = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.faxGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.faxGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.create)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.saveBtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // faxGrid
            // 
            this.faxGrid.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.faxGrid.BackColor = System.Drawing.Color.WhiteSmoke;
            this.faxGrid.Cursor = System.Windows.Forms.Cursors.Default;
            this.faxGrid.Font = new System.Drawing.Font("Tahoma", 10F);
            this.faxGrid.ForeColor = System.Drawing.Color.Black;
            this.faxGrid.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.faxGrid.Location = new System.Drawing.Point(26, 77);
            // 
            // 
            // 
            this.faxGrid.MasterTemplate.AllowAddNewRow = false;
            this.faxGrid.MasterTemplate.AllowColumnChooser = false;
            this.faxGrid.MasterTemplate.AllowEditRow = false;
            this.faxGrid.MasterTemplate.AllowRowResize = false;
            this.faxGrid.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "number";
            gridViewTextBoxColumn1.HeaderText = "شماره";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "number";
            gridViewTextBoxColumn1.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn1.Width = 108;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "subject";
            gridViewTextBoxColumn2.HeaderText = "موضوع";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "subject";
            gridViewTextBoxColumn2.Width = 189;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "reciver";
            gridViewTextBoxColumn3.HeaderText = "دریافت کننده";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Name = "reciver";
            gridViewTextBoxColumn3.Width = 174;
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "attachment";
            gridViewDecimalColumn2.HeaderText = "پیوست";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.Name = "attachment";
            gridViewDecimalColumn2.Width = 103;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "date";
            gridViewTextBoxColumn4.HeaderText = "تاریخ";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Name = "date";
            gridViewTextBoxColumn4.Width = 145;
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "type";
            gridViewTextBoxColumn5.HeaderText = "نوع";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.Name = "type";
            gridViewTextBoxColumn5.Width = 224;
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "faxnumber";
            gridViewTextBoxColumn6.HeaderText = "faxnumber";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "faxnumber";
            this.faxGrid.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewDecimalColumn2,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6});
            this.faxGrid.MasterTemplate.DataSource = this.fb;
            sortDescriptor1.PropertyName = "number";
            this.faxGrid.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.faxGrid.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.faxGrid.Name = "faxGrid";
            this.faxGrid.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.faxGrid.Size = new System.Drawing.Size(959, 405);
            this.faxGrid.TabIndex = 0;
            this.faxGrid.Text = "radGridView1";
            this.faxGrid.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.faxGrid_CellDoubleClick);
            // 
            // fb
            // 
            this.fb.DataSource = typeof(tiraxco.fax);
            // 
            // create
            // 
            this.create.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.create.Font = new System.Drawing.Font("Tahoma", 10F);
            this.create.Location = new System.Drawing.Point(26, 495);
            this.create.Name = "create";
            this.create.Size = new System.Drawing.Size(103, 42);
            this.create.TabIndex = 1;
            this.create.Text = "ایجاد";
            this.create.Click += new System.EventHandler(this.create_Click);
            // 
            // saveBtn
            // 
            this.saveBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.saveBtn.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
            this.saveBtn.Location = new System.Drawing.Point(146, 496);
            this.saveBtn.Name = "saveBtn";
            this.saveBtn.Size = new System.Drawing.Size(101, 41);
            this.saveBtn.TabIndex = 4;
            this.saveBtn.Text = "ذخیره";
            this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click);
            // 
            // FaxManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(1012, 549);
            this.Controls.Add(this.saveBtn);
            this.Controls.Add(this.create);
            this.Controls.Add(this.faxGrid);
            this.Name = "FaxManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "مدیریت فکس‌ها";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.faxview_Load);
            ((System.ComponentModel.ISupportInitialize)(this.faxGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.faxGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.create)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.saveBtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #4
0
ファイル: Order.Designer.cs プロジェクト: GaikovM/Auto
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radMenu1 = new Telerik.WinControls.UI.RadMenu();
            this.radMenuItem1 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem2 = new Telerik.WinControls.UI.RadMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).BeginInit();
            this.SuspendLayout();
            // 
            // radGridView1
            // 
            this.radGridView1.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.radGridView1.Location = new System.Drawing.Point(2, 21);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowDeleteRow = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AllowSearchRow = true;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            this.radGridView1.MasterTemplate.EnableGrouping = false;
            this.radGridView1.MasterTemplate.EnablePaging = true;
            this.radGridView1.MasterTemplate.MultiSelect = true;
            this.radGridView1.MasterTemplate.SearchRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.ShowGroupPanel = false;
            this.radGridView1.Size = new System.Drawing.Size(861, 342);
            this.radGridView1.TabIndex = 1;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.ContextMenuOpening += new Telerik.WinControls.UI.ContextMenuOpeningEventHandler(this.RadGridView1ContextMenuOpening);
            // 
            // radMenu1
            // 
            this.radMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem1,
            this.radMenuItem2});
            this.radMenu1.Location = new System.Drawing.Point(0, 0);
            this.radMenu1.Name = "radMenu1";
            this.radMenu1.Size = new System.Drawing.Size(863, 20);
            this.radMenu1.TabIndex = 2;
            this.radMenu1.Text = "radMenu1";
            // 
            // radMenuItem1
            // 
            this.radMenuItem1.Name = "radMenuItem1";
            this.radMenuItem1.Text = "Новый заказ";
            this.radMenuItem1.Click += new System.EventHandler(this.RadMenuItem1Click);
            // 
            // radMenuItem2
            // 
            this.radMenuItem2.Name = "radMenuItem2";
            this.radMenuItem2.Text = "Редактировать заказ";
            this.radMenuItem2.Click += new System.EventHandler(this.RadMenuItem2Click);
            // 
            // Order
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.ClientSize = new System.Drawing.Size(863, 363);
            this.Controls.Add(this.radMenu1);
            this.Controls.Add(this.radGridView1);
            this.Name = "Order";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Заказы";
            this.Load += new System.EventHandler(this.Order_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #5
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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn4 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn5 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn6 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn7 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn8 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn9 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn15 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn16 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.projectsGrid = new Telerik.WinControls.UI.RadGridView();
            this.pb = new System.Windows.Forms.BindingSource(this.components);
            this.documentsGrid = new Telerik.WinControls.UI.RadGridView();
            this.dbs = new System.Windows.Forms.BindingSource(this.components);
            this.createdoc = new Telerik.WinControls.UI.RadButton();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.projectsGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.projectsGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.documentsGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.documentsGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dbs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.createdoc)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // projectsGrid
            // 
            this.projectsGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.projectsGrid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.projectsGrid.Cursor = System.Windows.Forms.Cursors.Default;
            this.projectsGrid.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pb, "name", true));
            this.projectsGrid.Font = new System.Drawing.Font("Tahoma", 10F);
            this.projectsGrid.ForeColor = System.Drawing.Color.Black;
            this.projectsGrid.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.projectsGrid.Location = new System.Drawing.Point(610, 12);
            // 
            // 
            // 
            this.projectsGrid.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.projectsGrid.MasterTemplate.AllowAddNewRow = false;
            this.projectsGrid.MasterTemplate.AllowDeleteRow = false;
            this.projectsGrid.MasterTemplate.AllowDragToGroup = false;
            this.projectsGrid.MasterTemplate.AllowEditRow = false;
            this.projectsGrid.MasterTemplate.AllowRowResize = false;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "name";
            gridViewTextBoxColumn1.HeaderText = "نام پروژه";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "name";
            gridViewTextBoxColumn1.Width = 151;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "number";
            gridViewTextBoxColumn2.HeaderText = "شماره پروژه";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "number";
            gridViewTextBoxColumn2.Width = 91;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "date";
            gridViewTextBoxColumn3.HeaderText = "date";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.IsVisible = false;
            gridViewTextBoxColumn3.Name = "date";
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "startdate";
            gridViewTextBoxColumn4.HeaderText = "startdate";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.IsVisible = false;
            gridViewTextBoxColumn4.Name = "startdate";
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "cost";
            gridViewDecimalColumn2.HeaderText = "cost";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.IsVisible = false;
            gridViewDecimalColumn2.Name = "cost";
            gridViewDecimalColumn3.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn3.EnableExpressionEditor = false;
            gridViewDecimalColumn3.FieldName = "support";
            gridViewDecimalColumn3.HeaderText = "support";
            gridViewDecimalColumn3.IsAutoGenerated = true;
            gridViewDecimalColumn3.IsVisible = false;
            gridViewDecimalColumn3.Name = "support";
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "enddate";
            gridViewTextBoxColumn5.HeaderText = "enddate";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "enddate";
            gridViewDecimalColumn4.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn4.EnableExpressionEditor = false;
            gridViewDecimalColumn4.FieldName = "clientid";
            gridViewDecimalColumn4.HeaderText = "clientid";
            gridViewDecimalColumn4.IsAutoGenerated = true;
            gridViewDecimalColumn4.IsVisible = false;
            gridViewDecimalColumn4.Name = "clientid";
            gridViewTextBoxColumn6.DataType = typeof(System.Data.Linq.EntitySet<tiraxco.Document>);
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "Documents";
            gridViewTextBoxColumn6.HeaderText = "Documents";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "Documents";
            gridViewTextBoxColumn7.DataType = typeof(tiraxco.Client);
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "Client";
            gridViewTextBoxColumn7.HeaderText = "Client";
            gridViewTextBoxColumn7.IsAutoGenerated = true;
            gridViewTextBoxColumn7.IsVisible = false;
            gridViewTextBoxColumn7.Name = "Client";
            this.projectsGrid.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewDecimalColumn1,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewDecimalColumn2,
            gridViewDecimalColumn3,
            gridViewTextBoxColumn5,
            gridViewDecimalColumn4,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7});
            this.projectsGrid.MasterTemplate.DataSource = this.pb;
            this.projectsGrid.MasterTemplate.EnableFiltering = true;
            this.projectsGrid.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.projectsGrid.Name = "projectsGrid";
            this.projectsGrid.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.projectsGrid.Size = new System.Drawing.Size(262, 387);
            this.projectsGrid.TabIndex = 0;
            this.projectsGrid.Text = "radGridView1";
            this.projectsGrid.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.projectsGrid_CellClick);
            this.projectsGrid.DoubleClick += new System.EventHandler(this.projectsGrid_DoubleClick);
            // 
            // pb
            // 
            this.pb.DataSource = typeof(tiraxco.Project);
            // 
            // documentsGrid
            // 
            this.documentsGrid.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.documentsGrid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.documentsGrid.Cursor = System.Windows.Forms.Cursors.Default;
            this.documentsGrid.Font = new System.Drawing.Font("Tahoma", 10F);
            this.documentsGrid.ForeColor = System.Drawing.Color.Black;
            this.documentsGrid.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.documentsGrid.Location = new System.Drawing.Point(13, 12);
            // 
            // 
            // 
            this.documentsGrid.MasterTemplate.AllowAddNewRow = false;
            this.documentsGrid.MasterTemplate.AllowColumnResize = false;
            this.documentsGrid.MasterTemplate.AllowEditRow = false;
            this.documentsGrid.MasterTemplate.AllowRowResize = false;
            this.documentsGrid.MasterTemplate.AutoGenerateColumns = false;
            this.documentsGrid.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn5.DataType = typeof(int);
            gridViewDecimalColumn5.EnableExpressionEditor = false;
            gridViewDecimalColumn5.FieldName = "ID";
            gridViewDecimalColumn5.HeaderText = "ID";
            gridViewDecimalColumn5.IsAutoGenerated = true;
            gridViewDecimalColumn5.IsVisible = false;
            gridViewDecimalColumn5.Name = "ID";
            gridViewTextBoxColumn8.EnableExpressionEditor = false;
            gridViewTextBoxColumn8.FieldName = "title";
            gridViewTextBoxColumn8.HeaderText = "نام";
            gridViewTextBoxColumn8.IsAutoGenerated = true;
            gridViewTextBoxColumn8.Name = "name";
            gridViewTextBoxColumn8.Width = 165;
            gridViewTextBoxColumn9.EnableExpressionEditor = false;
            gridViewTextBoxColumn9.FieldName = "createDate";
            gridViewTextBoxColumn9.HeaderText = "تاریخ ایجاد";
            gridViewTextBoxColumn9.IsAutoGenerated = true;
            gridViewTextBoxColumn9.Name = "createDate";
            gridViewTextBoxColumn9.Width = 78;
            gridViewTextBoxColumn10.DataType = typeof(System.Nullable<int>);
            gridViewTextBoxColumn10.EnableExpressionEditor = false;
            gridViewTextBoxColumn10.FieldName = "type";
            gridViewTextBoxColumn10.HeaderText = "نوع";
            gridViewTextBoxColumn10.IsAutoGenerated = true;
            gridViewTextBoxColumn10.Name = "type";
            gridViewTextBoxColumn10.Width = 34;
            gridViewTextBoxColumn11.EnableExpressionEditor = false;
            gridViewTextBoxColumn11.FieldName = "title";
            gridViewTextBoxColumn11.HeaderText = "title";
            gridViewTextBoxColumn11.IsAutoGenerated = true;
            gridViewTextBoxColumn11.IsVisible = false;
            gridViewTextBoxColumn11.Name = "title";
            gridViewDecimalColumn6.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn6.EnableExpressionEditor = false;
            gridViewDecimalColumn6.FieldName = "editnumber";
            gridViewDecimalColumn6.HeaderText = "editnumber";
            gridViewDecimalColumn6.IsAutoGenerated = true;
            gridViewDecimalColumn6.IsVisible = false;
            gridViewDecimalColumn6.Name = "editnumber";
            gridViewTextBoxColumn12.EnableExpressionEditor = false;
            gridViewTextBoxColumn12.FieldName = "creator";
            gridViewTextBoxColumn12.HeaderText = "سازنده";
            gridViewTextBoxColumn12.IsAutoGenerated = true;
            gridViewTextBoxColumn12.Name = "creator";
            gridViewTextBoxColumn12.Width = 106;
            gridViewTextBoxColumn13.EnableExpressionEditor = false;
            gridViewTextBoxColumn13.FieldName = "beforeEditor";
            gridViewTextBoxColumn13.HeaderText = "beforeEditor";
            gridViewTextBoxColumn13.IsAutoGenerated = true;
            gridViewTextBoxColumn13.IsVisible = false;
            gridViewTextBoxColumn13.Name = "beforeEditor";
            gridViewDecimalColumn7.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn7.EnableExpressionEditor = false;
            gridViewDecimalColumn7.FieldName = "beforePages";
            gridViewDecimalColumn7.HeaderText = "beforePages";
            gridViewDecimalColumn7.IsAutoGenerated = true;
            gridViewDecimalColumn7.IsVisible = false;
            gridViewDecimalColumn7.Name = "beforePages";
            gridViewDecimalColumn8.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn8.EnableExpressionEditor = false;
            gridViewDecimalColumn8.FieldName = "beforeWords";
            gridViewDecimalColumn8.HeaderText = "beforeWords";
            gridViewDecimalColumn8.IsAutoGenerated = true;
            gridViewDecimalColumn8.IsVisible = false;
            gridViewDecimalColumn8.Name = "beforeWords";
            gridViewDecimalColumn9.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn9.EnableExpressionEditor = false;
            gridViewDecimalColumn9.FieldName = "projectID";
            gridViewDecimalColumn9.HeaderText = "projectID";
            gridViewDecimalColumn9.IsAutoGenerated = true;
            gridViewDecimalColumn9.IsVisible = false;
            gridViewDecimalColumn9.Name = "projectID";
            gridViewTextBoxColumn14.EnableExpressionEditor = false;
            gridViewTextBoxColumn14.FieldName = "Project.name";
            gridViewTextBoxColumn14.HeaderText = "نام پروژه";
            gridViewTextBoxColumn14.Name = "Projectname";
            gridViewTextBoxColumn14.Width = 116;
            gridViewTextBoxColumn15.EnableExpressionEditor = false;
            gridViewTextBoxColumn15.FieldName = "docname";
            gridViewTextBoxColumn15.HeaderText = "نام سند";
            gridViewTextBoxColumn15.Name = "docname";
            gridViewTextBoxColumn15.Width = 68;
            gridViewTextBoxColumn16.EnableExpressionEditor = false;
            gridViewTextBoxColumn16.FieldName = "Project.number";
            gridViewTextBoxColumn16.HeaderText = "column1";
            gridViewTextBoxColumn16.IsVisible = false;
            gridViewTextBoxColumn16.Name = "projectnumber";
            this.documentsGrid.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn5,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9,
            gridViewTextBoxColumn10,
            gridViewTextBoxColumn11,
            gridViewDecimalColumn6,
            gridViewTextBoxColumn12,
            gridViewTextBoxColumn13,
            gridViewDecimalColumn7,
            gridViewDecimalColumn8,
            gridViewDecimalColumn9,
            gridViewTextBoxColumn14,
            gridViewTextBoxColumn15,
            gridViewTextBoxColumn16});
            this.documentsGrid.MasterTemplate.DataSource = this.dbs;
            this.documentsGrid.MasterTemplate.EnableFiltering = true;
            this.documentsGrid.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.documentsGrid.Name = "documentsGrid";
            this.documentsGrid.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.documentsGrid.Size = new System.Drawing.Size(583, 387);
            this.documentsGrid.TabIndex = 0;
            this.documentsGrid.Text = "radGridView2";
            this.documentsGrid.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.documentsGrid_DoubleClick);            
            // 
            // dbs
            // 
            this.dbs.DataSource = typeof(tiraxco.Document);
            // 
            // createdoc
            // 
            this.createdoc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.createdoc.Font = new System.Drawing.Font("Tahoma", 10F);
            this.createdoc.Location = new System.Drawing.Point(13, 405);
            this.createdoc.Name = "createdoc";
            this.createdoc.Size = new System.Drawing.Size(110, 36);
            this.createdoc.TabIndex = 1;
            this.createdoc.Text = "ایجاد سند";
            this.createdoc.Click += new System.EventHandler(this.createdoc_Click);
            // 
            // radButton1
            // 
            this.radButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.radButton1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radButton1.Location = new System.Drawing.Point(129, 405);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(110, 36);
            this.radButton1.TabIndex = 1;
            this.radButton1.Text = "ذخیره";
            this.radButton1.Click += new System.EventHandler(this.saveBtn_Click);
            // 
            // DocumentsManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(884, 448);
            this.Controls.Add(this.radButton1);
            this.Controls.Add(this.createdoc);
            this.Controls.Add(this.documentsGrid);
            this.Controls.Add(this.projectsGrid);
            this.Font = new System.Drawing.Font("Tahoma", 10F);
            this.Name = "DocumentsManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "مدیریت اسناد";
            this.ThemeName = "VisualStudio2012Light";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.DocumentsManagement_Load);
            ((System.ComponentModel.ISupportInitialize)(this.projectsGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.projectsGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.documentsGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.documentsGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dbs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.createdoc)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #6
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(FrmCreateMeasureWizard));
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.createMeasureWizard = new Telerik.WinControls.UI.RadWizard();
            this.wizardCompletionPage1 = new Telerik.WinControls.UI.WizardCompletionPage();
            this.panel3 = new System.Windows.Forms.Panel();
            this.panel2 = new System.Windows.Forms.Panel();
            this.gvBatches = new Telerik.WinControls.UI.RadGridView();
            this.panel1 = new System.Windows.Forms.Panel();
            this.gvMeasures = new Telerik.WinControls.UI.RadGridView();
            this.wizardPage1 = new Telerik.WinControls.UI.WizardPage();
            this.wizardPage2 = new Telerik.WinControls.UI.WizardPage();
            this.ucLoadMeasuresSummary = new Avicola.Production.Win.UserControls.UcLoadMeasuresSummary();
            ((System.ComponentModel.ISupportInitialize)(this.createMeasureWizard)).BeginInit();
            this.createMeasureWizard.SuspendLayout();
            this.panel3.SuspendLayout();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches.MasterTemplate)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvMeasures)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMeasures.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // createMeasureWizard
            // 
            this.createMeasureWizard.CompletionPage = this.wizardCompletionPage1;
            this.createMeasureWizard.Controls.Add(this.panel2);
            this.createMeasureWizard.Controls.Add(this.panel3);
            this.createMeasureWizard.Controls.Add(this.panel1);
            this.createMeasureWizard.Dock = System.Windows.Forms.DockStyle.Fill;
            this.createMeasureWizard.HideCompletionImage = true;
            this.createMeasureWizard.Location = new System.Drawing.Point(0, 0);
            this.createMeasureWizard.Name = "createMeasureWizard";
            this.createMeasureWizard.PageHeaderIcon = ((System.Drawing.Image)(resources.GetObject("createMeasureWizard.PageHeaderIcon")));
            this.createMeasureWizard.Pages.Add(this.wizardPage1);
            this.createMeasureWizard.Pages.Add(this.wizardPage2);
            this.createMeasureWizard.Pages.Add(this.wizardCompletionPage1);
            this.createMeasureWizard.Size = new System.Drawing.Size(841, 560);
            this.createMeasureWizard.TabIndex = 0;
            this.createMeasureWizard.WelcomePage = null;
            this.createMeasureWizard.Finish += new System.EventHandler(this.createMeasureWizard_Finish);
            this.createMeasureWizard.Cancel += new System.EventHandler(this.createMeasureWizard_Cancel);
            this.createMeasureWizard.SelectedPageChanging += new Telerik.WinControls.UI.SelectedPageChangingEventHandler(this.createMeasureWizard_SelectedPageChanging);
            this.createMeasureWizard.SelectedPageChanged += new Telerik.WinControls.UI.SelectedPageChangedEventHandler(this.createMeasureWizard_SelectedPageChanged);
            // 
            // wizardCompletionPage1
            // 
            this.wizardCompletionPage1.ContentArea = this.panel3;
            this.wizardCompletionPage1.Header = "";
            this.wizardCompletionPage1.Name = "wizardCompletionPage1";
            this.wizardCompletionPage1.Title = "Resumen";
            // 
            // panel3
            // 
            this.panel3.BackColor = System.Drawing.Color.White;
            this.panel3.Controls.Add(this.ucLoadMeasuresSummary);
            this.panel3.Location = new System.Drawing.Point(0, 51);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(833, 467);
            this.panel3.TabIndex = 2;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.Color.White;
            this.panel2.Controls.Add(this.gvBatches);
            this.panel2.Location = new System.Drawing.Point(0, 64);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(841, 448);
            this.panel2.TabIndex = 1;
            // 
            // gvBatches
            // 
            this.gvBatches.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvBatches.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gvBatches.MasterTemplate.AllowAddNewRow = false;
            this.gvBatches.MasterTemplate.AllowDeleteRow = false;
            this.gvBatches.MasterTemplate.AllowDragToGroup = false;
            this.gvBatches.MasterTemplate.AllowEditRow = false;
            this.gvBatches.MasterTemplate.AutoGenerateColumns = false;
            this.gvBatches.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "Number";
            gridViewTextBoxColumn1.HeaderText = "Número";
            gridViewTextBoxColumn1.Name = "Number";
            gridViewTextBoxColumn1.Width = 189;
            gridViewTextBoxColumn2.FieldName = "GeneticLineName";
            gridViewTextBoxColumn2.HeaderText = "Linea Genética";
            gridViewTextBoxColumn2.Name = "GeneticLineName";
            gridViewTextBoxColumn2.Width = 189;
            gridViewTextBoxColumn3.FieldName = "StageName";
            gridViewTextBoxColumn3.HeaderText = "Estado";
            gridViewTextBoxColumn3.Name = "StageName";
            gridViewTextBoxColumn3.Width = 134;
            gridViewTextBoxColumn4.FieldName = "CreatedDate";
            gridViewTextBoxColumn4.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn4.HeaderText = "Fecha Creación";
            gridViewTextBoxColumn4.MinWidth = 100;
            gridViewTextBoxColumn4.Name = "CreatedDate";
            gridViewTextBoxColumn4.Width = 103;
            gridViewCommandColumn1.AllowResize = false;
            gridViewCommandColumn1.AllowSort = false;
            gridViewCommandColumn1.DefaultText = "Seleccionar";
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.Name = "SelectColumn";
            gridViewCommandColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewCommandColumn1.UseDefaultText = true;
            gridViewCommandColumn1.Width = 204;
            this.gvBatches.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewCommandColumn1});
            this.gvBatches.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvBatches.Name = "gvBatches";
            this.gvBatches.Size = new System.Drawing.Size(841, 448);
            this.gvBatches.TabIndex = 0;
            this.gvBatches.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvBatches_CommandCellClick);
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.Controls.Add(this.gvMeasures);
            this.panel1.Location = new System.Drawing.Point(0, 81);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(841, 431);
            this.panel1.TabIndex = 3;
            // 
            // gvMeasures
            // 
            this.gvMeasures.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvMeasures.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.gvMeasures.MasterTemplate.AllowAddNewRow = false;
            this.gvMeasures.MasterTemplate.AllowColumnReorder = false;
            this.gvMeasures.MasterTemplate.AllowDeleteRow = false;
            this.gvMeasures.MasterTemplate.AllowDragToGroup = false;
            this.gvMeasures.MasterTemplate.AutoGenerateColumns = false;
            this.gvMeasures.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn5.FieldName = "Name";
            gridViewTextBoxColumn5.HeaderText = "Nombre";
            gridViewTextBoxColumn5.Name = "Name";
            gridViewTextBoxColumn5.ReadOnly = true;
            gridViewTextBoxColumn5.Width = 471;
            gridViewTextBoxColumn6.FieldName = "MeasureUnity";
            gridViewTextBoxColumn6.HeaderText = "Unidad de Medida";
            gridViewTextBoxColumn6.Name = "MeasureUnity";
            gridViewTextBoxColumn6.ReadOnly = true;
            gridViewTextBoxColumn6.Width = 140;
            gridViewDateTimeColumn1.ExcelExportType = Telerik.WinControls.UI.Export.DisplayFormatType.ShortDate;
            gridViewDateTimeColumn1.FieldName = "CreatedDate";
            gridViewDateTimeColumn1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            gridViewDateTimeColumn1.FormatString = "{0: dd/M/yyyy}";
            gridViewDateTimeColumn1.HeaderText = "Fecha";
            gridViewDateTimeColumn1.Name = "CreatedDate";
            gridViewDateTimeColumn1.Width = 103;
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.Expression = "";
            gridViewDecimalColumn1.FieldName = "Value";
            gridViewDecimalColumn1.HeaderText = "Valor";
            gridViewDecimalColumn1.Name = "Value";
            gridViewDecimalColumn1.Width = 105;
            this.gvMeasures.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewDateTimeColumn1,
            gridViewDecimalColumn1});
            this.gvMeasures.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.gvMeasures.Name = "gvMeasures";
            this.gvMeasures.Size = new System.Drawing.Size(841, 431);
            this.gvMeasures.TabIndex = 4;
            this.gvMeasures.CellEditorInitialized += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gvMeasures_CellEditorInitialized);
            // 
            // wizardPage1
            // 
            this.wizardPage1.ContentArea = this.panel2;
            this.wizardPage1.Header = "";
            this.wizardPage1.Name = "wizardPage1";
            this.wizardPage1.Title = "Seleccionar Lote";
            // 
            // wizardPage2
            // 
            this.wizardPage2.ContentArea = this.panel1;
            this.wizardPage2.Header = "Estandares";
            this.wizardPage2.Name = "wizardPage2";
            this.wizardPage2.Title = "Ingreso de Valores";
            // 
            // ucLoadMeasuresSummary
            // 
            this.ucLoadMeasuresSummary.Location = new System.Drawing.Point(12, 14);
            this.ucLoadMeasuresSummary.Margin = new System.Windows.Forms.Padding(4);
            this.ucLoadMeasuresSummary.Name = "ucLoadMeasuresSummary";
            this.ucLoadMeasuresSummary.Size = new System.Drawing.Size(488, 248);
            this.ucLoadMeasuresSummary.TabIndex = 0;
            // 
            // FrmCreateMeasureWizard
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(841, 560);
            this.Controls.Add(this.createMeasureWizard);
            this.Name = "FrmCreateMeasureWizard";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "Cargar Medidas";
            this.Load += new System.EventHandler(this.FrmCreateMeasureWizard_Load);
            ((System.ComponentModel.ISupportInitialize)(this.createMeasureWizard)).EndInit();
            this.createMeasureWizard.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvMeasures.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMeasures)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #7
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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewImageColumn gridViewImageColumn1 = new Telerik.WinControls.UI.GridViewImageColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn2 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RadForm2));
            this.radSplitContainer1 = new Telerik.WinControls.UI.RadSplitContainer();
            this.splitPanel1 = new Telerik.WinControls.UI.SplitPanel();
            this.radSplitContainer2 = new Telerik.WinControls.UI.RadSplitContainer();
            this.splitPanel2 = new Telerik.WinControls.UI.SplitPanel();
            this.splitPanel3 = new Telerik.WinControls.UI.SplitPanel();
            this.radButton2 = new Telerik.WinControls.UI.RadButton();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            this.radPropertyGrid1 = new Telerik.WinControls.UI.RadPropertyGrid();
            this.radGridView2 = new Telerik.WinControls.UI.RadGridView();
            this.radThemeManager1 = new Telerik.WinControls.RadThemeManager();
            this.aquaTheme1 = new Telerik.WinControls.Themes.AquaTheme();
            this.breezeTheme1 = new Telerik.WinControls.Themes.BreezeTheme();
            this.desertTheme1 = new Telerik.WinControls.Themes.DesertTheme();
            this.highContrastBlackTheme1 = new Telerik.WinControls.Themes.HighContrastBlackTheme();
            this.office2007BlackTheme1 = new Telerik.WinControls.Themes.Office2007BlackTheme();
            this.office2007SilverTheme1 = new Telerik.WinControls.Themes.Office2007SilverTheme();
            this.office2010BlackTheme1 = new Telerik.WinControls.Themes.Office2010BlackTheme();
            this.office2010BlueTheme1 = new Telerik.WinControls.Themes.Office2010BlueTheme();
            this.office2010SilverTheme1 = new Telerik.WinControls.Themes.Office2010SilverTheme();
            this.office2013DarkTheme1 = new Telerik.WinControls.Themes.Office2013DarkTheme();
            this.office2013LightTheme1 = new Telerik.WinControls.Themes.Office2013LightTheme();
            this.telerikMetroTheme1 = new Telerik.WinControls.Themes.TelerikMetroTheme();
            this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
            this.telerikMetroTouchTheme1 = new Telerik.WinControls.Themes.TelerikMetroTouchTheme();
            this.visualStudio2012DarkTheme1 = new Telerik.WinControls.Themes.VisualStudio2012DarkTheme();
            this.visualStudio2012LightTheme1 = new Telerik.WinControls.Themes.VisualStudio2012LightTheme();
            this.windows7Theme1 = new Telerik.WinControls.Themes.Windows7Theme();
            this.windows8Theme1 = new Telerik.WinControls.Themes.Windows8Theme();
            this.radStatusStrip1 = new Telerik.WinControls.UI.RadStatusStrip();
            this.radLabelElement1 = new Telerik.WinControls.UI.RadLabelElement();
            this.radRibbonBar1 = new Telerik.WinControls.UI.RadRibbonBar();
            this.ribbonTab1 = new Telerik.WinControls.UI.RibbonTab();
            this.radRibbonBarGroup1 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement1 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement2 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement3 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup10 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radToggleButtonElement1 = new Telerik.WinControls.UI.RadToggleButtonElement();
            this.radToggleButtonElement2 = new Telerik.WinControls.UI.RadToggleButtonElement();
            this.radToggleButtonElement3 = new Telerik.WinControls.UI.RadToggleButtonElement();
            this.radRibbonBarGroup11 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement23 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement24 = new Telerik.WinControls.UI.RadButtonElement();
            this.ribbonTab2 = new Telerik.WinControls.UI.RibbonTab();
            this.radRibbonBarGroup2 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement4 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement5 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement6 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup3 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement7 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement8 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement9 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup4 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement10 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement11 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement12 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup8 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement13 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement14 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup5 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement15 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement16 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup6 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement17 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement18 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement22 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup7 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement19 = new Telerik.WinControls.UI.RadButtonElement();
            this.radButtonElement20 = new Telerik.WinControls.UI.RadButtonElement();
            this.radRibbonBarGroup9 = new Telerik.WinControls.UI.RadRibbonBarGroup();
            this.radButtonElement21 = new Telerik.WinControls.UI.RadButtonElement();
            this.radMenuButtonItem2 = new Telerik.WinControls.UI.RadMenuButtonItem();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.bookModelBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.radRibbonFormBehavior1 = new Telerik.WinControls.UI.RadRibbonFormBehavior();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.bookModelBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.radSplitContainer1)).BeginInit();
            this.radSplitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel1)).BeginInit();
            this.splitPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radSplitContainer2)).BeginInit();
            this.radSplitContainer2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel2)).BeginInit();
            this.splitPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel3)).BeginInit();
            this.splitPanel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPropertyGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView2.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bookModelBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bookModelBindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radSplitContainer1
            // 
            this.radSplitContainer1.Controls.Add(this.splitPanel1);
            this.radSplitContainer1.Location = new System.Drawing.Point(9, 165);
            this.radSplitContainer1.Name = "radSplitContainer1";
            // 
            // 
            // 
            this.radSplitContainer1.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.radSplitContainer1.Size = new System.Drawing.Size(1128, 608);
            this.radSplitContainer1.SplitterWidth = 5;
            this.radSplitContainer1.TabIndex = 1;
            this.radSplitContainer1.TabStop = false;
            this.radSplitContainer1.Text = "radSplitContainer1";
            this.radSplitContainer1.ThemeName = "Windows8";
            // 
            // splitPanel1
            // 
            this.splitPanel1.Controls.Add(this.radSplitContainer2);
            this.splitPanel1.Controls.Add(this.radGridView2);
            this.splitPanel1.Location = new System.Drawing.Point(0, 0);
            this.splitPanel1.Name = "splitPanel1";
            // 
            // 
            // 
            this.splitPanel1.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.splitPanel1.Size = new System.Drawing.Size(1128, 608);
            this.splitPanel1.SizeInfo.AutoSizeScale = new System.Drawing.SizeF(0.234127F, 0F);
            this.splitPanel1.SizeInfo.SplitterCorrection = new System.Drawing.Size(237, 0);
            this.splitPanel1.TabIndex = 0;
            this.splitPanel1.TabStop = false;
            this.splitPanel1.Text = "splitPanel1";
            this.splitPanel1.ThemeName = "Windows8";
            // 
            // radSplitContainer2
            // 
            this.radSplitContainer2.Controls.Add(this.splitPanel2);
            this.radSplitContainer2.Controls.Add(this.splitPanel3);
            this.radSplitContainer2.Dock = System.Windows.Forms.DockStyle.Right;
            this.radSplitContainer2.Location = new System.Drawing.Point(828, 0);
            this.radSplitContainer2.Name = "radSplitContainer2";
            this.radSplitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // 
            // 
            this.radSplitContainer2.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.radSplitContainer2.Size = new System.Drawing.Size(300, 608);
            this.radSplitContainer2.SplitterWidth = 5;
            this.radSplitContainer2.TabIndex = 2;
            this.radSplitContainer2.TabStop = false;
            this.radSplitContainer2.Text = "radSplitContainer2";
            this.radSplitContainer2.ThemeName = "Windows8";
            // 
            // splitPanel2
            // 
            this.splitPanel2.Controls.Add(this.pictureBox2);
            this.splitPanel2.Location = new System.Drawing.Point(0, 0);
            this.splitPanel2.Name = "splitPanel2";
            // 
            // 
            // 
            this.splitPanel2.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.splitPanel2.Size = new System.Drawing.Size(300, 176);
            this.splitPanel2.SizeInfo.AutoSizeScale = new System.Drawing.SizeF(0F, -0.2080979F);
            this.splitPanel2.SizeInfo.SplitterCorrection = new System.Drawing.Size(0, -112);
            this.splitPanel2.TabIndex = 0;
            this.splitPanel2.TabStop = false;
            this.splitPanel2.Text = "splitPanel2";
            this.splitPanel2.ThemeName = "Windows8";
            // 
            // splitPanel3
            // 
            this.splitPanel3.Controls.Add(this.radButton2);
            this.splitPanel3.Controls.Add(this.radButton1);
            this.splitPanel3.Controls.Add(this.radPropertyGrid1);
            this.splitPanel3.Location = new System.Drawing.Point(0, 181);
            this.splitPanel3.Name = "splitPanel3";
            // 
            // 
            // 
            this.splitPanel3.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.splitPanel3.Size = new System.Drawing.Size(300, 427);
            this.splitPanel3.SizeInfo.AutoSizeScale = new System.Drawing.SizeF(0F, 0.2080979F);
            this.splitPanel3.SizeInfo.SplitterCorrection = new System.Drawing.Size(0, 256);
            this.splitPanel3.TabIndex = 1;
            this.splitPanel3.TabStop = false;
            this.splitPanel3.Text = "splitPanel3";
            this.splitPanel3.ThemeName = "Windows8";
            // 
            // radButton2
            // 
            this.radButton2.Location = new System.Drawing.Point(177, 285);
            this.radButton2.Name = "radButton2";
            this.radButton2.Size = new System.Drawing.Size(100, 27);
            this.radButton2.TabIndex = 99;
            this.radButton2.Text = "Cancel";
            // 
            // radButton1
            // 
            this.radButton1.Location = new System.Drawing.Point(43, 285);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(100, 27);
            this.radButton1.TabIndex = 100;
            this.radButton1.Text = "Save";
            this.radButton1.Click += new System.EventHandler(this.radButton1_Click);
            // 
            // radPropertyGrid1
            // 
            this.radPropertyGrid1.Dock = System.Windows.Forms.DockStyle.Top;
            this.radPropertyGrid1.Location = new System.Drawing.Point(0, 0);
            this.radPropertyGrid1.Name = "radPropertyGrid1";
            this.radPropertyGrid1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 5);
            this.radPropertyGrid1.SelectedObject = this.radGridView2.RootElement;
            this.radPropertyGrid1.Size = new System.Drawing.Size(300, 279);
            this.radPropertyGrid1.SortOrder = System.Windows.Forms.SortOrder.Ascending;
            this.radPropertyGrid1.TabIndex = 0;
            this.radPropertyGrid1.Text = "radPropertyGrid1";
            this.radPropertyGrid1.ToolbarVisible = true;
            this.radPropertyGrid1.Editing += new Telerik.WinControls.UI.PropertyGridItemEditingEventHandler(this.radPropertyGrid1_Editing);
            this.radPropertyGrid1.Edited += new Telerik.WinControls.UI.PropertyGridItemEditedEventHandler(this.radPropertyGrid1_Edited);
            this.radPropertyGrid1.MouseLeave += new System.EventHandler(this.radPropertyGrid1_MouseLeave);
            // 
            // radGridView2
            // 
            this.radGridView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView2.BeginEditMode = Telerik.WinControls.RadGridViewBeginEditMode.BeginEditOnF2;
            this.radGridView2.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView2.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radGridView2.ForeColor = System.Drawing.Color.Black;
            this.radGridView2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView2.Location = new System.Drawing.Point(1, 0);
            // 
            // 
            // 
            this.radGridView2.MasterTemplate.AllowAddNewRow = false;
            this.radGridView2.MasterTemplate.AllowDeleteRow = false;
            this.radGridView2.MasterTemplate.AllowEditRow = false;
            this.radGridView2.MasterTemplate.AllowRowResize = false;
            this.radGridView2.MasterTemplate.AutoGenerateColumns = false;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "id";
            gridViewTextBoxColumn1.HeaderText = "ID";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "id";
            gridViewTextBoxColumn1.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "book_image";
            gridViewTextBoxColumn2.HeaderText = "book_image";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.IsVisible = false;
            gridViewTextBoxColumn2.Name = "book_image";
            gridViewImageColumn1.EnableExpressionEditor = false;
            gridViewImageColumn1.FieldName = "BookImage";
            gridViewImageColumn1.HeaderText = "Book Image";
            gridViewImageColumn1.IsAutoGenerated = true;
            gridViewImageColumn1.Name = "BookImage";
            gridViewImageColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewImageColumn1.Width = 110;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "book_name";
            gridViewTextBoxColumn3.HeaderText = "Book Name";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Multiline = true;
            gridViewTextBoxColumn3.Name = "book_name";
            gridViewTextBoxColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn3.Width = 160;
            gridViewTextBoxColumn3.WrapText = true;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "book_author";
            gridViewTextBoxColumn4.HeaderText = "Author(s)";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Multiline = true;
            gridViewTextBoxColumn4.Name = "book_author";
            gridViewTextBoxColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn4.Width = 120;
            gridViewTextBoxColumn4.WrapText = true;
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "book_year";
            gridViewTextBoxColumn5.HeaderText = "Year";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.Name = "book_year";
            gridViewTextBoxColumn5.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn5.Width = 55;
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "book_publisher";
            gridViewTextBoxColumn6.HeaderText = "Publisher";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.Multiline = true;
            gridViewTextBoxColumn6.Name = "book_publisher";
            gridViewTextBoxColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn6.Width = 110;
            gridViewTextBoxColumn6.WrapText = true;
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "book_description";
            gridViewTextBoxColumn7.HeaderText = "Description";
            gridViewTextBoxColumn7.IsAutoGenerated = true;
            gridViewTextBoxColumn7.Multiline = true;
            gridViewTextBoxColumn7.Name = "book_description";
            gridViewTextBoxColumn7.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn7.Width = 140;
            gridViewTextBoxColumn7.WrapText = true;
            gridViewCheckBoxColumn1.DataType = typeof(string);
            gridViewCheckBoxColumn1.EnableExpressionEditor = false;
            gridViewCheckBoxColumn1.FieldName = "status";
            gridViewCheckBoxColumn1.HeaderText = "Active";
            gridViewCheckBoxColumn1.MinWidth = 20;
            gridViewCheckBoxColumn1.Name = "status";
            gridViewCheckBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewDateTimeColumn1.EnableExpressionEditor = false;
            gridViewDateTimeColumn1.FieldName = "created_at";
            gridViewDateTimeColumn1.Format = System.Windows.Forms.DateTimePickerFormat.Long;
            gridViewDateTimeColumn1.HeaderText = "Date Created";
            gridViewDateTimeColumn1.IsAutoGenerated = true;
            gridViewDateTimeColumn1.IsVisible = false;
            gridViewDateTimeColumn1.Name = "created_at";
            gridViewDateTimeColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewDateTimeColumn1.Width = 80;
            gridViewDateTimeColumn2.EnableExpressionEditor = false;
            gridViewDateTimeColumn2.FieldName = "updated_at";
            gridViewDateTimeColumn2.Format = System.Windows.Forms.DateTimePickerFormat.Long;
            gridViewDateTimeColumn2.HeaderText = "Last Update";
            gridViewDateTimeColumn2.IsAutoGenerated = true;
            gridViewDateTimeColumn2.IsVisible = false;
            gridViewDateTimeColumn2.Name = "updated_at";
            gridViewDateTimeColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewDateTimeColumn2.Width = 80;
            this.radGridView2.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewImageColumn1,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewCheckBoxColumn1,
            gridViewDateTimeColumn1,
            gridViewDateTimeColumn2});
            this.radGridView2.MasterTemplate.DataSource = this.bookModelBindingSource;
            this.radGridView2.MasterTemplate.EnableAlternatingRowColor = true;
            this.radGridView2.MasterTemplate.EnableGrouping = false;
            this.radGridView2.MasterTemplate.EnablePaging = true;
            this.radGridView2.MasterTemplate.PageSize = 10;
            sortDescriptor1.PropertyName = "id";
            this.radGridView2.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radGridView2.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView2.Name = "radGridView2";
            this.radGridView2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.radGridView2.ShowGroupPanel = false;
            this.radGridView2.Size = new System.Drawing.Size(821, 493);
            this.radGridView2.TabIndex = 1;
            this.radGridView2.Text = "radGridView2";
            this.radGridView2.ViewCellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.radGridView2_ViewCellFormatting);
            this.radGridView2.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.radGridView2_CurrentRowChanging);
            this.radGridView2.PageChanging += new System.EventHandler<Telerik.WinControls.PageChangingEventArgs>(this.radGridView2_PageChanging);
            // 
            // radStatusStrip1
            // 
            this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radLabelElement1});
            this.radStatusStrip1.Location = new System.Drawing.Point(0, 697);
            this.radStatusStrip1.Name = "radStatusStrip1";
            this.radStatusStrip1.Size = new System.Drawing.Size(1143, 26);
            this.radStatusStrip1.TabIndex = 1;
            this.radStatusStrip1.Text = "radStatusStrip1";
            // 
            // radLabelElement1
            // 
            this.radLabelElement1.AccessibleDescription = "No Operation";
            this.radLabelElement1.AccessibleName = "No Operation";
            this.radLabelElement1.Name = "radLabelElement1";
            this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
            this.radLabelElement1.Text = "No Operation";
            this.radLabelElement1.TextWrap = true;
            // 
            // radRibbonBar1
            // 
            this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
            this.ribbonTab1,
            this.ribbonTab2});
            this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
            this.radRibbonBar1.Name = "radRibbonBar1";
            this.radRibbonBar1.Size = new System.Drawing.Size(1143, 162);
            this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
            this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuButtonItem2});
            this.radRibbonBar1.TabIndex = 3;
            this.radRibbonBar1.Text = "UET Library";
            // 
            // ribbonTab1
            // 
            this.ribbonTab1.AccessibleDescription = "Home";
            this.ribbonTab1.AccessibleName = "Home";
            this.ribbonTab1.IsSelected = true;
            this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radRibbonBarGroup1,
            this.radRibbonBarGroup10,
            this.radRibbonBarGroup11});
            this.ribbonTab1.Name = "ribbonTab1";
            this.ribbonTab1.Text = "Home";
            // 
            // radRibbonBarGroup1
            // 
            this.radRibbonBarGroup1.AccessibleDescription = "Operation";
            this.radRibbonBarGroup1.AccessibleName = "Operation";
            this.radRibbonBarGroup1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement1,
            this.radButtonElement2,
            this.radButtonElement3});
            this.radRibbonBarGroup1.Name = "radRibbonBarGroup1";
            this.radRibbonBarGroup1.Text = "Operation";
            // 
            // radButtonElement1
            // 
            this.radButtonElement1.AccessibleDescription = "radButtonElement1";
            this.radButtonElement1.AccessibleName = "radButtonElement1";
            this.radButtonElement1.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement1.Image")));
            this.radButtonElement1.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radButtonElement1.Name = "radButtonElement1";
            this.radButtonElement1.Text = "Create";
            this.radButtonElement1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radButtonElement1.Click += new System.EventHandler(this.radButtonElement1_Click);
            // 
            // radButtonElement2
            // 
            this.radButtonElement2.AccessibleDescription = "radButtonElement2";
            this.radButtonElement2.AccessibleName = "radButtonElement2";
            this.radButtonElement2.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement2.Image")));
            this.radButtonElement2.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radButtonElement2.Name = "radButtonElement2";
            this.radButtonElement2.Text = "Delete";
            this.radButtonElement2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radButtonElement2.Click += new System.EventHandler(this.radButtonElement2_Click);
            // 
            // radButtonElement3
            // 
            this.radButtonElement3.AccessibleDescription = "radButtonElement3";
            this.radButtonElement3.AccessibleName = "radButtonElement3";
            this.radButtonElement3.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement3.Image")));
            this.radButtonElement3.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radButtonElement3.Name = "radButtonElement3";
            this.radButtonElement3.Text = "Refresh";
            this.radButtonElement3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radButtonElement3.Click += new System.EventHandler(this.radButtonElement3_Click);
            // 
            // radRibbonBarGroup10
            // 
            this.radRibbonBarGroup10.AccessibleDescription = "Option";
            this.radRibbonBarGroup10.AccessibleName = "Option";
            this.radRibbonBarGroup10.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radToggleButtonElement1,
            this.radToggleButtonElement2,
            this.radToggleButtonElement3});
            this.radRibbonBarGroup10.Name = "radRibbonBarGroup10";
            this.radRibbonBarGroup10.Text = "Option";
            // 
            // radToggleButtonElement1
            // 
            this.radToggleButtonElement1.AccessibleDescription = "Filter";
            this.radToggleButtonElement1.AccessibleName = "Filter";
            this.radToggleButtonElement1.Image = global::LibraryDesktop.Properties.Resources.filter;
            this.radToggleButtonElement1.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radToggleButtonElement1.Name = "radToggleButtonElement1";
            this.radToggleButtonElement1.Padding = new System.Windows.Forms.Padding(1);
            this.radToggleButtonElement1.ReadOnly = false;
            this.radToggleButtonElement1.Text = "Filter";
            this.radToggleButtonElement1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radToggleButtonElement1.CheckStateChanging += new Telerik.WinControls.UI.CheckStateChangingEventHandler(this.radToggleButtonElement1_CheckStateChanging);
            // 
            // radToggleButtonElement2
            // 
            this.radToggleButtonElement2.AccessibleDescription = "Search";
            this.radToggleButtonElement2.AccessibleName = "Search";
            this.radToggleButtonElement2.Image = global::LibraryDesktop.Properties.Resources.search;
            this.radToggleButtonElement2.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radToggleButtonElement2.Name = "radToggleButtonElement2";
            this.radToggleButtonElement2.Padding = new System.Windows.Forms.Padding(1);
            this.radToggleButtonElement2.ReadOnly = false;
            this.radToggleButtonElement2.Text = "Search";
            this.radToggleButtonElement2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radToggleButtonElement2.CheckStateChanging += new Telerik.WinControls.UI.CheckStateChangingEventHandler(this.radToggleButtonElement2_CheckStateChanging);
            // 
            // radToggleButtonElement3
            // 
            this.radToggleButtonElement3.AccessibleDescription = "Grouping";
            this.radToggleButtonElement3.AccessibleName = "Grouping";
            this.radToggleButtonElement3.Image = global::LibraryDesktop.Properties.Resources.group;
            this.radToggleButtonElement3.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radToggleButtonElement3.Name = "radToggleButtonElement3";
            this.radToggleButtonElement3.Padding = new System.Windows.Forms.Padding(1);
            this.radToggleButtonElement3.ReadOnly = false;
            this.radToggleButtonElement3.Text = "Group";
            this.radToggleButtonElement3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radToggleButtonElement3.CheckStateChanging += new Telerik.WinControls.UI.CheckStateChangingEventHandler(this.radToggleButtonElement3_CheckStateChanging);
            // 
            // radRibbonBarGroup11
            // 
            this.radRibbonBarGroup11.AccessibleDescription = "Other";
            this.radRibbonBarGroup11.AccessibleName = "Other";
            this.radRibbonBarGroup11.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement23,
            this.radButtonElement24});
            this.radRibbonBarGroup11.Name = "radRibbonBarGroup11";
            this.radRibbonBarGroup11.Text = "Other";
            // 
            // radButtonElement23
            // 
            this.radButtonElement23.AccessibleDescription = "Help";
            this.radButtonElement23.AccessibleName = "Help";
            this.radButtonElement23.Image = global::LibraryDesktop.Properties.Resources.question;
            this.radButtonElement23.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radButtonElement23.Name = "radButtonElement23";
            this.radButtonElement23.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement23.Text = "Help";
            this.radButtonElement23.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radButtonElement23.Click += new System.EventHandler(this.radButtonElement23_Click);
            // 
            // radButtonElement24
            // 
            this.radButtonElement24.AccessibleDescription = "About";
            this.radButtonElement24.AccessibleName = "About";
            this.radButtonElement24.Image = global::LibraryDesktop.Properties.Resources.exclaim;
            this.radButtonElement24.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            this.radButtonElement24.Name = "radButtonElement24";
            this.radButtonElement24.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement24.Text = "About";
            this.radButtonElement24.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.radButtonElement24.Click += new System.EventHandler(this.radButtonElement24_Click);
            // 
            // ribbonTab2
            // 
            this.ribbonTab2.AccessibleDescription = "Action";
            this.ribbonTab2.AccessibleName = "Action";
            this.ribbonTab2.IsSelected = false;
            this.ribbonTab2.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radRibbonBarGroup2,
            this.radRibbonBarGroup3,
            this.radRibbonBarGroup4,
            this.radRibbonBarGroup8,
            this.radRibbonBarGroup5,
            this.radRibbonBarGroup6,
            this.radRibbonBarGroup7,
            this.radRibbonBarGroup9});
            this.ribbonTab2.Name = "ribbonTab2";
            this.ribbonTab2.Text = "Theme";
            // 
            // radRibbonBarGroup2
            // 
            this.radRibbonBarGroup2.AccessibleDescription = "Natural";
            this.radRibbonBarGroup2.AccessibleName = "Natural";
            this.radRibbonBarGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement4,
            this.radButtonElement5,
            this.radButtonElement6});
            this.radRibbonBarGroup2.Name = "radRibbonBarGroup2";
            this.radRibbonBarGroup2.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup2.Text = "Natural";
            // 
            // radButtonElement4
            // 
            this.radButtonElement4.AccessibleDescription = "Breeze";
            this.radButtonElement4.AccessibleName = "Breeze";
            this.radButtonElement4.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement4.Image")));
            this.radButtonElement4.Name = "radButtonElement4";
            this.radButtonElement4.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement4.Tag = "breeze";
            this.radButtonElement4.Text = "Breeze";
            this.radButtonElement4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement4.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement5
            // 
            this.radButtonElement5.AccessibleDescription = "Aqua";
            this.radButtonElement5.AccessibleName = "Aqua";
            this.radButtonElement5.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement5.Image")));
            this.radButtonElement5.Name = "radButtonElement5";
            this.radButtonElement5.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement5.Tag = "aqua";
            this.radButtonElement5.Text = "Aqua";
            this.radButtonElement5.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement5.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement5.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement6
            // 
            this.radButtonElement6.AccessibleDescription = "Desert";
            this.radButtonElement6.AccessibleName = "Desert";
            this.radButtonElement6.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement6.Image")));
            this.radButtonElement6.Name = "radButtonElement6";
            this.radButtonElement6.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement6.Tag = "desert";
            this.radButtonElement6.Text = "Desert";
            this.radButtonElement6.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement6.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement6.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup3
            // 
            this.radRibbonBarGroup3.AccessibleDescription = "Office 2007";
            this.radRibbonBarGroup3.AccessibleName = "Office 2007";
            this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement7,
            this.radButtonElement8,
            this.radButtonElement9});
            this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
            this.radRibbonBarGroup3.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup3.Text = "Office 2007";
            // 
            // radButtonElement7
            // 
            this.radButtonElement7.AccessibleDescription = "Office2007Black";
            this.radButtonElement7.AccessibleName = "Office2007Black";
            this.radButtonElement7.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement7.Image")));
            this.radButtonElement7.Name = "radButtonElement7";
            this.radButtonElement7.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement7.Tag = "office2007Black";
            this.radButtonElement7.Text = "Black";
            this.radButtonElement7.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement7.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement8
            // 
            this.radButtonElement8.AccessibleDescription = "Blue";
            this.radButtonElement8.AccessibleName = "Blue";
            this.radButtonElement8.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement8.Image")));
            this.radButtonElement8.Name = "radButtonElement8";
            this.radButtonElement8.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement8.Text = "Blue";
            this.radButtonElement8.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement8.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement8.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement9
            // 
            this.radButtonElement9.AccessibleDescription = "Office2007Silver";
            this.radButtonElement9.AccessibleName = "Office2007Silver";
            this.radButtonElement9.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement9.Image")));
            this.radButtonElement9.Name = "radButtonElement9";
            this.radButtonElement9.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement9.Tag = "office2007Silver";
            this.radButtonElement9.Text = "Silver";
            this.radButtonElement9.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement9.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement9.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup4
            // 
            this.radRibbonBarGroup4.AccessibleDescription = "Office 2010";
            this.radRibbonBarGroup4.AccessibleName = "Office 2010";
            this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement10,
            this.radButtonElement11,
            this.radButtonElement12});
            this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
            this.radRibbonBarGroup4.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup4.Text = "Office 2010";
            // 
            // radButtonElement10
            // 
            this.radButtonElement10.AccessibleDescription = "Office2010Black";
            this.radButtonElement10.AccessibleName = "Office2010Black";
            this.radButtonElement10.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement10.Image")));
            this.radButtonElement10.Name = "radButtonElement10";
            this.radButtonElement10.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement10.Tag = "office2010Black";
            this.radButtonElement10.Text = "Black";
            this.radButtonElement10.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement10.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement10.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement11
            // 
            this.radButtonElement11.AccessibleDescription = "Office2010Blue";
            this.radButtonElement11.AccessibleName = "Office2010Blue";
            this.radButtonElement11.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement11.Image")));
            this.radButtonElement11.Name = "radButtonElement11";
            this.radButtonElement11.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement11.Tag = "office2010Blue";
            this.radButtonElement11.Text = "Blue";
            this.radButtonElement11.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement11.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement11.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement12
            // 
            this.radButtonElement12.AccessibleDescription = "Office2010Silver";
            this.radButtonElement12.AccessibleName = "Office2010Silver";
            this.radButtonElement12.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement12.Image")));
            this.radButtonElement12.Name = "radButtonElement12";
            this.radButtonElement12.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement12.Tag = "office2010Silver";
            this.radButtonElement12.Text = "Silver";
            this.radButtonElement12.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement12.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement12.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup8
            // 
            this.radRibbonBarGroup8.AccessibleDescription = "Office 2013";
            this.radRibbonBarGroup8.AccessibleName = "Office 2013";
            this.radRibbonBarGroup8.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement13,
            this.radButtonElement14});
            this.radRibbonBarGroup8.Name = "radRibbonBarGroup8";
            this.radRibbonBarGroup8.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup8.Text = "Office 2013";
            // 
            // radButtonElement13
            // 
            this.radButtonElement13.AccessibleDescription = "Office2013Dark";
            this.radButtonElement13.AccessibleName = "Office2013Dark";
            this.radButtonElement13.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement13.Image")));
            this.radButtonElement13.Name = "radButtonElement13";
            this.radButtonElement13.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement13.Tag = "office2013Dark";
            this.radButtonElement13.Text = "Dark";
            this.radButtonElement13.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement13.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement13.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement14
            // 
            this.radButtonElement14.AccessibleDescription = "Office2013Light";
            this.radButtonElement14.AccessibleName = "Office2013Light";
            this.radButtonElement14.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement14.Image")));
            this.radButtonElement14.Name = "radButtonElement14";
            this.radButtonElement14.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement14.Tag = "office2013Light";
            this.radButtonElement14.Text = "Light";
            this.radButtonElement14.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement14.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement14.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup5
            // 
            this.radRibbonBarGroup5.AccessibleDescription = "Visual Studio 2012";
            this.radRibbonBarGroup5.AccessibleName = "Visual Studio 2012";
            this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement15,
            this.radButtonElement16});
            this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
            this.radRibbonBarGroup5.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup5.Text = "Visual Studio 2012";
            // 
            // radButtonElement15
            // 
            this.radButtonElement15.AccessibleDescription = "VisualStudio2012Dark";
            this.radButtonElement15.AccessibleName = "VisualStudio2012Dark";
            this.radButtonElement15.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement15.Image")));
            this.radButtonElement15.Name = "radButtonElement15";
            this.radButtonElement15.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement15.Tag = "visualStudio2012Dark";
            this.radButtonElement15.Text = "Dark";
            this.radButtonElement15.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement15.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement15.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement16
            // 
            this.radButtonElement16.AccessibleDescription = "VisualStudio2012Light";
            this.radButtonElement16.AccessibleName = "VisualStudio2012Light";
            this.radButtonElement16.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement16.Image")));
            this.radButtonElement16.Name = "radButtonElement16";
            this.radButtonElement16.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement16.Tag = "visualStudio2012Light";
            this.radButtonElement16.Text = "Light";
            this.radButtonElement16.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement16.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement16.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup6
            // 
            this.radRibbonBarGroup6.AccessibleDescription = "Telerik Metro";
            this.radRibbonBarGroup6.AccessibleName = "Telerik Metro";
            this.radRibbonBarGroup6.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement17,
            this.radButtonElement18,
            this.radButtonElement22});
            this.radRibbonBarGroup6.Name = "radRibbonBarGroup6";
            this.radRibbonBarGroup6.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup6.Text = "Telerik Metro";
            // 
            // radButtonElement17
            // 
            this.radButtonElement17.AccessibleDescription = "TelerikMetroTheme";
            this.radButtonElement17.AccessibleName = "TelerikMetroTheme";
            this.radButtonElement17.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement17.Image")));
            this.radButtonElement17.Name = "radButtonElement17";
            this.radButtonElement17.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement17.Tag = "telerikMetroTheme";
            this.radButtonElement17.Text = "Default";
            this.radButtonElement17.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement17.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement17.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement18
            // 
            this.radButtonElement18.AccessibleDescription = "TelerikMetroBlueTheme";
            this.radButtonElement18.AccessibleName = "TelerikMetroBlueTheme";
            this.radButtonElement18.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement18.Image")));
            this.radButtonElement18.Name = "radButtonElement18";
            this.radButtonElement18.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement18.Tag = "telerikMetroBlueTheme";
            this.radButtonElement18.Text = "Blue";
            this.radButtonElement18.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement18.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement18.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement22
            // 
            this.radButtonElement22.AccessibleDescription = "TelerikMetroTouchTheme";
            this.radButtonElement22.AccessibleName = "TelerikMetroTouchTheme";
            this.radButtonElement22.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement22.Image")));
            this.radButtonElement22.ImageAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement22.Name = "radButtonElement22";
            this.radButtonElement22.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement22.Tag = "telerikMetroTouchTheme";
            this.radButtonElement22.Text = "Touch";
            this.radButtonElement22.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement22.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement22.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup7
            // 
            this.radRibbonBarGroup7.AccessibleDescription = "Windows";
            this.radRibbonBarGroup7.AccessibleName = "Windows";
            this.radRibbonBarGroup7.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement19,
            this.radButtonElement20});
            this.radRibbonBarGroup7.Name = "radRibbonBarGroup7";
            this.radRibbonBarGroup7.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup7.Text = "Windows";
            // 
            // radButtonElement19
            // 
            this.radButtonElement19.AccessibleDescription = "Windows7";
            this.radButtonElement19.AccessibleName = "Windows7";
            this.radButtonElement19.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement19.Image")));
            this.radButtonElement19.Name = "radButtonElement19";
            this.radButtonElement19.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement19.Tag = "windows7";
            this.radButtonElement19.Text = "Windows 7";
            this.radButtonElement19.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement19.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement19.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radButtonElement20
            // 
            this.radButtonElement20.AccessibleDescription = "Windows8";
            this.radButtonElement20.AccessibleName = "Windows8";
            this.radButtonElement20.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement20.Image")));
            this.radButtonElement20.Name = "radButtonElement20";
            this.radButtonElement20.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement20.Tag = "windows8";
            this.radButtonElement20.Text = "Windows 8";
            this.radButtonElement20.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement20.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement20.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radRibbonBarGroup9
            // 
            this.radRibbonBarGroup9.AccessibleDescription = "Other";
            this.radRibbonBarGroup9.AccessibleName = "Other";
            this.radRibbonBarGroup9.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radButtonElement21});
            this.radRibbonBarGroup9.Name = "radRibbonBarGroup9";
            this.radRibbonBarGroup9.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.radRibbonBarGroup9.Text = "Other";
            // 
            // radButtonElement21
            // 
            this.radButtonElement21.AccessibleDescription = "HighContrastBlackTheme";
            this.radButtonElement21.AccessibleName = "HighContrastBlackTheme";
            this.radButtonElement21.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElement21.Image")));
            this.radButtonElement21.Name = "radButtonElement21";
            this.radButtonElement21.Padding = new System.Windows.Forms.Padding(1);
            this.radButtonElement21.Tag = "highContrastBlackTheme";
            this.radButtonElement21.Text = "High Contrast";
            this.radButtonElement21.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButtonElement21.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButtonElement21.Click += new System.EventHandler(this.radRibbonBar1_Click);
            // 
            // radMenuButtonItem2
            // 
            this.radMenuButtonItem2.AccessibleDescription = "radMenuButtonItem2";
            this.radMenuButtonItem2.AccessibleName = "radMenuButtonItem2";
            // 
            // 
            // 
            this.radMenuButtonItem2.ButtonElement.AccessibleDescription = "radMenuButtonItem2";
            this.radMenuButtonItem2.ButtonElement.AccessibleName = "radMenuButtonItem2";
            this.radMenuButtonItem2.Name = "radMenuButtonItem2";
            this.radMenuButtonItem2.Text = "About";
            this.radMenuButtonItem2.Click += new System.EventHandler(this.radMenuButtonItem2_Click);
            // 
            // pictureBox2
            // 
            this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox2.Location = new System.Drawing.Point(0, 0);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(300, 176);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox2.TabIndex = 0;
            this.pictureBox2.TabStop = false;
            // 
            // bookModelBindingSource
            // 
            this.bookModelBindingSource.DataSource = typeof(LibraryDesktop.Models.BookModel);
            // 
            // radRibbonFormBehavior1
            // 
            this.radRibbonFormBehavior1.Form = this;
            // 
            // pictureBox1
            // 
            this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox1.Location = new System.Drawing.Point(0, 0);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(284, 157);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop = false;
            // 
            // bookModelBindingSource1
            // 
            this.bookModelBindingSource1.DataSource = typeof(LibraryDesktop.Models.BookModel);
            // 
            // RadForm2
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1143, 723);
            this.Controls.Add(this.radRibbonBar1);
            this.Controls.Add(this.radStatusStrip1);
            this.Controls.Add(this.radSplitContainer1);
            this.FormBehavior = this.radRibbonFormBehavior1;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.IconScaling = Telerik.WinControls.Enumerations.ImageScaling.None;
            this.MaximizeBox = false;
            this.Name = "RadForm2";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "UET Library";
            this.ThemeName = "Windows8";
            this.Load += new System.EventHandler(this.RadForm2_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radSplitContainer1)).EndInit();
            this.radSplitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel1)).EndInit();
            this.splitPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radSplitContainer2)).EndInit();
            this.radSplitContainer2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel2)).EndInit();
            this.splitPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitPanel3)).EndInit();
            this.splitPanel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPropertyGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView2.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bookModelBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bookModelBindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #8
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn3 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.gvOrders = new Telerik.WinControls.UI.RadGridView();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.lbTitle = new Telerik.WinControls.UI.RadLabel();
            this.btnBackToDepositManager = new Telerik.WinControls.UI.RadButton();
            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvOrders)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvOrders.MasterTemplate)).BeginInit();
            this.tableLayoutPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbTitle)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnBackToDepositManager)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.gvOrders, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(1038, 551);
            this.tableLayoutPanel1.TabIndex = 0;
            // 
            // gvOrders
            // 
            this.gvOrders.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvOrders.Location = new System.Drawing.Point(3, 63);
            // 
            // 
            // 
            this.gvOrders.MasterTemplate.AllowAddNewRow = false;
            this.gvOrders.MasterTemplate.AllowColumnReorder = false;
            this.gvOrders.MasterTemplate.AllowDeleteRow = false;
            this.gvOrders.MasterTemplate.AllowDragToGroup = false;
            this.gvOrders.MasterTemplate.AllowEditRow = false;
            this.gvOrders.MasterTemplate.AllowRowReorder = true;
            this.gvOrders.MasterTemplate.AutoGenerateColumns = false;
            this.gvOrders.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "OrderId";
            gridViewTextBoxColumn1.HeaderText = "OrderId";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "OrderId";
            gridViewTextBoxColumn2.FieldName = "ClientName";
            gridViewTextBoxColumn2.HeaderText = "Cliente";
            gridViewTextBoxColumn2.MaxWidth = 5000;
            gridViewTextBoxColumn2.MinWidth = 200;
            gridViewTextBoxColumn2.Name = "ClientName";
            gridViewTextBoxColumn2.Width = 220;
            gridViewTextBoxColumn3.DataType = typeof(System.DateTime);
            gridViewTextBoxColumn3.FieldName = "CreatedDate";
            gridViewTextBoxColumn3.FormatString = "{0: dd/M/yyyy H:mm}";
            gridViewTextBoxColumn3.HeaderText = "Fecha Pedido";
            gridViewTextBoxColumn3.MinWidth = 80;
            gridViewTextBoxColumn3.Name = "CreatedDate";
            gridViewTextBoxColumn3.Width = 88;
            gridViewTextBoxColumn4.FieldName = "Dozens";
            gridViewTextBoxColumn4.HeaderText = "Docenas";
            gridViewTextBoxColumn4.MinWidth = 60;
            gridViewTextBoxColumn4.Name = "Dozens";
            gridViewTextBoxColumn4.Width = 66;
            gridViewTextBoxColumn5.FieldName = "OrderStatusName";
            gridViewTextBoxColumn5.HeaderText = "Estado";
            gridViewTextBoxColumn5.MinWidth = 60;
            gridViewTextBoxColumn5.Name = "OrderStatusName";
            gridViewTextBoxColumn5.Width = 66;
            gridViewDateTimeColumn1.FieldName = "DispatchedDate";
            gridViewDateTimeColumn1.FormatString = "{0: dd/M/yyyy H:mm}";
            gridViewDateTimeColumn1.HeaderText = "Fecha Envio";
            gridViewDateTimeColumn1.MinWidth = 80;
            gridViewDateTimeColumn1.Name = "DispatchedDate";
            gridViewDateTimeColumn1.Width = 88;
            gridViewTextBoxColumn6.FieldName = "DriverName";
            gridViewTextBoxColumn6.HeaderText = "Conductor";
            gridViewTextBoxColumn6.MinWidth = 120;
            gridViewTextBoxColumn6.Name = "DriverName";
            gridViewTextBoxColumn6.Width = 132;
            gridViewTextBoxColumn7.FieldName = "Truck";
            gridViewTextBoxColumn7.HeaderText = "Camión";
            gridViewTextBoxColumn7.MinWidth = 120;
            gridViewTextBoxColumn7.Name = "Truck";
            gridViewTextBoxColumn7.Width = 151;
            gridViewCommandColumn1.DefaultText = "Armar";
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.MaxWidth = 70;
            gridViewCommandColumn1.MinWidth = 70;
            gridViewCommandColumn1.Name = "BuildOrder";
            gridViewCommandColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewCommandColumn1.UseDefaultText = true;
            gridViewCommandColumn1.Width = 70;
            gridViewCommandColumn2.DefaultText = "Finalizar";
            gridViewCommandColumn2.HeaderText = "";
            gridViewCommandColumn2.MaxWidth = 70;
            gridViewCommandColumn2.MinWidth = 70;
            gridViewCommandColumn2.Name = "FinishOrder";
            gridViewCommandColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewCommandColumn2.UseDefaultText = true;
            gridViewCommandColumn2.Width = 70;
            gridViewCommandColumn3.DefaultText = "Enviar";
            gridViewCommandColumn3.HeaderText = "";
            gridViewCommandColumn3.MaxWidth = 70;
            gridViewCommandColumn3.MinWidth = 70;
            gridViewCommandColumn3.Name = "SendOrder";
            gridViewCommandColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewCommandColumn3.UseDefaultText = true;
            gridViewCommandColumn3.Width = 70;
            this.gvOrders.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewDateTimeColumn1,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewCommandColumn1,
            gridViewCommandColumn2,
            gridViewCommandColumn3});
            this.gvOrders.MasterTemplate.EnablePaging = true;
            this.gvOrders.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvOrders.Name = "gvOrders";
            this.gvOrders.ReadOnly = true;
            this.gvOrders.ShowGroupPanelScrollbars = false;
            this.gvOrders.Size = new System.Drawing.Size(1032, 485);
            this.gvOrders.TabIndex = 10;
            this.gvOrders.ThemeName = "TelerikMetroBlue";
            this.gvOrders.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.gvOrders_CellFormatting);
            this.gvOrders.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvOrders_CommandCellClick);
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 2;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
            this.tableLayoutPanel2.Controls.Add(this.lbTitle, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.btnBackToDepositManager, 0, 0);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 1;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(1032, 54);
            this.tableLayoutPanel2.TabIndex = 9;
            // 
            // lbTitle
            // 
            this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
            this.lbTitle.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbTitle.Location = new System.Drawing.Point(106, 3);
            this.lbTitle.Name = "lbTitle";
            this.lbTitle.Size = new System.Drawing.Size(398, 41);
            this.lbTitle.TabIndex = 13;
            this.lbTitle.Text = "Historial de pedidos enviados";
            // 
            // btnBackToDepositManager
            // 
            this.btnBackToDepositManager.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnBackToDepositManager.Location = new System.Drawing.Point(8, 12);
            this.btnBackToDepositManager.Margin = new System.Windows.Forms.Padding(8, 12, 8, 8);
            this.btnBackToDepositManager.Name = "btnBackToDepositManager";
            this.btnBackToDepositManager.Size = new System.Drawing.Size(86, 24);
            this.btnBackToDepositManager.TabIndex = 10;
            this.btnBackToDepositManager.Text = "Volver";
            this.btnBackToDepositManager.Click += new System.EventHandler(this.btnBackToDepositManager_Click);
            // 
            // FrmHistoryManager
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1038, 551);
            this.Controls.Add(this.tableLayoutPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.Name = "FrmHistoryManager";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "FrmPendingOrders";
            this.Load += new System.EventHandler(this.FrmPendingOrders_Load);
            this.tableLayoutPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvOrders.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvOrders)).EndInit();
            this.tableLayoutPanel2.ResumeLayout(false);
            this.tableLayoutPanel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbTitle)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnBackToDepositManager)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition2   = new Telerik.WinControls.UI.TableViewDefinition();
     this.btnType        = new System.Windows.Forms.Button();
     this.txtSearch      = new System.Windows.Forms.TextBox();
     this.rdbBookName    = new System.Windows.Forms.RadioButton();
     this.rdbBookWriter  = new System.Windows.Forms.RadioButton();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.windows8Theme1 = new Telerik.WinControls.Themes.Windows8Theme();
     this.radGroupBox1   = new Telerik.WinControls.UI.RadGroupBox();
     this.btnAdd         = new System.Windows.Forms.Button();
     this.btnDelete      = new System.Windows.Forms.Button();
     this.btnEdit        = new System.Windows.Forms.Button();
     this.btnRefresh     = new System.Windows.Forms.Button();
     this.dgvBooks       = new Telerik.WinControls.UI.RadGridView();
     this.highlighter1   = new DevComponents.DotNetBar.Validator.Highlighter();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvBooks)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvBooks.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btnType
     //
     this.btnType.BackColor = System.Drawing.Color.Transparent;
     this.btnType.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnType.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnType.ForeColor = System.Drawing.Color.Black;
     this.btnType.Location  = new System.Drawing.Point(15, 283);
     this.btnType.Name      = "btnType";
     this.btnType.Size      = new System.Drawing.Size(104, 34);
     this.btnType.TabIndex  = 6;
     this.btnType.Text      = "اضافه کردن موضوع";
     this.btnType.UseVisualStyleBackColor = false;
     this.btnType.Click += new System.EventHandler(this.btnType_Click);
     //
     // txtSearch
     //
     this.txtSearch.BackColor = System.Drawing.Color.White;
     this.txtSearch.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.txtSearch.ForeColor = System.Drawing.Color.Black;
     this.highlighter1.SetHighlightOnFocus(this.txtSearch, true);
     this.txtSearch.Location     = new System.Drawing.Point(15, 170);
     this.txtSearch.MaxLength    = 50;
     this.txtSearch.Name         = "txtSearch";
     this.txtSearch.Size         = new System.Drawing.Size(104, 21);
     this.txtSearch.TabIndex     = 3;
     this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
     //
     // rdbBookName
     //
     this.rdbBookName.AutoSize  = true;
     this.rdbBookName.BackColor = System.Drawing.Color.Transparent;
     this.rdbBookName.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.rdbBookName.ForeColor = System.Drawing.Color.Black;
     this.highlighter1.SetHighlightOnFocus(this.rdbBookName, true);
     this.rdbBookName.Location = new System.Drawing.Point(57, 219);
     this.rdbBookName.Name     = "rdbBookName";
     this.rdbBookName.Size     = new System.Drawing.Size(62, 17);
     this.rdbBookName.TabIndex = 5;
     this.rdbBookName.TabStop  = true;
     this.rdbBookName.Text     = "نام کتاب";
     this.rdbBookName.UseVisualStyleBackColor = false;
     this.rdbBookName.CheckedChanged         += new System.EventHandler(this.rdbBookName_CheckedChanged);
     //
     // rdbBookWriter
     //
     this.rdbBookWriter.AutoSize  = true;
     this.rdbBookWriter.BackColor = System.Drawing.Color.Transparent;
     this.rdbBookWriter.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.rdbBookWriter.ForeColor = System.Drawing.Color.Black;
     this.highlighter1.SetHighlightOnFocus(this.rdbBookWriter, true);
     this.rdbBookWriter.Location = new System.Drawing.Point(40, 196);
     this.rdbBookWriter.Name     = "rdbBookWriter";
     this.rdbBookWriter.Size     = new System.Drawing.Size(79, 17);
     this.rdbBookWriter.TabIndex = 4;
     this.rdbBookWriter.TabStop  = true;
     this.rdbBookWriter.Text     = "نام نویسنده";
     this.rdbBookWriter.UseVisualStyleBackColor = false;
     this.rdbBookWriter.CheckedChanged         += new System.EventHandler(this.rdbBookWriter_CheckedChanged);
     //
     // btnCancel
     //
     this.btnCancel.BackColor  = System.Drawing.Color.Transparent;
     this.btnCancel.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnCancel.ForeColor  = System.Drawing.Color.Black;
     this.btnCancel.Image      = global::LibManagement.Properties.Resources.Back1;
     this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location   = new System.Drawing.Point(26, 365);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(93, 34);
     this.btnCancel.TabIndex   = 8;
     this.btnCancel.TabStop    = false;
     this.btnCancel.Text       = "بازگشت";
     this.btnCancel.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.UseVisualStyleBackColor = false;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.btnAdd);
     this.radGroupBox1.Controls.Add(this.rdbBookWriter);
     this.radGroupBox1.Controls.Add(this.btnDelete);
     this.radGroupBox1.Controls.Add(this.rdbBookName);
     this.radGroupBox1.Controls.Add(this.btnEdit);
     this.radGroupBox1.Controls.Add(this.txtSearch);
     this.radGroupBox1.Controls.Add(this.btnType);
     this.radGroupBox1.Controls.Add(this.btnRefresh);
     this.radGroupBox1.Controls.Add(this.btnCancel);
     this.radGroupBox1.HeaderText = "";
     this.radGroupBox1.Location   = new System.Drawing.Point(367, 12);
     this.radGroupBox1.Name       = "radGroupBox1";
     this.radGroupBox1.Size       = new System.Drawing.Size(140, 412);
     this.radGroupBox1.TabIndex   = 9;
     //
     // btnAdd
     //
     this.btnAdd.BackColor  = System.Drawing.Color.Transparent;
     this.btnAdd.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnAdd.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnAdd.ForeColor  = System.Drawing.Color.Black;
     this.btnAdd.Image      = global::LibManagement.Properties.Resources.notebook__1_;
     this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnAdd.Location   = new System.Drawing.Point(15, 12);
     this.btnAdd.Name       = "btnAdd";
     this.btnAdd.Size       = new System.Drawing.Size(93, 41);
     this.btnAdd.TabIndex   = 0;
     this.btnAdd.Text       = "اضافه ";
     this.btnAdd.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnAdd.UseVisualStyleBackColor = false;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.BackColor  = System.Drawing.Color.Transparent;
     this.btnDelete.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnDelete.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnDelete.ForeColor  = System.Drawing.Color.Black;
     this.btnDelete.Image      = global::LibManagement.Properties.Resources.notebook__2_;
     this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnDelete.Location   = new System.Drawing.Point(15, 59);
     this.btnDelete.Name       = "btnDelete";
     this.btnDelete.Size       = new System.Drawing.Size(93, 39);
     this.btnDelete.TabIndex   = 1;
     this.btnDelete.Text       = "حذف";
     this.btnDelete.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnDelete.UseVisualStyleBackColor = false;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnEdit
     //
     this.btnEdit.BackColor  = System.Drawing.Color.Transparent;
     this.btnEdit.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnEdit.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnEdit.ForeColor  = System.Drawing.Color.Black;
     this.btnEdit.Image      = global::LibManagement.Properties.Resources.notebook;
     this.btnEdit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnEdit.Location   = new System.Drawing.Point(15, 114);
     this.btnEdit.Name       = "btnEdit";
     this.btnEdit.Size       = new System.Drawing.Size(93, 40);
     this.btnEdit.TabIndex   = 2;
     this.btnEdit.Text       = "ویرایش";
     this.btnEdit.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnEdit.UseVisualStyleBackColor = false;
     this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
     //
     // btnRefresh
     //
     this.btnRefresh.BackColor = System.Drawing.Color.Transparent;
     this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnRefresh.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnRefresh.ForeColor = System.Drawing.Color.Black;
     this.btnRefresh.Image     = global::LibManagement.Properties.Resources.rotate;
     this.btnRefresh.Location  = new System.Drawing.Point(26, 323);
     this.btnRefresh.Name      = "btnRefresh";
     this.btnRefresh.Size      = new System.Drawing.Size(93, 36);
     this.btnRefresh.TabIndex  = 7;
     this.btnRefresh.UseVisualStyleBackColor = false;
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     //
     // dgvBooks
     //
     this.dgvBooks.Dock     = System.Windows.Forms.DockStyle.Left;
     this.dgvBooks.Font     = new System.Drawing.Font("Tahoma", 8.25F);
     this.dgvBooks.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.dgvBooks.MasterTemplate.AllowAddNewRow     = false;
     this.dgvBooks.MasterTemplate.AllowColumnReorder = false;
     gridViewTextBoxColumn5.FieldName  = "Id";
     gridViewTextBoxColumn5.HeaderText = "شماره";
     gridViewTextBoxColumn5.Name       = "column1";
     gridViewTextBoxColumn5.Width      = 85;
     gridViewTextBoxColumn6.FieldName  = "Bookname";
     gridViewTextBoxColumn6.HeaderText = "نام کتاب";
     gridViewTextBoxColumn6.Name       = "column2";
     gridViewTextBoxColumn6.Width      = 85;
     gridViewTextBoxColumn7.FieldName  = "Writer";
     gridViewTextBoxColumn7.HeaderText = "نویسنده";
     gridViewTextBoxColumn7.Name       = "column3";
     gridViewTextBoxColumn7.Width      = 85;
     gridViewTextBoxColumn8.FieldName  = "Type";
     gridViewTextBoxColumn8.HeaderText = "ژانر";
     gridViewTextBoxColumn8.Name       = "column4";
     gridViewTextBoxColumn8.Width      = 85;
     this.dgvBooks.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8
     });
     this.dgvBooks.MasterTemplate.EnableGrouping = false;
     this.dgvBooks.MasterTemplate.ViewDefinition = tableViewDefinition2;
     this.dgvBooks.Name     = "dgvBooks";
     this.dgvBooks.ReadOnly = true;
     this.dgvBooks.Size     = new System.Drawing.Size(361, 430);
     this.dgvBooks.TabIndex = 10;
     this.dgvBooks.Text     = "radGridView1";
     //
     // highlighter1
     //
     this.highlighter1.ContainerControl = this;
     //
     // frmBooks
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(518, 430);
     this.Controls.Add(this.dgvBooks);
     this.Controls.Add(this.radGroupBox1);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmBooks";
     this.RightToLeft     = System.Windows.Forms.RightToLeft.Yes;
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "کتاب ها";
     this.ThemeName     = "Windows8";
     this.Load         += new System.EventHandler(this.frmBooks_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvBooks.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvBooks)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HCSRS_operational_costs));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.splitContainer1  = new System.Windows.Forms.SplitContainer();
     this.radGroupBox1     = new Telerik.WinControls.UI.RadGroupBox();
     this.tb_sum           = new Telerik.WinControls.UI.RadTextBox();
     this.tb_aa            = new Telerik.WinControls.UI.RadTextBox();
     this.lb_sum           = new Telerik.WinControls.UI.RadLabel();
     this.lb_aa            = new Telerik.WinControls.UI.RadLabel();
     this.tb_money         = new Telerik.WinControls.UI.RadTextBox();
     this.lb_money         = new Telerik.WinControls.UI.RadLabel();
     this.but_printlist    = new Telerik.WinControls.UI.RadButton();
     this.but_new          = new Telerik.WinControls.UI.RadButton();
     this.but_import       = new Telerik.WinControls.UI.RadButton();
     this.but_update       = new Telerik.WinControls.UI.RadButton();
     this.but_selall       = new Telerik.WinControls.UI.RadButton();
     this.radLabel1        = new Telerik.WinControls.UI.RadLabel();
     this.but_sel          = new Telerik.WinControls.UI.RadButton();
     this.tb_cssd          = new Telerik.WinControls.UI.RadTextBox();
     this.cb_month         = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel2        = new Telerik.WinControls.UI.RadLabel();
     this.cb_year          = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel3        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel4        = new Telerik.WinControls.UI.RadLabel();
     this.dgv_01           = new Telerik.WinControls.UI.RadGridView();
     this.radThemeManager1 = new Telerik.WinControls.RadThemeManager();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sum)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_aa)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_sum)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_aa)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_money)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_money)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_printlist)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_new)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_import)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_update)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_selall)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_cssd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_month)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_year)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel  = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.Font        = new System.Drawing.Font("Segoe UI", 11F);
     this.splitContainer1.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Window;
     this.splitContainer1.Panel1.Controls.Add(this.radGroupBox1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.dgv_01);
     this.splitContainer1.Size             = new System.Drawing.Size(1115, 646);
     this.splitContainer1.SplitterDistance = 151;
     this.splitContainer1.TabIndex         = 1;
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.tb_sum);
     this.radGroupBox1.Controls.Add(this.tb_aa);
     this.radGroupBox1.Controls.Add(this.lb_sum);
     this.radGroupBox1.Controls.Add(this.lb_aa);
     this.radGroupBox1.Controls.Add(this.tb_money);
     this.radGroupBox1.Controls.Add(this.lb_money);
     this.radGroupBox1.Controls.Add(this.but_printlist);
     this.radGroupBox1.Controls.Add(this.but_new);
     this.radGroupBox1.Controls.Add(this.but_import);
     this.radGroupBox1.Controls.Add(this.but_update);
     this.radGroupBox1.Controls.Add(this.but_selall);
     this.radGroupBox1.Controls.Add(this.radLabel1);
     this.radGroupBox1.Controls.Add(this.but_sel);
     this.radGroupBox1.Controls.Add(this.tb_cssd);
     this.radGroupBox1.Controls.Add(this.cb_month);
     this.radGroupBox1.Controls.Add(this.radLabel2);
     this.radGroupBox1.Controls.Add(this.cb_year);
     this.radGroupBox1.Controls.Add(this.radLabel3);
     this.radGroupBox1.Controls.Add(this.radLabel4);
     this.radGroupBox1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.radGroupBox1.Font          = new System.Drawing.Font("Segoe UI", 11F);
     this.radGroupBox1.GroupBoxStyle = Telerik.WinControls.UI.RadGroupBoxStyle.Office;
     this.radGroupBox1.HeaderText    = "运营成本录入>>主窗口";
     this.radGroupBox1.Location      = new System.Drawing.Point(0, 0);
     this.radGroupBox1.Name          = "radGroupBox1";
     this.radGroupBox1.Size          = new System.Drawing.Size(1115, 151);
     this.radGroupBox1.TabIndex      = 89;
     this.radGroupBox1.Text          = "运营成本录入>>主窗口";
     this.radGroupBox1.ThemeName     = "Office2007Silver";
     //
     // tb_sum
     //
     this.tb_sum.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tb_sum.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_sum.Location  = new System.Drawing.Point(807, 112);
     this.tb_sum.Name      = "tb_sum";
     this.tb_sum.ReadOnly  = true;
     this.tb_sum.Size      = new System.Drawing.Size(151, 25);
     this.tb_sum.TabIndex  = 90;
     this.tb_sum.ThemeName = "Office2007Silver";
     //
     // tb_aa
     //
     this.tb_aa.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tb_aa.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_aa.Location  = new System.Drawing.Point(527, 115);
     this.tb_aa.Name      = "tb_aa";
     this.tb_aa.ReadOnly  = true;
     this.tb_aa.Size      = new System.Drawing.Size(155, 25);
     this.tb_aa.TabIndex  = 90;
     this.tb_aa.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tb_aa.ThemeName = "Office2007Silver";
     //
     // lb_sum
     //
     this.lb_sum.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.lb_sum.Location = new System.Drawing.Point(698, 112);
     this.lb_sum.Name     = "lb_sum";
     this.lb_sum.Size     = new System.Drawing.Size(118, 23);
     this.lb_sum.TabIndex = 2;
     this.lb_sum.Text     = "处理器械数量:";
     //
     // lb_aa
     //
     this.lb_aa.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.lb_aa.Location = new System.Drawing.Point(446, 116);
     this.lb_aa.Name     = "lb_aa";
     this.lb_aa.Size     = new System.Drawing.Size(86, 23);
     this.lb_aa.TabIndex = 2;
     this.lb_aa.Text     = "平均成本:";
     //
     // tb_money
     //
     this.tb_money.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tb_money.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_money.Location  = new System.Drawing.Point(527, 80);
     this.tb_money.Name      = "tb_money";
     this.tb_money.ReadOnly  = true;
     this.tb_money.Size      = new System.Drawing.Size(155, 25);
     this.tb_money.TabIndex  = 89;
     this.tb_money.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tb_money.ThemeName = "Office2007Silver";
     //
     // lb_money
     //
     this.lb_money.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.lb_money.Location = new System.Drawing.Point(461, 84);
     this.lb_money.Name     = "lb_money";
     this.lb_money.Size     = new System.Drawing.Size(71, 23);
     this.lb_money.TabIndex = 1;
     this.lb_money.Text     = "总成本:";
     //
     // but_printlist
     //
     this.but_printlist.Location          = new System.Drawing.Point(326, 35);
     this.but_printlist.Name              = "but_printlist";
     this.but_printlist.Size              = new System.Drawing.Size(99, 41);
     this.but_printlist.TabIndex          = 88;
     this.but_printlist.Text              = "打印列表";
     this.but_printlist.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_printlist.ThemeName         = "Office2007Silver";
     this.but_printlist.Click            += new System.EventHandler(this.radButton2_Click);
     //
     // but_new
     //
     this.but_new.Font              = new System.Drawing.Font("Segoe UI", 11F);
     this.but_new.Image             = ((System.Drawing.Image)(resources.GetObject("but_new.Image")));
     this.but_new.Location          = new System.Drawing.Point(11, 34);
     this.but_new.Name              = "but_new";
     this.but_new.Padding           = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.but_new.Size              = new System.Drawing.Size(99, 42);
     this.but_new.TabIndex          = 0;
     this.but_new.Text              = "新  建";
     this.but_new.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_new.ThemeName         = "Office2007Silver";
     this.but_new.Click            += new System.EventHandler(this.but_new_Click_1);
     //
     // but_import
     //
     this.but_import.Location          = new System.Drawing.Point(221, 34);
     this.but_import.Name              = "but_import";
     this.but_import.Size              = new System.Drawing.Size(99, 41);
     this.but_import.TabIndex          = 87;
     this.but_import.Text              = "导出列表";
     this.but_import.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_import.ThemeName         = "Office2007Silver";
     this.but_import.Click            += new System.EventHandler(this.radButton1_Click);
     //
     // but_update
     //
     this.but_update.Font              = new System.Drawing.Font("Segoe UI", 11F);
     this.but_update.Image             = ((System.Drawing.Image)(resources.GetObject("but_update.Image")));
     this.but_update.Location          = new System.Drawing.Point(116, 34);
     this.but_update.Name              = "but_update";
     this.but_update.Padding           = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.but_update.Size              = new System.Drawing.Size(99, 42);
     this.but_update.TabIndex          = 1;
     this.but_update.Text              = "修  改";
     this.but_update.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_update.ThemeName         = "Office2007Silver";
     this.but_update.Click            += new System.EventHandler(this.but_update_Click);
     //
     // but_selall
     //
     this.but_selall.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.but_selall.Location  = new System.Drawing.Point(345, 113);
     this.but_selall.Name      = "but_selall";
     this.but_selall.Size      = new System.Drawing.Size(80, 25);
     this.but_selall.TabIndex  = 1;
     this.but_selall.Text      = "显示全部";
     this.but_selall.ThemeName = "Office2007Silver";
     this.but_selall.Click    += new System.EventHandler(this.but_selall_Click);
     //
     // radLabel1
     //
     this.radLabel1.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel1.Location = new System.Drawing.Point(13, 83);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(59, 23);
     this.radLabel1.TabIndex = 83;
     this.radLabel1.Text     = "CSSD:";
     //
     // but_sel
     //
     this.but_sel.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.but_sel.Location  = new System.Drawing.Point(283, 113);
     this.but_sel.Name      = "but_sel";
     this.but_sel.Size      = new System.Drawing.Size(48, 25);
     this.but_sel.TabIndex  = 0;
     this.but_sel.Text      = "查询";
     this.but_sel.ThemeName = "Office2007Silver";
     this.but_sel.Click    += new System.EventHandler(this.but_sel_Click);
     //
     // tb_cssd
     //
     this.tb_cssd.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tb_cssd.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_cssd.Location  = new System.Drawing.Point(78, 82);
     this.tb_cssd.Name      = "tb_cssd";
     this.tb_cssd.ReadOnly  = true;
     this.tb_cssd.Size      = new System.Drawing.Size(347, 25);
     this.tb_cssd.TabIndex  = 84;
     this.tb_cssd.ThemeName = "Office2007Silver";
     //
     // cb_month
     //
     this.cb_month.DropDownStyle         = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.cb_month.Font                  = new System.Drawing.Font("Segoe UI", 11F);
     this.cb_month.Location              = new System.Drawing.Point(177, 113);
     this.cb_month.Name                  = "cb_month";
     this.cb_month.Size                  = new System.Drawing.Size(63, 25);
     this.cb_month.TabIndex              = 86;
     this.cb_month.ThemeName             = "Office2007Silver";
     this.cb_month.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cb_month_SelectedIndexChanged);
     //
     // radLabel2
     //
     this.radLabel2.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel2.Location = new System.Drawing.Point(17, 113);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(55, 23);
     this.radLabel2.TabIndex = 84;
     this.radLabel2.Text     = "日期:";
     //
     // cb_year
     //
     this.cb_year.DropDownStyle         = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.cb_year.Font                  = new System.Drawing.Font("Segoe UI", 11F);
     this.cb_year.Location              = new System.Drawing.Point(78, 113);
     this.cb_year.Name                  = "cb_year";
     this.cb_year.Size                  = new System.Drawing.Size(63, 25);
     this.cb_year.TabIndex              = 83;
     this.cb_year.ThemeName             = "Office2007Silver";
     this.cb_year.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cb_year_SelectedIndexChanged);
     //
     // radLabel3
     //
     this.radLabel3.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel3.Location = new System.Drawing.Point(148, 113);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(23, 23);
     this.radLabel3.TabIndex = 84;
     this.radLabel3.Text     = "年";
     //
     // radLabel4
     //
     this.radLabel4.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel4.Location = new System.Drawing.Point(247, 113);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(23, 23);
     this.radLabel4.TabIndex = 85;
     this.radLabel4.Text     = "月";
     //
     // dgv_01
     //
     this.dgv_01.AllowDrop = true;
     this.dgv_01.BackColor = System.Drawing.SystemColors.Control;
     this.dgv_01.Cursor    = System.Windows.Forms.Cursors.Default;
     this.dgv_01.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgv_01.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.dgv_01.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
     this.dgv_01.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.dgv_01.Location  = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.dgv_01.MasterTemplate.AllowAddNewRow               = false;
     this.dgv_01.MasterTemplate.AllowCellContextMenu         = false;
     this.dgv_01.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.dgv_01.MasterTemplate.AllowDragToGroup             = false;
     this.dgv_01.MasterTemplate.AllowRowReorder              = true;
     gridViewTextBoxColumn1.EnableExpressionEditor           = false;
     gridViewTextBoxColumn1.HeaderText             = "编号";
     gridViewTextBoxColumn1.Name                   = "idCol";
     gridViewTextBoxColumn1.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn1.Width                  = 150;
     gridViewTextBoxColumn1.WrapText               = true;
     gridViewTextBoxColumn2.EnableExpressionEditor = false;
     gridViewTextBoxColumn2.HeaderText             = "日期";
     gridViewTextBoxColumn2.Name                   = "timeCol";
     gridViewTextBoxColumn2.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn2.Width                  = 180;
     gridViewTextBoxColumn2.WrapText               = true;
     gridViewTextBoxColumn3.EnableExpressionEditor = false;
     gridViewTextBoxColumn3.HeaderText             = "成本类型";
     gridViewTextBoxColumn3.Name                   = "typeCol";
     gridViewTextBoxColumn3.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn3.Width                  = 150;
     gridViewTextBoxColumn3.WrapText               = true;
     gridViewTextBoxColumn4.EnableExpressionEditor = false;
     gridViewTextBoxColumn4.HeaderText             = "费用";
     gridViewTextBoxColumn4.Name                   = "moneyCol";
     gridViewTextBoxColumn4.TextAlignment          = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn4.Width                  = 200;
     gridViewTextBoxColumn4.WrapText               = true;
     gridViewTextBoxColumn5.EnableExpressionEditor = false;
     gridViewTextBoxColumn5.HeaderText             = "创建时间";
     gridViewTextBoxColumn5.Name                   = "cre_dateCol";
     gridViewTextBoxColumn5.TextAlignment          = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn5.Width                  = 200;
     gridViewTextBoxColumn5.WrapText               = true;
     gridViewTextBoxColumn6.EnableExpressionEditor = false;
     gridViewTextBoxColumn6.HeaderText             = "修改时间";
     gridViewTextBoxColumn6.Name                   = "up_dateCol";
     gridViewTextBoxColumn6.TextAlignment          = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn6.Width                  = 200;
     gridViewTextBoxColumn6.WrapText               = true;
     gridViewTextBoxColumn7.EnableExpressionEditor = false;
     gridViewTextBoxColumn7.HeaderText             = "录入人";
     gridViewTextBoxColumn7.Name                   = "cre_userCol";
     gridViewTextBoxColumn7.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn7.Width                  = 180;
     gridViewTextBoxColumn7.WrapText               = true;
     gridViewTextBoxColumn8.EnableExpressionEditor = false;
     gridViewTextBoxColumn8.HeaderText             = "修改人";
     gridViewTextBoxColumn8.Name                   = "up_userCol";
     gridViewTextBoxColumn8.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn8.Width                  = 180;
     gridViewTextBoxColumn8.WrapText               = true;
     gridViewTextBoxColumn9.EnableExpressionEditor = false;
     gridViewTextBoxColumn9.HeaderText             = "备注";
     gridViewTextBoxColumn9.Name                   = "remarkCol";
     gridViewTextBoxColumn9.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn9.Width                  = 200;
     gridViewTextBoxColumn9.WrapText               = true;
     this.dgv_01.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9
     });
     this.dgv_01.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgv_01.Name                = "dgv_01";
     this.dgv_01.Padding             = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.dgv_01.ReadOnly            = true;
     this.dgv_01.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.dgv_01.ShowGroupPanel      = false;
     this.dgv_01.Size                = new System.Drawing.Size(1115, 491);
     this.dgv_01.TabIndex            = 1;
     this.dgv_01.Text                = "radGridView1";
     this.dgv_01.ThemeName           = "Office2007Silver";
     this.dgv_01.ViewCellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.MasterTemplate_ViewCellFormatting);
     this.dgv_01.MouseDoubleClick   += new System.Windows.Forms.MouseEventHandler(this.dgv_01_MouseDoubleClick);
     //
     // HCSRS_operational_costs
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Name = "HCSRS_operational_costs";
     this.Size = new System.Drawing.Size(1115, 646);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sum)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_aa)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_sum)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_aa)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_money)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_money)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_printlist)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_new)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_import)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_update)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_selall)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_cssd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_month)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_year)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #11
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Absence));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewMaskBoxColumn   gridViewMaskBoxColumn1  = new Telerik.WinControls.UI.GridViewMaskBoxColumn();
     Telerik.WinControls.UI.GridViewMaskBoxColumn   gridViewMaskBoxColumn2  = new Telerik.WinControls.UI.GridViewMaskBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewComboBoxColumn  gridViewComboBoxColumn1 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radRibbonBar1            = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1               = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup1       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnNew                   = new Telerik.WinControls.UI.RadButtonElement();
     this.btnSave                  = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup2       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnView                  = new Telerik.WinControls.UI.RadButtonElement();
     this.btnEdit                  = new Telerik.WinControls.UI.RadButtonElement();
     this.btnDelete                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup4       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnImport                = new Telerik.WinControls.UI.RadButtonElement();
     this.btnExport                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup3       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh               = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1               = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1             = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1 = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radRibbonBarGroup6       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radButtonElement1        = new Telerik.WinControls.UI.RadButtonElement();
     this.radMenuItem1             = new Telerik.WinControls.UI.RadMenuItem();
     this.radMenuSeparatorItem1    = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.radMenuItem2             = new Telerik.WinControls.UI.RadMenuItem();
     this.radStatusStrip1          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1         = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1                   = new System.Windows.Forms.Panel();
     this.radGridView1             = new Telerik.WinControls.UI.RadGridView();
     this.office2010BlueTheme1     = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter                = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter                 = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup5 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.radContextMenu1          = new Telerik.WinControls.UI.RadContextMenu(this.components);
     this.RMenu4                   = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu5                   = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu6                   = new Telerik.WinControls.UI.RadMenuItem();
     this.radContextMenuManager1   = new Telerik.WinControls.UI.RadContextMenuManager();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(692, 160);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1,
         this.radMenuSeparatorItem1,
         this.radMenuItem2
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.Text      = "Absence (รายละเอียดวันหยุดงาน)";
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup1,
         this.radRibbonBarGroup2,
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5,
         this.radRibbonBarGroup6
     });
     this.ribbonTab1.Name        = "ribbonTab1";
     this.ribbonTab1.Text        = "Action";
     this.ribbonTab1.UseMnemonic = false;
     //
     // radRibbonBarGroup1
     //
     this.radRibbonBarGroup1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnNew,
         this.btnSave
     });
     this.radRibbonBarGroup1.Name = "radRibbonBarGroup1";
     this.radRibbonBarGroup1.Text = "New List";
     //
     // btnNew
     //
     this.btnNew.Image             = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
     this.btnNew.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnNew.Name              = "btnNew";
     this.btnNew.Text              = "เพิ่มใหม่";
     this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNew.Click            += new System.EventHandler(this.btnNew_Click);
     //
     // btnSave
     //
     this.btnSave.Image             = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnSave.Name              = "btnSave";
     this.btnSave.Text              = "บันทึกรายการ";
     this.btnSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSave.Click            += new System.EventHandler(this.btnSave_Click);
     //
     // radRibbonBarGroup2
     //
     this.radRibbonBarGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnView,
         this.btnEdit,
         this.btnDelete
     });
     this.radRibbonBarGroup2.Name = "radRibbonBarGroup2";
     this.radRibbonBarGroup2.Text = "Manage";
     //
     // btnView
     //
     this.btnView.Enabled           = false;
     this.btnView.Image             = ((System.Drawing.Image)(resources.GetObject("btnView.Image")));
     this.btnView.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnView.Name              = "btnView";
     this.btnView.Text              = "แสดงรายการ";
     this.btnView.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnView.Click            += new System.EventHandler(this.btnView_Click);
     //
     // btnEdit
     //
     this.btnEdit.Image             = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
     this.btnEdit.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnEdit.Name              = "btnEdit";
     this.btnEdit.Text              = "แก้ไขรายการ";
     this.btnEdit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEdit.Click            += new System.EventHandler(this.btnEdit_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image             = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnDelete.Name              = "btnDelete";
     this.btnDelete.Text              = "ลบรายการ";
     this.btnDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnDelete.Click            += new System.EventHandler(this.btnDelete_Click);
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnImport,
         this.btnExport
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Import / Export";
     //
     // btnImport
     //
     this.btnImport.Image             = ((System.Drawing.Image)(resources.GetObject("btnImport.Image")));
     this.btnImport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnImport.Name              = "btnImport";
     this.btnImport.SmallImage        = null;
     this.btnImport.Text              = "นำข้อมูลเข้า";
     this.btnImport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnImport.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnImport.Click            += new System.EventHandler(this.btnImport_Click);
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefresh.Click            += new System.EventHandler(this.btnCancel_Click);
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radRibbonBarGroup6
     //
     this.radRibbonBarGroup6.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radButtonElement1
     });
     this.radRibbonBarGroup6.Name       = "radRibbonBarGroup6";
     this.radRibbonBarGroup6.Text       = "Contact";
     this.radRibbonBarGroup6.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // radButtonElement1
     //
     this.radButtonElement1.Image             = ((System.Drawing.Image)(resources.GetObject("radButtonElement1.Image")));
     this.radButtonElement1.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.radButtonElement1.Name              = "radButtonElement1";
     this.radButtonElement1.Text              = "ผู้ติดต่อ";
     this.radButtonElement1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.radButtonElement1.Click            += new System.EventHandler(this.radButtonElement1_Click);
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radMenuSeparatorItem1
     //
     this.radMenuSeparatorItem1.Name          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.Text          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // radMenuItem2
     //
     this.radMenuItem2.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem2.Image")));
     this.radMenuItem2.Name   = "radMenuItem2";
     this.radMenuItem2.Text   = "History View";
     this.radMenuItem2.Click += new System.EventHandler(this.radMenuItem2_Click);
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 537);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(692, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "Status : รายละเอียดวันหยุดงาน";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.radGridView1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 160);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(692, 377);
     this.panel1.TabIndex = 2;
     //
     // radGridView1
     //
     this.radGridView1.BackColor = System.Drawing.Color.White;
     this.radGridView1.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
     this.radGridView1.Cursor       = System.Windows.Forms.Cursors.Default;
     this.radGridView1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.radGridView1.EnterKeyMode = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextCell;
     this.radGridView1.Font         = new System.Drawing.Font("Tahoma", 8.25F);
     this.radGridView1.ForeColor    = System.Drawing.Color.Black;
     this.radGridView1.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.radGridView1.Location     = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.radGridView1.MasterTemplate.AddNewRowPosition            = Telerik.WinControls.UI.SystemRowPosition.Bottom;
     this.radGridView1.MasterTemplate.AllowAddNewRow               = false;
     this.radGridView1.MasterTemplate.AllowCellContextMenu         = false;
     this.radGridView1.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.radGridView1.MasterTemplate.AllowDeleteRow               = false;
     this.radGridView1.MasterTemplate.AllowDragToGroup             = false;
     this.radGridView1.MasterTemplate.AllowRowResize               = false;
     this.radGridView1.MasterTemplate.AutoGenerateColumns          = false;
     gridViewTextBoxColumn1.EnableExpressionEditor = false;
     gridViewTextBoxColumn1.HeaderText             = "column1";
     gridViewTextBoxColumn1.IsVisible = false;
     gridViewTextBoxColumn1.Name      = "dgvC";
     gridViewTextBoxColumn1.ReadOnly  = true;
     gridViewTextBoxColumn1.Width     = 41;
     gridViewTextBoxColumn2.EnableExpressionEditor = false;
     gridViewTextBoxColumn2.FieldName               = "None";
     gridViewTextBoxColumn2.IsPinned                = true;
     gridViewTextBoxColumn2.Name                    = "None";
     gridViewTextBoxColumn2.PinPosition             = Telerik.WinControls.UI.PinnedColumnPosition.Right;
     gridViewTextBoxColumn2.ReadOnly                = true;
     gridViewTextBoxColumn2.Width                   = 10;
     gridViewTextBoxColumn3.EnableExpressionEditor  = false;
     gridViewTextBoxColumn3.FieldName               = "id";
     gridViewTextBoxColumn3.HeaderText              = "Code";
     gridViewTextBoxColumn3.IsVisible               = false;
     gridViewTextBoxColumn3.Name                    = "dgvCodetemp";
     gridViewTextBoxColumn3.Width                   = 44;
     gridViewTextBoxColumn4.EnableExpressionEditor  = false;
     gridViewTextBoxColumn4.HeaderText              = "dgvCodetemp2";
     gridViewTextBoxColumn4.IsVisible               = false;
     gridViewTextBoxColumn4.Name                    = "dgvCodetemp2";
     gridViewDateTimeColumn1.CustomFormat           = "dd/MM/yyyy";
     gridViewDateTimeColumn1.EnableExpressionEditor = false;
     gridViewDateTimeColumn1.FieldName              = "Date";
     gridViewDateTimeColumn1.Format                 = System.Windows.Forms.DateTimePickerFormat.Custom;
     gridViewDateTimeColumn1.FormatString           = "{0:dd/MM/yyyy}";
     gridViewDateTimeColumn1.HeaderText             = "Date";
     gridViewDateTimeColumn1.Name                   = "Date";
     gridViewDateTimeColumn1.Width                  = 117;
     gridViewMaskBoxColumn1.EnableExpressionEditor  = false;
     gridViewMaskBoxColumn1.ExcelExportType         = Telerik.WinControls.UI.Export.DisplayFormatType.None;
     gridViewMaskBoxColumn1.FieldName               = "StartingTime";
     gridViewMaskBoxColumn1.HeaderText              = "Starting Time";
     gridViewMaskBoxColumn1.Mask                    = "00:00";
     gridViewMaskBoxColumn1.MaskType                = Telerik.WinControls.UI.MaskType.Standard;
     gridViewMaskBoxColumn1.Name                    = "StartTime";
     gridViewMaskBoxColumn1.Width                   = 85;
     gridViewMaskBoxColumn2.EnableExpressionEditor  = false;
     gridViewMaskBoxColumn2.ExcelExportType         = Telerik.WinControls.UI.Export.DisplayFormatType.None;
     gridViewMaskBoxColumn2.FieldName               = "EndingTime";
     gridViewMaskBoxColumn2.HeaderText              = "Ending Time";
     gridViewMaskBoxColumn2.Mask                    = "00:00";
     gridViewMaskBoxColumn2.MaskType                = Telerik.WinControls.UI.MaskType.Standard;
     gridViewMaskBoxColumn2.Name                    = "EndTime";
     gridViewMaskBoxColumn2.Width                   = 83;
     gridViewDecimalColumn1.EnableExpressionEditor  = false;
     gridViewDecimalColumn1.FieldName               = "WorkHours";
     gridViewDecimalColumn1.HeaderText              = "จำนวน ชม.";
     gridViewDecimalColumn1.IsVisible               = false;
     gridViewDecimalColumn1.Name                    = "WorkHours";
     gridViewDecimalColumn1.Width                   = 65;
     gridViewComboBoxColumn1.EnableExpressionEditor = false;
     gridViewComboBoxColumn1.FieldName              = "SubWorkId";
     gridViewComboBoxColumn1.HeaderText             = "Sub-Work";
     gridViewComboBoxColumn1.Name                   = "SubWorkId";
     gridViewComboBoxColumn1.Width                  = 147;
     gridViewDecimalColumn2.EnableExpressionEditor  = false;
     gridViewDecimalColumn2.FieldName               = "Capacity";
     gridViewDecimalColumn2.HeaderText              = "Capacity";
     gridViewDecimalColumn2.Name                    = "Capacity";
     gridViewDecimalColumn2.Width                   = 84;
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewDateTimeColumn1,
         gridViewMaskBoxColumn1,
         gridViewMaskBoxColumn2,
         gridViewDecimalColumn1,
         gridViewComboBoxColumn1,
         gridViewDecimalColumn2
     });
     this.radGridView1.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.radGridView1.Name = "radGridView1";
     this.radContextMenuManager1.SetRadContextMenu(this.radGridView1, this.radContextMenu1);
     this.radGridView1.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.radGridView1.ShowGroupPanel    = false;
     this.radGridView1.Size              = new System.Drawing.Size(692, 377);
     this.radGridView1.TabIndex          = 0;
     this.radGridView1.ThemeName         = "Office2010Blue";
     this.radGridView1.RowFormatting    += new Telerik.WinControls.UI.RowFormattingEventHandler(this.MasterTemplate_RowFormatting);
     this.radGridView1.CellFormatting   += new Telerik.WinControls.UI.CellFormattingEventHandler(this.MasterTemplate_CellFormatting);
     this.radGridView1.CellEndEdit      += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellEndEdit);
     this.radGridView1.CellClick        += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
     this.radGridView1.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.MasterTemplate_CellValueChanged);
     this.radGridView1.PreviewKeyDown   += new System.Windows.Forms.PreviewKeyDownEventHandler(this.radGridView1_PreviewKeyDown);
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // radContextMenu1
     //
     this.radContextMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.RMenu4,
         this.RMenu5,
         this.RMenu6
     });
     this.radContextMenu1.ThemeName = "Office2010Blue";
     //
     // RMenu4
     //
     this.RMenu4.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu4.Image = ((System.Drawing.Image)(resources.GetObject("RMenu4.Image")));
     this.RMenu4.Name  = "RMenu4";
     this.RMenu4.Text  = "เพิ่ม";
     //
     // RMenu5
     //
     this.RMenu5.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu5.Image = ((System.Drawing.Image)(resources.GetObject("RMenu5.Image")));
     this.RMenu5.Name  = "RMenu5";
     this.RMenu5.Text  = "แก้ไข";
     //
     // RMenu6
     //
     this.RMenu6.Font  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.RMenu6.Image = ((System.Drawing.Image)(resources.GetObject("RMenu6.Image")));
     this.RMenu6.Name  = "RMenu6";
     this.RMenu6.Text  = "ลบรายการ";
     //
     // Absence
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(692, 563);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "Absence";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Absence (รายละเอียดวันหยุดงาน)";
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #12
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.selectBtn = new Telerik.WinControls.UI.RadButton();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.cb = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.selectBtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // selectBtn
            // 
            this.selectBtn.Location = new System.Drawing.Point(52, 414);
            this.selectBtn.Name = "selectBtn";
            this.selectBtn.Size = new System.Drawing.Size(110, 24);
            this.selectBtn.TabIndex = 10;
            this.selectBtn.Text = "انتخاب";
            this.selectBtn.Click += new System.EventHandler(this.selectBtn_Click);
            // 
            // radGridView1
            // 
            this.radGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(52, 23);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "#";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.Name = "ID";
            gridViewDecimalColumn1.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewDecimalColumn1.Width = 114;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "bank";
            gridViewTextBoxColumn1.HeaderText = "بانک";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "bank";
            gridViewTextBoxColumn1.Width = 159;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "number";
            gridViewTextBoxColumn2.HeaderText = "شماره";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "number";
            gridViewTextBoxColumn2.Width = 134;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "branch";
            gridViewTextBoxColumn3.HeaderText = "شعبه";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Name = "branch";
            gridViewTextBoxColumn3.Width = 114;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "AccNumber";
            gridViewTextBoxColumn4.HeaderText = "شماره حساب";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Name = "AccNumber";
            gridViewTextBoxColumn4.Width = 164;
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "Owner";
            gridViewTextBoxColumn5.HeaderText = "صاحب حساب";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.Name = "Owner";
            gridViewTextBoxColumn5.Width = 173;
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5});
            this.radGridView1.MasterTemplate.DataSource = this.cb;
            sortDescriptor1.PropertyName = "ID";
            this.radGridView1.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(874, 360);
            this.radGridView1.TabIndex = 11;
            this.radGridView1.Text = "radGridView1";
            // 
            // cb
            // 
            this.cb.DataSource = typeof(tiraxco.ChequesCategory);
            // 
            // ChequeCategorySelection
            // 
            this.AcceptButton = this.selectBtn;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(978, 461);
            this.Controls.Add(this.selectBtn);
            this.Controls.Add(this.radGridView1);
            this.Name = "ChequeCategorySelection";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "انتخاب دسته چک";
            ((System.ComponentModel.ISupportInitialize)(this.selectBtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DepositDashboard));
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.panel6 = new System.Windows.Forms.Panel();
            this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
            this.dgvPendingOrders = new Telerik.WinControls.UI.RadGridView();
            this.label6 = new System.Windows.Forms.Label();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panel4 = new System.Windows.Forms.Panel();
            this.pictureBox3 = new System.Windows.Forms.PictureBox();
            this.txtEggWithNoShell = new Telerik.WinControls.UI.RadTextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.panel3 = new System.Windows.Forms.Panel();
            this.txtBrokenEgg = new Telerik.WinControls.UI.RadTextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.pictureBox2 = new System.Windows.Forms.PictureBox();
            this.panel2 = new System.Windows.Forms.Panel();
            this.txtEgg = new Telerik.WinControls.UI.RadTextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.label1 = new System.Windows.Forms.Label();
            this.panel5 = new System.Windows.Forms.Panel();
            this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
            this.label5 = new System.Windows.Forms.Label();
            this.dgvPreparedOrders = new Telerik.WinControls.UI.RadGridView();
            this.tableLayoutPanel1.SuspendLayout();
            this.panel6.SuspendLayout();
            this.tableLayoutPanel4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPendingOrders)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPendingOrders.MasterTemplate)).BeginInit();
            this.tableLayoutPanel2.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panel4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtEggWithNoShell)).BeginInit();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtBrokenEgg)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtEgg)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.panel5.SuspendLayout();
            this.tableLayoutPanel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPreparedOrders)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPreparedOrders.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 700F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.panel6, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 1;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(1348, 603);
            this.tableLayoutPanel1.TabIndex = 0;
            // 
            // panel6
            // 
            this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel6.Controls.Add(this.tableLayoutPanel4);
            this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel6.Location = new System.Drawing.Point(710, 10);
            this.panel6.Margin = new System.Windows.Forms.Padding(10);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(628, 583);
            this.panel6.TabIndex = 3;
            // 
            // tableLayoutPanel4
            // 
            this.tableLayoutPanel4.ColumnCount = 1;
            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel4.Controls.Add(this.dgvPendingOrders, 0, 1);
            this.tableLayoutPanel4.Controls.Add(this.label6, 0, 0);
            this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel4.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel4.Name = "tableLayoutPanel4";
            this.tableLayoutPanel4.RowCount = 2;
            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 11.01549F));
            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 88.98451F));
            this.tableLayoutPanel4.Size = new System.Drawing.Size(626, 581);
            this.tableLayoutPanel4.TabIndex = 0;
            // 
            // dgvPendingOrders
            // 
            this.dgvPendingOrders.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dgvPendingOrders.Location = new System.Drawing.Point(10, 73);
            this.dgvPendingOrders.Margin = new System.Windows.Forms.Padding(10);
            // 
            // 
            // 
            this.dgvPendingOrders.MasterTemplate.AllowAddNewRow = false;
            this.dgvPendingOrders.MasterTemplate.AllowColumnReorder = false;
            this.dgvPendingOrders.MasterTemplate.AllowDeleteRow = false;
            this.dgvPendingOrders.MasterTemplate.AllowEditRow = false;
            this.dgvPendingOrders.MasterTemplate.AllowRowReorder = true;
            gridViewTextBoxColumn1.FieldName = "OrderId";
            gridViewTextBoxColumn1.HeaderText = "OrderId";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "OrderId";
            gridViewTextBoxColumn2.FieldName = "ClientName";
            gridViewTextBoxColumn2.HeaderText = "Cliente";
            gridViewTextBoxColumn2.MaxWidth = 5000;
            gridViewTextBoxColumn2.MinWidth = 200;
            gridViewTextBoxColumn2.Name = "ClientName";
            gridViewTextBoxColumn2.Width = 200;
            gridViewTextBoxColumn3.DataType = typeof(System.DateTime);
            gridViewTextBoxColumn3.FieldName = "CreatedDate";
            gridViewTextBoxColumn3.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn3.HeaderText = "Fecha Pedido";
            gridViewTextBoxColumn3.MinWidth = 90;
            gridViewTextBoxColumn3.Name = "CreatedDate";
            gridViewTextBoxColumn3.Width = 90;
            gridViewTextBoxColumn4.FieldName = "Dozens";
            gridViewTextBoxColumn4.HeaderText = "Docenas";
            gridViewTextBoxColumn4.MinWidth = 0;
            gridViewTextBoxColumn4.Name = "Dozens";
            gridViewTextBoxColumn4.Width = 80;
            gridViewTextBoxColumn5.FieldName = "OrderStatusName";
            gridViewTextBoxColumn5.HeaderText = "Estado";
            gridViewTextBoxColumn5.Name = "OrderStatusName";
            gridViewTextBoxColumn5.Width = 120;
            gridViewTextBoxColumn6.FieldName = "CanStartPreparing";
            gridViewTextBoxColumn6.HeaderText = "Stock Suficiente";
            gridViewTextBoxColumn6.MinWidth = 130;
            gridViewTextBoxColumn6.Name = "CanStartPreparing";
            gridViewTextBoxColumn6.Width = 130;
            this.dgvPendingOrders.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6});
            this.dgvPendingOrders.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.dgvPendingOrders.Name = "dgvPendingOrders";
            this.dgvPendingOrders.ReadOnly = true;
            this.dgvPendingOrders.Size = new System.Drawing.Size(606, 498);
            this.dgvPendingOrders.TabIndex = 7;
            this.dgvPendingOrders.Text = "radGridView1";
            this.dgvPendingOrders.ThemeName = "TelerikMetroBlue";
            this.dgvPendingOrders.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.dgvPendingOrders_CellFormatting);
            // 
            // label6
            // 
            this.label6.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location = new System.Drawing.Point(140, 15);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(345, 32);
            this.label6.TabIndex = 6;
            this.label6.Text = "PEDIDOS PENDIENTES";
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 1;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Controls.Add(this.panel1, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.panel5, 0, 1);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 2;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 300F));
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(694, 597);
            this.tableLayoutPanel2.TabIndex = 0;
            // 
            // panel1
            // 
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.panel4);
            this.panel1.Controls.Add(this.panel3);
            this.panel1.Controls.Add(this.panel2);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(10, 10);
            this.panel1.Margin = new System.Windows.Forms.Padding(10);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(674, 280);
            this.panel1.TabIndex = 0;
            // 
            // panel4
            // 
            this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel4.Controls.Add(this.pictureBox3);
            this.panel4.Controls.Add(this.txtEggWithNoShell);
            this.panel4.Controls.Add(this.label4);
            this.panel4.Location = new System.Drawing.Point(14, 196);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(648, 62);
            this.panel4.TabIndex = 3;
            // 
            // pictureBox3
            // 
            this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
            this.pictureBox3.Location = new System.Drawing.Point(11, 5);
            this.pictureBox3.Name = "pictureBox3";
            this.pictureBox3.Size = new System.Drawing.Size(68, 50);
            this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox3.TabIndex = 5;
            this.pictureBox3.TabStop = false;
            // 
            // txtEggWithNoShell
            // 
            this.txtEggWithNoShell.Enabled = false;
            this.txtEggWithNoShell.Font = new System.Drawing.Font("Segoe UI", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtEggWithNoShell.Location = new System.Drawing.Point(434, 6);
            this.txtEggWithNoShell.Name = "txtEggWithNoShell";
            this.txtEggWithNoShell.Size = new System.Drawing.Size(202, 44);
            this.txtEggWithNoShell.TabIndex = 4;
            this.txtEggWithNoShell.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.Location = new System.Drawing.Point(95, 18);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(238, 24);
            this.label4.TabIndex = 1;
            this.label4.Text = "HUEVOS SIN CASCARA";
            // 
            // panel3
            // 
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel3.Controls.Add(this.txtBrokenEgg);
            this.panel3.Controls.Add(this.label3);
            this.panel3.Controls.Add(this.pictureBox2);
            this.panel3.Location = new System.Drawing.Point(14, 128);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(648, 62);
            this.panel3.TabIndex = 2;
            // 
            // txtBrokenEgg
            // 
            this.txtBrokenEgg.Enabled = false;
            this.txtBrokenEgg.Font = new System.Drawing.Font("Segoe UI", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtBrokenEgg.Location = new System.Drawing.Point(434, 8);
            this.txtBrokenEgg.Name = "txtBrokenEgg";
            this.txtBrokenEgg.Size = new System.Drawing.Size(202, 44);
            this.txtBrokenEgg.TabIndex = 3;
            this.txtBrokenEgg.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.Location = new System.Drawing.Point(95, 18);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(174, 24);
            this.label3.TabIndex = 1;
            this.label3.Text = "HUEVOS ROTOS";
            // 
            // pictureBox2
            // 
            this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
            this.pictureBox2.Location = new System.Drawing.Point(11, 6);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new System.Drawing.Size(68, 50);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox2.TabIndex = 0;
            this.pictureBox2.TabStop = false;
            // 
            // panel2
            // 
            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel2.Controls.Add(this.txtEgg);
            this.panel2.Controls.Add(this.label2);
            this.panel2.Controls.Add(this.pictureBox1);
            this.panel2.Location = new System.Drawing.Point(14, 61);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(648, 62);
            this.panel2.TabIndex = 1;
            // 
            // txtEgg
            // 
            this.txtEgg.Enabled = false;
            this.txtEgg.Font = new System.Drawing.Font("Segoe UI", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtEgg.Location = new System.Drawing.Point(434, 8);
            this.txtEgg.Name = "txtEgg";
            this.txtEgg.Size = new System.Drawing.Size(202, 44);
            this.txtEgg.TabIndex = 2;
            this.txtEgg.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.Location = new System.Drawing.Point(95, 18);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(96, 24);
            this.label2.TabIndex = 1;
            this.label2.Text = "HUEVOS";
            // 
            // pictureBox1
            // 
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(11, 6);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(68, 50);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop = false;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location = new System.Drawing.Point(150, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(242, 32);
            this.label1.TabIndex = 0;
            this.label1.Text = "STOCK ACTUAL";
            // 
            // panel5
            // 
            this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel5.Controls.Add(this.tableLayoutPanel3);
            this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel5.Location = new System.Drawing.Point(10, 310);
            this.panel5.Margin = new System.Windows.Forms.Padding(10);
            this.panel5.Name = "panel5";
            this.panel5.Size = new System.Drawing.Size(674, 277);
            this.panel5.TabIndex = 1;
            // 
            // tableLayoutPanel3
            // 
            this.tableLayoutPanel3.ColumnCount = 1;
            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel3.Controls.Add(this.label5, 0, 0);
            this.tableLayoutPanel3.Controls.Add(this.dgvPreparedOrders, 0, 1);
            this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel3.Name = "tableLayoutPanel3";
            this.tableLayoutPanel3.RowCount = 2;
            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel3.Size = new System.Drawing.Size(672, 275);
            this.tableLayoutPanel3.TabIndex = 0;
            // 
            // label5
            // 
            this.label5.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.Location = new System.Drawing.Point(183, 14);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(305, 32);
            this.label5.TabIndex = 1;
            this.label5.Text = "PEDIDOS ARMADOS";
            // 
            // dgvPreparedOrders
            // 
            this.dgvPreparedOrders.Dock = System.Windows.Forms.DockStyle.Fill;
            this.dgvPreparedOrders.Location = new System.Drawing.Point(10, 70);
            this.dgvPreparedOrders.Margin = new System.Windows.Forms.Padding(10);
            // 
            // 
            // 
            gridViewTextBoxColumn7.FieldName = "OrderId";
            gridViewTextBoxColumn7.HeaderText = "OrderId";
            gridViewTextBoxColumn7.IsVisible = false;
            gridViewTextBoxColumn7.Name = "OrderId";
            gridViewTextBoxColumn8.FieldName = "ClientName";
            gridViewTextBoxColumn8.HeaderText = "Cliente";
            gridViewTextBoxColumn8.MaxWidth = 5000;
            gridViewTextBoxColumn8.MinWidth = 1;
            gridViewTextBoxColumn8.Name = "ClientName";
            gridViewTextBoxColumn8.Width = 200;
            gridViewTextBoxColumn9.DataType = typeof(System.DateTime);
            gridViewTextBoxColumn9.FieldName = "CreatedDate";
            gridViewTextBoxColumn9.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn9.HeaderText = "Fecha Pedido";
            gridViewTextBoxColumn9.MinWidth = 1;
            gridViewTextBoxColumn9.Name = "CreatedDate";
            gridViewTextBoxColumn9.Width = 100;
            gridViewTextBoxColumn10.FieldName = "Dozens";
            gridViewTextBoxColumn10.HeaderText = "Docenas";
            gridViewTextBoxColumn10.MinWidth = 1;
            gridViewTextBoxColumn10.Name = "Dozens";
            gridViewTextBoxColumn10.Width = 70;
            gridViewTextBoxColumn11.FieldName = "PreparedDate";
            gridViewTextBoxColumn11.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn11.HeaderText = "Fecha Armado";
            gridViewTextBoxColumn11.MinWidth = 1;
            gridViewTextBoxColumn11.Name = "PreparedDate";
            gridViewTextBoxColumn11.Width = 100;
            this.dgvPreparedOrders.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9,
            gridViewTextBoxColumn10,
            gridViewTextBoxColumn11});
            this.dgvPreparedOrders.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.dgvPreparedOrders.Name = "dgvPreparedOrders";
            this.dgvPreparedOrders.ReadOnly = true;
            this.dgvPreparedOrders.Size = new System.Drawing.Size(652, 195);
            this.dgvPreparedOrders.TabIndex = 2;
            this.dgvPreparedOrders.Text = "radGridView1";
            this.dgvPreparedOrders.ThemeName = "TelerikMetroBlue";
            // 
            // DepositDashboard
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1348, 603);
            this.ControlBox = false;
            this.Controls.Add(this.tableLayoutPanel1);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "DepositDashboard";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "Tablero de Depósito";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.DepositDashboard_Load);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.panel6.ResumeLayout(false);
            this.tableLayoutPanel4.ResumeLayout(false);
            this.tableLayoutPanel4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPendingOrders.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPendingOrders)).EndInit();
            this.tableLayoutPanel2.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtEggWithNoShell)).EndInit();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtBrokenEgg)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtEgg)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.panel5.ResumeLayout(false);
            this.tableLayoutPanel3.ResumeLayout(false);
            this.tableLayoutPanel3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPreparedOrders.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvPreparedOrders)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #14
0
ファイル: LastUsed.Designer.cs プロジェクト: irania/tirax
        /// <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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.LU = new Telerik.WinControls.UI.RadGridView();
            this.acc = new System.Windows.Forms.BindingSource(this.components);
            this.label1 = new System.Windows.Forms.Label();
            this.Cancel = new Telerik.WinControls.UI.RadButton();
            this.Done = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.LU)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.LU.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.acc)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Done)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // LU
            // 
            this.LU.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.LU.Cursor = System.Windows.Forms.Cursors.Default;
            this.LU.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.LU.ForeColor = System.Drawing.Color.Black;
            this.LU.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.LU.Location = new System.Drawing.Point(12, 36);
            // 
            // 
            // 
            this.LU.MasterTemplate.AllowAddNewRow = false;
            this.LU.MasterTemplate.AllowColumnReorder = false;
            this.LU.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.DataType = typeof(int);
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "ID";
            gridViewTextBoxColumn1.HeaderText = "#";
            gridViewTextBoxColumn1.Name = "ID";
            gridViewTextBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.TopCenter;
            gridViewTextBoxColumn1.Width = 71;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "fullName";
            gridViewTextBoxColumn2.HeaderText = "نام";
            gridViewTextBoxColumn2.Name = "fullName";
            gridViewTextBoxColumn2.Width = 297;
            this.LU.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2});
            this.LU.MasterTemplate.DataSource = this.acc;
            this.LU.MasterTemplate.EnableGrouping = false;
            this.LU.MasterTemplate.EnableSorting = false;
            this.LU.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.LU.Name = "LU";
            this.LU.ReadOnly = true;
            this.LU.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.LU.Size = new System.Drawing.Size(388, 278);
            this.LU.TabIndex = 0;
            this.LU.Text = "radGridView1";
            // 
            // acc
            // 
            this.acc.DataSource = typeof(tiraxco.AccFullName);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(250, 9);
            this.label1.Name = "label1";
            this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label1.Size = new System.Drawing.Size(150, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "آخرین حساب‌های مورد استفاده:";
            // 
            // Cancel
            // 
            this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.Cancel.Location = new System.Drawing.Point(129, 320);
            this.Cancel.Name = "Cancel";
            this.Cancel.Size = new System.Drawing.Size(110, 24);
            this.Cancel.TabIndex = 8;
            this.Cancel.Text = "لغو";
            this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
            // 
            // Done
            // 
            this.Done.Location = new System.Drawing.Point(13, 320);
            this.Done.Name = "Done";
            this.Done.Size = new System.Drawing.Size(110, 24);
            this.Done.TabIndex = 7;
            this.Done.Text = "تایید";
            this.Done.Click += new System.EventHandler(this.Done_Click);
            // 
            // LastUsed
            // 
            this.AcceptButton = this.Done;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.CancelButton = this.Cancel;
            this.ClientSize = new System.Drawing.Size(412, 352);
            this.ControlBox = false;
            this.Controls.Add(this.Cancel);
            this.Controls.Add(this.Done);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.LU);
            this.Name = "LastUsed";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "آخرین حساب‌ها";
            this.Load += new System.EventHandler(this.LastUsed_Load);
            ((System.ComponentModel.ISupportInitialize)(this.LU.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.LU)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.acc)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Done)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #15
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
            this.gvSchedule = new Telerik.WinControls.UI.RadGridView();
            this.radPanel2 = new Telerik.WinControls.UI.RadPanel();
            this.btnCancel = new Telerik.WinControls.UI.RadButton();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
            this.radPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
            this.radGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvSchedule)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSchedule.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
            this.radPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radPanel1
            // 
            this.radPanel1.Controls.Add(this.radLabel1);
            this.radPanel1.Controls.Add(this.radGroupBox2);
            this.radPanel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.radPanel1.Location = new System.Drawing.Point(0, 0);
            this.radPanel1.Name = "radPanel1";
            this.radPanel1.Size = new System.Drawing.Size(484, 420);
            this.radPanel1.TabIndex = 0;
            // 
            // radLabel1
            // 
            this.radLabel1.Font = new System.Drawing.Font("Segoe UI Semibold", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.radLabel1.Location = new System.Drawing.Point(8, 9);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(296, 18);
            this.radLabel1.TabIndex = 13;
            this.radLabel1.Text = "Please select the subjects that the student will be taking.";
            // 
            // radGroupBox2
            // 
            this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox2.Controls.Add(this.gvSchedule);
            this.radGroupBox2.HeaderText = "Subjects Schedule To Enroll";
            this.radGroupBox2.Location = new System.Drawing.Point(3, 33);
            this.radGroupBox2.Name = "radGroupBox2";
            this.radGroupBox2.Size = new System.Drawing.Size(472, 375);
            this.radGroupBox2.TabIndex = 12;
            this.radGroupBox2.Text = "Subjects Schedule To Enroll";
            // 
            // gvSchedule
            // 
            this.gvSchedule.Location = new System.Drawing.Point(5, 22);
            // 
            // 
            // 
            this.gvSchedule.MasterTemplate.AllowAddNewRow = false;
            this.gvSchedule.MasterTemplate.AllowSearchRow = true;
            gridViewCheckBoxColumn1.HeaderText = "";
            gridViewCheckBoxColumn1.Name = "chkSelect";
            gridViewCheckBoxColumn1.Width = 20;
            gridViewTextBoxColumn1.FieldName = "SubjectCode";
            gridViewTextBoxColumn1.HeaderText = "Subject";
            gridViewTextBoxColumn1.Name = "SubjectCode";
            gridViewTextBoxColumn2.FieldName = "TimeslotInfo";
            gridViewTextBoxColumn2.HeaderText = "Timeslot";
            gridViewTextBoxColumn2.Name = "TimeslotInfo";
            gridViewTextBoxColumn2.Width = 150;
            gridViewTextBoxColumn3.FieldName = "RoomCode";
            gridViewTextBoxColumn3.HeaderText = "Room";
            gridViewTextBoxColumn3.Name = "RoomCode";
            gridViewTextBoxColumn3.Width = 75;
            gridViewTextBoxColumn4.FieldName = "TeacherId";
            gridViewTextBoxColumn4.HeaderText = "column5";
            gridViewTextBoxColumn4.IsVisible = false;
            gridViewTextBoxColumn4.Name = "TeacherId";
            gridViewTextBoxColumn5.FieldName = "TeacherName";
            gridViewTextBoxColumn5.HeaderText = "Teacher";
            gridViewTextBoxColumn5.Name = "TeacherName";
            gridViewTextBoxColumn5.Width = 150;
            this.gvSchedule.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewCheckBoxColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5});
            this.gvSchedule.MasterTemplate.EnableGrouping = false;
            this.gvSchedule.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvSchedule.Name = "gvSchedule";
            this.gvSchedule.Size = new System.Drawing.Size(462, 345);
            this.gvSchedule.TabIndex = 0;
            this.gvSchedule.Text = "radGridView1";
            this.gvSchedule.CellEditorInitialized += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gvSchedule_CellEditorInitialized);
            // 
            // radPanel2
            // 
            this.radPanel2.Controls.Add(this.btnCancel);
            this.radPanel2.Controls.Add(this.radButton1);
            this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.radPanel2.Location = new System.Drawing.Point(0, 414);
            this.radPanel2.Name = "radPanel2";
            this.radPanel2.Size = new System.Drawing.Size(484, 39);
            this.radPanel2.TabIndex = 1;
            // 
            // btnCancel
            // 
            this.btnCancel.Location = new System.Drawing.Point(403, 8);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(67, 24);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // radButton1
            // 
            this.radButton1.Location = new System.Drawing.Point(330, 8);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(67, 24);
            this.radButton1.TabIndex = 0;
            this.radButton1.Text = "OK";
            this.radButton1.Click += new System.EventHandler(this.radButton1_Click);
            // 
            // ScheduleSelector
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(484, 453);
            this.Controls.Add(this.radPanel2);
            this.Controls.Add(this.radPanel1);
            this.Name = "ScheduleSelector";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Select Subject Schedule";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.ScheduleSelector_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
            this.radPanel1.ResumeLayout(false);
            this.radPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
            this.radGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvSchedule.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSchedule)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
            this.radPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #16
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(frmMonedas));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radCommandBar1          = new Telerik.WinControls.UI.RadCommandBar();
     this.commandBarRowElement1   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.btnNuevo             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator1 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnGuardar           = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator2 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnEliminar          = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator3 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnSalir             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator4 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.commandBarLabel1     = new Telerik.WinControls.UI.CommandBarLabel();
     this.radPanel1            = new Telerik.WinControls.UI.RadPanel();
     this.txtTipoC             = new Telerik.WinControls.UI.RadTextBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.txtAbrev                = new Telerik.WinControls.UI.RadTextBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.txtId                   = new Telerik.WinControls.UI.RadTextBox();
     this.chkEstatus              = new System.Windows.Forms.CheckBox();
     this.txtMoneda               = new Telerik.WinControls.UI.RadTextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.gvDatos                 = new Telerik.WinControls.UI.RadGridView();
     this.commandBarRowElement2   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement2 = new Telerik.WinControls.UI.CommandBarStripElement();
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtTipoC)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtAbrev)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtId)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtMoneda)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radCommandBar1
     //
     this.radCommandBar1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radCommandBar1.Location = new System.Drawing.Point(0, 0);
     this.radCommandBar1.Name     = "radCommandBar1";
     this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
         this.commandBarRowElement1
     });
     this.radCommandBar1.Size     = new System.Drawing.Size(666, 53);
     this.radCommandBar1.TabIndex = 0;
     //
     // commandBarRowElement1
     //
     this.commandBarRowElement1.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement1.Name    = "commandBarRowElement1";
     this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
         this.commandBarStripElement1
     });
     this.commandBarRowElement1.Text = "";
     this.commandBarRowElement1.TextRenderingHint          = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.UseCompatibleTextRendering = false;
     //
     // commandBarStripElement1
     //
     this.commandBarStripElement1.DisplayName = "commandBarStripElement1";
     this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
         this.btnNuevo,
         this.commandBarSeparator1,
         this.btnGuardar,
         this.commandBarSeparator2,
         this.btnEliminar,
         this.commandBarSeparator3,
         this.btnSalir,
         this.commandBarSeparator4,
         this.commandBarLabel1
     });
     this.commandBarStripElement1.Name = "commandBarStripElement1";
     //
     //
     //
     this.commandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     this.commandBarStripElement1.StretchHorizontally       = true;
     ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarStripElement1.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     //
     // btnNuevo
     //
     this.btnNuevo.DisplayName       = "commandBarButton1";
     this.btnNuevo.DrawText          = true;
     this.btnNuevo.Image             = ((System.Drawing.Image)(resources.GetObject("btnNuevo.Image")));
     this.btnNuevo.Name              = "btnNuevo";
     this.btnNuevo.Text              = "Nuevo";
     this.btnNuevo.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNuevo.Click            += new System.EventHandler(this.btnNuevo_Click);
     //
     // commandBarSeparator1
     //
     this.commandBarSeparator1.DisplayName           = "commandBarSeparator1";
     this.commandBarSeparator1.Name                  = "commandBarSeparator1";
     this.commandBarSeparator1.VisibleInOverflowMenu = false;
     //
     // btnGuardar
     //
     this.btnGuardar.DisplayName       = "commandBarButton2";
     this.btnGuardar.DrawText          = true;
     this.btnGuardar.Image             = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.Name              = "btnGuardar";
     this.btnGuardar.Text              = "Guardar";
     this.btnGuardar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnGuardar.TextOrientation   = System.Windows.Forms.Orientation.Horizontal;
     this.btnGuardar.Click            += new System.EventHandler(this.btnGuardar_Click);
     //
     // commandBarSeparator2
     //
     this.commandBarSeparator2.DisplayName           = "commandBarSeparator2";
     this.commandBarSeparator2.Name                  = "commandBarSeparator2";
     this.commandBarSeparator2.VisibleInOverflowMenu = false;
     //
     // btnEliminar
     //
     this.btnEliminar.DisplayName       = "commandBarButton3";
     this.btnEliminar.DrawText          = true;
     this.btnEliminar.Image             = ((System.Drawing.Image)(resources.GetObject("btnEliminar.Image")));
     this.btnEliminar.Name              = "btnEliminar";
     this.btnEliminar.Text              = "Eliminar";
     this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEliminar.Click            += new System.EventHandler(this.btnEliminar_Click);
     //
     // commandBarSeparator3
     //
     this.commandBarSeparator3.DisplayName           = "commandBarSeparator3";
     this.commandBarSeparator3.Name                  = "commandBarSeparator3";
     this.commandBarSeparator3.VisibleInOverflowMenu = false;
     //
     // btnSalir
     //
     this.btnSalir.DisplayName       = "commandBarButton4";
     this.btnSalir.DrawText          = true;
     this.btnSalir.Image             = ((System.Drawing.Image)(resources.GetObject("btnSalir.Image")));
     this.btnSalir.Name              = "btnSalir";
     this.btnSalir.Text              = "Salir";
     this.btnSalir.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSalir.Click            += new System.EventHandler(this.btnSalir_Click);
     //
     // commandBarSeparator4
     //
     this.commandBarSeparator4.DisplayName           = "commandBarSeparator4";
     this.commandBarSeparator4.Name                  = "commandBarSeparator4";
     this.commandBarSeparator4.VisibleInOverflowMenu = false;
     //
     // commandBarLabel1
     //
     this.commandBarLabel1.DisplayName         = "commandBarLabel1";
     this.commandBarLabel1.Font                = new System.Drawing.Font("Segoe UI", 9.25F, System.Drawing.FontStyle.Bold);
     this.commandBarLabel1.ForeColor           = System.Drawing.Color.Navy;
     this.commandBarLabel1.Name                = "commandBarLabel1";
     this.commandBarLabel1.StretchHorizontally = true;
     this.commandBarLabel1.Text                = "CATALOGO DE MONEDAS";
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.txtTipoC);
     this.radPanel1.Controls.Add(this.label4);
     this.radPanel1.Controls.Add(this.txtAbrev);
     this.radPanel1.Controls.Add(this.label2);
     this.radPanel1.Controls.Add(this.txtId);
     this.radPanel1.Controls.Add(this.chkEstatus);
     this.radPanel1.Controls.Add(this.txtMoneda);
     this.radPanel1.Controls.Add(this.label1);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 53);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(666, 121);
     this.radPanel1.TabIndex = 3;
     //
     // txtTipoC
     //
     this.txtTipoC.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtTipoC.Location        = new System.Drawing.Point(84, 67);
     this.txtTipoC.MaxLength       = 5;
     this.txtTipoC.Name            = "txtTipoC";
     this.txtTipoC.Size            = new System.Drawing.Size(54, 20);
     this.txtTipoC.TabIndex        = 3;
     this.txtTipoC.Text            = "0.00";
     this.txtTipoC.TextAlign       = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtTipoC.KeyPress       += new System.Windows.Forms.KeyPressEventHandler(this.txtTipoC_KeyPress);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(8, 71);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(74, 13);
     this.label4.TabIndex = 17;
     this.label4.Text     = "Tipo Cambio:";
     //
     // txtAbrev
     //
     this.txtAbrev.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtAbrev.Location        = new System.Drawing.Point(84, 43);
     this.txtAbrev.MaxLength       = 5;
     this.txtAbrev.Name            = "txtAbrev";
     this.txtAbrev.Size            = new System.Drawing.Size(47, 20);
     this.txtAbrev.TabIndex        = 2;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(40, 45);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(42, 13);
     this.label2.TabIndex = 13;
     this.label2.Text     = "Abrev.:";
     //
     // txtId
     //
     this.txtId.Location = new System.Drawing.Point(388, 20);
     this.txtId.Name     = "txtId";
     this.txtId.Size     = new System.Drawing.Size(45, 20);
     this.txtId.TabIndex = 3;
     this.txtId.Text     = "0";
     this.txtId.Visible  = false;
     //
     // chkEstatus
     //
     this.chkEstatus.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.chkEstatus.Checked    = true;
     this.chkEstatus.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkEstatus.Location   = new System.Drawing.Point(37, 87);
     this.chkEstatus.Name       = "chkEstatus";
     this.chkEstatus.Size       = new System.Drawing.Size(61, 24);
     this.chkEstatus.TabIndex   = 4;
     this.chkEstatus.Text       = "Activo:";
     this.chkEstatus.UseVisualStyleBackColor = true;
     //
     // txtMoneda
     //
     this.txtMoneda.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtMoneda.Location        = new System.Drawing.Point(84, 19);
     this.txtMoneda.MaxLength       = 20;
     this.txtMoneda.Name            = "txtMoneda";
     this.txtMoneda.Size            = new System.Drawing.Size(210, 20);
     this.txtMoneda.TabIndex        = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(29, 22);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Moneda:";
     //
     // gvDatos
     //
     this.gvDatos.AutoScroll = true;
     this.gvDatos.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.gvDatos.Location   = new System.Drawing.Point(0, 174);
     //
     //
     //
     this.gvDatos.MasterTemplate.AllowAddNewRow   = false;
     this.gvDatos.MasterTemplate.AllowDeleteRow   = false;
     this.gvDatos.MasterTemplate.AllowEditRow     = false;
     this.gvDatos.MasterTemplate.AllowSearchRow   = true;
     this.gvDatos.MasterTemplate.AutoExpandGroups = true;
     gridViewTextBoxColumn1.FieldName             = "Id";
     gridViewTextBoxColumn1.HeaderText            = "Id";
     gridViewTextBoxColumn1.IsVisible             = false;
     gridViewTextBoxColumn1.Name           = "Id";
     gridViewTextBoxColumn2.FieldName      = "Abrev";
     gridViewTextBoxColumn2.HeaderText     = "Abrev";
     gridViewTextBoxColumn2.MaxWidth       = 100;
     gridViewTextBoxColumn2.MinWidth       = 80;
     gridViewTextBoxColumn2.Name           = "Abrev";
     gridViewTextBoxColumn2.Width          = 80;
     gridViewTextBoxColumn3.FieldName      = "Moneda";
     gridViewTextBoxColumn3.HeaderText     = "Moneda";
     gridViewTextBoxColumn3.MaxWidth       = 250;
     gridViewTextBoxColumn3.MinWidth       = 200;
     gridViewTextBoxColumn3.Name           = "Moneda";
     gridViewTextBoxColumn3.Width          = 200;
     gridViewTextBoxColumn4.FieldName      = "TipoCambio";
     gridViewTextBoxColumn4.FormatString   = "{0:C2}";
     gridViewTextBoxColumn4.HeaderText     = "Tipo Cambio";
     gridViewTextBoxColumn4.MaxWidth       = 100;
     gridViewTextBoxColumn4.MinWidth       = 80;
     gridViewTextBoxColumn4.Name           = "TipoCambio";
     gridViewTextBoxColumn4.TextAlignment  = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn4.Width          = 80;
     gridViewTextBoxColumn4.WrapText       = true;
     gridViewDateTimeColumn1.FieldName     = "DatosUsuario.FechaCreacion";
     gridViewDateTimeColumn1.FormatString  = "{0:dd/MM/yyyy}";
     gridViewDateTimeColumn1.HeaderText    = "Fecha";
     gridViewDateTimeColumn1.MaxWidth      = 100;
     gridViewDateTimeColumn1.MinWidth      = 80;
     gridViewDateTimeColumn1.Name          = "Fecha";
     gridViewDateTimeColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewDateTimeColumn1.Width         = 80;
     gridViewCheckBoxColumn1.FieldName     = "DatosUsuario.Estatus";
     gridViewCheckBoxColumn1.HeaderText    = "Activo";
     gridViewCheckBoxColumn1.MaxWidth      = 80;
     gridViewCheckBoxColumn1.MinWidth      = 80;
     gridViewCheckBoxColumn1.Name          = "Estatus";
     gridViewCheckBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewCheckBoxColumn1.Width         = 80;
     this.gvDatos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewDateTimeColumn1,
         gridViewCheckBoxColumn1
     });
     this.gvDatos.MasterTemplate.ShowGroupedColumns = true;
     this.gvDatos.MasterTemplate.ViewDefinition     = tableViewDefinition1;
     this.gvDatos.Name               = "gvDatos";
     this.gvDatos.ShowNoDataText     = false;
     this.gvDatos.Size               = new System.Drawing.Size(666, 167);
     this.gvDatos.TabIndex           = 5;
     this.gvDatos.CurrentRowChanged += new Telerik.WinControls.UI.CurrentRowChangedEventHandler(this.gvDatos_CurrentRowChanged);
     //
     // commandBarRowElement2
     //
     this.commandBarRowElement2.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement2.Name    = "commandBarRowElement2";
     //
     // commandBarStripElement2
     //
     this.commandBarStripElement2.DisplayName = "commandBarStripElement2";
     this.commandBarStripElement2.Name        = "commandBarStripElement2";
     //
     // frmMonedas
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(666, 341);
     this.Controls.Add(this.gvDatos);
     this.Controls.Add(this.radPanel1);
     this.Controls.Add(this.radCommandBar1);
     this.Name = "frmMonedas";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon = false;
     this.Text     = "Modenas";
     this.Load    += new System.EventHandler(this.frmMonedas_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtTipoC)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtAbrev)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtId)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtMoneda)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition4    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition3    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radPageView1     = new Telerik.WinControls.UI.RadPageView();
     this.radPageViewPage1 = new Telerik.WinControls.UI.RadPageViewPage();
     this.radGridView1     = new Telerik.WinControls.UI.RadGridView();
     this.radLabel1        = new Telerik.WinControls.UI.RadLabel();
     this.radGridView2     = new Telerik.WinControls.UI.RadGridView();
     this.radButton1       = new Telerik.WinControls.UI.RadButton();
     ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).BeginInit();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView2.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
     this.SuspendLayout();
     //
     // radPageView1
     //
     this.radPageView1.Controls.Add(this.radPageViewPage1);
     this.radPageView1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.radPageView1.Location     = new System.Drawing.Point(0, 0);
     this.radPageView1.Name         = "radPageView1";
     this.radPageView1.SelectedPage = this.radPageViewPage1;
     this.radPageView1.Size         = new System.Drawing.Size(1133, 590);
     this.radPageView1.TabIndex     = 0;
     this.radPageView1.Text         = "radPageView1";
     this.radPageView1.ThemeName    = "Office2013Light";
     //
     // radPageViewPage1
     //
     this.radPageViewPage1.Controls.Add(this.radButton1);
     this.radPageViewPage1.Controls.Add(this.radGridView2);
     this.radPageViewPage1.Controls.Add(this.radLabel1);
     this.radPageViewPage1.Controls.Add(this.radGridView1);
     this.radPageViewPage1.ItemSize = new System.Drawing.SizeF(134F, 27F);
     this.radPageViewPage1.Location = new System.Drawing.Point(5, 31);
     this.radPageViewPage1.Name     = "radPageViewPage1";
     this.radPageViewPage1.Size     = new System.Drawing.Size(1123, 554);
     this.radPageViewPage1.Text     = "Gestión de asistencias";
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(3, 85);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow     = false;
     this.radGridView1.MasterTemplate.AllowColumnReorder = false;
     this.radGridView1.MasterTemplate.AllowDeleteRow     = false;
     this.radGridView1.MasterTemplate.AllowDragToGroup   = false;
     this.radGridView1.MasterTemplate.AllowEditRow       = false;
     this.radGridView1.MasterTemplate.AllowSearchRow     = true;
     gridViewTextBoxColumn12.HeaderText = "Empleado";
     gridViewTextBoxColumn12.Name       = "column1";
     gridViewTextBoxColumn12.Width      = 210;
     gridViewTextBoxColumn13.HeaderText = "Cargo";
     gridViewTextBoxColumn13.Name       = "column2";
     gridViewTextBoxColumn13.Width      = 120;
     gridViewTextBoxColumn14.HeaderText = "Estado";
     gridViewTextBoxColumn14.Name       = "column3";
     gridViewTextBoxColumn14.Width      = 100;
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn12,
         gridViewTextBoxColumn13,
         gridViewTextBoxColumn14
     });
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition4;
     this.radGridView1.Name      = "radGridView1";
     this.radGridView1.Padding   = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.radGridView1.ReadOnly  = true;
     this.radGridView1.Size      = new System.Drawing.Size(447, 452);
     this.radGridView1.TabIndex  = 5;
     this.radGridView1.Text      = "radGridView1";
     this.radGridView1.ThemeName = "Office2010Silver";
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(4, 52);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(302, 18);
     this.radLabel1.TabIndex = 6;
     this.radLabel1.Text     = "Seleccione el empleado para generar reporte de asistencias";
     //
     // radGridView2
     //
     this.radGridView2.Location = new System.Drawing.Point(486, 85);
     //
     //
     //
     this.radGridView2.MasterTemplate.AllowAddNewRow     = false;
     this.radGridView2.MasterTemplate.AllowColumnReorder = false;
     this.radGridView2.MasterTemplate.AllowDragToGroup   = false;
     this.radGridView2.MasterTemplate.AllowSearchRow     = true;
     gridViewTextBoxColumn8.HeaderText  = "Dia de semana";
     gridViewTextBoxColumn8.Name        = "column1";
     gridViewTextBoxColumn8.Width       = 200;
     gridViewTextBoxColumn9.HeaderText  = "Fecha";
     gridViewTextBoxColumn9.Name        = "column4";
     gridViewTextBoxColumn9.Width       = 150;
     gridViewTextBoxColumn10.HeaderText = "Hora de entrada";
     gridViewTextBoxColumn10.Name       = "column2";
     gridViewTextBoxColumn10.Width      = 150;
     gridViewTextBoxColumn11.HeaderText = "Hora de salida";
     gridViewTextBoxColumn11.Name       = "column3";
     gridViewTextBoxColumn11.Width      = 150;
     this.radGridView2.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewTextBoxColumn10,
         gridViewTextBoxColumn11
     });
     this.radGridView2.MasterTemplate.ViewDefinition = tableViewDefinition3;
     this.radGridView2.Name      = "radGridView2";
     this.radGridView2.Padding   = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.radGridView2.ReadOnly  = true;
     this.radGridView2.Size      = new System.Drawing.Size(634, 452);
     this.radGridView2.TabIndex  = 7;
     this.radGridView2.Text      = "radGridView2";
     this.radGridView2.ThemeName = "Office2010Silver";
     //
     // radButton1
     //
     this.radButton1.Location  = new System.Drawing.Point(312, 49);
     this.radButton1.Name      = "radButton1";
     this.radButton1.Size      = new System.Drawing.Size(110, 24);
     this.radButton1.TabIndex  = 8;
     this.radButton1.Text      = "Emitir informe";
     this.radButton1.ThemeName = "Office2010Blue";
     //
     // Gestion_de_asistencias
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.radPageView1);
     this.Name = "Gestion_de_asistencias";
     this.Size = new System.Drawing.Size(1133, 590);
     ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.radPageViewPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView2.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #18
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrameworkServerListForm));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle2  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle3  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle4  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle5  = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle6  = new System.Windows.Forms.DataGridViewCellStyle();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.server_ContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.editToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ok_Button     = new System.Windows.Forms.Button();
     this.cancel_Button = new System.Windows.Forms.Button();
     this.apply_Button  = new System.Windows.Forms.Button();
     this.dataGridViewCheckBoxColumn1  = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.dataGridViewTextBoxColumn1   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.server_RadGridView           = new Telerik.WinControls.UI.RadGridView();
     this.frameworkServerBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.miniToolStrip          = new System.Windows.Forms.ToolStrip();
     this.toolStripButton_Add    = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Edit   = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Delete = new System.Windows.Forms.ToolStripButton();
     this.toolStrip1             = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel_Spacer  = new System.Windows.Forms.ToolStripLabel();
     this.toolStripButton_Types  = new System.Windows.Forms.ToolStripButton();
     this.server_ContextMenuStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.server_RadGridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.server_RadGridView.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.frameworkServerBindingSource)).BeginInit();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // server_ContextMenuStrip
     //
     this.server_ContextMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.server_ContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.editToolStripMenuItem,
         this.deleteToolStripMenuItem
     });
     this.server_ContextMenuStrip.Name = "server_ContextMenuStrip";
     this.server_ContextMenuStrip.Size = new System.Drawing.Size(122, 56);
     //
     // editToolStripMenuItem
     //
     this.editToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("editToolStripMenuItem.Image")));
     this.editToolStripMenuItem.Name   = "editToolStripMenuItem";
     this.editToolStripMenuItem.Size   = new System.Drawing.Size(121, 26);
     this.editToolStripMenuItem.Text   = "Edit";
     this.editToolStripMenuItem.Click += new System.EventHandler(this.edit_Button_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("deleteToolStripMenuItem.Image")));
     this.deleteToolStripMenuItem.Name   = "deleteToolStripMenuItem";
     this.deleteToolStripMenuItem.Size   = new System.Drawing.Size(121, 26);
     this.deleteToolStripMenuItem.Text   = "Remove";
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.delete_Button_Click);
     //
     // ok_Button
     //
     this.ok_Button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.ok_Button.Location = new System.Drawing.Point(882, 468);
     this.ok_Button.Margin   = new System.Windows.Forms.Padding(4);
     this.ok_Button.Name     = "ok_Button";
     this.ok_Button.Size     = new System.Drawing.Size(100, 32);
     this.ok_Button.TabIndex = 1;
     this.ok_Button.Text     = "OK";
     this.ok_Button.UseVisualStyleBackColor = true;
     this.ok_Button.Click += new System.EventHandler(this.ok_Button_Click);
     //
     // cancel_Button
     //
     this.cancel_Button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancel_Button.Location = new System.Drawing.Point(990, 468);
     this.cancel_Button.Margin   = new System.Windows.Forms.Padding(4);
     this.cancel_Button.Name     = "cancel_Button";
     this.cancel_Button.Size     = new System.Drawing.Size(100, 32);
     this.cancel_Button.TabIndex = 4;
     this.cancel_Button.Text     = "Cancel";
     this.cancel_Button.UseVisualStyleBackColor = true;
     this.cancel_Button.Click += new System.EventHandler(this.cancel_Button_Click);
     //
     // apply_Button
     //
     this.apply_Button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.apply_Button.Location = new System.Drawing.Point(1098, 468);
     this.apply_Button.Margin   = new System.Windows.Forms.Padding(4);
     this.apply_Button.Name     = "apply_Button";
     this.apply_Button.Size     = new System.Drawing.Size(100, 32);
     this.apply_Button.TabIndex = 6;
     this.apply_Button.Text     = "Apply";
     this.apply_Button.UseVisualStyleBackColor = true;
     this.apply_Button.Click += new System.EventHandler(this.apply_Button_Click);
     //
     // dataGridViewCheckBoxColumn1
     //
     this.dataGridViewCheckBoxColumn1.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.dataGridViewCheckBoxColumn1.DataPropertyName = "Active";
     this.dataGridViewCheckBoxColumn1.HeaderText       = "Active";
     this.dataGridViewCheckBoxColumn1.Name             = "dataGridViewCheckBoxColumn1";
     this.dataGridViewCheckBoxColumn1.ToolTipText      = "Specifies whether this server may be used in tests.";
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.dataGridViewTextBoxColumn1.DataPropertyName = "HostName";
     this.dataGridViewTextBoxColumn1.HeaderText       = "Host Name";
     this.dataGridViewTextBoxColumn1.MinimumWidth     = 60;
     this.dataGridViewTextBoxColumn1.Name             = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly         = true;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.dataGridViewTextBoxColumn2.DataPropertyName = "OperatingSystemName";
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewTextBoxColumn2.HeaderText       = "Operating System";
     this.dataGridViewTextBoxColumn2.Name             = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly         = true;
     this.dataGridViewTextBoxColumn2.ToolTipText      = "CPU Architecture";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "Processors";
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewTextBoxColumn3.HeaderText       = "CPUs";
     this.dataGridViewTextBoxColumn3.Name             = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly         = true;
     this.dataGridViewTextBoxColumn3.ToolTipText      = "Number of Processors";
     this.dataGridViewTextBoxColumn3.Width            = 40;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "Cores";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewTextBoxColumn4.HeaderText       = "Cores";
     this.dataGridViewTextBoxColumn4.Name             = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.ReadOnly         = true;
     this.dataGridViewTextBoxColumn4.ToolTipText      = "Number of Cores per CPU";
     this.dataGridViewTextBoxColumn4.Width            = 45;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "Memory";
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle4;
     this.dataGridViewTextBoxColumn5.HeaderText       = "Memory";
     this.dataGridViewTextBoxColumn5.Name             = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly         = true;
     this.dataGridViewTextBoxColumn5.ToolTipText      = "System Memory in MB";
     this.dataGridViewTextBoxColumn5.Width            = 50;
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.dataGridViewTextBoxColumn6.DataPropertyName = "DiskSpace";
     this.dataGridViewTextBoxColumn6.HeaderText       = "Disk";
     this.dataGridViewTextBoxColumn6.Name             = "dataGridViewTextBoxColumn6";
     this.dataGridViewTextBoxColumn6.ReadOnly         = true;
     this.dataGridViewTextBoxColumn6.ToolTipText      = "Locally Attached Disk";
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "ServicePack";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle5;
     this.dataGridViewTextBoxColumn7.HeaderText       = "SP";
     this.dataGridViewTextBoxColumn7.Name             = "dataGridViewTextBoxColumn7";
     this.dataGridViewTextBoxColumn7.ReadOnly         = true;
     this.dataGridViewTextBoxColumn7.ToolTipText      = "Operating System Service Pack";
     this.dataGridViewTextBoxColumn7.Width            = 30;
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "Revision";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
     this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle6;
     this.dataGridViewTextBoxColumn8.HeaderText       = "Rev";
     this.dataGridViewTextBoxColumn8.Name             = "dataGridViewTextBoxColumn8";
     this.dataGridViewTextBoxColumn8.ReadOnly         = true;
     this.dataGridViewTextBoxColumn8.ToolTipText      = "Operating System Revision";
     this.dataGridViewTextBoxColumn8.Width            = 30;
     //
     // dataGridViewTextBoxColumn9
     //
     this.dataGridViewTextBoxColumn9.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.dataGridViewTextBoxColumn9.DataPropertyName = "OperatingSystemName";
     this.dataGridViewTextBoxColumn9.HeaderText       = "Operating System";
     this.dataGridViewTextBoxColumn9.Name             = "dataGridViewTextBoxColumn9";
     this.dataGridViewTextBoxColumn9.ReadOnly         = true;
     //
     // dataGridViewTextBoxColumn10
     //
     this.dataGridViewTextBoxColumn10.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.dataGridViewTextBoxColumn10.DataPropertyName = "Contact";
     this.dataGridViewTextBoxColumn10.HeaderText       = "Contact";
     this.dataGridViewTextBoxColumn10.Name             = "dataGridViewTextBoxColumn10";
     this.dataGridViewTextBoxColumn10.ReadOnly         = true;
     //
     // dataGridViewTextBoxColumn11
     //
     this.dataGridViewTextBoxColumn11.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.dataGridViewTextBoxColumn11.DataPropertyName = "Status";
     this.dataGridViewTextBoxColumn11.HeaderText       = "Status";
     this.dataGridViewTextBoxColumn11.Name             = "dataGridViewTextBoxColumn11";
     this.dataGridViewTextBoxColumn11.ReadOnly         = true;
     //
     // server_RadGridView
     //
     this.server_RadGridView.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.server_RadGridView.BackColor        = System.Drawing.SystemColors.ControlLightLight;
     this.server_RadGridView.ContextMenuStrip = this.server_ContextMenuStrip;
     this.server_RadGridView.Location         = new System.Drawing.Point(0, 30);
     //
     //
     //
     gridViewCheckBoxColumn1.FieldName       = "Active";
     gridViewCheckBoxColumn1.HeaderText      = "Active";
     gridViewCheckBoxColumn1.IsAutoGenerated = true;
     gridViewCheckBoxColumn1.Name            = "Active";
     gridViewTextBoxColumn1.FieldName        = "HostName";
     gridViewTextBoxColumn1.HeaderText       = "Name";
     gridViewTextBoxColumn1.IsAutoGenerated  = true;
     gridViewTextBoxColumn1.Name             = "HostName";
     gridViewTextBoxColumn2.FieldName        = "Architecture";
     gridViewTextBoxColumn2.HeaderText       = "Architecture";
     gridViewTextBoxColumn2.IsAutoGenerated  = true;
     gridViewTextBoxColumn2.Name             = "Architecture";
     gridViewDecimalColumn1.DataType         = typeof(int);
     gridViewDecimalColumn1.FieldName        = "Processors";
     gridViewDecimalColumn1.HeaderText       = "CPUs";
     gridViewDecimalColumn1.IsAutoGenerated  = true;
     gridViewDecimalColumn1.Name             = "Processors";
     gridViewDecimalColumn2.DataType         = typeof(int);
     gridViewDecimalColumn2.FieldName        = "Cores";
     gridViewDecimalColumn2.HeaderText       = "Cores";
     gridViewDecimalColumn2.IsAutoGenerated  = true;
     gridViewDecimalColumn2.Name             = "Cores";
     gridViewDecimalColumn2.Width            = 75;
     gridViewDecimalColumn3.DataType         = typeof(int);
     gridViewDecimalColumn3.FieldName        = "Memory";
     gridViewDecimalColumn3.HeaderText       = "Memory";
     gridViewDecimalColumn3.IsAutoGenerated  = true;
     gridViewDecimalColumn3.Name             = "Memory";
     gridViewDecimalColumn3.Width            = 75;
     gridViewTextBoxColumn3.FieldName        = "DiskSpace";
     gridViewTextBoxColumn3.HeaderText       = "Disk";
     gridViewTextBoxColumn3.IsAutoGenerated  = true;
     gridViewTextBoxColumn3.Name             = "DiskSpace";
     gridViewTextBoxColumn4.FieldName        = "IpAddress";
     gridViewTextBoxColumn4.HeaderText       = "Address";
     gridViewTextBoxColumn4.IsAutoGenerated  = true;
     gridViewTextBoxColumn4.Name             = "IpAddress";
     gridViewTextBoxColumn4.Width            = 100;
     gridViewTextBoxColumn5.FieldName        = "Contact";
     gridViewTextBoxColumn5.HeaderText       = "Contact";
     gridViewTextBoxColumn5.IsAutoGenerated  = true;
     gridViewTextBoxColumn5.Name             = "Contact";
     gridViewTextBoxColumn5.Width            = 100;
     gridViewTextBoxColumn6.FieldName        = "Status";
     gridViewTextBoxColumn6.HeaderText       = "Status";
     gridViewTextBoxColumn6.IsAutoGenerated  = true;
     gridViewTextBoxColumn6.Name             = "Status";
     this.server_RadGridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewCheckBoxColumn1,
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewDecimalColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6
     });
     this.server_RadGridView.MasterTemplate.DataSource     = this.frameworkServerBindingSource;
     this.server_RadGridView.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.server_RadGridView.Name = "server_RadGridView";
     //
     //
     //
     this.server_RadGridView.RootElement.ControlBounds = new System.Drawing.Rectangle(0, 30, 240, 150);
     this.server_RadGridView.Size             = new System.Drawing.Size(1211, 431);
     this.server_RadGridView.TabIndex         = 10;
     this.server_RadGridView.Text             = "radGridView1";
     this.server_RadGridView.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.server_RadGridView_CellDoubleClick);
     //
     // frameworkServerBindingSource
     //
     this.frameworkServerBindingSource.DataSource = typeof(HP.ScalableTest.Core.AssetInventory.FrameworkServer);
     //
     // miniToolStrip
     //
     this.miniToolStrip.AutoSize         = false;
     this.miniToolStrip.CanOverflow      = false;
     this.miniToolStrip.Dock             = System.Windows.Forms.DockStyle.None;
     this.miniToolStrip.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.miniToolStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.miniToolStrip.LayoutStyle      = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.miniToolStrip.Location         = new System.Drawing.Point(209, 1);
     this.miniToolStrip.Name             = "miniToolStrip";
     this.miniToolStrip.Size             = new System.Drawing.Size(1124, 27);
     this.miniToolStrip.TabIndex         = 1;
     //
     // toolStripButton_Add
     //
     this.toolStripButton_Add.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Add.Image")));
     this.toolStripButton_Add.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Add.Name        = "toolStripButton_Add";
     this.toolStripButton_Add.Size        = new System.Drawing.Size(53, 24);
     this.toolStripButton_Add.Text        = "Add";
     this.toolStripButton_Add.ToolTipText = "Add a new server ";
     this.toolStripButton_Add.Click      += new System.EventHandler(this.add_Button_Click);
     //
     // toolStripButton_Edit
     //
     this.toolStripButton_Edit.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Edit.Image")));
     this.toolStripButton_Edit.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Edit.Name        = "toolStripButton_Edit";
     this.toolStripButton_Edit.Size        = new System.Drawing.Size(51, 24);
     this.toolStripButton_Edit.Text        = "Edit";
     this.toolStripButton_Edit.ToolTipText = "Edit the selected server";
     this.toolStripButton_Edit.Click      += new System.EventHandler(this.edit_Button_Click);
     //
     // toolStripButton_Delete
     //
     this.toolStripButton_Delete.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Delete.Image")));
     this.toolStripButton_Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Delete.Name        = "toolStripButton_Delete";
     this.toolStripButton_Delete.Size        = new System.Drawing.Size(74, 24);
     this.toolStripButton_Delete.Text        = "Remove";
     this.toolStripButton_Delete.ToolTipText = "Delete the selected server";
     this.toolStripButton_Delete.Click      += new System.EventHandler(this.delete_Button_Click);
     //
     // toolStrip1
     //
     this.toolStrip1.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton_Add,
         this.toolStripButton_Edit,
         this.toolStripButton_Delete,
         this.toolStripLabel_Spacer,
         this.toolStripButton_Types
     });
     this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.toolStrip1.Location    = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name        = "toolStrip1";
     this.toolStrip1.Size        = new System.Drawing.Size(1211, 27);
     this.toolStrip1.TabIndex    = 1;
     this.toolStrip1.Text        = "toolStrip1";
     //
     // toolStripLabel_Spacer
     //
     this.toolStripLabel_Spacer.Name = "toolStripLabel_Spacer";
     this.toolStripLabel_Spacer.Size = new System.Drawing.Size(97, 24);
     this.toolStripLabel_Spacer.Text = "                              ";
     //
     // toolStripButton_Types
     //
     this.toolStripButton_Types.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Types.Image")));
     this.toolStripButton_Types.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Types.Name   = "toolStripButton_Types";
     this.toolStripButton_Types.Size   = new System.Drawing.Size(96, 24);
     this.toolStripButton_Types.Text   = "Server Types";
     this.toolStripButton_Types.Click += new System.EventHandler(this.toolStripButton_Types_Click);
     //
     // FrameworkServerListForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize          = new System.Drawing.Size(1211, 513);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.apply_Button);
     this.Controls.Add(this.cancel_Button);
     this.Controls.Add(this.ok_Button);
     this.Controls.Add(this.server_RadGridView);
     this.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(4);
     this.Name          = "FrameworkServerListForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "System Servers List";
     this.Load         += new System.EventHandler(this.FrameworkServerListForm_Load);
     this.server_ContextMenuStrip.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.server_RadGridView.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.server_RadGridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.frameworkServerBindingSource)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #19
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(FormSelectObjects));
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewImageColumn gridViewImageColumn2 = new Telerik.WinControls.UI.GridViewImageColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radioButtonCSharpObject = new System.Windows.Forms.RadioButton();
            this.radioButtonJson = new System.Windows.Forms.RadioButton();
            this.radioButtonXml = new System.Windows.Forms.RadioButton();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label3 = new System.Windows.Forms.Label();
            this.numericUpDownMaxDepth = new System.Windows.Forms.NumericUpDown();
            this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
            this.radButtonCancel = new Telerik.WinControls.UI.RadButton();
            this.radButtonExport = new Telerik.WinControls.UI.RadButton();
            this.radPageViewExport = new Telerik.WinControls.UI.RadPageView();
            this.radPageViewPageLocals = new Telerik.WinControls.UI.RadPageViewPage();
            this.radCheckedListBoxLocals = new Telerik.WinControls.UI.RadCheckedListBox();
            this.radPageViewPageCustomExpression = new Telerik.WinControls.UI.RadPageViewPage();
            this.radGridViewCustomExpressions = new Telerik.WinControls.UI.RadGridView();
            this.radCheckBoxExcludePrivate = new Telerik.WinControls.UI.RadCheckBox();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxDepth)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonExport)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPageViewExport)).BeginInit();
            this.radPageViewExport.SuspendLayout();
            this.radPageViewPageLocals.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckedListBoxLocals)).BeginInit();
            this.radPageViewPageCustomExpression.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewCustomExpressions)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewCustomExpressions.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBoxExcludePrivate)).BeginInit();
            this.SuspendLayout();
            // 
            // radioButtonCSharpObject
            // 
            this.radioButtonCSharpObject.AutoSize = true;
            this.radioButtonCSharpObject.Location = new System.Drawing.Point(25, 19);
            this.radioButtonCSharpObject.Name = "radioButtonCSharpObject";
            this.radioButtonCSharpObject.Size = new System.Drawing.Size(73, 17);
            this.radioButtonCSharpObject.TabIndex = 6;
            this.radioButtonCSharpObject.TabStop = true;
            this.radioButtonCSharpObject.Text = "C# Object";
            this.radioButtonCSharpObject.UseVisualStyleBackColor = true;
            // 
            // radioButtonJson
            // 
            this.radioButtonJson.AutoSize = true;
            this.radioButtonJson.Location = new System.Drawing.Point(162, 19);
            this.radioButtonJson.Name = "radioButtonJson";
            this.radioButtonJson.Size = new System.Drawing.Size(53, 17);
            this.radioButtonJson.TabIndex = 7;
            this.radioButtonJson.TabStop = true;
            this.radioButtonJson.Text = "JSON";
            this.radioButtonJson.UseVisualStyleBackColor = true;
            // 
            // radioButtonXml
            // 
            this.radioButtonXml.AutoSize = true;
            this.radioButtonXml.Checked = true;
            this.radioButtonXml.Location = new System.Drawing.Point(279, 19);
            this.radioButtonXml.Name = "radioButtonXml";
            this.radioButtonXml.Size = new System.Drawing.Size(47, 17);
            this.radioButtonXml.TabIndex = 8;
            this.radioButtonXml.TabStop = true;
            this.radioButtonXml.Text = "XML";
            this.radioButtonXml.UseVisualStyleBackColor = true;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.radioButtonCSharpObject);
            this.groupBox1.Controls.Add(this.radioButtonXml);
            this.groupBox1.Controls.Add(this.radioButtonJson);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(358, 45);
            this.groupBox1.TabIndex = 9;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Select Output Format";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(15, 69);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(117, 13);
            this.label3.TabIndex = 14;
            this.label3.Text = "Maximum Object Depth";
            // 
            // numericUpDownMaxDepth
            // 
            this.numericUpDownMaxDepth.Location = new System.Drawing.Point(39, 85);
            this.numericUpDownMaxDepth.Name = "numericUpDownMaxDepth";
            this.numericUpDownMaxDepth.Size = new System.Drawing.Size(69, 20);
            this.numericUpDownMaxDepth.TabIndex = 13;
            this.numericUpDownMaxDepth.Value = new decimal(new int[] {
            2,
            0,
            0,
            0});
            // 
            // radButtonCancel
            // 
            this.radButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.radButtonCancel.Image = ((System.Drawing.Image)(resources.GetObject("radButtonCancel.Image")));
            this.radButtonCancel.Location = new System.Drawing.Point(12, 423);
            this.radButtonCancel.Name = "radButtonCancel";
            this.radButtonCancel.Size = new System.Drawing.Size(86, 24);
            this.radButtonCancel.TabIndex = 16;
            this.radButtonCancel.Text = "Exit";
            this.radButtonCancel.ThemeName = "TelerikMetroBlue";
            this.radButtonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
            // 
            // radButtonExport
            // 
            this.radButtonExport.Image = ((System.Drawing.Image)(resources.GetObject("radButtonExport.Image")));
            this.radButtonExport.Location = new System.Drawing.Point(284, 423);
            this.radButtonExport.Name = "radButtonExport";
            this.radButtonExport.Size = new System.Drawing.Size(86, 24);
            this.radButtonExport.TabIndex = 17;
            this.radButtonExport.Text = "Export";
            this.radButtonExport.ThemeName = "TelerikMetroBlue";
            this.radButtonExport.Click += new System.EventHandler(this.buttonExport_Click);
            // 
            // radPageViewExport
            // 
            this.radPageViewExport.Controls.Add(this.radPageViewPageLocals);
            this.radPageViewExport.Controls.Add(this.radPageViewPageCustomExpression);
            this.radPageViewExport.Location = new System.Drawing.Point(12, 116);
            this.radPageViewExport.Name = "radPageViewExport";
            this.radPageViewExport.SelectedPage = this.radPageViewPageLocals;
            this.radPageViewExport.Size = new System.Drawing.Size(358, 293);
            this.radPageViewExport.TabIndex = 18;
            this.radPageViewExport.ThemeName = "TelerikMetroBlue";
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageViewExport.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageViewExport.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Top;
            // 
            // radPageViewPageLocals
            // 
            this.radPageViewPageLocals.Controls.Add(this.radCheckedListBoxLocals);
            this.radPageViewPageLocals.ItemSize = new System.Drawing.SizeF(113F, 25F);
            this.radPageViewPageLocals.Location = new System.Drawing.Point(5, 31);
            this.radPageViewPageLocals.Name = "radPageViewPageLocals";
            this.radPageViewPageLocals.Size = new System.Drawing.Size(348, 257);
            this.radPageViewPageLocals.Text = "Select From Locals";
            // 
            // radCheckedListBoxLocals
            // 
            this.radCheckedListBoxLocals.AllowArbitraryItemWidth = true;
            this.radCheckedListBoxLocals.AllowColumnReorder = false;
            this.radCheckedListBoxLocals.AllowColumnResize = false;
            this.radCheckedListBoxLocals.AutoScroll = true;
            this.radCheckedListBoxLocals.Location = new System.Drawing.Point(0, 0);
            this.radCheckedListBoxLocals.Name = "radCheckedListBoxLocals";
            this.radCheckedListBoxLocals.Size = new System.Drawing.Size(348, 257);
            this.radCheckedListBoxLocals.TabIndex = 0;
            this.radCheckedListBoxLocals.ThemeName = "TelerikMetroBlue";
            this.radCheckedListBoxLocals.ItemCheckedChanged += new Telerik.WinControls.UI.ListViewItemEventHandler(this.radCheckedListBoxLocals_ItemCheckedChanged);
            // 
            // radPageViewPageCustomExpression
            // 
            this.radPageViewPageCustomExpression.Controls.Add(this.radGridViewCustomExpressions);
            this.radPageViewPageCustomExpression.ItemSize = new System.Drawing.SizeF(121F, 25F);
            this.radPageViewPageCustomExpression.Location = new System.Drawing.Point(5, 31);
            this.radPageViewPageCustomExpression.Name = "radPageViewPageCustomExpression";
            this.radPageViewPageCustomExpression.Size = new System.Drawing.Size(348, 257);
            this.radPageViewPageCustomExpression.Text = "Custom Expressions";
            // 
            // radGridViewCustomExpressions
            // 
            this.radGridViewCustomExpressions.BackColor = System.Drawing.Color.White;
            this.radGridViewCustomExpressions.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridViewCustomExpressions.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radGridViewCustomExpressions.Font = new System.Drawing.Font("Segoe UI", 9F);
            this.radGridViewCustomExpressions.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radGridViewCustomExpressions.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridViewCustomExpressions.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radGridViewCustomExpressions.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridViewCustomExpressions.MasterTemplate.AllowColumnChooser = false;
            this.radGridViewCustomExpressions.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.radGridViewCustomExpressions.MasterTemplate.AllowColumnReorder = false;
            this.radGridViewCustomExpressions.MasterTemplate.AllowColumnResize = false;
            this.radGridViewCustomExpressions.MasterTemplate.AllowDragToGroup = false;
            this.radGridViewCustomExpressions.MasterTemplate.AllowRowResize = false;
            this.radGridViewCustomExpressions.MasterTemplate.AutoGenerateColumns = false;
            this.radGridViewCustomExpressions.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn3.AllowResize = false;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.HeaderText = "Expression Name";
            gridViewTextBoxColumn3.IsPinned = true;
            gridViewTextBoxColumn3.Name = "columnExpressionName";
            gridViewTextBoxColumn3.PinPosition = Telerik.WinControls.UI.PinnedColumnPosition.Left;
            gridViewTextBoxColumn3.Width = 200;
            gridViewTextBoxColumn4.HeaderText = "Depth";
            gridViewTextBoxColumn4.MaxWidth = 85;
            gridViewTextBoxColumn4.Name = "columnDepth";
            gridViewTextBoxColumn4.ReadOnly = true;
            gridViewTextBoxColumn4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn4.Width = 85;
            gridViewImageColumn2.AllowResize = false;
            gridViewImageColumn2.EnableExpressionEditor = false;
            gridViewImageColumn2.HeaderText = "Valid";
            gridViewImageColumn2.MaxWidth = 45;
            gridViewImageColumn2.Name = "columnIsExpressionValid";
            gridViewImageColumn2.Width = 45;
            this.radGridViewCustomExpressions.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewImageColumn2});
            this.radGridViewCustomExpressions.MasterTemplate.EnableGrouping = false;
            this.radGridViewCustomExpressions.MasterTemplate.EnableSorting = false;
            this.radGridViewCustomExpressions.MasterTemplate.ShowRowHeaderColumn = false;
            this.radGridViewCustomExpressions.MasterTemplate.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysHide;
            this.radGridViewCustomExpressions.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.radGridViewCustomExpressions.Name = "radGridViewCustomExpressions";
            this.radGridViewCustomExpressions.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.radGridViewCustomExpressions.ShowGroupPanel = false;
            this.radGridViewCustomExpressions.Size = new System.Drawing.Size(348, 257);
            this.radGridViewCustomExpressions.TabIndex = 0;
            this.radGridViewCustomExpressions.ThemeName = "TelerikMetroBlue";
            this.radGridViewCustomExpressions.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridViewCustomExpressions_CellValueChanged);
            // 
            // radCheckBoxExcludePrivate
            // 
            this.radCheckBoxExcludePrivate.CheckState = System.Windows.Forms.CheckState.Checked;
            this.radCheckBoxExcludePrivate.Location = new System.Drawing.Point(141, 85);
            this.radCheckBoxExcludePrivate.Name = "radCheckBoxExcludePrivate";
            this.radCheckBoxExcludePrivate.Size = new System.Drawing.Size(221, 19);
            this.radCheckBoxExcludePrivate.TabIndex = 19;
            this.radCheckBoxExcludePrivate.Text = "Exclude private properties and fields";
            this.radCheckBoxExcludePrivate.ThemeName = "TelerikMetroBlue";
            this.radCheckBoxExcludePrivate.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
            // 
            // FormSelectObjects
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.CancelButton = this.radButtonCancel;
            this.ClientSize = new System.Drawing.Size(380, 461);
            this.Controls.Add(this.radCheckBoxExcludePrivate);
            this.Controls.Add(this.radPageViewExport);
            this.Controls.Add(this.radButtonExport);
            this.Controls.Add(this.radButtonCancel);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.numericUpDownMaxDepth);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "FormSelectObjects";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = " Object Exporter";
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxDepth)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonExport)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radPageViewExport)).EndInit();
            this.radPageViewExport.ResumeLayout(false);
            this.radPageViewPageLocals.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radCheckedListBoxLocals)).EndInit();
            this.radPageViewPageCustomExpression.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewCustomExpressions.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewCustomExpressions)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBoxExcludePrivate)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(FrmRol));
     this.materialTheme1 = new Telerik.WinControls.Themes.MaterialTheme();
     this.radPanel1      = new Telerik.WinControls.UI.RadPanel();
     this.lblTotal       = new System.Windows.Forms.Label();
     this.radPanel2      = new Telerik.WinControls.UI.RadPanel();
     this.gridRoles      = new Telerik.WinControls.UI.RadGridView();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridRoles)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridRoles.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.lblTotal);
     this.radPanel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel1.Location  = new System.Drawing.Point(0, 290);
     this.radPanel1.Name      = "radPanel1";
     this.radPanel1.Size      = new System.Drawing.Size(558, 74);
     this.radPanel1.TabIndex  = 0;
     this.radPanel1.ThemeName = "Material";
     //
     // lblTotal
     //
     this.lblTotal.AutoSize = true;
     this.lblTotal.Location = new System.Drawing.Point(24, 3);
     this.lblTotal.Name     = "lblTotal";
     this.lblTotal.Size     = new System.Drawing.Size(135, 22);
     this.lblTotal.TabIndex = 7;
     this.lblTotal.Text     = "Total Registros:";
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.gridRoles);
     this.radPanel2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.radPanel2.Location  = new System.Drawing.Point(0, 0);
     this.radPanel2.Name      = "radPanel2";
     this.radPanel2.Size      = new System.Drawing.Size(558, 290);
     this.radPanel2.TabIndex  = 1;
     this.radPanel2.ThemeName = "Material";
     //
     // gridRoles
     //
     this.gridRoles.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridRoles.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gridRoles.MasterTemplate.AllowAddNewRow            = false;
     this.gridRoles.MasterTemplate.AllowColumnReorder        = false;
     this.gridRoles.MasterTemplate.AllowDeleteRow            = false;
     this.gridRoles.MasterTemplate.AllowRowHeaderContextMenu = false;
     this.gridRoles.MasterTemplate.EnableGrouping            = false;
     this.gridRoles.MasterTemplate.ViewDefinition            = tableViewDefinition1;
     this.gridRoles.Name                = "gridRoles";
     this.gridRoles.Size                = new System.Drawing.Size(558, 290);
     this.gridRoles.TabIndex            = 6;
     this.gridRoles.ThemeName           = "Material";
     this.gridRoles.ContextMenuOpening += new Telerik.WinControls.UI.ContextMenuOpeningEventHandler(this.gridRoles_ContextMenuOpening);
     //
     // FrmRol
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize    = new System.Drawing.Size(558, 364);
     this.Controls.Add(this.radPanel2);
     this.Controls.Add(this.radPanel1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name        = "FrmRol";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Roles";
     this.ThemeName     = "Material";
     this.Load         += new System.EventHandler(this.FrmRol_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridRoles.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridRoles)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #21
0
ファイル: Messages.Designer.cs プロジェクト: irania/tirax
        /// <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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.createMessage = new Telerik.WinControls.UI.RadButton();
            this.mbs = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.createMessage)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mbs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radGridView1
            // 
            this.radGridView1.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.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(27, 49);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowColumnChooser = false;
            this.radGridView1.MasterTemplate.AllowDeleteRow = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "Messages";
            gridViewTextBoxColumn1.HeaderText = "پیام";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "Messages";
            gridViewTextBoxColumn1.Width = 381;
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "creator";
            gridViewDecimalColumn2.HeaderText = "فرستنده";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.IsVisible = false;
            gridViewDecimalColumn2.Name = "creator";
            gridViewDecimalColumn3.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn3.EnableExpressionEditor = false;
            gridViewDecimalColumn3.FieldName = "toUser";
            gridViewDecimalColumn3.HeaderText = "toUser";
            gridViewDecimalColumn3.IsAutoGenerated = true;
            gridViewDecimalColumn3.IsVisible = false;
            gridViewDecimalColumn3.Name = "toUser";
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "createDate";
            gridViewTextBoxColumn2.HeaderText = "تاریخ ایجاد";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "createDate";
            gridViewTextBoxColumn2.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn2.Width = 107;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "doDate";
            gridViewTextBoxColumn3.HeaderText = "تاریخ اجرا";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Name = "doDate";
            gridViewTextBoxColumn3.Width = 111;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "status";
            gridViewTextBoxColumn4.HeaderText = "وضعیت";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Name = "status";
            gridViewTextBoxColumn4.Width = 85;
            gridViewTextBoxColumn5.DataType = typeof(tiraxco.User);
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "User";
            gridViewTextBoxColumn5.HeaderText = "User";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "User";
            gridViewTextBoxColumn6.DataType = typeof(tiraxco.User);
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "User1";
            gridViewTextBoxColumn6.HeaderText = "User1";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "User1";
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "User.name";
            gridViewTextBoxColumn7.HeaderText = "فرستنده";
            gridViewTextBoxColumn7.Name = "cName";
            gridViewTextBoxColumn7.Width = 150;
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewDecimalColumn2,
            gridViewDecimalColumn3,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7});
            this.radGridView1.MasterTemplate.DataSource = this.mbs;
            this.radGridView1.MasterTemplate.EnableFiltering = true;
            sortDescriptor1.PropertyName = "createDate";
            this.radGridView1.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(851, 252);
            this.radGridView1.TabIndex = 0;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
            // 
            // createMessage
            // 
            this.createMessage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.createMessage.Location = new System.Drawing.Point(27, 325);
            this.createMessage.Name = "createMessage";
            this.createMessage.Size = new System.Drawing.Size(110, 24);
            this.createMessage.TabIndex = 1;
            this.createMessage.Text = "ایجاد پیام جدید";
            this.createMessage.Click += new System.EventHandler(this.createMessage_Click);
            // 
            // mbs
            // 
            this.mbs.DataSource = typeof(tiraxco.Message);
            // 
            // Messages
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(908, 361);
            this.Controls.Add(this.createMessage);
            this.Controls.Add(this.radGridView1);
            this.Name = "Messages";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "پیام ها";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.Messages_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.createMessage)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mbs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #22
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();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition4    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewRelation        gridViewRelation1       = new Telerik.WinControls.UI.GridViewRelation();
     System.ComponentModel.ComponentResourceManager resources               = new System.ComponentModel.ComponentResourceManager(typeof(Report));
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn4  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition2    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn5  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn6  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn7  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn8  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn9  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn10 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition3    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem1       = new Telerik.WinControls.UI.ListViewDataItem("excel");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem2       = new Telerik.WinControls.UI.ListViewDataItem("clv");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem3       = new Telerik.WinControls.UI.ListViewDataItem("html");
     Telerik.WinControls.UI.ListViewDataItem        listViewDataItem4       = new Telerik.WinControls.UI.ListViewDataItem("pdf");
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark1      = new Telerik.WinControls.UI.RadPrintWatermark();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem1        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem2        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem3        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem         radListDataItem4        = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadPrintWatermark       radPrintWatermark2      = new Telerik.WinControls.UI.RadPrintWatermark();
     this.btn_print                    = new Telerik.WinControls.UI.RadButton();
     this.btn_printPerview             = new Telerik.WinControls.UI.RadButton();
     this.btn_printSetting             = new Telerik.WinControls.UI.RadButton();
     this.btn_export                   = new Telerik.WinControls.UI.RadButton();
     this.radGridView1                 = new Telerik.WinControls.UI.RadGridView();
     this.reportProjectBindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.gridViewTemplate1            = new Telerik.WinControls.UI.GridViewTemplate();
     this.gridViewTemplate2            = new Telerik.WinControls.UI.GridViewTemplate();
     this.departmentUserBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
     this.gridViewTemplate3            = new Telerik.WinControls.UI.GridViewTemplate();
     this.workersHoursBindingSource    = new System.Windows.Forms.BindingSource(this.components);
     this.ListViewOption               = new Telerik.WinControls.UI.RadListView();
     this.radPrintDocument1            = new Telerik.WinControls.UI.RadPrintDocument();
     this.materialTealTheme1           = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.saveFileDialog               = new System.Windows.Forms.SaveFileDialog();
     this.radComboBoxSummaries         = new Telerik.WinControls.UI.RadDropDownList();
     this.radPrintDocument2            = new Telerik.WinControls.UI.RadPrintDocument();
     this.departmentUserBindingSource  = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.reportProjectBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.workersHoursBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btn_print
     //
     this.btn_print.Location  = new System.Drawing.Point(72, 12);
     this.btn_print.Name      = "btn_print";
     this.btn_print.Size      = new System.Drawing.Size(116, 38);
     this.btn_print.TabIndex  = 0;
     this.btn_print.Text      = "print";
     this.btn_print.ThemeName = "MaterialTeal";
     this.btn_print.Click    += new System.EventHandler(this.radButtonPrint_Click);
     //
     // btn_printPerview
     //
     this.btn_printPerview.Location  = new System.Drawing.Point(215, 13);
     this.btn_printPerview.Name      = "btn_printPerview";
     this.btn_printPerview.Size      = new System.Drawing.Size(127, 37);
     this.btn_printPerview.TabIndex  = 1;
     this.btn_printPerview.Text      = "printPerview";
     this.btn_printPerview.ThemeName = "MaterialTeal";
     this.btn_printPerview.Click    += new System.EventHandler(this.radButtonPrintPreview_Click);
     //
     // btn_printSetting
     //
     this.btn_printSetting.Location  = new System.Drawing.Point(366, 13);
     this.btn_printSetting.Name      = "btn_printSetting";
     this.btn_printSetting.Size      = new System.Drawing.Size(116, 37);
     this.btn_printSetting.TabIndex  = 1;
     this.btn_printSetting.Text      = "printSetting";
     this.btn_printSetting.ThemeName = "MaterialTeal";
     this.btn_printSetting.Click    += new System.EventHandler(this.radButtonPrintSettings_Click);
     //
     // btn_export
     //
     this.btn_export.Location  = new System.Drawing.Point(610, 267);
     this.btn_export.Name      = "btn_export";
     this.btn_export.Size      = new System.Drawing.Size(116, 51);
     this.btn_export.TabIndex  = 1;
     this.btn_export.Text      = "export";
     this.btn_export.ThemeName = "MaterialTeal";
     this.btn_export.Click    += new System.EventHandler(this.radButtonExport_Click);
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(12, 56);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow = false;
     this.radGridView1.MasterTemplate.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
         this.gridViewTemplate1,
         this.gridViewTemplate2,
         this.gridViewTemplate3
     });
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition4;
     this.radGridView1.Name              = "radGridView1";
     this.radGridView1.ReadOnly          = true;
     gridViewRelation1.ChildColumnNames  = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ChildColumnNames")));
     gridViewRelation1.ParentColumnNames = ((System.Collections.Specialized.StringCollection)(resources.GetObject("gridViewRelation1.ParentColumnNames")));
     this.radGridView1.Relations.AddRange(new Telerik.WinControls.UI.GridViewRelation[] {
         gridViewRelation1
     });
     this.radGridView1.Size      = new System.Drawing.Size(581, 320);
     this.radGridView1.TabIndex  = 2;
     this.radGridView1.ThemeName = "MaterialTeal";
     //
     // reportProjectBindingSource
     //
     this.reportProjectBindingSource.DataSource = typeof(manageTask.HelpModel.ReportProject);
     //
     // gridViewTemplate1
     //
     this.gridViewTemplate1.ViewDefinition = tableViewDefinition1;
     //
     // gridViewTemplate2
     //
     gridViewDecimalColumn1.DataType        = typeof(int);
     gridViewDecimalColumn1.FieldName       = "IdDepartment";
     gridViewDecimalColumn1.HeaderText      = "IdDepartment";
     gridViewDecimalColumn1.IsAutoGenerated = true;
     gridViewDecimalColumn1.Name            = "IdDepartment";
     gridViewTextBoxColumn1.FieldName       = "Department";
     gridViewTextBoxColumn1.HeaderText      = "Department";
     gridViewTextBoxColumn1.IsAutoGenerated = true;
     gridViewTextBoxColumn1.Name            = "Department";
     gridViewDecimalColumn2.DataType        = typeof(int);
     gridViewDecimalColumn2.FieldName       = "NumWorkers";
     gridViewDecimalColumn2.HeaderText      = "NumWorkers";
     gridViewDecimalColumn2.IsAutoGenerated = true;
     gridViewDecimalColumn2.Name            = "NumWorkers";
     gridViewDecimalColumn3.FieldName       = "NumFinishWork";
     gridViewDecimalColumn3.HeaderText      = "NumFinishWork";
     gridViewDecimalColumn3.IsAutoGenerated = true;
     gridViewDecimalColumn3.Name            = "NumFinishWork";
     gridViewDecimalColumn4.FieldName       = "NumStayWork";
     gridViewDecimalColumn4.HeaderText      = "NumStayWork";
     gridViewDecimalColumn4.IsAutoGenerated = true;
     gridViewDecimalColumn4.Name            = "NumStayWork";
     gridViewTextBoxColumn2.DataType        = typeof(System.Collections.Generic.List <manageTask.Models.ProjectWorker>);
     gridViewTextBoxColumn2.FieldName       = "WorkersHours";
     gridViewTextBoxColumn2.HeaderText      = "WorkersHours";
     gridViewTextBoxColumn2.IsAutoGenerated = true;
     gridViewTextBoxColumn2.Name            = "WorkersHours";
     this.gridViewTemplate2.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn1,
         gridViewTextBoxColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3,
         gridViewDecimalColumn4,
         gridViewTextBoxColumn2
     });
     this.gridViewTemplate2.DataSource     = this.departmentUserBindingSource1;
     this.gridViewTemplate2.ViewDefinition = tableViewDefinition2;
     //
     // departmentUserBindingSource1
     //
     this.departmentUserBindingSource1.DataMember = "DepartmentUser";
     this.departmentUserBindingSource1.DataSource = this.reportProjectBindingSource;
     //
     // gridViewTemplate3
     //
     gridViewDecimalColumn5.DataType         = typeof(int);
     gridViewDecimalColumn5.FieldName        = "ProjectId";
     gridViewDecimalColumn5.HeaderText       = "ProjectId";
     gridViewDecimalColumn5.IsAutoGenerated  = true;
     gridViewDecimalColumn5.Name             = "ProjectId";
     gridViewDecimalColumn6.DataType         = typeof(int);
     gridViewDecimalColumn6.FieldName        = "UserId";
     gridViewDecimalColumn6.HeaderText       = "UserId";
     gridViewDecimalColumn6.IsAutoGenerated  = true;
     gridViewDecimalColumn6.Name             = "UserId";
     gridViewDecimalColumn7.FieldName        = "HoursForProject";
     gridViewDecimalColumn7.HeaderText       = "HoursForProject";
     gridViewDecimalColumn7.IsAutoGenerated  = true;
     gridViewDecimalColumn7.Name             = "HoursForProject";
     gridViewTextBoxColumn3.DataType         = typeof(manageTask.Models.Project);
     gridViewTextBoxColumn3.FieldName        = "Project";
     gridViewTextBoxColumn3.HeaderText       = "Project";
     gridViewTextBoxColumn3.IsAutoGenerated  = true;
     gridViewTextBoxColumn3.Name             = "Project";
     gridViewTextBoxColumn4.DataType         = typeof(manageTask.Models.User);
     gridViewTextBoxColumn4.FieldName        = "User";
     gridViewTextBoxColumn4.HeaderText       = "User";
     gridViewTextBoxColumn4.IsAutoGenerated  = true;
     gridViewTextBoxColumn4.Name             = "User";
     gridViewDecimalColumn8.FieldName        = "SumHoursDone";
     gridViewDecimalColumn8.HeaderText       = "SumHoursDone";
     gridViewDecimalColumn8.IsAutoGenerated  = true;
     gridViewDecimalColumn8.Name             = "SumHoursDone";
     gridViewDecimalColumn9.DataType         = typeof(double);
     gridViewDecimalColumn9.FieldName        = "daysLeft";
     gridViewDecimalColumn9.HeaderText       = "daysLeft";
     gridViewDecimalColumn9.IsAutoGenerated  = true;
     gridViewDecimalColumn9.Name             = "daysLeft";
     gridViewDecimalColumn10.FieldName       = "madePercent";
     gridViewDecimalColumn10.HeaderText      = "madePercent";
     gridViewDecimalColumn10.IsAutoGenerated = true;
     gridViewDecimalColumn10.Name            = "madePercent";
     this.gridViewTemplate3.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn5,
         gridViewDecimalColumn6,
         gridViewDecimalColumn7,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewDecimalColumn8,
         gridViewDecimalColumn9,
         gridViewDecimalColumn10
     });
     this.gridViewTemplate3.DataSource     = this.workersHoursBindingSource;
     this.gridViewTemplate3.ViewDefinition = tableViewDefinition3;
     //
     // workersHoursBindingSource
     //
     this.workersHoursBindingSource.DataMember = "WorkersHours";
     this.workersHoursBindingSource.DataSource = this.departmentUserBindingSource1;
     //
     // ListViewOption
     //
     this.ListViewOption.GroupItemSize = new System.Drawing.Size(200, 36);
     listViewDataItem1.Text            = "excel";
     listViewDataItem2.Text            = "clv";
     listViewDataItem3.Text            = "html";
     listViewDataItem4.Text            = "pdf";
     this.ListViewOption.Items.AddRange(new Telerik.WinControls.UI.ListViewDataItem[] {
         listViewDataItem1,
         listViewDataItem2,
         listViewDataItem3,
         listViewDataItem4
     });
     this.ListViewOption.ItemSize              = new System.Drawing.Size(200, 36);
     this.ListViewOption.Location              = new System.Drawing.Point(615, 48);
     this.ListViewOption.Name                  = "ListViewOption";
     this.ListViewOption.Size                  = new System.Drawing.Size(113, 113);
     this.ListViewOption.TabIndex              = 3;
     this.ListViewOption.ThemeName             = "MaterialTeal";
     this.ListViewOption.SelectedIndexChanged += new System.EventHandler(this.radListBox1_SelectedIndexChanged);
     //
     // radPrintDocument1
     //
     this.radPrintDocument1.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument1.Watermark  = radPrintWatermark1;
     //
     // radComboBoxSummaries
     //
     radListDataItem1.Text = "ExportAll";
     radListDataItem2.Text = "ExportOnlyTop";
     radListDataItem3.Text = "ExportOnlyBottom";
     radListDataItem4.Text = "DoNotExport";
     this.radComboBoxSummaries.Items.Add(radListDataItem1);
     this.radComboBoxSummaries.Items.Add(radListDataItem2);
     this.radComboBoxSummaries.Items.Add(radListDataItem3);
     this.radComboBoxSummaries.Items.Add(radListDataItem4);
     this.radComboBoxSummaries.Location  = new System.Drawing.Point(609, 214);
     this.radComboBoxSummaries.Name      = "radComboBoxSummaries";
     this.radComboBoxSummaries.Size      = new System.Drawing.Size(116, 36);
     this.radComboBoxSummaries.TabIndex  = 4;
     this.radComboBoxSummaries.ThemeName = "MaterialTeal";
     //
     // radPrintDocument2
     //
     this.radPrintDocument2.FooterFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument2.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
     this.radPrintDocument2.Watermark  = radPrintWatermark2;
     //
     // departmentUserBindingSource
     //
     this.departmentUserBindingSource.DataMember = "DepartmentUser";
     this.departmentUserBindingSource.DataSource = this.reportProjectBindingSource;
     //
     // Report
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(739, 388);
     this.Controls.Add(this.radComboBoxSummaries);
     this.Controls.Add(this.ListViewOption);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.btn_printPerview);
     this.Controls.Add(this.btn_printSetting);
     this.Controls.Add(this.btn_export);
     this.Controls.Add(this.btn_print);
     this.Name = "Report";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "Report";
     this.ThemeName = "MaterialTeal";
     ((System.ComponentModel.ISupportInitialize)(this.btn_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printPerview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_printSetting)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btn_export)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.reportProjectBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.workersHoursBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ListViewOption)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radComboBoxSummaries)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.departmentUserBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #23
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.rgvwUserList = new Telerik.WinControls.UI.RadGridView();
            this.btnSSOIn = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.rgvwUserList)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgvwUserList.MasterTemplate)).BeginInit();
            this.SuspendLayout();
            // 
            // rgvwUserList
            // 
            this.rgvwUserList.Location = new System.Drawing.Point(12, 12);
            // 
            // 
            // 
            this.rgvwUserList.MasterTemplate.AllowAddNewRow = false;
            this.rgvwUserList.MasterTemplate.AllowCellContextMenu = false;
            this.rgvwUserList.MasterTemplate.AllowColumnChooser = false;
            this.rgvwUserList.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.rgvwUserList.MasterTemplate.AllowColumnReorder = false;
            this.rgvwUserList.MasterTemplate.AllowColumnResize = false;
            this.rgvwUserList.MasterTemplate.AllowDeleteRow = false;
            this.rgvwUserList.MasterTemplate.AllowDragToGroup = false;
            this.rgvwUserList.MasterTemplate.AllowEditRow = false;
            this.rgvwUserList.MasterTemplate.AllowRowResize = false;
            this.rgvwUserList.MasterTemplate.EnableFiltering = true;
            this.rgvwUserList.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.rgvwUserList.Name = "rgvwUserList";
            this.rgvwUserList.Size = new System.Drawing.Size(1123, 372);
            this.rgvwUserList.TabIndex = 0;
            this.rgvwUserList.Text = "radGridView1";
            // 
            // btnSSOIn
            // 
            this.btnSSOIn.Location = new System.Drawing.Point(463, 412);
            this.btnSSOIn.Name = "btnSSOIn";
            this.btnSSOIn.Size = new System.Drawing.Size(168, 23);
            this.btnSSOIn.TabIndex = 1;
            this.btnSSOIn.Text = "SSO In";
            this.btnSSOIn.UseVisualStyleBackColor = true;
            this.btnSSOIn.Click += new System.EventHandler(this.btnSSOIn_Click);
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(1018, 486);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "button1";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1293, 607);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.btnSSOIn);
            this.Controls.Add(this.rgvwUserList);
            this.Name = "Form1";
            this.Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(this.rgvwUserList.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgvwUserList)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #24
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(frmBorrowReport));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.btnReport      = new System.Windows.Forms.Button();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.stiReport      = new Stimulsoft.Report.StiReport();
     this.windows8Theme1 = new Telerik.WinControls.Themes.Windows8Theme();
     this.dgvAllBorrow   = new Telerik.WinControls.UI.RadGridView();
     this.radGroupBox1   = new Telerik.WinControls.UI.RadGroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllBorrow)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllBorrow.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btnReport
     //
     this.btnReport.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnReport.Image      = global::LibManagement.Properties.Resources.P0rint;
     this.btnReport.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnReport.Location   = new System.Drawing.Point(492, 11);
     this.btnReport.Name       = "btnReport";
     this.btnReport.Size       = new System.Drawing.Size(73, 32);
     this.btnReport.TabIndex   = 2;
     this.btnReport.Text       = "چاپ";
     this.btnReport.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnReport.UseVisualStyleBackColor = true;
     this.btnReport.Click += new System.EventHandler(this.btnReport_Click);
     //
     // btnCancel
     //
     this.btnCancel.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Image      = global::LibManagement.Properties.Resources.Back1;
     this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCancel.Location   = new System.Drawing.Point(20, 11);
     this.btnCancel.Name       = "btnCancel";
     this.btnCancel.Size       = new System.Drawing.Size(76, 32);
     this.btnCancel.TabIndex   = 2;
     this.btnCancel.Text       = "بازگشت";
     this.btnCancel.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // stiReport
     //
     this.stiReport.EngineVersion        = Stimulsoft.Report.Engine.StiEngineVersion.EngineV2;
     this.stiReport.ReferencedAssemblies = new string[] {
         "System.Dll",
         "System.Drawing.Dll",
         "System.Windows.Forms.Dll",
         "System.Data.Dll",
         "System.Xml.Dll",
         "Stimulsoft.Controls.Dll",
         "Stimulsoft.Base.Dll",
         "Stimulsoft.Report.Dll"
     };
     this.stiReport.ReportAlias         = "Report";
     this.stiReport.ReportGuid          = "5da17ac1fb6a49a4a2a4f951dd029d3c";
     this.stiReport.ReportName          = "Report";
     this.stiReport.ReportSource        = resources.GetString("stiReport.ReportSource");
     this.stiReport.ReportUnit          = Stimulsoft.Report.StiReportUnitType.Inches;
     this.stiReport.ScriptLanguage      = Stimulsoft.Report.StiReportLanguageType.CSharp;
     this.stiReport.UseProgressInThread = false;
     //
     // dgvAllBorrow
     //
     this.dgvAllBorrow.Dock     = System.Windows.Forms.DockStyle.Top;
     this.dgvAllBorrow.Font     = new System.Drawing.Font("Tahoma", 8.25F);
     this.dgvAllBorrow.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.dgvAllBorrow.MasterTemplate.AllowAddNewRow     = false;
     this.dgvAllBorrow.MasterTemplate.AllowColumnReorder = false;
     gridViewTextBoxColumn1.FieldName  = "Id";
     gridViewTextBoxColumn1.HeaderText = "ID";
     gridViewTextBoxColumn1.IsVisible  = false;
     gridViewTextBoxColumn1.Name       = "column1";
     gridViewTextBoxColumn2.FieldName  = "BookId";
     gridViewTextBoxColumn2.HeaderText = "شماره کتاب";
     gridViewTextBoxColumn2.Name       = "column2";
     gridViewTextBoxColumn2.Width      = 121;
     gridViewTextBoxColumn3.FieldName  = "BorrowerId";
     gridViewTextBoxColumn3.HeaderText = "شماره کاربر";
     gridViewTextBoxColumn3.Name       = "column3";
     gridViewTextBoxColumn3.Width      = 121;
     gridViewTextBoxColumn4.FieldName  = "Bookname";
     gridViewTextBoxColumn4.HeaderText = "نام کتاب";
     gridViewTextBoxColumn4.Name       = "column4";
     gridViewTextBoxColumn4.Width      = 123;
     gridViewTextBoxColumn5.FieldName  = "FName";
     gridViewTextBoxColumn5.HeaderText = "نام کاربر";
     gridViewTextBoxColumn5.Name       = "column5";
     gridViewTextBoxColumn5.Width      = 123;
     gridViewTextBoxColumn6.FieldName  = "LName";
     gridViewTextBoxColumn6.HeaderText = "نام خانوادگی";
     gridViewTextBoxColumn6.Name       = "column6";
     gridViewTextBoxColumn6.Width      = 123;
     this.dgvAllBorrow.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6
     });
     this.dgvAllBorrow.MasterTemplate.EnableGrouping = false;
     this.dgvAllBorrow.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgvAllBorrow.Name     = "dgvAllBorrow";
     this.dgvAllBorrow.ReadOnly = true;
     this.dgvAllBorrow.Size     = new System.Drawing.Size(631, 335);
     this.dgvAllBorrow.TabIndex = 3;
     this.dgvAllBorrow.Text     = "radGridView1";
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.btnCancel);
     this.radGroupBox1.Controls.Add(this.btnReport);
     this.radGroupBox1.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.radGroupBox1.HeaderText = "";
     this.radGroupBox1.Location   = new System.Drawing.Point(12, 351);
     this.radGroupBox1.Name       = "radGroupBox1";
     this.radGroupBox1.Size       = new System.Drawing.Size(607, 57);
     this.radGroupBox1.TabIndex   = 4;
     //
     // frmBorrowReport
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(631, 422);
     this.Controls.Add(this.radGroupBox1);
     this.Controls.Add(this.dgvAllBorrow);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmBorrowReport";
     this.RightToLeft     = System.Windows.Forms.RightToLeft.Yes;
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "گزارش گیری امانت ها";
     this.ThemeName     = "Windows8";
     this.Load         += new System.EventHandler(this.frmBorrowReport_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllBorrow.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvAllBorrow)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #25
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.ConditionalFormattingObject conditionalFormattingObject1 = new Telerik.WinControls.UI.ConditionalFormattingObject();
            Telerik.WinControls.UI.ConditionalFormattingObject conditionalFormattingObject2 = new Telerik.WinControls.UI.ConditionalFormattingObject();
            Telerik.WinControls.UI.ConditionalFormattingObject conditionalFormattingObject3 = new Telerik.WinControls.UI.ConditionalFormattingObject();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.cb = new System.Windows.Forms.BindingSource(this.components);
            this.selectBtn = new Telerik.WinControls.UI.RadButton();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.selectBtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // cb
            // 
            this.cb.DataSource = typeof(tiraxco.ChequeTurnFull);
            // 
            // selectBtn
            // 
            this.selectBtn.Location = new System.Drawing.Point(15, 432);
            this.selectBtn.Name = "selectBtn";
            this.selectBtn.Size = new System.Drawing.Size(110, 24);
            this.selectBtn.TabIndex = 8;
            this.selectBtn.Text = "انتخاب";
            this.selectBtn.Click += new System.EventHandler(this.selectBtn_Click);
            // 
            // radGridView1
            // 
            this.radGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Segoe UI", 8.25F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(15, 41);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "#";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.Name = "ID";
            gridViewDecimalColumn1.Width = 60;
            gridViewCheckBoxColumn1.DataType = typeof(System.Nullable<bool>);
            gridViewCheckBoxColumn1.EnableExpressionEditor = false;
            gridViewCheckBoxColumn1.FieldName = "type";
            gridViewCheckBoxColumn1.HeaderText = "دریافتنی/پرداختنی";
            gridViewCheckBoxColumn1.IsAutoGenerated = true;
            gridViewCheckBoxColumn1.IsVisible = false;
            gridViewCheckBoxColumn1.MinWidth = 20;
            gridViewCheckBoxColumn1.Name = "type";
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "date";
            gridViewTextBoxColumn1.HeaderText = "تاریخ";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "date";
            gridViewTextBoxColumn1.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn1.Width = 74;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "bank";
            gridViewTextBoxColumn2.HeaderText = "بانک";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "bank";
            gridViewTextBoxColumn2.Width = 131;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "number";
            gridViewTextBoxColumn3.HeaderText = "شماره";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Name = "number";
            gridViewTextBoxColumn3.Width = 117;
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "amount";
            gridViewDecimalColumn2.HeaderText = "مبلغ";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.Name = "amount";
            gridViewDecimalColumn2.Width = 128;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "account_number";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.IsVisible = false;
            gridViewTextBoxColumn4.Name = "account_number";
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "branch";
            gridViewTextBoxColumn5.HeaderText = "branch";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "branch";
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "account_owner";
            gridViewTextBoxColumn6.HeaderText = "صاحب حساب";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.Name = "account_owner";
            gridViewTextBoxColumn6.Width = 172;
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "payto";
            gridViewTextBoxColumn7.HeaderText = "در وجه";
            gridViewTextBoxColumn7.IsAutoGenerated = true;
            gridViewTextBoxColumn7.Name = "payto";
            gridViewTextBoxColumn7.Width = 77;
            gridViewTextBoxColumn8.EnableExpressionEditor = false;
            gridViewTextBoxColumn8.FieldName = "beacuseOf";
            gridViewTextBoxColumn8.HeaderText = "بابت";
            gridViewTextBoxColumn8.IsAutoGenerated = true;
            gridViewTextBoxColumn8.IsVisible = false;
            gridViewTextBoxColumn8.Name = "beacuseOf";
            gridViewTextBoxColumn8.Width = 64;
            conditionalFormattingObject1.ApplyOnSelectedRows = false;
            conditionalFormattingObject1.ApplyToRow = true;
            conditionalFormattingObject1.CellBackColor = System.Drawing.Color.Empty;
            conditionalFormattingObject1.CellFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject1.CellForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject1.Name = "Recieved";
            conditionalFormattingObject1.RowBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(255)))), ((int)(((byte)(150)))));
            conditionalFormattingObject1.RowFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject1.RowForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject1.TValue1 = "دریافت شده";
            conditionalFormattingObject2.ApplyOnSelectedRows = false;
            conditionalFormattingObject2.ApplyToRow = true;
            conditionalFormattingObject2.CellBackColor = System.Drawing.Color.Empty;
            conditionalFormattingObject2.CellFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject2.CellForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject2.Name = "Sended";
            conditionalFormattingObject2.RowBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(147)))), ((int)(((byte)(147)))));
            conditionalFormattingObject2.RowFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject2.RowForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject2.TValue1 = "صادر شده";
            conditionalFormattingObject3.ApplyOnSelectedRows = false;
            conditionalFormattingObject3.ApplyToRow = true;
            conditionalFormattingObject3.CellBackColor = System.Drawing.Color.Empty;
            conditionalFormattingObject3.CellFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject3.CellForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject3.Name = "Created";
            conditionalFormattingObject3.RowBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(251)))), ((int)(((byte)(147)))));
            conditionalFormattingObject3.RowFont = new System.Drawing.Font("Tahoma", 8.25F);
            conditionalFormattingObject3.RowForeColor = System.Drawing.Color.Empty;
            conditionalFormattingObject3.TValue1 = "ايجاد چک";
            gridViewTextBoxColumn9.ConditionalFormattingObjectList.Add(conditionalFormattingObject1);
            gridViewTextBoxColumn9.ConditionalFormattingObjectList.Add(conditionalFormattingObject2);
            gridViewTextBoxColumn9.ConditionalFormattingObjectList.Add(conditionalFormattingObject3);
            gridViewTextBoxColumn9.EnableExpressionEditor = false;
            gridViewTextBoxColumn9.FieldName = "Status";
            gridViewTextBoxColumn9.HeaderText = "وضعیت";
            gridViewTextBoxColumn9.IsAutoGenerated = true;
            gridViewTextBoxColumn9.Name = "Status";
            gridViewTextBoxColumn9.Width = 101;
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewCheckBoxColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewDecimalColumn2,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9});
            this.radGridView1.MasterTemplate.DataSource = this.cb;
            sortDescriptor1.PropertyName = "date";
            this.radGridView1.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(874, 360);
            this.radGridView1.TabIndex = 9;
            this.radGridView1.Text = "radGridView1";
            // 
            // ChequeSelection
            // 
            this.AcceptButton = this.selectBtn;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(904, 497);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.selectBtn);
            this.Name = "ChequeSelection";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "انتخاب چک";
            ((System.ComponentModel.ISupportInitialize)(this.cb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.selectBtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #26
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition5 = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(FormPaises));
     this.textBox1           = new System.Windows.Forms.TextBox();
     this.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.textBox2           = new System.Windows.Forms.TextBox();
     this.radGridView1       = new Telerik.WinControls.UI.RadGridView();
     this.BtnCancelar        = new System.Windows.Forms.Button();
     this.BtnGuardar         = new System.Windows.Forms.Button();
     this.panel1             = new System.Windows.Forms.Panel();
     this.BtnCerrar          = new System.Windows.Forms.PictureBox();
     this.label3             = new System.Windows.Forms.Label();
     this.telerikMetroTheme1 = new Telerik.WinControls.Themes.TelerikMetroTheme();
     this.panel2             = new System.Windows.Forms.Panel();
     this.panel3             = new System.Windows.Forms.Panel();
     this.panel4             = new System.Windows.Forms.Panel();
     this.panel5             = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BtnCerrar)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location = new System.Drawing.Point(145, 28);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(391, 30);
     this.textBox1.TabIndex = 0;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(52, 28);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(87, 25);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Nombre:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(19, 75);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(120, 25);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Descripcion:";
     //
     // textBox2
     //
     this.textBox2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location = new System.Drawing.Point(145, 75);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(627, 30);
     this.textBox2.TabIndex = 3;
     //
     // radGridView1
     //
     this.radGridView1.Location = new System.Drawing.Point(54, 336);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow      = false;
     this.radGridView1.MasterTemplate.AllowColumnReorder  = false;
     this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     this.radGridView1.MasterTemplate.EnableGrouping      = false;
     this.radGridView1.MasterTemplate.ViewDefinition      = tableViewDefinition5;
     this.radGridView1.Name      = "radGridView1";
     this.radGridView1.ReadOnly  = true;
     this.radGridView1.Size      = new System.Drawing.Size(849, 321);
     this.radGridView1.TabIndex  = 5;
     this.radGridView1.Text      = "radGridView1";
     this.radGridView1.ThemeName = "TelerikMetro";
     //
     // BtnCancelar
     //
     this.BtnCancelar.BackColor = System.Drawing.Color.Transparent;
     this.BtnCancelar.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.BtnCancelar.FlatAppearance.BorderSize         = 0;
     this.BtnCancelar.FlatAppearance.MouseOverBackColor = System.Drawing.Color.PowderBlue;
     this.BtnCancelar.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.BtnCancelar.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnCancelar.ForeColor               = System.Drawing.Color.Black;
     this.BtnCancelar.Image                   = global::SistemaVentas.Properties.Resources.cerrar;
     this.BtnCancelar.Location                = new System.Drawing.Point(374, 130);
     this.BtnCancelar.Margin                  = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.BtnCancelar.Name                    = "BtnCancelar";
     this.BtnCancelar.Padding                 = new System.Windows.Forms.Padding(15, 0, 0, 0);
     this.BtnCancelar.Size                    = new System.Drawing.Size(162, 50);
     this.BtnCancelar.TabIndex                = 47;
     this.BtnCancelar.Text                    = "Eliminar";
     this.BtnCancelar.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.BtnCancelar.UseVisualStyleBackColor = false;
     this.BtnCancelar.Click                  += new System.EventHandler(this.BtnCancelar_Click);
     //
     // BtnGuardar
     //
     this.BtnGuardar.BackColor = System.Drawing.Color.Transparent;
     this.BtnGuardar.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.BtnGuardar.FlatAppearance.BorderSize         = 0;
     this.BtnGuardar.FlatAppearance.MouseOverBackColor = System.Drawing.Color.PowderBlue;
     this.BtnGuardar.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.BtnGuardar.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnGuardar.ForeColor               = System.Drawing.Color.Black;
     this.BtnGuardar.Image                   = global::SistemaVentas.Properties.Resources.salvar;
     this.BtnGuardar.Location                = new System.Drawing.Point(195, 130);
     this.BtnGuardar.Margin                  = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.BtnGuardar.Name                    = "BtnGuardar";
     this.BtnGuardar.Padding                 = new System.Windows.Forms.Padding(15, 0, 0, 0);
     this.BtnGuardar.Size                    = new System.Drawing.Size(162, 50);
     this.BtnGuardar.TabIndex                = 44;
     this.BtnGuardar.Text                    = "Guardar";
     this.BtnGuardar.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.BtnGuardar.UseVisualStyleBackColor = false;
     this.BtnGuardar.Click                  += new System.EventHandler(this.BtnGuardar_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.BtnCancelar);
     this.panel1.Controls.Add(this.BtnGuardar);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(52, 93);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(839, 210);
     this.panel1.TabIndex = 48;
     //
     // BtnCerrar
     //
     this.BtnCerrar.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.BtnCerrar.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.BtnCerrar.Image    = ((System.Drawing.Image)(resources.GetObject("BtnCerrar.Image")));
     this.BtnCerrar.Location = new System.Drawing.Point(913, 14);
     this.BtnCerrar.Margin   = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.BtnCerrar.Name     = "BtnCerrar";
     this.BtnCerrar.Size     = new System.Drawing.Size(24, 25);
     this.BtnCerrar.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.BtnCerrar.TabIndex = 48;
     this.BtnCerrar.TabStop  = false;
     this.BtnCerrar.Click   += new System.EventHandler(this.BtnCerrar_Click);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location  = new System.Drawing.Point(341, 14);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(195, 28);
     this.label3.TabIndex  = 48;
     this.label3.Text      = "Registro de Pais";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.BtnCerrar);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(950, 55);
     this.panel2.TabIndex = 49;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.panel3.Dock      = System.Windows.Forms.DockStyle.Right;
     this.panel3.Location  = new System.Drawing.Point(945, 55);
     this.panel3.Name      = "panel3";
     this.panel3.Size      = new System.Drawing.Size(5, 632);
     this.panel3.TabIndex  = 50;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.panel4.Dock      = System.Windows.Forms.DockStyle.Left;
     this.panel4.Location  = new System.Drawing.Point(0, 55);
     this.panel4.Name      = "panel4";
     this.panel4.Size      = new System.Drawing.Size(5, 632);
     this.panel4.TabIndex  = 51;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel5.Location  = new System.Drawing.Point(5, 682);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(940, 5);
     this.panel5.TabIndex  = 51;
     //
     // FormPaises
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.ClientSize          = new System.Drawing.Size(950, 687);
     this.Controls.Add(this.panel5);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radGridView1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "FormPaises";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Pais";
     this.WindowState     = System.Windows.Forms.FormWindowState.Maximized;
     this.Load           += new System.EventHandler(this.FormPaises_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BtnCerrar)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #27
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn4 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn5 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn6 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn7 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.New = new Telerik.WinControls.UI.RadButton();
            this.Save = new Telerik.WinControls.UI.RadButton();
            this.Grid = new Telerik.WinControls.UI.RadGridView();
            this.DaybookBS = new System.Windows.Forms.BindingSource(this.components);
            this.editBtn = new Telerik.WinControls.UI.RadButton();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.daybookDescriptionBindingSource = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.New)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Save)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Grid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Grid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.DaybookBS)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.editBtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.daybookDescriptionBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // New
            // 
            this.New.Location = new System.Drawing.Point(129, 434);
            this.New.Name = "New";
            this.New.Size = new System.Drawing.Size(110, 24);
            this.New.TabIndex = 2;
            this.New.Text = "ایجاد";
            this.New.Click += new System.EventHandler(this.New_Click);
            // 
            // Save
            // 
            this.Save.Location = new System.Drawing.Point(13, 434);
            this.Save.Name = "Save";
            this.Save.Size = new System.Drawing.Size(110, 24);
            this.Save.TabIndex = 2;
            this.Save.Text = "حذف";
            this.Save.Click += new System.EventHandler(this.Save_Click);
            // 
            // Grid
            // 
            this.Grid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.Grid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.Grid.Cursor = System.Windows.Forms.Cursors.Default;
            this.Grid.Font = new System.Drawing.Font("Tahoma", 8.25F);
            this.Grid.ForeColor = System.Drawing.Color.Black;
            this.Grid.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.Grid.Location = new System.Drawing.Point(12, 12);
            // 
            // 
            // 
            this.Grid.MasterTemplate.AllowAddNewRow = false;
            this.Grid.MasterTemplate.AllowEditRow = false;
            this.Grid.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "شماره";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.Name = "ID";
            gridViewDecimalColumn1.Width = 115;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "date";
            gridViewTextBoxColumn1.HeaderText = "تاریخ";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "date";
            gridViewTextBoxColumn1.Width = 165;
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "SUM";
            gridViewDecimalColumn2.HeaderText = "مبلغ";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.Name = "SUM";
            gridViewDecimalColumn2.Width = 161;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "infos";
            gridViewTextBoxColumn2.HeaderText = "توضیحات";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "infos";
            gridViewTextBoxColumn2.Width = 307;
            this.Grid.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewDecimalColumn2,
            gridViewTextBoxColumn2});
            this.Grid.MasterTemplate.DataSource = this.DaybookBS;
            this.Grid.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.Grid.Name = "Grid";
            this.Grid.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.Grid.Size = new System.Drawing.Size(766, 257);
            this.Grid.TabIndex = 1;
            this.Grid.Text = "radGridView1";
            this.Grid.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.Grid_CellClick);
            // 
            // DaybookBS
            // 
            this.DaybookBS.DataSource = typeof(tiraxco.DayBookDescriptionPrice);
            // 
            // editBtn
            // 
            this.editBtn.Location = new System.Drawing.Point(245, 434);
            this.editBtn.Name = "editBtn";
            this.editBtn.Size = new System.Drawing.Size(110, 24);
            this.editBtn.TabIndex = 2;
            this.editBtn.Text = "ویرایش";
            this.editBtn.Click += new System.EventHandler(this.editBtn_Click);
            // 
            // radGridView1
            // 
            this.radGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Tahoma", 8.25F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(12, 275);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "debtorFullName";
            gridViewTextBoxColumn3.HeaderText = "بدهکار";
            gridViewTextBoxColumn3.Name = "df";
            gridViewTextBoxColumn3.Width = 157;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "creditorFullName";
            gridViewTextBoxColumn4.HeaderText = "بستانکار";
            gridViewTextBoxColumn4.Name = "cf";
            gridViewTextBoxColumn4.Width = 173;
            gridViewDecimalColumn3.DataType = typeof(int);
            gridViewDecimalColumn3.EnableExpressionEditor = false;
            gridViewDecimalColumn3.FieldName = "ID";
            gridViewDecimalColumn3.HeaderText = "ID";
            gridViewDecimalColumn3.IsAutoGenerated = true;
            gridViewDecimalColumn3.IsVisible = false;
            gridViewDecimalColumn3.Name = "ID";
            gridViewDecimalColumn3.Width = 188;
            gridViewDecimalColumn4.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn4.EnableExpressionEditor = false;
            gridViewDecimalColumn4.FieldName = "DayBookID";
            gridViewDecimalColumn4.HeaderText = "DayBookID";
            gridViewDecimalColumn4.IsAutoGenerated = true;
            gridViewDecimalColumn4.IsVisible = false;
            gridViewDecimalColumn4.Name = "DayBookID";
            gridViewDecimalColumn4.Width = 73;
            gridViewDecimalColumn5.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn5.EnableExpressionEditor = false;
            gridViewDecimalColumn5.FieldName = "Debtor";
            gridViewDecimalColumn5.HeaderText = "Debtor";
            gridViewDecimalColumn5.IsAutoGenerated = true;
            gridViewDecimalColumn5.IsVisible = false;
            gridViewDecimalColumn5.Name = "Debtor";
            gridViewDecimalColumn5.Width = 83;
            gridViewDecimalColumn6.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn6.EnableExpressionEditor = false;
            gridViewDecimalColumn6.FieldName = "Creditor";
            gridViewDecimalColumn6.HeaderText = "Creditor";
            gridViewDecimalColumn6.IsAutoGenerated = true;
            gridViewDecimalColumn6.IsVisible = false;
            gridViewDecimalColumn6.Name = "Creditor";
            gridViewDecimalColumn6.Width = 96;
            gridViewDecimalColumn7.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn7.EnableExpressionEditor = false;
            gridViewDecimalColumn7.FieldName = "Price";
            gridViewDecimalColumn7.HeaderText = "قیمت";
            gridViewDecimalColumn7.IsAutoGenerated = true;
            gridViewDecimalColumn7.Name = "Price";
            gridViewDecimalColumn7.Width = 121;
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "Behlaf";
            gridViewTextBoxColumn5.HeaderText = "بابت";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.Name = "Behlaf";
            gridViewTextBoxColumn5.Width = 297;
            gridViewTextBoxColumn6.DataType = typeof(tiraxco.AccAccount);
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "AccAccount";
            gridViewTextBoxColumn6.HeaderText = "AccAccount";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "AccAccount";
            gridViewTextBoxColumn6.Width = 115;
            gridViewTextBoxColumn7.DataType = typeof(tiraxco.AccAccount);
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "AccAccount1";
            gridViewTextBoxColumn7.HeaderText = "AccAccount1";
            gridViewTextBoxColumn7.IsAutoGenerated = true;
            gridViewTextBoxColumn7.IsVisible = false;
            gridViewTextBoxColumn7.Name = "AccAccount1";
            gridViewTextBoxColumn7.Width = 143;
            gridViewTextBoxColumn8.DataType = typeof(tiraxco.DayBookInfo);
            gridViewTextBoxColumn8.EnableExpressionEditor = false;
            gridViewTextBoxColumn8.FieldName = "DayBookInfo";
            gridViewTextBoxColumn8.HeaderText = "توضیحات";
            gridViewTextBoxColumn8.IsAutoGenerated = true;
            gridViewTextBoxColumn8.IsVisible = false;
            gridViewTextBoxColumn8.Name = "DayBookInfo";
            gridViewTextBoxColumn8.Width = 176;
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewDecimalColumn3,
            gridViewDecimalColumn4,
            gridViewDecimalColumn5,
            gridViewDecimalColumn6,
            gridViewDecimalColumn7,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8});
            this.radGridView1.MasterTemplate.DataSource = this.daybookDescriptionBindingSource;
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(766, 139);
            this.radGridView1.TabIndex = 2;
            this.radGridView1.Text = "radGridView1";
            // 
            // daybookDescriptionBindingSource
            // 
            this.daybookDescriptionBindingSource.DataSource = typeof(tiraxco.DaybookDescription);
            // 
            // DaybookManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(790, 487);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.editBtn);
            this.Controls.Add(this.New);
            this.Controls.Add(this.Save);
            this.Controls.Add(this.Grid);
            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.Name = "DaybookManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "مدیریت دفتر روزنامه";
            this.Load += new System.EventHandler(this.Daybook_Management_Load);
            ((System.ComponentModel.ISupportInitialize)(this.New)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Save)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Grid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Grid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.DaybookBS)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.editBtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.daybookDescriptionBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #28
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(frmEntidades));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.Data.GroupDescriptor       groupDescriptor1        = new Telerik.WinControls.Data.GroupDescriptor();
     Telerik.WinControls.Data.SortDescriptor        sortDescriptor1         = new Telerik.WinControls.Data.SortDescriptor();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radCommandBar1          = new Telerik.WinControls.UI.RadCommandBar();
     this.commandBarRowElement1   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.btnNuevoE            = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator1 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnGuardar           = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator2 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnEliminar          = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator3 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnSalir             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator4 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.commandBarLabel1     = new Telerik.WinControls.UI.CommandBarLabel();
     this.radPanel1            = new Telerik.WinControls.UI.RadPanel();
     this.cboEmp       = new Telerik.WinControls.UI.RadDropDownList();
     this.label1       = new System.Windows.Forms.Label();
     this.txtId        = new System.Windows.Forms.TextBox();
     this.chkEstatus   = new System.Windows.Forms.CheckBox();
     this.txtIdEmpresa = new System.Windows.Forms.TextBox();
     this.txtAbrev     = new System.Windows.Forms.TextBox();
     this.label4       = new System.Windows.Forms.Label();
     this.txtNombre    = new System.Windows.Forms.TextBox();
     this.label3       = new System.Windows.Forms.Label();
     this.gvDatos      = new Telerik.WinControls.UI.RadGridView();
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboEmp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radCommandBar1
     //
     this.radCommandBar1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radCommandBar1.Location = new System.Drawing.Point(0, 0);
     this.radCommandBar1.Name     = "radCommandBar1";
     this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
         this.commandBarRowElement1
     });
     this.radCommandBar1.Size     = new System.Drawing.Size(583, 56);
     this.radCommandBar1.TabIndex = 0;
     //
     // commandBarRowElement1
     //
     this.commandBarRowElement1.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement1.Name    = "commandBarRowElement1";
     this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
         this.commandBarStripElement1
     });
     //
     // commandBarStripElement1
     //
     this.commandBarStripElement1.DisplayName = "commandBarStripElement1";
     this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
         this.btnNuevoE,
         this.commandBarSeparator1,
         this.btnGuardar,
         this.commandBarSeparator2,
         this.btnEliminar,
         this.commandBarSeparator3,
         this.btnSalir,
         this.commandBarSeparator4,
         this.commandBarLabel1
     });
     this.commandBarStripElement1.Name = "commandBarStripElement1";
     //
     //
     //
     this.commandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     this.commandBarStripElement1.StretchHorizontally       = true;
     ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarStripElement1.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     //
     // btnNuevoE
     //
     this.btnNuevoE.DisplayName       = "commandBarButton1";
     this.btnNuevoE.DrawText          = true;
     this.btnNuevoE.Image             = ((System.Drawing.Image)(resources.GetObject("btnNuevoE.Image")));
     this.btnNuevoE.Name              = "btnNuevoE";
     this.btnNuevoE.Text              = "Nuevo";
     this.btnNuevoE.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNuevoE.Click            += new System.EventHandler(this.btnNuevo);
     //
     // commandBarSeparator1
     //
     this.commandBarSeparator1.DisplayName           = "commandBarSeparator1";
     this.commandBarSeparator1.Name                  = "commandBarSeparator1";
     this.commandBarSeparator1.VisibleInOverflowMenu = false;
     //
     // btnGuardar
     //
     this.btnGuardar.DisplayName       = "commandBarButton2";
     this.btnGuardar.DrawText          = true;
     this.btnGuardar.Image             = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.Name              = "btnGuardar";
     this.btnGuardar.Text              = "Guardar";
     this.btnGuardar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnGuardar.Click            += new System.EventHandler(this.btnGuardar_Click);
     //
     // commandBarSeparator2
     //
     this.commandBarSeparator2.DisplayName           = "commandBarSeparator2";
     this.commandBarSeparator2.Name                  = "commandBarSeparator2";
     this.commandBarSeparator2.VisibleInOverflowMenu = false;
     //
     // btnEliminar
     //
     this.btnEliminar.DisplayName       = "commandBarButton3";
     this.btnEliminar.DrawText          = true;
     this.btnEliminar.Image             = ((System.Drawing.Image)(resources.GetObject("btnEliminar.Image")));
     this.btnEliminar.Name              = "btnEliminar";
     this.btnEliminar.Text              = "Eliminar";
     this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEliminar.Click            += new System.EventHandler(this.btnEliminar_Click);
     //
     // commandBarSeparator3
     //
     this.commandBarSeparator3.DisplayName           = "commandBarSeparator3";
     this.commandBarSeparator3.Name                  = "commandBarSeparator3";
     this.commandBarSeparator3.VisibleInOverflowMenu = false;
     //
     // btnSalir
     //
     this.btnSalir.DisplayName       = "commandBarButton4";
     this.btnSalir.DrawText          = true;
     this.btnSalir.Image             = ((System.Drawing.Image)(resources.GetObject("btnSalir.Image")));
     this.btnSalir.Name              = "btnSalir";
     this.btnSalir.Text              = "Salir";
     this.btnSalir.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSalir.Click            += new System.EventHandler(this.btnSalir_Click);
     //
     // commandBarSeparator4
     //
     this.commandBarSeparator4.DisplayName           = "commandBarSeparator4";
     this.commandBarSeparator4.Name                  = "commandBarSeparator4";
     this.commandBarSeparator4.VisibleInOverflowMenu = false;
     //
     // commandBarLabel1
     //
     this.commandBarLabel1.DisplayName         = "commandBarLabel1";
     this.commandBarLabel1.Font                = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
     this.commandBarLabel1.ForeColor           = System.Drawing.Color.Navy;
     this.commandBarLabel1.Name                = "commandBarLabel1";
     this.commandBarLabel1.StretchHorizontally = true;
     this.commandBarLabel1.Text                = "CATALOGO DE ENTIDADES";
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.cboEmp);
     this.radPanel1.Controls.Add(this.label1);
     this.radPanel1.Controls.Add(this.txtId);
     this.radPanel1.Controls.Add(this.chkEstatus);
     this.radPanel1.Controls.Add(this.txtIdEmpresa);
     this.radPanel1.Controls.Add(this.txtAbrev);
     this.radPanel1.Controls.Add(this.label4);
     this.radPanel1.Controls.Add(this.txtNombre);
     this.radPanel1.Controls.Add(this.label3);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 56);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(583, 86);
     this.radPanel1.TabIndex = 1;
     //
     // cboEmp
     //
     this.cboEmp.DropDownStyle    = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.cboEmp.Location         = new System.Drawing.Point(74, 11);
     this.cboEmp.MaxDropDownItems = 10;
     this.cboEmp.Name             = "cboEmp";
     this.cboEmp.NullText         = "-Seleccionar-";
     this.cboEmp.Size             = new System.Drawing.Size(175, 20);
     this.cboEmp.TabIndex         = 1;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(17, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 13);
     this.label1.TabIndex = 15;
     this.label1.Text     = "Empresa:";
     //
     // txtId
     //
     this.txtId.Location = new System.Drawing.Point(437, 12);
     this.txtId.Name     = "txtId";
     this.txtId.Size     = new System.Drawing.Size(58, 20);
     this.txtId.TabIndex = 12;
     this.txtId.Visible  = false;
     //
     // chkEstatus
     //
     this.chkEstatus.AutoSize = true;
     this.chkEstatus.Location = new System.Drawing.Point(147, 61);
     this.chkEstatus.Name     = "chkEstatus";
     this.chkEstatus.Size     = new System.Drawing.Size(57, 17);
     this.chkEstatus.TabIndex = 4;
     this.chkEstatus.Text     = "Activo";
     this.chkEstatus.UseVisualStyleBackColor = true;
     //
     // txtIdEmpresa
     //
     this.txtIdEmpresa.Location = new System.Drawing.Point(373, 12);
     this.txtIdEmpresa.Name     = "txtIdEmpresa";
     this.txtIdEmpresa.Size     = new System.Drawing.Size(58, 20);
     this.txtIdEmpresa.TabIndex = 10;
     this.txtIdEmpresa.Visible  = false;
     //
     // txtAbrev
     //
     this.txtAbrev.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtAbrev.Location        = new System.Drawing.Point(74, 59);
     this.txtAbrev.MaxLength       = 5;
     this.txtAbrev.Name            = "txtAbrev";
     this.txtAbrev.Size            = new System.Drawing.Size(67, 20);
     this.txtAbrev.TabIndex        = 3;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(17, 63);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(39, 13);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Abrev.";
     //
     // txtNombre
     //
     this.txtNombre.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtNombre.Location        = new System.Drawing.Point(74, 35);
     this.txtNombre.MaxLength       = 40;
     this.txtNombre.Name            = "txtNombre";
     this.txtNombre.Size            = new System.Drawing.Size(166, 20);
     this.txtNombre.TabIndex        = 2;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(17, 38);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(51, 13);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Nombre:";
     //
     // gvDatos
     //
     this.gvDatos.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gvDatos.Location = new System.Drawing.Point(0, 142);
     //
     //
     //
     this.gvDatos.MasterTemplate.AllowAddNewRow     = false;
     this.gvDatos.MasterTemplate.AllowColumnReorder = false;
     this.gvDatos.MasterTemplate.AllowDeleteRow     = false;
     this.gvDatos.MasterTemplate.AllowDragToGroup   = false;
     this.gvDatos.MasterTemplate.AllowEditRow       = false;
     this.gvDatos.MasterTemplate.AutoExpandGroups   = true;
     gridViewTextBoxColumn1.FieldName      = "Id";
     gridViewTextBoxColumn1.HeaderText     = "ID";
     gridViewTextBoxColumn1.IsVisible      = false;
     gridViewTextBoxColumn1.Name           = "Id";
     gridViewTextBoxColumn2.FieldName      = "Empresas.Id";
     gridViewTextBoxColumn2.HeaderText     = "ID_Empresa";
     gridViewTextBoxColumn2.IsVisible      = false;
     gridViewTextBoxColumn2.MinWidth       = 50;
     gridViewTextBoxColumn2.Name           = "Id_Emp";
     gridViewTextBoxColumn2.Width          = 100;
     gridViewTextBoxColumn3.FieldName      = "Empresas.NombreComercial";
     gridViewTextBoxColumn3.HeaderText     = "Empresa";
     gridViewTextBoxColumn3.IsVisible      = false;
     gridViewTextBoxColumn3.MaxWidth       = 100;
     gridViewTextBoxColumn3.MinWidth       = 100;
     gridViewTextBoxColumn3.Name           = "Empresa";
     gridViewTextBoxColumn3.Width          = 100;
     gridViewTextBoxColumn4.FieldName      = "Nombre";
     gridViewTextBoxColumn4.HeaderText     = "Nombre";
     gridViewTextBoxColumn4.MaxWidth       = 300;
     gridViewTextBoxColumn4.MinWidth       = 200;
     gridViewTextBoxColumn4.Name           = "Nombre";
     gridViewTextBoxColumn4.Width          = 200;
     gridViewTextBoxColumn4.WrapText       = true;
     gridViewTextBoxColumn5.FieldName      = "Abrev";
     gridViewTextBoxColumn5.HeaderText     = "Abreviatura";
     gridViewTextBoxColumn5.MaxWidth       = 100;
     gridViewTextBoxColumn5.MinWidth       = 80;
     gridViewTextBoxColumn5.Name           = "Abrev";
     gridViewTextBoxColumn5.Width          = 80;
     gridViewCheckBoxColumn1.FieldName     = "DatosUsuario.Estatus";
     gridViewCheckBoxColumn1.HeaderText    = "Activo";
     gridViewCheckBoxColumn1.MaxWidth      = 100;
     gridViewCheckBoxColumn1.MinWidth      = 100;
     gridViewCheckBoxColumn1.Name          = "Estatus";
     gridViewCheckBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewCheckBoxColumn1.Width         = 100;
     this.gvDatos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewCheckBoxColumn1
     });
     sortDescriptor1.PropertyName = "Empresa";
     groupDescriptor1.GroupNames.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
         sortDescriptor1
     });
     this.gvDatos.MasterTemplate.GroupDescriptors.AddRange(new Telerik.WinControls.Data.GroupDescriptor[] {
         groupDescriptor1
     });
     this.gvDatos.MasterTemplate.ShowGroupedColumns  = true;
     this.gvDatos.MasterTemplate.ShowRowHeaderColumn = false;
     this.gvDatos.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.gvDatos.Name               = "gvDatos";
     this.gvDatos.ShowGroupPanel     = false;
     this.gvDatos.ShowNoDataText     = false;
     this.gvDatos.ShowRowErrors      = false;
     this.gvDatos.Size               = new System.Drawing.Size(583, 209);
     this.gvDatos.TabIndex           = 2;
     this.gvDatos.CurrentRowChanged += new Telerik.WinControls.UI.CurrentRowChangedEventHandler(this.gvDatos_CurrentRowChanged);
     //
     // frmEntidades
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(583, 351);
     this.Controls.Add(this.gvDatos);
     this.Controls.Add(this.radPanel1);
     this.Controls.Add(this.radCommandBar1);
     this.Name = "frmEntidades";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon  = false;
     this.Text      = "Entidades";
     this.ThemeName = "MaterialTeal";
     this.Load     += new System.EventHandler(this.frmEntidades_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboEmp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #29
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn4 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewSummaryItem gridViewSummaryItem1 = new Telerik.WinControls.UI.GridViewSummaryItem();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.fb = new System.Windows.Forms.BindingSource(this.components);
            this.payDate = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.payer = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.store = new Telerik.WinControls.UI.RadTextBox();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.flb = new System.Windows.Forms.BindingSource(this.components);
            this.gridViewTemplate1 = new Telerik.WinControls.UI.GridViewTemplate();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.explain = new Telerik.WinControls.UI.RadTextBox();
            this.create = new Telerik.WinControls.UI.RadButton();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.total = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox();
            this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
            this.CalcTotal = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.fb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.payDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.payer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.store)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.flb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.explain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.create)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.total)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // comboBox1
            // 
            this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "type", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.comboBox1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] {
            "جاری - صنعتی",
            "جاری - تجهیزات پزشکی",
            "تبلیغات",
            "IT",
            "رفت و آمد",
            "اغذیه",
            "تجهیزات",
            "سایر"});
            this.comboBox1.Location = new System.Drawing.Point(457, 57);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.comboBox1.Size = new System.Drawing.Size(186, 24);
            this.comboBox1.TabIndex = 1;
            // 
            // fb
            // 
            this.fb.DataSource = typeof(tiraxco.Factor);
            // 
            // payDate
            // 
            this.payDate.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "date", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.payDate.Location = new System.Drawing.Point(166, 90);
            this.payDate.Mask = "####/##/##";
            this.payDate.MaskType = Telerik.WinControls.UI.MaskType.Standard;
            this.payDate.Name = "payDate";
            this.payDate.Size = new System.Drawing.Size(125, 20);
            this.payDate.TabIndex = 4;
            this.payDate.TabStop = false;
            this.payDate.Text = "____/__/__";
            this.payDate.Validating += new System.ComponentModel.CancelEventHandler(this.payDate_Validating);
            // 
            // payer
            // 
            this.payer.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "payer", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.payer.Font = new System.Drawing.Font("Tahoma", 10F);
            this.payer.Location = new System.Drawing.Point(86, 55);
            this.payer.Name = "payer";
            this.payer.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.payer.Size = new System.Drawing.Size(205, 22);
            this.payer.TabIndex = 2;
            this.payer.Text = "تیراکس";
            // 
            // radLabel3
            // 
            this.radLabel3.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel3.Location = new System.Drawing.Point(301, 90);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel3.Size = new System.Drawing.Size(84, 20);
            this.radLabel3.TabIndex = 10;
            this.radLabel3.Text = "تاریخ پرداخت:";
            this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel2
            // 
            this.radLabel2.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel2.Location = new System.Drawing.Point(297, 55);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel2.Size = new System.Drawing.Size(88, 20);
            this.radLabel2.TabIndex = 11;
            this.radLabel2.Text = "پرداخت کننده:";
            this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel4
            // 
            this.radLabel4.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel4.Location = new System.Drawing.Point(649, 57);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel4.Size = new System.Drawing.Size(66, 20);
            this.radLabel4.TabIndex = 12;
            this.radLabel4.Text = "نوع هزینه:";
            this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel5
            // 
            this.radLabel5.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel5.Location = new System.Drawing.Point(668, 94);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel5.Size = new System.Drawing.Size(47, 20);
            this.radLabel5.TabIndex = 12;
            this.radLabel5.Text = "گیرنده:";
            this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // store
            // 
            this.store.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "store", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.store.Font = new System.Drawing.Font("Tahoma", 10F);
            this.store.Location = new System.Drawing.Point(457, 94);
            this.store.Name = "store";
            this.store.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.store.Size = new System.Drawing.Size(186, 22);
            this.store.TabIndex = 3;
            // 
            // radGridView1
            // 
            this.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(51, 142);
            // 
            // 
            // 
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "name";
            gridViewTextBoxColumn1.HeaderText = "نام";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "name";
            gridViewTextBoxColumn1.Width = 305;
            gridViewDecimalColumn2.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn2.EnableExpressionEditor = false;
            gridViewDecimalColumn2.FieldName = "cost";
            gridViewDecimalColumn2.HeaderText = "قیمت واحد";
            gridViewDecimalColumn2.IsAutoGenerated = true;
            gridViewDecimalColumn2.Name = "cost";
            gridViewDecimalColumn2.Width = 129;
            gridViewDecimalColumn3.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn3.EnableExpressionEditor = false;
            gridViewDecimalColumn3.FieldName = "number";
            gridViewDecimalColumn3.HeaderText = "تعداد";
            gridViewDecimalColumn3.IsAutoGenerated = true;
            gridViewDecimalColumn3.Name = "number";
            gridViewCheckBoxColumn1.DataType = typeof(System.Nullable<bool>);
            gridViewCheckBoxColumn1.EnableExpressionEditor = false;
            gridViewCheckBoxColumn1.FieldName = "costList";
            gridViewCheckBoxColumn1.HeaderText = "ثبت";
            gridViewCheckBoxColumn1.IsAutoGenerated = true;
            gridViewCheckBoxColumn1.MinWidth = 20;
            gridViewCheckBoxColumn1.Name = "costList";
            gridViewDecimalColumn4.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn4.EnableExpressionEditor = false;
            gridViewDecimalColumn4.FieldName = "factor";
            gridViewDecimalColumn4.HeaderText = "factor";
            gridViewDecimalColumn4.IsAutoGenerated = true;
            gridViewDecimalColumn4.IsVisible = false;
            gridViewDecimalColumn4.Name = "factor";
            gridViewTextBoxColumn2.DataType = typeof(tiraxco.Factor);
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "Factor1";
            gridViewTextBoxColumn2.HeaderText = "Factor1";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.IsVisible = false;
            gridViewTextBoxColumn2.Name = "Factor1";
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.Expression = "cost*number";
            gridViewTextBoxColumn3.HeaderText = "قیمت کل";
            gridViewTextBoxColumn3.Name = "totalcost";
            gridViewTextBoxColumn3.ReadOnly = true;
            gridViewTextBoxColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewTextBoxColumn3.Width = 139;
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewDecimalColumn2,
            gridViewDecimalColumn3,
            gridViewCheckBoxColumn1,
            gridViewDecimalColumn4,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3});
            this.radGridView1.MasterTemplate.DataSource = this.flb;
            this.radGridView1.MasterTemplate.EnableGrouping = false;
            gridViewSummaryItem1.Aggregate = Telerik.WinControls.UI.GridAggregateFunction.Sum;
            gridViewSummaryItem1.AggregateExpression = null;
            gridViewSummaryItem1.FormatString = "{0}";
            gridViewSummaryItem1.Name = "totalcost";
            this.radGridView1.MasterTemplate.SummaryRowsBottom.Add(new Telerik.WinControls.UI.GridViewSummaryRowItem(new Telerik.WinControls.UI.GridViewSummaryItem[] {
                gridViewSummaryItem1}));
            this.radGridView1.MasterTemplate.Templates.AddRange(new Telerik.WinControls.UI.GridViewTemplate[] {
            this.gridViewTemplate1});
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(691, 292);
            this.radGridView1.TabIndex = 6;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.GroupSummaryEvaluate += new Telerik.WinControls.UI.GroupSummaryEvaluateEventHandler(this.radGridView1_GroupSummaryEvaluate);
            // 
            // flb
            // 
            this.flb.DataMember = "FactorLists";
            this.flb.DataSource = this.fb;
            // 
            // gridViewTemplate1
            // 
            this.gridViewTemplate1.ViewDefinition = tableViewDefinition1;
            // 
            // radLabel6
            // 
            this.radLabel6.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel6.Location = new System.Drawing.Point(681, 497);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel6.Size = new System.Drawing.Size(61, 20);
            this.radLabel6.TabIndex = 12;
            this.radLabel6.Text = "توضیحات:";
            this.radLabel6.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // explain
            // 
            this.explain.AutoSize = false;
            this.explain.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "explain", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.explain.Font = new System.Drawing.Font("Tahoma", 10F);
            this.explain.Location = new System.Drawing.Point(260, 500);
            this.explain.Multiline = true;
            this.explain.Name = "explain";
            this.explain.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.explain.Size = new System.Drawing.Size(421, 56);
            this.explain.TabIndex = 8;
            // 
            // create
            // 
            this.create.Font = new System.Drawing.Font("Tahoma", 10F);
            this.create.Location = new System.Drawing.Point(51, 529);
            this.create.Name = "create";
            this.create.Size = new System.Drawing.Size(110, 24);
            this.create.TabIndex = 10;
            this.create.Text = "اعمال تغییرات";
            this.create.Click += new System.EventHandler(this.create_Click);
            // 
            // radLabel7
            // 
            this.radLabel7.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel7.Location = new System.Drawing.Point(260, 450);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel7.Size = new System.Drawing.Size(58, 20);
            this.radLabel7.TabIndex = 12;
            this.radLabel7.Text = "جمع کل:";
            this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // total
            // 
            this.total.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.fb, "total", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.total.Font = new System.Drawing.Font("Tahoma", 10F);
            this.total.Location = new System.Drawing.Point(86, 449);
            this.total.MaskType = Telerik.WinControls.UI.MaskType.Numeric;
            this.total.Name = "total";
            this.total.Size = new System.Drawing.Size(168, 22);
            this.total.TabIndex = 7;
            this.total.TabStop = false;
            this.total.Text = "0";
            // 
            // radCheckBox1
            // 
            this.radCheckBox1.DataBindings.Add(new System.Windows.Forms.Binding("IsChecked", this.fb, "setllment", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.radCheckBox1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radCheckBox1.Location = new System.Drawing.Point(606, 125);
            this.radCheckBox1.Name = "radCheckBox1";
            this.radCheckBox1.Size = new System.Drawing.Size(15, 15);
            this.radCheckBox1.TabIndex = 5;
            // 
            // radLabel8
            // 
            this.radLabel8.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel8.Location = new System.Drawing.Point(635, 122);
            this.radLabel8.Name = "radLabel8";
            this.radLabel8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel8.Size = new System.Drawing.Size(80, 20);
            this.radLabel8.TabIndex = 12;
            this.radLabel8.Text = "تسویه شده:";
            this.radLabel8.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // CalcTotal
            // 
            this.CalcTotal.Location = new System.Drawing.Point(51, 450);
            this.CalcTotal.Name = "CalcTotal";
            this.CalcTotal.Size = new System.Drawing.Size(29, 23);
            this.CalcTotal.TabIndex = 13;
            this.CalcTotal.Text = "...";
            this.CalcTotal.UseVisualStyleBackColor = true;
            this.CalcTotal.Click += new System.EventHandler(this.CalcTotal_Click);
            // 
            // CompanyExpenseView
            // 
            this.AcceptButton = this.create;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoValidate = System.Windows.Forms.AutoValidate.Disable;
            this.ClientSize = new System.Drawing.Size(785, 593);
            this.Controls.Add(this.CalcTotal);
            this.Controls.Add(this.radCheckBox1);
            this.Controls.Add(this.radLabel8);
            this.Controls.Add(this.total);
            this.Controls.Add(this.create);
            this.Controls.Add(this.explain);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.comboBox1);
            this.Controls.Add(this.payDate);
            this.Controls.Add(this.store);
            this.Controls.Add(this.payer);
            this.Controls.Add(this.radLabel3);
            this.Controls.Add(this.radLabel2);
            this.Controls.Add(this.radLabel7);
            this.Controls.Add(this.radLabel6);
            this.Controls.Add(this.radLabel5);
            this.Controls.Add(this.radLabel4);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "CompanyExpenseView";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "هزینه";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.CompanyExpenseView_FormClosed);
            this.Controls.SetChildIndex(this.radLabel4, 0);
            this.Controls.SetChildIndex(this.radLabel5, 0);
            this.Controls.SetChildIndex(this.radLabel6, 0);
            this.Controls.SetChildIndex(this.radLabel7, 0);
            this.Controls.SetChildIndex(this.radLabel2, 0);
            this.Controls.SetChildIndex(this.radLabel3, 0);
            this.Controls.SetChildIndex(this.payer, 0);
            this.Controls.SetChildIndex(this.store, 0);
            this.Controls.SetChildIndex(this.payDate, 0);
            this.Controls.SetChildIndex(this.comboBox1, 0);
            this.Controls.SetChildIndex(this.radGridView1, 0);
            this.Controls.SetChildIndex(this.explain, 0);
            this.Controls.SetChildIndex(this.create, 0);
            this.Controls.SetChildIndex(this.total, 0);
            this.Controls.SetChildIndex(this.radLabel8, 0);
            this.Controls.SetChildIndex(this.radCheckBox1, 0);
            this.Controls.SetChildIndex(this.CalcTotal, 0);
            ((System.ComponentModel.ISupportInitialize)(this.fb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.payDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.payer)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.store)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.flb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewTemplate1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.explain)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.create)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.total)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #30
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Stock_List));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn4 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn5 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn6 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.radRibbonBar1            = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1               = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup4       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnExport                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup3       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh               = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1               = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1             = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1 = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radMenuItem1             = new Telerik.WinControls.UI.RadMenuItem();
     this.radStatusStrip1          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1         = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1  = new System.Windows.Forms.Panel();
     this.dgvData = new Telerik.WinControls.UI.RadGridView();
     this.office2010BlueTheme1     = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter  = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup5     = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.contextMenuStrip1            = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.frezzRowToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.frezzColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.unFrezzToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(885, 161);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5
     });
     this.ribbonTab1.Name = "ribbonTab1";
     this.ribbonTab1.Text = "Action";
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnExport
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Export";
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefresh.Click            += new System.EventHandler(this.btnCancel_Click);
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 540);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(885, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     this.radStatusStrip1.Text       = "radStatusStrip1";
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "รายการสินค้าเข้าออกทั้งหมด";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.dgvData);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 161);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(885, 379);
     this.panel1.TabIndex = 2;
     //
     // dgvData
     //
     this.dgvData.BackColor        = System.Drawing.Color.White;
     this.dgvData.ContextMenuStrip = this.contextMenuStrip1;
     this.dgvData.Cursor           = System.Windows.Forms.Cursors.Default;
     this.dgvData.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.dgvData.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
     this.dgvData.ForeColor        = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139)))));
     this.dgvData.ImeMode          = System.Windows.Forms.ImeMode.NoControl;
     this.dgvData.Location         = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.dgvData.MasterTemplate.AllowAddNewRow       = false;
     this.dgvData.MasterTemplate.AllowCellContextMenu = false;
     this.dgvData.MasterTemplate.AllowColumnChooser   = false;
     gridViewTextBoxColumn1.EnableExpressionEditor    = false;
     gridViewTextBoxColumn1.FieldName              = "No";
     gridViewTextBoxColumn1.HeaderText             = "ลำดับ";
     gridViewTextBoxColumn1.Name                   = "dgvNo";
     gridViewTextBoxColumn1.ReadOnly               = true;
     gridViewTextBoxColumn2.EnableExpressionEditor = false;
     gridViewTextBoxColumn2.FieldName              = "CodeNo";
     gridViewTextBoxColumn2.HeaderText             = "รหัสทูล";
     gridViewTextBoxColumn2.IsVisible              = false;
     gridViewTextBoxColumn2.Name                   = "CodeNo";
     gridViewTextBoxColumn2.ReadOnly               = true;
     gridViewTextBoxColumn2.Width                  = 79;
     gridViewTextBoxColumn3.EnableExpressionEditor = false;
     gridViewTextBoxColumn3.FieldName              = "App";
     gridViewTextBoxColumn3.HeaderText             = "หัวข้อ";
     gridViewTextBoxColumn3.Name                   = "App";
     gridViewTextBoxColumn3.ReadOnly               = true;
     gridViewTextBoxColumn3.Width                  = 100;
     gridViewTextBoxColumn4.EnableExpressionEditor = false;
     gridViewTextBoxColumn4.FieldName              = "Type";
     gridViewTextBoxColumn4.HeaderText             = "ประเภท";
     gridViewTextBoxColumn4.Name                   = "Type";
     gridViewTextBoxColumn4.Width                  = 120;
     gridViewTextBoxColumn5.EnableExpressionEditor = false;
     gridViewTextBoxColumn5.FieldName              = "Category";
     gridViewTextBoxColumn5.HeaderText             = "ประเภทย่อย";
     gridViewTextBoxColumn5.IsVisible              = false;
     gridViewTextBoxColumn5.Name                   = "Category";
     gridViewTextBoxColumn5.Width                  = 80;
     gridViewTextBoxColumn6.EnableExpressionEditor = false;
     gridViewTextBoxColumn6.FieldName              = "DocNo";
     gridViewTextBoxColumn6.HeaderText             = "เลขที่เอกสาร";
     gridViewTextBoxColumn6.Name                   = "DocNo";
     gridViewTextBoxColumn6.ReadOnly               = true;
     gridViewTextBoxColumn6.Width                  = 100;
     gridViewTextBoxColumn7.EnableExpressionEditor = false;
     gridViewTextBoxColumn7.FieldName              = "RefNo";
     gridViewTextBoxColumn7.HeaderText             = "เลขที่อ้างอิง";
     gridViewTextBoxColumn7.Name                   = "RefNo";
     gridViewTextBoxColumn7.Width                  = 100;
     gridViewDecimalColumn1.EnableExpressionEditor = false;
     gridViewDecimalColumn1.FieldName              = "Qty";
     gridViewDecimalColumn1.FormatString           = "{0:N2}";
     gridViewDecimalColumn1.HeaderText             = "จำนวน";
     gridViewDecimalColumn1.Name                   = "Qty";
     gridViewDecimalColumn1.Width                  = 70;
     gridViewDecimalColumn2.EnableExpressionEditor = false;
     gridViewDecimalColumn2.FieldName              = "UnitCost";
     gridViewDecimalColumn2.FormatString           = "{0:N6}";
     gridViewDecimalColumn2.HeaderText             = "ราคา:หน่วย";
     gridViewDecimalColumn2.Name                   = "UnitCost";
     gridViewDecimalColumn2.ReadOnly               = true;
     gridViewDecimalColumn2.Width                  = 87;
     gridViewDecimalColumn3.EnableExpressionEditor = false;
     gridViewDecimalColumn3.FieldName              = "AmountCost";
     gridViewDecimalColumn3.FormatString           = "{0:N6}";
     gridViewDecimalColumn3.HeaderText             = "ราคารวม";
     gridViewDecimalColumn3.Name                   = "AmountCost";
     gridViewDecimalColumn3.ReadOnly               = true;
     gridViewDecimalColumn3.Width                  = 103;
     gridViewTextBoxColumn8.EnableExpressionEditor = false;
     gridViewTextBoxColumn8.FieldName              = "CreateDate";
     gridViewTextBoxColumn8.HeaderText             = "วันที่ (เวลา)";
     gridViewTextBoxColumn8.Name                   = "CreateDate";
     gridViewTextBoxColumn8.Width                  = 135;
     gridViewTextBoxColumn9.EnableExpressionEditor = false;
     gridViewTextBoxColumn9.FieldName              = "Type_in_out";
     gridViewTextBoxColumn9.HeaderText             = "เข้า-ออก";
     gridViewTextBoxColumn9.Name                   = "Type_in_out";
     gridViewTextBoxColumn9.ReadOnly               = true;
     gridViewTextBoxColumn9.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn9.Width                  = 63;
     gridViewDecimalColumn4.EnableExpressionEditor = false;
     gridViewDecimalColumn4.FieldName              = "RemainQty";
     gridViewDecimalColumn4.FormatString           = "{0:N2}";
     gridViewDecimalColumn4.HeaderText             = "สต็อกคงเหลือ ณ เวลา";
     gridViewDecimalColumn4.Name                   = "RemainQty";
     gridViewDecimalColumn4.Width                  = 117;
     gridViewDecimalColumn5.EnableExpressionEditor = false;
     gridViewDecimalColumn5.FieldName              = "Avg";
     gridViewDecimalColumn5.FormatString           = "{0:N6}";
     gridViewDecimalColumn5.HeaderText             = "ค่าเฉลี่ย ณ เวลา";
     gridViewDecimalColumn5.Name                   = "Avg";
     gridViewDecimalColumn5.ReadOnly               = true;
     gridViewDecimalColumn5.Width                  = 94;
     gridViewDecimalColumn6.EnableExpressionEditor = false;
     gridViewDecimalColumn6.FieldName              = "RemainAmount";
     gridViewDecimalColumn6.FormatString           = "{0:N6}";
     gridViewDecimalColumn6.HeaderText             = "ราคาคงเหลือ ณ เวลา";
     gridViewDecimalColumn6.Name                   = "RemainAmount";
     gridViewDecimalColumn6.Width                  = 118;
     this.dgvData.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewDecimalColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewDecimalColumn4,
         gridViewDecimalColumn5,
         gridViewDecimalColumn6
     });
     this.dgvData.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgvData.Name        = "dgvData";
     this.dgvData.ReadOnly    = true;
     this.dgvData.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.dgvData.Size        = new System.Drawing.Size(885, 379);
     this.dgvData.TabIndex    = 0;
     this.dgvData.Text        = "radGridView1";
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.frezzRowToolStripMenuItem,
         this.frezzColumnToolStripMenuItem,
         this.unFrezzToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(153, 92);
     //
     // frezzRowToolStripMenuItem
     //
     this.frezzRowToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.frezzRowToolStripMenuItem.Name      = "frezzRowToolStripMenuItem";
     this.frezzRowToolStripMenuItem.Size      = new System.Drawing.Size(152, 22);
     this.frezzRowToolStripMenuItem.Text      = " Frezz Row";
     this.frezzRowToolStripMenuItem.Click    += new System.EventHandler(this.frezzRowToolStripMenuItem_Click);
     //
     // frezzColumnToolStripMenuItem
     //
     this.frezzColumnToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.frezzColumnToolStripMenuItem.Name      = "frezzColumnToolStripMenuItem";
     this.frezzColumnToolStripMenuItem.Size      = new System.Drawing.Size(152, 22);
     this.frezzColumnToolStripMenuItem.Text      = " Frezz Column";
     this.frezzColumnToolStripMenuItem.Click    += new System.EventHandler(this.frezzColumnToolStripMenuItem_Click);
     //
     // unFrezzToolStripMenuItem
     //
     this.unFrezzToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.unFrezzToolStripMenuItem.Name      = "unFrezzToolStripMenuItem";
     this.unFrezzToolStripMenuItem.Size      = new System.Drawing.Size(152, 22);
     this.unFrezzToolStripMenuItem.Text      = "UnFrezz";
     this.unFrezzToolStripMenuItem.Click    += new System.EventHandler(this.unFrezzToolStripMenuItem_Click);
     //
     // Stock_List
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(885, 566);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "Stock_List";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #31
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();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(frmAgentScrew));
     this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
     this.radPageView1           = new Telerik.WinControls.UI.RadPageView();
     this.radPageViewPage1       = new Telerik.WinControls.UI.RadPageViewPage();
     this.panel1                      = new System.Windows.Forms.Panel();
     this.radGridView1                = new Telerik.WinControls.UI.RadGridView();
     this.radPageViewPage2            = new Telerik.WinControls.UI.RadPageViewPage();
     this.panel2                      = new System.Windows.Forms.Panel();
     this.flowLayoutPanel1            = new System.Windows.Forms.FlowLayoutPanel();
     this.radLabel1                   = new Telerik.WinControls.UI.RadLabel();
     this.txtLogPath                  = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel2                   = new Telerik.WinControls.UI.RadLabel();
     this.txtServer                   = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel3                   = new Telerik.WinControls.UI.RadLabel();
     this.txtNote                     = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel4                   = new Telerik.WinControls.UI.RadLabel();
     this.txtPass                     = new Telerik.WinControls.UI.RadTextBox();
     this.btnSave                     = new Telerik.WinControls.UI.RadButton();
     this.btnExit                     = new Telerik.WinControls.UI.RadButton();
     this.radWaitingBar1              = new Telerik.WinControls.UI.RadWaitingBar();
     this.waitingBarIndicatorElement2 = new Telerik.WinControls.UI.WaitingBarIndicatorElement();
     this.waitingBarIndicatorElement1 = new Telerik.WinControls.UI.WaitingBarIndicatorElement();
     this.fileSystemWatcher1          = new System.IO.FileSystemWatcher();
     this.backgroundWorker1           = new System.ComponentModel.BackgroundWorker();
     this.visualStudio2012LightTheme1 = new Telerik.WinControls.Themes.VisualStudio2012LightTheme();
     this.notifyIcon1                 = new System.Windows.Forms.NotifyIcon(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).BeginInit();
     this.radPageView1.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     this.radPageViewPage2.SuspendLayout();
     this.panel2.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtLogPath)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtServer)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtNote)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPass)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnExit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radWaitingBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPageView1
     //
     this.radPageView1.Controls.Add(this.radPageViewPage1);
     this.radPageView1.Controls.Add(this.radPageViewPage2);
     this.radPageView1.DefaultPage          = this.radPageViewPage1;
     this.radPageView1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.radPageView1.Location             = new System.Drawing.Point(0, 0);
     this.radPageView1.Name                 = "radPageView1";
     this.radPageView1.SelectedPage         = this.radPageViewPage1;
     this.radPageView1.Size                 = new System.Drawing.Size(833, 529);
     this.radPageView1.TabIndex             = 0;
     this.radPageView1.ThemeName            = "TelerikMetroBlue";
     this.radPageView1.SelectedPageChanged += new System.EventHandler(this.radPageView1_SelectedPageChanged);
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).ShowItemPinButton   = false;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).StripButtons        = Telerik.WinControls.UI.StripViewButtons.None;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).ShowItemCloseButton = false;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).ItemSpacing         = 5;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(46)))), ((int)(((byte)(46)))));
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).Font = new System.Drawing.Font("Consolas", 16F, System.Drawing.FontStyle.Bold);
     //
     // radPageViewPage1
     //
     this.radPageViewPage1.Controls.Add(this.panel1);
     this.radPageViewPage1.ItemSize = new System.Drawing.SizeF(64F, 36F);
     this.radPageViewPage1.Location = new System.Drawing.Point(5, 42);
     this.radPageViewPage1.Name     = "radPageViewPage1";
     this.radPageViewPage1.Size     = new System.Drawing.Size(823, 482);
     this.radPageViewPage1.Text     = "Home";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.radGridView1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(823, 482);
     this.panel1.TabIndex = 0;
     //
     // radGridView1
     //
     this.radGridView1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.radGridView1.EnableAnalytics = false;
     this.radGridView1.Location        = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow     = false;
     this.radGridView1.MasterTemplate.AllowColumnReorder = false;
     this.radGridView1.MasterTemplate.AllowDeleteRow     = false;
     this.radGridView1.MasterTemplate.AllowDragToGroup   = false;
     this.radGridView1.MasterTemplate.AllowEditRow       = false;
     this.radGridView1.MasterTemplate.EnableGrouping     = false;
     this.radGridView1.MasterTemplate.ViewDefinition     = tableViewDefinition1;
     this.radGridView1.Name     = "radGridView1";
     this.radGridView1.ReadOnly = true;
     //
     //
     //
     this.radGridView1.RootElement.FocusBorderColor = System.Drawing.Color.Black;
     this.radGridView1.ShowGroupPanel      = false;
     this.radGridView1.Size                = new System.Drawing.Size(823, 482);
     this.radGridView1.TabIndex            = 1;
     this.radGridView1.ThemeName           = "VisualStudio2012Light";
     this.radGridView1.TitlePosition       = Telerik.WinControls.Layouts.Dock.Left;
     this.radGridView1.ViewCellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.radGridView1_ViewCellFormatting);
     //
     // radPageViewPage2
     //
     this.radPageViewPage2.Controls.Add(this.panel2);
     this.radPageViewPage2.ItemSize = new System.Drawing.SizeF(100F, 36F);
     this.radPageViewPage2.Location = new System.Drawing.Point(5, 42);
     this.radPageViewPage2.Name     = "radPageViewPage2";
     this.radPageViewPage2.Size     = new System.Drawing.Size(823, 482);
     this.radPageViewPage2.Text     = "Setting";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.flowLayoutPanel1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(823, 482);
     this.panel2.TabIndex = 0;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.radLabel1);
     this.flowLayoutPanel1.Controls.Add(this.txtLogPath);
     this.flowLayoutPanel1.Controls.Add(this.radLabel2);
     this.flowLayoutPanel1.Controls.Add(this.txtServer);
     this.flowLayoutPanel1.Controls.Add(this.radLabel3);
     this.flowLayoutPanel1.Controls.Add(this.txtNote);
     this.flowLayoutPanel1.Controls.Add(this.radLabel4);
     this.flowLayoutPanel1.Controls.Add(this.txtPass);
     this.flowLayoutPanel1.Controls.Add(this.btnSave);
     this.flowLayoutPanel1.Controls.Add(this.btnExit);
     this.flowLayoutPanel1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
     this.flowLayoutPanel1.Location      = new System.Drawing.Point(0, 0);
     this.flowLayoutPanel1.Name          = "flowLayoutPanel1";
     this.flowLayoutPanel1.Padding       = new System.Windows.Forms.Padding(20, 0, 0, 0);
     this.flowLayoutPanel1.Size          = new System.Drawing.Size(823, 482);
     this.flowLayoutPanel1.TabIndex      = 4;
     //
     // radLabel1
     //
     this.radLabel1.Font     = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radLabel1.Location = new System.Drawing.Point(23, 3);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(89, 23);
     this.radLabel1.TabIndex = 3;
     this.radLabel1.Text     = "Logs Path";
     //
     // txtLogPath
     //
     this.txtLogPath.Font     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtLogPath.Location = new System.Drawing.Point(23, 32);
     this.txtLogPath.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 5);
     this.txtLogPath.Name     = "txtLogPath";
     this.txtLogPath.Size     = new System.Drawing.Size(327, 46);
     this.txtLogPath.TabIndex = 2;
     //
     // radLabel2
     //
     this.radLabel2.Font     = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radLabel2.Location = new System.Drawing.Point(23, 86);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(89, 23);
     this.radLabel2.TabIndex = 5;
     this.radLabel2.Text     = "Server IP";
     //
     // txtServer
     //
     this.txtServer.Font     = new System.Drawing.Font("Segoe UI", 10F);
     this.txtServer.Location = new System.Drawing.Point(23, 115);
     this.txtServer.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 5);
     this.txtServer.Name     = "txtServer";
     this.txtServer.Size     = new System.Drawing.Size(327, 46);
     this.txtServer.TabIndex = 4;
     //
     // radLabel3
     //
     this.radLabel3.Font     = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radLabel3.Location = new System.Drawing.Point(23, 169);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(44, 23);
     this.radLabel3.TabIndex = 7;
     this.radLabel3.Text     = "Note";
     //
     // txtNote
     //
     this.txtNote.Font     = new System.Drawing.Font("Segoe UI", 10F);
     this.txtNote.Location = new System.Drawing.Point(23, 198);
     this.txtNote.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 5);
     this.txtNote.Name     = "txtNote";
     this.txtNote.Size     = new System.Drawing.Size(327, 46);
     this.txtNote.TabIndex = 7;
     //
     // radLabel4
     //
     this.radLabel4.Font     = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radLabel4.Location = new System.Drawing.Point(23, 252);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(153, 23);
     this.radLabel4.TabIndex = 9;
     this.radLabel4.Text     = "Password to save";
     //
     // txtPass
     //
     this.txtPass.Font                  = new System.Drawing.Font("Segoe UI", 10F);
     this.txtPass.Location              = new System.Drawing.Point(23, 281);
     this.txtPass.Margin                = new System.Windows.Forms.Padding(3, 3, 3, 5);
     this.txtPass.Name                  = "txtPass";
     this.txtPass.PasswordChar          = '●';
     this.txtPass.Size                  = new System.Drawing.Size(327, 46);
     this.txtPass.TabIndex              = 6;
     this.txtPass.UseSystemPasswordChar = true;
     //
     // btnSave
     //
     this.btnSave.Font      = new System.Drawing.Font("Consolas", 11.14286F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSave.Location  = new System.Drawing.Point(23, 352);
     this.btnSave.Margin    = new System.Windows.Forms.Padding(3, 20, 3, 3);
     this.btnSave.Name      = "btnSave";
     this.btnSave.Size      = new System.Drawing.Size(327, 42);
     this.btnSave.TabIndex  = 8;
     this.btnSave.Text      = "Save Setting";
     this.btnSave.ThemeName = "TelerikMetroBlue";
     this.btnSave.Click    += new System.EventHandler(this.btnSave_Click);
     //
     // btnExit
     //
     this.btnExit.Font      = new System.Drawing.Font("Consolas", 11.14286F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnExit.Location  = new System.Drawing.Point(23, 417);
     this.btnExit.Margin    = new System.Windows.Forms.Padding(3, 20, 3, 3);
     this.btnExit.Name      = "btnExit";
     this.btnExit.Size      = new System.Drawing.Size(327, 42);
     this.btnExit.TabIndex  = 9;
     this.btnExit.Text      = "Close App";
     this.btnExit.ThemeName = "TelerikMetroBlue";
     this.btnExit.Click    += new System.EventHandler(this.btnExit_Click);
     //
     // radWaitingBar1
     //
     this.radWaitingBar1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.radWaitingBar1.Font      = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radWaitingBar1.Location  = new System.Drawing.Point(0, 529);
     this.radWaitingBar1.Name      = "radWaitingBar1";
     this.radWaitingBar1.ShowText  = true;
     this.radWaitingBar1.Size      = new System.Drawing.Size(833, 36);
     this.radWaitingBar1.TabIndex  = 1;
     this.radWaitingBar1.Text      = "Try connecting to server...";
     this.radWaitingBar1.ThemeName = "TelerikMetroBlue";
     this.radWaitingBar1.WaitingIndicators.Add(this.waitingBarIndicatorElement2);
     this.radWaitingBar1.WaitingIndicators.Add(this.waitingBarIndicatorElement1);
     this.radWaitingBar1.WaitingStep = 2;
     //
     // waitingBarIndicatorElement2
     //
     this.waitingBarIndicatorElement2.Name = "waitingBarIndicatorElement2";
     this.waitingBarIndicatorElement2.StretchHorizontally = false;
     //
     // waitingBarIndicatorElement1
     //
     this.waitingBarIndicatorElement1.Name = "waitingBarIndicatorElement1";
     this.waitingBarIndicatorElement1.StretchHorizontally = false;
     //
     // fileSystemWatcher1
     //
     this.fileSystemWatcher1.EnableRaisingEvents = true;
     this.fileSystemWatcher1.Filter = "*.log";
     this.fileSystemWatcher1.IncludeSubdirectories = true;
     this.fileSystemWatcher1.Path = "C:\\";
     this.fileSystemWatcher1.SynchronizingObject = this;
     this.fileSystemWatcher1.Changed            += new System.IO.FileSystemEventHandler(this.fileSystemWatcher1_Changed);
     this.fileSystemWatcher1.Created            += new System.IO.FileSystemEventHandler(this.fileSystemWatcher1_Created);
     //
     // backgroundWorker1
     //
     this.backgroundWorker1.WorkerSupportsCancellation = true;
     this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
     //
     // notifyIcon1
     //
     this.notifyIcon1.Icon              = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text              = "HEV OCTA";
     this.notifyIcon1.Visible           = true;
     this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
     //
     // frmAgentScrew
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(833, 565);
     this.Controls.Add(this.radPageView1);
     this.Controls.Add(this.radWaitingBar1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin      = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.MaximizeBox = false;
     this.Name        = "frmAgentScrew";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "HEV Agent For CAL";
     this.ThemeName     = "TelerikMetroBlue";
     this.WindowState   = System.Windows.Forms.FormWindowState.Minimized;
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.frmAgentScrew_FormClosing);
     this.FormClosed   += new System.Windows.Forms.FormClosedEventHandler(this.frmAgentScrew_FormClosed);
     this.Load         += new System.EventHandler(this.frmAgentScrew_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).EndInit();
     this.radPageView1.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     this.radPageViewPage2.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtLogPath)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtServer)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtNote)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPass)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnExit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radWaitingBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #32
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();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn2 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn3 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.Data.SortDescriptor        sortDescriptor1         = new Telerik.WinControls.Data.SortDescriptor();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SessionDataForm));
     this.close_Button = new System.Windows.Forms.Button();
     this.dataGridViewTextBoxColumn1          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.sessionData_GridView                = new Telerik.WinControls.UI.RadGridView();
     this.mainContextMenuStrip                = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.notesToolStripMenuItem              = new System.Windows.Forms.ToolStripMenuItem();
     this.retentionToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.configurationToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.exportToolStripMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.exportDeviceMemoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.exportToSQLToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.releaseSession_ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStrip1                       = new System.Windows.Forms.ToolStrip();
     this.notesToolStripButton             = new System.Windows.Forms.ToolStripButton();
     this.extendToolStripButton            = new System.Windows.Forms.ToolStripButton();
     this.configurationToolStripButton     = new System.Windows.Forms.ToolStripButton();
     this.deleteSessionInfoToolStripButton = new System.Windows.Forms.ToolStripButton();
     this.releaseSession_ToolStripButton   = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2              = new System.Windows.Forms.ToolStripSeparator();
     this.refresh_ToolStripButton          = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3              = new System.Windows.Forms.ToolStripSeparator();
     this.exportToolStripButton            = new System.Windows.Forms.ToolStripButton();
     this.exportMemoryToolStripButton      = new System.Windows.Forms.ToolStripButton();
     this.statusLabel                      = new System.Windows.Forms.Label();
     this.memoryFolderBrowserDialog        = new System.Windows.Forms.FolderBrowserDialog();
     ((System.ComponentModel.ISupportInitialize)(this.sessionData_GridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sessionData_GridView.MasterTemplate)).BeginInit();
     this.mainContextMenuStrip.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // close_Button
     //
     this.close_Button.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.close_Button.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.close_Button.Location                = new System.Drawing.Point(1293, 515);
     this.close_Button.Name                    = "close_Button";
     this.close_Button.Size                    = new System.Drawing.Size(100, 28);
     this.close_Button.TabIndex                = 3;
     this.close_Button.Text                    = "Close";
     this.close_Button.UseVisualStyleBackColor = true;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "SessionId";
     this.dataGridViewTextBoxColumn1.HeaderText       = "Session ID";
     this.dataGridViewTextBoxColumn1.Name             = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.Width            = 85;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "ScenarioName";
     this.dataGridViewTextBoxColumn2.HeaderText       = "Scenario Name";
     this.dataGridViewTextBoxColumn2.Name             = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.Width            = 350;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "StartDate";
     this.dataGridViewTextBoxColumn3.HeaderText       = "Start Date";
     this.dataGridViewTextBoxColumn3.Name             = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.Width            = 130;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "ActivityCount";
     this.dataGridViewTextBoxColumn4.HeaderText       = "Activities";
     this.dataGridViewTextBoxColumn4.Name             = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.Width            = 80;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "PrintJobCount";
     this.dataGridViewTextBoxColumn5.HeaderText       = "Print Jobs";
     this.dataGridViewTextBoxColumn5.Name             = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.Width            = 80;
     //
     // sessionData_GridView
     //
     this.sessionData_GridView.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.sessionData_GridView.BackColor        = System.Drawing.SystemColors.ControlLightLight;
     this.sessionData_GridView.ContextMenuStrip = this.mainContextMenuStrip;
     this.sessionData_GridView.Cursor           = System.Windows.Forms.Cursors.Default;
     this.sessionData_GridView.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
     this.sessionData_GridView.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.sessionData_GridView.ImeMode          = System.Windows.Forms.ImeMode.NoControl;
     this.sessionData_GridView.Location         = new System.Drawing.Point(0, 28);
     //
     //
     //
     gridViewTextBoxColumn1.AllowGroup             = false;
     gridViewTextBoxColumn1.AllowHide              = false;
     gridViewTextBoxColumn1.EnableExpressionEditor = false;
     gridViewTextBoxColumn1.FieldName              = "SessionId";
     gridViewTextBoxColumn1.HeaderText             = "Session ID";
     gridViewTextBoxColumn1.MaxWidth                = 80;
     gridViewTextBoxColumn1.MinWidth                = 80;
     gridViewTextBoxColumn1.Name                    = "sessionId_GridViewColumn";
     gridViewTextBoxColumn1.Width                   = 80;
     gridViewTextBoxColumn2.FieldName               = "Cycle";
     gridViewTextBoxColumn2.HeaderText              = "Cycle";
     gridViewTextBoxColumn2.MinWidth                = 80;
     gridViewTextBoxColumn2.Name                    = "sessionCycle_GridViewColumn";
     gridViewTextBoxColumn2.Width                   = 80;
     gridViewTextBoxColumn3.AllowGroup              = false;
     gridViewTextBoxColumn3.EnableExpressionEditor  = false;
     gridViewTextBoxColumn3.FieldName               = "SessionName";
     gridViewTextBoxColumn3.HeaderText              = "Session Name";
     gridViewTextBoxColumn3.MinWidth                = 200;
     gridViewTextBoxColumn3.Name                    = "sessionName_GridViewColumn";
     gridViewTextBoxColumn3.Width                   = 200;
     gridViewTextBoxColumn4.FieldName               = "Type";
     gridViewTextBoxColumn4.HeaderText              = "Session Type";
     gridViewTextBoxColumn4.MinWidth                = 100;
     gridViewTextBoxColumn4.Name                    = "sessionType_GridViewColumn";
     gridViewTextBoxColumn4.Width                   = 100;
     gridViewTextBoxColumn5.EnableExpressionEditor  = false;
     gridViewTextBoxColumn5.FieldName               = "Tags";
     gridViewTextBoxColumn5.HeaderText              = "Tags";
     gridViewTextBoxColumn5.MinWidth                = 100;
     gridViewTextBoxColumn5.Name                    = "tags_GridViewColumn";
     gridViewTextBoxColumn5.Width                   = 100;
     gridViewTextBoxColumn6.EnableExpressionEditor  = false;
     gridViewTextBoxColumn6.FieldName               = "Owner";
     gridViewTextBoxColumn6.HeaderText              = "Owner";
     gridViewTextBoxColumn6.MaxWidth                = 100;
     gridViewTextBoxColumn6.MinWidth                = 100;
     gridViewTextBoxColumn6.Name                    = "owner_GridViewColumn";
     gridViewTextBoxColumn6.Width                   = 100;
     gridViewDateTimeColumn1.AllowGroup             = false;
     gridViewDateTimeColumn1.EnableExpressionEditor = false;
     gridViewDateTimeColumn1.FieldName              = "StartDateTime";
     gridViewDateTimeColumn1.FilteringMode          = Telerik.WinControls.UI.GridViewTimeFilteringMode.Date;
     gridViewDateTimeColumn1.HeaderText             = "Start Date";
     gridViewDateTimeColumn1.MaxWidth               = 150;
     gridViewDateTimeColumn1.MinWidth               = 150;
     gridViewDateTimeColumn1.Name                   = "startDate_GridViewColumn";
     gridViewDateTimeColumn1.SortOrder              = Telerik.WinControls.UI.RadSortOrder.Descending;
     gridViewDateTimeColumn1.Width                  = 150;
     gridViewDateTimeColumn2.AllowGroup             = false;
     gridViewDateTimeColumn2.EnableExpressionEditor = false;
     gridViewDateTimeColumn2.FieldName              = "EndDateTime";
     gridViewDateTimeColumn2.FilteringMode          = Telerik.WinControls.UI.GridViewTimeFilteringMode.Date;
     gridViewDateTimeColumn2.HeaderText             = "End Date";
     gridViewDateTimeColumn2.MaxWidth               = 150;
     gridViewDateTimeColumn2.MinWidth               = 150;
     gridViewDateTimeColumn2.Name                   = "endDate_GridViewColumn";
     gridViewDateTimeColumn2.Width                  = 150;
     gridViewDateTimeColumn3.AllowGroup             = false;
     gridViewDateTimeColumn3.EnableExpressionEditor = false;
     gridViewDateTimeColumn3.FieldName              = "ExpirationDateTime";
     gridViewDateTimeColumn3.FilteringMode          = Telerik.WinControls.UI.GridViewTimeFilteringMode.Date;
     gridViewDateTimeColumn3.HeaderText             = "Expiration Date";
     gridViewDateTimeColumn3.MaxWidth               = 150;
     gridViewDateTimeColumn3.MinWidth               = 150;
     gridViewDateTimeColumn3.Name                   = "expirationDate_GridViewColumn";
     gridViewDateTimeColumn3.Width                  = 150;
     gridViewTextBoxColumn7.EnableExpressionEditor  = false;
     gridViewTextBoxColumn7.FieldName               = "Status";
     gridViewTextBoxColumn7.HeaderText              = "Run State";
     gridViewTextBoxColumn7.MaxWidth                = 80;
     gridViewTextBoxColumn7.MinWidth                = 80;
     gridViewTextBoxColumn7.Name                    = "runState_GridViewColumn";
     gridViewTextBoxColumn7.Width                   = 80;
     gridViewTextBoxColumn8.EnableExpressionEditor  = false;
     gridViewTextBoxColumn8.FieldName               = "ShutdownState";
     gridViewTextBoxColumn8.HeaderText              = "Shutdown State";
     gridViewTextBoxColumn8.MaxWidth                = 100;
     gridViewTextBoxColumn8.MinWidth                = 100;
     gridViewTextBoxColumn8.Name                    = "shutdownState_GridViewColumn";
     gridViewTextBoxColumn8.Width                   = 100;
     gridViewDecimalColumn1.AllowGroup              = false;
     gridViewDecimalColumn1.DecimalPlaces           = 0;
     gridViewDecimalColumn1.EnableExpressionEditor  = false;
     gridViewDecimalColumn1.FieldName               = "ActivityCount";
     gridViewDecimalColumn1.FormatString            = "{0:#,#}";
     gridViewDecimalColumn1.HeaderText              = "Activities";
     gridViewDecimalColumn1.MaxWidth                = 80;
     gridViewDecimalColumn1.MinWidth                = 80;
     gridViewDecimalColumn1.Name                    = "activityCount_GridViewColumn";
     gridViewDecimalColumn1.Width                   = 80;
     gridViewTextBoxColumn9.EnableExpressionEditor  = false;
     gridViewTextBoxColumn9.FieldName               = "Dispatcher";
     gridViewTextBoxColumn9.HeaderText              = "Dispatcher";
     gridViewTextBoxColumn9.MaxWidth                = 100;
     gridViewTextBoxColumn9.MinWidth                = 100;
     gridViewTextBoxColumn9.Name                    = "dispatcher_GridViewColumn";
     gridViewTextBoxColumn9.Width                   = 100;
     this.sessionData_GridView.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewDateTimeColumn1,
         gridViewDateTimeColumn2,
         gridViewDateTimeColumn3,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewDecimalColumn1,
         gridViewTextBoxColumn9
     });
     this.sessionData_GridView.MasterTemplate.EnableFiltering = true;
     sortDescriptor1.Direction    = System.ComponentModel.ListSortDirection.Descending;
     sortDescriptor1.PropertyName = "startDate_GridViewColumn";
     this.sessionData_GridView.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
         sortDescriptor1
     });
     this.sessionData_GridView.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.sessionData_GridView.Name        = "sessionData_GridView";
     this.sessionData_GridView.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     //
     //
     this.sessionData_GridView.RootElement.ControlBounds = new System.Drawing.Rectangle(0, 28, 240, 150);
     this.sessionData_GridView.Size              = new System.Drawing.Size(1405, 475);
     this.sessionData_GridView.TabIndex          = 11;
     this.sessionData_GridView.Text              = "radGridView1";
     this.sessionData_GridView.SelectionChanged += new System.EventHandler(this.sessionData_GridView_SelectionChanged);
     //
     // mainContextMenuStrip
     //
     this.mainContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.notesToolStripMenuItem,
         this.retentionToolStripMenuItem,
         this.configurationToolStripMenuItem,
         this.deleteToolStripMenuItem,
         this.exportToolStripMenuItem,
         this.exportDeviceMemoryToolStripMenuItem,
         this.exportToSQLToolStripMenuItem,
         this.toolStripSeparator1,
         this.releaseSession_ToolStripMenuItem
     });
     this.mainContextMenuStrip.Name     = "mainContextMenuStrip";
     this.mainContextMenuStrip.Size     = new System.Drawing.Size(194, 186);
     this.mainContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.mainContextMenuStrip_Opening);
     //
     // notesToolStripMenuItem
     //
     this.notesToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("notesToolStripMenuItem.Image")));
     this.notesToolStripMenuItem.Name   = "notesToolStripMenuItem";
     this.notesToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.notesToolStripMenuItem.Text   = "Notes";
     this.notesToolStripMenuItem.Click += new System.EventHandler(this.notesToolStripButton_Click);
     //
     // retentionToolStripMenuItem
     //
     this.retentionToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("retentionToolStripMenuItem.Image")));
     this.retentionToolStripMenuItem.Name   = "retentionToolStripMenuItem";
     this.retentionToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.retentionToolStripMenuItem.Text   = "Retention";
     this.retentionToolStripMenuItem.Click += new System.EventHandler(this.extendToolStripButton_Click);
     //
     // configurationToolStripMenuItem
     //
     this.configurationToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("configurationToolStripMenuItem.Image")));
     this.configurationToolStripMenuItem.Name   = "configurationToolStripMenuItem";
     this.configurationToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.configurationToolStripMenuItem.Text   = "Configuration";
     this.configurationToolStripMenuItem.Click += new System.EventHandler(this.configurationToolStripButton_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("deleteToolStripMenuItem.Image")));
     this.deleteToolStripMenuItem.Name   = "deleteToolStripMenuItem";
     this.deleteToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.deleteToolStripMenuItem.Text   = "Delete";
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteSessionInfoToolStripButton_Click);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("exportToolStripMenuItem.Image")));
     this.exportToolStripMenuItem.Name   = "exportToolStripMenuItem";
     this.exportToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.exportToolStripMenuItem.Text   = "Export Configuration";
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripButton_Click);
     //
     // exportDeviceMemoryToolStripMenuItem
     //
     this.exportDeviceMemoryToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("exportDeviceMemoryToolStripMenuItem.Image")));
     this.exportDeviceMemoryToolStripMenuItem.Name   = "exportDeviceMemoryToolStripMenuItem";
     this.exportDeviceMemoryToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.exportDeviceMemoryToolStripMenuItem.Text   = "Export Device Memory";
     this.exportDeviceMemoryToolStripMenuItem.Click += new System.EventHandler(this.exportMemoryToolStripButton_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(190, 6);
     //
     // releaseSession_ToolStripMenuItem
     //
     this.releaseSession_ToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("releaseSession_ToolStripMenuItem.Image")));
     this.releaseSession_ToolStripMenuItem.Name   = "releaseSession_ToolStripMenuItem";
     this.releaseSession_ToolStripMenuItem.Size   = new System.Drawing.Size(193, 22);
     this.releaseSession_ToolStripMenuItem.Text   = "Release Session";
     this.releaseSession_ToolStripMenuItem.Click += new System.EventHandler(this.releaseSession_ToolStripButton_Click);
     //
     // toolStrip1
     //
     this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.notesToolStripButton,
         this.extendToolStripButton,
         this.configurationToolStripButton,
         this.deleteSessionInfoToolStripButton,
         this.releaseSession_ToolStripButton,
         this.toolStripSeparator2,
         this.refresh_ToolStripButton,
         this.toolStripSeparator3,
         this.exportToolStripButton,
         this.exportMemoryToolStripButton
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(1405, 25);
     this.toolStrip1.TabIndex = 12;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // notesToolStripButton
     //
     this.notesToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("notesToolStripButton.Image")));
     this.notesToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.notesToolStripButton.Name        = "notesToolStripButton";
     this.notesToolStripButton.Size        = new System.Drawing.Size(58, 22);
     this.notesToolStripButton.Text        = "Notes";
     this.notesToolStripButton.ToolTipText = "View notes associated with selected Session";
     this.notesToolStripButton.Click      += new System.EventHandler(this.notesToolStripButton_Click);
     //
     // extendToolStripButton
     //
     this.extendToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("extendToolStripButton.Image")));
     this.extendToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.extendToolStripButton.Name        = "extendToolStripButton";
     this.extendToolStripButton.Size        = new System.Drawing.Size(78, 22);
     this.extendToolStripButton.Text        = "Retention";
     this.extendToolStripButton.ToolTipText = "Adjust the Session Information retention period";
     this.extendToolStripButton.Click      += new System.EventHandler(this.extendToolStripButton_Click);
     //
     // configurationToolStripButton
     //
     this.configurationToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("configurationToolStripButton.Image")));
     this.configurationToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.configurationToolStripButton.Name        = "configurationToolStripButton";
     this.configurationToolStripButton.Size        = new System.Drawing.Size(101, 22);
     this.configurationToolStripButton.Text        = "Configuration";
     this.configurationToolStripButton.ToolTipText = "View Session configuration details";
     this.configurationToolStripButton.Click      += new System.EventHandler(this.configurationToolStripButton_Click);
     //
     // deleteSessionInfoToolStripButton
     //
     this.deleteSessionInfoToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteSessionInfoToolStripButton.Image")));
     this.deleteSessionInfoToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.deleteSessionInfoToolStripButton.Name        = "deleteSessionInfoToolStripButton";
     this.deleteSessionInfoToolStripButton.Size        = new System.Drawing.Size(60, 22);
     this.deleteSessionInfoToolStripButton.Text        = "Delete";
     this.deleteSessionInfoToolStripButton.ToolTipText = "This will delete the Session Information for the selected session";
     this.deleteSessionInfoToolStripButton.Click      += new System.EventHandler(this.deleteSessionInfoToolStripButton_Click);
     //
     // releaseSession_ToolStripButton
     //
     this.releaseSession_ToolStripButton.Alignment             = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.releaseSession_ToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("releaseSession_ToolStripButton.Image")));
     this.releaseSession_ToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.releaseSession_ToolStripButton.Name        = "releaseSession_ToolStripButton";
     this.releaseSession_ToolStripButton.Size        = new System.Drawing.Size(108, 22);
     this.releaseSession_ToolStripButton.Text        = "Release Session";
     this.releaseSession_ToolStripButton.ToolTipText = "Resets selected session by releasing machines and resources";
     this.releaseSession_ToolStripButton.Click      += new System.EventHandler(this.releaseSession_ToolStripButton_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.toolStripSeparator2.Name      = "toolStripSeparator2";
     this.toolStripSeparator2.Size      = new System.Drawing.Size(6, 25);
     //
     // refresh_ToolStripButton
     //
     this.refresh_ToolStripButton.Alignment             = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.refresh_ToolStripButton.CheckOnClick          = true;
     this.refresh_ToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("refresh_ToolStripButton.Image")));
     this.refresh_ToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.refresh_ToolStripButton.Name        = "refresh_ToolStripButton";
     this.refresh_ToolStripButton.Size        = new System.Drawing.Size(66, 22);
     this.refresh_ToolStripButton.Text        = "Refresh";
     this.refresh_ToolStripButton.ToolTipText = "Refresh the table below";
     this.refresh_ToolStripButton.Click      += new System.EventHandler(this.refresh_ToolStripButton_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
     this.toolStripSeparator3.Name      = "toolStripSeparator3";
     this.toolStripSeparator3.Size      = new System.Drawing.Size(6, 25);
     //
     // exportToolStripButton
     //
     this.exportToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("exportToolStripButton.Image")));
     this.exportToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.exportToolStripButton.Name        = "exportToolStripButton";
     this.exportToolStripButton.Size        = new System.Drawing.Size(137, 22);
     this.exportToolStripButton.Text        = "Export Configuration";
     this.exportToolStripButton.ToolTipText = "Export the session configuration details";
     this.exportToolStripButton.Click      += new System.EventHandler(this.exportToolStripButton_Click);
     //
     // exportMemoryToolStripButton
     //
     this.exportMemoryToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("exportMemoryToolStripButton.Image")));
     this.exportMemoryToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.exportMemoryToolStripButton.Name        = "exportMemoryToolStripButton";
     this.exportMemoryToolStripButton.Size        = new System.Drawing.Size(146, 22);
     this.exportMemoryToolStripButton.Text        = "Export Device Memory";
     this.exportMemoryToolStripButton.ToolTipText = "Export the memory details for each device";
     this.exportMemoryToolStripButton.Click      += new System.EventHandler(this.exportMemoryToolStripButton_Click);
     //
     // statusLabel
     //
     this.statusLabel.AutoSize = true;
     this.statusLabel.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.statusLabel.Location = new System.Drawing.Point(12, 530);
     this.statusLabel.Name     = "statusLabel";
     this.statusLabel.Size     = new System.Drawing.Size(0, 15);
     this.statusLabel.TabIndex = 13;
     //
     // memoryFolderBrowserDialog
     //
     this.memoryFolderBrowserDialog.Description = "Select the folder to store the device memory files.";
     //
     // SessionDataForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.close_Button;
     this.ClientSize          = new System.Drawing.Size(1405, 555);
     this.Controls.Add(this.statusLabel);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.sessionData_GridView);
     this.Controls.Add(this.close_Button);
     this.Font  = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "SessionDataForm";
     this.Text  = "Manage Session Data";
     this.Load += new System.EventHandler(this.SessionDataForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.sessionData_GridView.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sessionData_GridView)).EndInit();
     this.mainContextMenuStrip.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #33
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();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn1  = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewComboBoxColumn  gridViewComboBoxColumn1 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewBrowseColumn    gridViewBrowseColumn1   = new Telerik.WinControls.UI.GridViewBrowseColumn();
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn2  = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn2 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn3 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn4 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(tb_MasterUser));
     this.radStatusStrip1                  = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1                 = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1                           = new System.Windows.Forms.Panel();
     this.dgvData                          = new Telerik.WinControls.UI.RadGridView();
     this.office2010BlueTheme1             = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2         = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.radRibbonBarButtonGroup5         = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.radContextMenu1                  = new Telerik.WinControls.UI.RadContextMenu(this.components);
     this.radMenuSeparatorItem2            = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.radContextMenuManager1           = new Telerik.WinControls.UI.RadContextMenuManager();
     this.contextMenuStrip1                = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.แสดงลายเซนToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.แสดงลายเซนทงหมดToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.radRibbonBar1                    = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1                       = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup1               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnNew                           = new Telerik.WinControls.UI.RadButtonElement();
     this.btnSave                          = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup2               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnView                          = new Telerik.WinControls.UI.RadButtonElement();
     this.btnEdit                          = new Telerik.WinControls.UI.RadButtonElement();
     this.btnDelete                        = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup4               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnImport                        = new Telerik.WinControls.UI.RadButtonElement();
     this.btnExport                        = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup1         = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.radRibbonBarGroup3               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh                       = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3         = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1                       = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1                     = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1         = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radRibbonBarGroup6               = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radButtonElement1                = new Telerik.WinControls.UI.RadButtonElement();
     this.radMenuItem1                     = new Telerik.WinControls.UI.RadMenuItem();
     this.radMenuSeparatorItem1            = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.radMenuItem2                     = new Telerik.WinControls.UI.RadMenuItem();
     this.btnFilter                        = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter                         = new Telerik.WinControls.UI.RadButtonElement();
     this.RMenu3                           = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu4                           = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu5                           = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu6                           = new Telerik.WinControls.UI.RadMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 608);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(805, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "Status : สังกัด/แผนก";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.dgvData);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 160);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(805, 448);
     this.panel1.TabIndex = 2;
     //
     // dgvData
     //
     this.dgvData.BackColor = System.Drawing.Color.White;
     this.dgvData.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
     this.dgvData.ContextMenuStrip       = this.contextMenuStrip1;
     this.dgvData.Cursor       = System.Windows.Forms.Cursors.Default;
     this.dgvData.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.dgvData.EnterKeyMode = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextCell;
     this.dgvData.Font         = new System.Drawing.Font("Tahoma", 8.25F);
     this.dgvData.ForeColor    = System.Drawing.Color.Black;
     this.dgvData.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.dgvData.Location     = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.dgvData.MasterTemplate.AddNewRowPosition            = Telerik.WinControls.UI.SystemRowPosition.Bottom;
     this.dgvData.MasterTemplate.AllowCellContextMenu         = false;
     this.dgvData.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.dgvData.MasterTemplate.AllowDeleteRow      = false;
     this.dgvData.MasterTemplate.AllowDragToGroup    = false;
     this.dgvData.MasterTemplate.AllowRowResize      = false;
     this.dgvData.MasterTemplate.AutoGenerateColumns = false;
     gridViewTextBoxColumn1.EnableExpressionEditor   = false;
     gridViewTextBoxColumn1.FieldName               = "No";
     gridViewTextBoxColumn1.HeaderText              = "ลำดับ";
     gridViewTextBoxColumn1.Name                    = "dgvNo";
     gridViewTextBoxColumn1.ReadOnly                = true;
     gridViewCommandColumn1.DefaultText             = "ลบรายการ";
     gridViewCommandColumn1.EnableExpressionEditor  = false;
     gridViewCommandColumn1.FieldName               = "Del";
     gridViewCommandColumn1.HeaderText              = "ลบรายการ";
     gridViewCommandColumn1.Name                    = "dgvDel";
     gridViewCommandColumn1.TextAlignment           = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewCommandColumn1.UseDefaultText          = true;
     gridViewCommandColumn1.Width                   = 60;
     gridViewTextBoxColumn2.EnableExpressionEditor  = false;
     gridViewTextBoxColumn2.FieldName               = "UserID";
     gridViewTextBoxColumn2.HeaderText              = "ชื่อล็อกอินเข้าระบบ";
     gridViewTextBoxColumn2.Name                    = "UserID";
     gridViewTextBoxColumn2.Width                   = 105;
     gridViewTextBoxColumn3.EnableExpressionEditor  = false;
     gridViewTextBoxColumn3.FieldName               = "UserName";
     gridViewTextBoxColumn3.HeaderText              = "ชื่อ-นามสกุล";
     gridViewTextBoxColumn3.Name                    = "UserName";
     gridViewTextBoxColumn3.Width                   = 146;
     gridViewTextBoxColumn4.EnableExpressionEditor  = false;
     gridViewTextBoxColumn4.FieldName               = "Password";
     gridViewTextBoxColumn4.HeaderText              = "รหัสผ่าน";
     gridViewTextBoxColumn4.MaxLength               = 20;
     gridViewTextBoxColumn4.Name                    = "Password";
     gridViewTextBoxColumn4.Width                   = 84;
     gridViewComboBoxColumn1.AutoCompleteMode       = System.Windows.Forms.AutoCompleteMode.Append;
     gridViewComboBoxColumn1.DropDownStyle          = Telerik.WinControls.RadDropDownStyle.DropDown;
     gridViewComboBoxColumn1.EnableExpressionEditor = false;
     gridViewComboBoxColumn1.FieldName              = "Department";
     gridViewComboBoxColumn1.FilteringMode          = Telerik.WinControls.UI.GridViewFilteringMode.DisplayMember;
     gridViewComboBoxColumn1.HeaderText             = "สังกัด/แผนก";
     gridViewComboBoxColumn1.Name                   = "Department";
     gridViewComboBoxColumn1.ValueMember            = "Department";
     gridViewComboBoxColumn1.Width                  = 104;
     gridViewCheckBoxColumn1.EnableExpressionEditor = false;
     gridViewCheckBoxColumn1.FieldName              = "Signature_bit";
     gridViewCheckBoxColumn1.HeaderText             = "ลายเซ็น";
     gridViewCheckBoxColumn1.MinWidth               = 20;
     gridViewCheckBoxColumn1.Name                   = "Signature_bit";
     gridViewCheckBoxColumn1.ReadOnly               = true;
     gridViewBrowseColumn1.EnableExpressionEditor   = false;
     gridViewBrowseColumn1.FieldName                = "Browse";
     gridViewBrowseColumn1.HeaderText               = "เพิ่ม/แก้ไข ลายเซ็น";
     gridViewBrowseColumn1.Name                     = "Browse";
     gridViewBrowseColumn1.Width                    = 140;
     gridViewCommandColumn2.DefaultText             = "ลบลายเซ็น";
     gridViewCommandColumn2.EnableExpressionEditor  = false;
     gridViewCommandColumn2.FieldName               = "Del_Signature";
     gridViewCommandColumn2.HeaderText              = "ลบลายเซ็น";
     gridViewCommandColumn2.Name                    = "Del_Signature";
     gridViewCommandColumn2.TextAlignment           = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewCommandColumn2.UseDefaultText          = true;
     gridViewCommandColumn2.Width                   = 66;
     gridViewCheckBoxColumn2.EnableExpressionEditor = false;
     gridViewCheckBoxColumn2.FieldName              = "Status";
     gridViewCheckBoxColumn2.HeaderText             = "สถานะ";
     gridViewCheckBoxColumn2.MinWidth               = 20;
     gridViewCheckBoxColumn2.Name                   = "Status";
     gridViewCheckBoxColumn2.Width                  = 65;
     gridViewTextBoxColumn5.EnableExpressionEditor  = false;
     gridViewTextBoxColumn5.FieldName               = "ModifyBy";
     gridViewTextBoxColumn5.HeaderText              = "สร้างโดย";
     gridViewTextBoxColumn5.Name                    = "CreateBy";
     gridViewTextBoxColumn5.ReadOnly                = true;
     gridViewTextBoxColumn5.Width                   = 80;
     gridViewDateTimeColumn1.EnableExpressionEditor = false;
     gridViewDateTimeColumn1.FieldName              = "ModifyDate";
     gridViewDateTimeColumn1.FormatString           = "{0:dd/MMM/yyyy}";
     gridViewDateTimeColumn1.HeaderText             = "วันที่สร้าง";
     gridViewDateTimeColumn1.Name                   = "CreateDate";
     gridViewDateTimeColumn1.ReadOnly               = true;
     gridViewDateTimeColumn1.Width                  = 95;
     gridViewCheckBoxColumn3.EnableExpressionEditor = false;
     gridViewCheckBoxColumn3.FieldName              = "C";
     gridViewCheckBoxColumn3.HeaderText             = "C";
     gridViewCheckBoxColumn3.IsVisible              = false;
     gridViewCheckBoxColumn3.MinWidth               = 20;
     gridViewCheckBoxColumn3.Name                   = "dgvC";
     gridViewCheckBoxColumn3.ReadOnly               = true;
     gridViewTextBoxColumn6.EnableExpressionEditor  = false;
     gridViewTextBoxColumn6.FieldName               = "id";
     gridViewTextBoxColumn6.HeaderText              = "id";
     gridViewTextBoxColumn6.IsVisible               = false;
     gridViewTextBoxColumn6.Name                    = "id";
     gridViewTextBoxColumn6.ReadOnly                = true;
     gridViewTextBoxColumn7.EnableExpressionEditor  = false;
     gridViewTextBoxColumn7.FieldName               = "Signature";
     gridViewTextBoxColumn7.HeaderText              = "Signature";
     gridViewTextBoxColumn7.IsVisible               = false;
     gridViewTextBoxColumn7.Name                    = "Signature";
     gridViewTextBoxColumn7.ReadOnly                = true;
     gridViewCheckBoxColumn4.EnableExpressionEditor = false;
     gridViewCheckBoxColumn4.FieldName              = "Sig_FlagDel";
     gridViewCheckBoxColumn4.HeaderText             = "Sig_FlagDel";
     gridViewCheckBoxColumn4.IsVisible              = false;
     gridViewCheckBoxColumn4.MinWidth               = 20;
     gridViewCheckBoxColumn4.Name                   = "Sig_FlagDel";
     this.dgvData.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewCommandColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewComboBoxColumn1,
         gridViewCheckBoxColumn1,
         gridViewBrowseColumn1,
         gridViewCommandColumn2,
         gridViewCheckBoxColumn2,
         gridViewTextBoxColumn5,
         gridViewDateTimeColumn1,
         gridViewCheckBoxColumn3,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewCheckBoxColumn4
     });
     this.dgvData.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
     this.dgvData.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgvData.Name                   = "dgvData";
     this.dgvData.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.dgvData.ShowGroupPanel         = false;
     this.dgvData.Size                   = new System.Drawing.Size(805, 448);
     this.dgvData.TabIndex               = 0;
     this.dgvData.ThemeName              = "Office2010Blue";
     this.dgvData.RowFormatting         += new Telerik.WinControls.UI.RowFormattingEventHandler(this.MasterTemplate_RowFormatting);
     this.dgvData.CellFormatting        += new Telerik.WinControls.UI.CellFormattingEventHandler(this.MasterTemplate_CellFormatting);
     this.dgvData.EditorRequired        += new Telerik.WinControls.UI.EditorRequiredEventHandler(this.dgvData_EditorRequired);
     this.dgvData.CellEditorInitialized += new Telerik.WinControls.UI.GridViewCellEventHandler(this.dgvData_CellEditorInitialized);
     this.dgvData.CellEndEdit           += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellEndEdit);
     this.dgvData.CellClick             += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
     this.dgvData.CellDoubleClick       += new Telerik.WinControls.UI.GridViewCellEventHandler(this.MasterTemplate_CellDoubleClick);
     this.dgvData.CellValueChanged      += new Telerik.WinControls.UI.GridViewCellEventHandler(this.MasterTemplate_CellValueChanged);
     this.dgvData.PreviewKeyDown        += new System.Windows.Forms.PreviewKeyDownEventHandler(this.radGridView1_PreviewKeyDown);
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // radContextMenu1
     //
     this.radContextMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.RMenu3,
         this.radMenuSeparatorItem2,
         this.RMenu4,
         this.RMenu5,
         this.RMenu6
     });
     this.radContextMenu1.ThemeName = "Office2010Blue";
     //
     // radMenuSeparatorItem2
     //
     this.radMenuSeparatorItem2.Name          = "radMenuSeparatorItem2";
     this.radMenuSeparatorItem2.Text          = "radMenuSeparatorItem2";
     this.radMenuSeparatorItem2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.แสดงลายเซนToolStripMenuItem,
         this.แสดงลายเซนทงหมดToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(166, 70);
     //
     // แสดงลายเซนToolStripMenuItem
     //
     this.แสดงลายเซนToolStripMenuItem.Name   = "แสดงลายเซนToolStripMenuItem";
     this.แสดงลายเซนToolStripMenuItem.Size   = new System.Drawing.Size(165, 22);
     this.แสดงลายเซนToolStripMenuItem.Text   = "แสดงลายเซ็น";
     this.แสดงลายเซนToolStripMenuItem.Click += new System.EventHandler(this.แสดงลายเซนToolStripMenuItem_Click);
     //
     // แสดงลายเซนทงหมดToolStripMenuItem
     //
     this.แสดงลายเซนทงหมดToolStripMenuItem.Name   = "แสดงลายเซนทงหมดToolStripMenuItem";
     this.แสดงลายเซนทงหมดToolStripMenuItem.Size   = new System.Drawing.Size(165, 22);
     this.แสดงลายเซนทงหมดToolStripMenuItem.Text   = "แสดงลายเซ็นทั้งหมด";
     this.แสดงลายเซนทงหมดToolStripMenuItem.Click += new System.EventHandler(this.แสดงลายเซนทงหมดToolStripMenuItem_Click);
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(805, 160);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1,
         this.radMenuSeparatorItem1,
         this.radMenuItem2
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.Text      = "Department (สังกัด/แผนก)";
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup1,
         this.radRibbonBarGroup2,
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5,
         this.radRibbonBarGroup6
     });
     this.ribbonTab1.Name        = "ribbonTab1";
     this.ribbonTab1.Text        = "Action";
     this.ribbonTab1.UseMnemonic = false;
     //
     // radRibbonBarGroup1
     //
     this.radRibbonBarGroup1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnNew,
         this.btnSave
     });
     this.radRibbonBarGroup1.Name = "radRibbonBarGroup1";
     this.radRibbonBarGroup1.Text = "New List";
     //
     // btnNew
     //
     this.btnNew.Image             = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
     this.btnNew.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnNew.Name              = "btnNew";
     this.btnNew.Text              = "เพิ่มใหม่";
     this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNew.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnNew.Click            += new System.EventHandler(this.btnNew_Click);
     //
     // btnSave
     //
     this.btnSave.Image             = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnSave.Name              = "btnSave";
     this.btnSave.Text              = "บันทึกรายการ";
     this.btnSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSave.Click            += new System.EventHandler(this.btnSave_Click);
     //
     // radRibbonBarGroup2
     //
     this.radRibbonBarGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnView,
         this.btnEdit,
         this.btnDelete
     });
     this.radRibbonBarGroup2.Name = "radRibbonBarGroup2";
     this.radRibbonBarGroup2.Text = "Manage";
     //
     // btnView
     //
     this.btnView.Enabled           = false;
     this.btnView.Image             = ((System.Drawing.Image)(resources.GetObject("btnView.Image")));
     this.btnView.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnView.Name              = "btnView";
     this.btnView.Text              = "แสดงรายการ";
     this.btnView.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnView.Click            += new System.EventHandler(this.btnView_Click);
     //
     // btnEdit
     //
     this.btnEdit.Image             = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
     this.btnEdit.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnEdit.Name              = "btnEdit";
     this.btnEdit.Text              = "แก้ไขรายการ";
     this.btnEdit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEdit.Click            += new System.EventHandler(this.btnEdit_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image             = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnDelete.Name              = "btnDelete";
     this.btnDelete.Text              = "ลบรายการ";
     this.btnDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnDelete.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnDelete.Click            += new System.EventHandler(this.btnDelete_Click);
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnImport,
         this.btnExport,
         this.radRibbonBarButtonGroup1
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Import / Export";
     //
     // btnImport
     //
     this.btnImport.Image             = ((System.Drawing.Image)(resources.GetObject("btnImport.Image")));
     this.btnImport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnImport.Name              = "btnImport";
     this.btnImport.SmallImage        = null;
     this.btnImport.Text              = "นำข้อมูลเข้า";
     this.btnImport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnImport.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnImport.Click            += new System.EventHandler(this.btnImport_Click);
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarButtonGroup1
     //
     this.radRibbonBarButtonGroup1.Name          = "radRibbonBarButtonGroup1";
     this.radRibbonBarButtonGroup1.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup1.ShowBackColor = false;
     this.radRibbonBarButtonGroup1.ShowBorder    = false;
     this.radRibbonBarButtonGroup1.Text          = "radRibbonBarButtonGroup1";
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefresh.Click            += new System.EventHandler(this.btnCancel_Click);
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radRibbonBarGroup6
     //
     this.radRibbonBarGroup6.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radButtonElement1
     });
     this.radRibbonBarGroup6.Name       = "radRibbonBarGroup6";
     this.radRibbonBarGroup6.Text       = "Contact";
     this.radRibbonBarGroup6.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // radButtonElement1
     //
     this.radButtonElement1.Image             = ((System.Drawing.Image)(resources.GetObject("radButtonElement1.Image")));
     this.radButtonElement1.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.radButtonElement1.Name              = "radButtonElement1";
     this.radButtonElement1.Text              = "ผู้ติดต่อ";
     this.radButtonElement1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.radButtonElement1.Click            += new System.EventHandler(this.radButtonElement1_Click);
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radMenuSeparatorItem1
     //
     this.radMenuSeparatorItem1.Name          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.Text          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // radMenuItem2
     //
     this.radMenuItem2.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem2.Image")));
     this.radMenuItem2.Name   = "radMenuItem2";
     this.radMenuItem2.Text   = "History View";
     this.radMenuItem2.Click += new System.EventHandler(this.radMenuItem2_Click);
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // RMenu3
     //
     this.RMenu3.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu3.Image = ((System.Drawing.Image)(resources.GetObject("RMenu3.Image")));
     this.RMenu3.Name  = "RMenu3";
     this.RMenu3.Text  = "แก้ไขผู้ติดต่อ";
     //
     // RMenu4
     //
     this.RMenu4.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu4.Image = ((System.Drawing.Image)(resources.GetObject("RMenu4.Image")));
     this.RMenu4.Name  = "RMenu4";
     this.RMenu4.Text  = "เพิ่มผู้ขาย";
     //
     // RMenu5
     //
     this.RMenu5.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu5.Image = ((System.Drawing.Image)(resources.GetObject("RMenu5.Image")));
     this.RMenu5.Name  = "RMenu5";
     this.RMenu5.Text  = "แก้ไข";
     //
     // RMenu6
     //
     this.RMenu6.Font  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.RMenu6.Image = ((System.Drawing.Image)(resources.GetObject("RMenu6.Image")));
     this.RMenu6.Name  = "RMenu6";
     this.RMenu6.Text  = "ลบรายการ";
     //
     // tb_MasterUser
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(805, 634);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.MainMenuStrip = null;
     this.Name          = "tb_MasterUser";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Department (สังกัด/แผนก)";
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #34
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();
     Telerik.WinControls.UI.GridViewComboBoxColumn  gridViewComboBoxColumn5 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
     Telerik.WinControls.UI.GridViewComboBoxColumn  gridViewComboBoxColumn6 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PrinterListForm));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn23 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn24 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn25 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn26 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn27 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn28 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn29 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn30 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn31 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn32 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn33 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.Data.SortDescriptor        sortDescriptor3         = new Telerik.WinControls.Data.SortDescriptor();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition3    = new Telerik.WinControls.UI.TableViewDefinition();
     this.enumBinder1 = new Telerik.WinControls.UI.Data.EnumBinder();
     this.enumBinder2 = new Telerik.WinControls.UI.Data.EnumBinder();
     this.printer_ContextMenuStrip      = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.editToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.reservationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.exportToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.printerBindingSource          = new System.Windows.Forms.BindingSource(this.components);
     this.ok_Button                  = new System.Windows.Forms.Button();
     this.panel1                     = new System.Windows.Forms.Panel();
     this.radGridViewPrinters        = new Telerik.WinControls.UI.RadGridView();
     this.toolStrip1                 = new System.Windows.Forms.ToolStrip();
     this.newToolStripButton         = new System.Windows.Forms.ToolStripButton();
     this.editToolStripButton        = new System.Windows.Forms.ToolStripButton();
     this.removeToolStripButton      = new System.Windows.Forms.ToolStripButton();
     this.reservationToolStripButton = new System.Windows.Forms.ToolStripButton();
     this.importToolStripButton      = new System.Windows.Forms.ToolStripButton();
     this.refresh_ToolStripButton    = new System.Windows.Forms.ToolStripButton();
     this.printer_ContextMenuStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.printerBindingSource)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridViewPrinters)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridViewPrinters.MasterTemplate)).BeginInit();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // enumBinder1
     //
     this.enumBinder1.Source                 = typeof(HP.ScalableTest.Framework.Assets.AssetAttributes);
     gridViewComboBoxColumn5.DataSource      = this.enumBinder1;
     gridViewComboBoxColumn5.DataType        = typeof(HP.ScalableTest.Framework.Assets.AssetAttributes);
     gridViewComboBoxColumn5.DisplayMember   = "Description";
     gridViewComboBoxColumn5.FieldName       = "Attributes";
     gridViewComboBoxColumn5.HeaderText      = "Attributes";
     gridViewComboBoxColumn5.IsAutoGenerated = true;
     gridViewComboBoxColumn5.Name            = "Attributes";
     gridViewComboBoxColumn5.ReadOnly        = true;
     gridViewComboBoxColumn5.ValueMember     = "Value";
     this.enumBinder1.Target                 = gridViewComboBoxColumn5;
     //
     // enumBinder2
     //
     this.enumBinder2.Source                 = typeof(HP.ScalableTest.Framework.Assets.AssetAttributes);
     gridViewComboBoxColumn6.DataSource      = this.enumBinder2;
     gridViewComboBoxColumn6.DataType        = typeof(HP.ScalableTest.Framework.Assets.AssetAttributes);
     gridViewComboBoxColumn6.DisplayMember   = "Description";
     gridViewComboBoxColumn6.FieldName       = "Attributes";
     gridViewComboBoxColumn6.HeaderText      = "Attributes";
     gridViewComboBoxColumn6.IsAutoGenerated = true;
     gridViewComboBoxColumn6.Name            = "Attributes";
     gridViewComboBoxColumn6.ReadOnly        = true;
     gridViewComboBoxColumn6.ValueMember     = "Value";
     this.enumBinder2.Target                 = gridViewComboBoxColumn6;
     //
     // printer_ContextMenuStrip
     //
     this.printer_ContextMenuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.printer_ContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.editToolStripMenuItem,
         this.deleteToolStripMenuItem,
         this.reservationsToolStripMenuItem,
         this.exportToolStripMenuItem
     });
     this.printer_ContextMenuStrip.Name     = "server_ContextMenuStrip";
     this.printer_ContextMenuStrip.Size     = new System.Drawing.Size(145, 108);
     this.printer_ContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.printer_ContextMenuStrip_Opening);
     //
     // editToolStripMenuItem
     //
     this.editToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("editToolStripMenuItem.Image")));
     this.editToolStripMenuItem.Name   = "editToolStripMenuItem";
     this.editToolStripMenuItem.Size   = new System.Drawing.Size(144, 26);
     this.editToolStripMenuItem.Text   = "Edit";
     this.editToolStripMenuItem.Click += new System.EventHandler(this.edit_Button_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("deleteToolStripMenuItem.Image")));
     this.deleteToolStripMenuItem.Name   = "deleteToolStripMenuItem";
     this.deleteToolStripMenuItem.Size   = new System.Drawing.Size(144, 26);
     this.deleteToolStripMenuItem.Text   = "Remove";
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.remove_Button_Click);
     //
     // reservationsToolStripMenuItem
     //
     this.reservationsToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("reservationsToolStripMenuItem.Image")));
     this.reservationsToolStripMenuItem.Name   = "reservationsToolStripMenuItem";
     this.reservationsToolStripMenuItem.Size   = new System.Drawing.Size(144, 26);
     this.reservationsToolStripMenuItem.Text   = "Reservations";
     this.reservationsToolStripMenuItem.Click += new System.EventHandler(this.manageReservationsToolStripMenuItem_Click);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Image  = ((System.Drawing.Image)(resources.GetObject("exportToolStripMenuItem.Image")));
     this.exportToolStripMenuItem.Name   = "exportToolStripMenuItem";
     this.exportToolStripMenuItem.Size   = new System.Drawing.Size(144, 26);
     this.exportToolStripMenuItem.Text   = "Export";
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
     //
     // printerBindingSource
     //
     this.printerBindingSource.DataSource = typeof(HP.ScalableTest.Core.AssetInventory.Printer);
     //
     // ok_Button
     //
     this.ok_Button.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.ok_Button.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.ok_Button.Location                = new System.Drawing.Point(854, 484);
     this.ok_Button.Margin                  = new System.Windows.Forms.Padding(4);
     this.ok_Button.Name                    = "ok_Button";
     this.ok_Button.Size                    = new System.Drawing.Size(112, 32);
     this.ok_Button.TabIndex                = 1;
     this.ok_Button.Text                    = "OK";
     this.ok_Button.UseVisualStyleBackColor = true;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.radGridViewPrinters);
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(969, 476);
     this.panel1.TabIndex = 9;
     //
     // radGridViewPrinters
     //
     this.radGridViewPrinters.BackColor        = System.Drawing.SystemColors.Control;
     this.radGridViewPrinters.ContextMenuStrip = this.printer_ContextMenuStrip;
     this.radGridViewPrinters.Cursor           = System.Windows.Forms.Cursors.Default;
     this.radGridViewPrinters.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.radGridViewPrinters.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
     this.radGridViewPrinters.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.radGridViewPrinters.ImeMode          = System.Windows.Forms.ImeMode.NoControl;
     this.radGridViewPrinters.Location         = new System.Drawing.Point(0, 27);
     //
     //
     //
     this.radGridViewPrinters.MasterTemplate.AllowAddNewRow = false;
     this.radGridViewPrinters.MasterTemplate.AllowDeleteRow = false;
     this.radGridViewPrinters.MasterTemplate.AllowEditRow   = false;
     gridViewTextBoxColumn23.EnableExpressionEditor         = false;
     gridViewTextBoxColumn23.FieldName              = "AssetId";
     gridViewTextBoxColumn23.HeaderText             = "Id";
     gridViewTextBoxColumn23.IsAutoGenerated        = true;
     gridViewTextBoxColumn23.MinWidth               = 50;
     gridViewTextBoxColumn23.Name                   = "AssetId";
     gridViewTextBoxColumn24.EnableExpressionEditor = false;
     gridViewTextBoxColumn24.FieldName              = "Product";
     gridViewTextBoxColumn24.HeaderText             = "Name";
     gridViewTextBoxColumn24.IsAutoGenerated        = true;
     gridViewTextBoxColumn24.MinWidth               = 50;
     gridViewTextBoxColumn24.Name                   = "Product";
     gridViewTextBoxColumn25.EnableExpressionEditor = false;
     gridViewTextBoxColumn25.FieldName              = "Model";
     gridViewTextBoxColumn25.HeaderText             = "Model Name";
     gridViewTextBoxColumn25.IsAutoGenerated        = true;
     gridViewTextBoxColumn25.MinWidth               = 50;
     gridViewTextBoxColumn25.Name                   = "ModelName";
     gridViewTextBoxColumn25.Width                  = 73;
     gridViewTextBoxColumn26.EnableExpressionEditor = false;
     gridViewTextBoxColumn26.FieldName              = "ModelNumber";
     gridViewTextBoxColumn26.HeaderText             = "Model Number";
     gridViewTextBoxColumn26.IsAutoGenerated        = true;
     gridViewTextBoxColumn26.MinWidth               = 50;
     gridViewTextBoxColumn26.Name                   = "ModelNumber";
     gridViewTextBoxColumn26.Width                  = 85;
     gridViewTextBoxColumn27.EnableExpressionEditor = false;
     gridViewTextBoxColumn27.FieldName              = "Address1";
     gridViewTextBoxColumn27.HeaderText             = "Address";
     gridViewTextBoxColumn27.IsAutoGenerated        = true;
     gridViewTextBoxColumn27.MinWidth               = 50;
     gridViewTextBoxColumn27.Name                   = "Address1";
     gridViewTextBoxColumn28.EnableExpressionEditor = false;
     gridViewTextBoxColumn28.FieldName              = "Location";
     gridViewTextBoxColumn28.HeaderText             = "Location";
     gridViewTextBoxColumn28.IsAutoGenerated        = true;
     gridViewTextBoxColumn28.MinWidth               = 50;
     gridViewTextBoxColumn28.Name                   = "Location";
     gridViewTextBoxColumn28.Width                  = 51;
     gridViewTextBoxColumn29.EnableExpressionEditor = false;
     gridViewTextBoxColumn29.FieldName              = "Owner";
     gridViewTextBoxColumn29.HeaderText             = "Contact";
     gridViewTextBoxColumn29.IsAutoGenerated        = true;
     gridViewTextBoxColumn29.MinWidth               = 50;
     gridViewTextBoxColumn29.Name                   = "Owner";
     gridViewTextBoxColumn30.EnableExpressionEditor = false;
     gridViewTextBoxColumn30.FieldName              = "SerialNumber";
     gridViewTextBoxColumn30.HeaderText             = "Serial #";
     gridViewTextBoxColumn30.IsAutoGenerated        = true;
     gridViewTextBoxColumn30.MinWidth               = 50;
     gridViewTextBoxColumn30.Name                   = "SerialNumber";
     gridViewTextBoxColumn31.EnableExpressionEditor = false;
     gridViewTextBoxColumn31.FieldName              = "ReservedFor";
     gridViewTextBoxColumn31.HeaderText             = "Reservation";
     gridViewTextBoxColumn31.IsAutoGenerated        = true;
     gridViewTextBoxColumn31.MinWidth               = 75;
     gridViewTextBoxColumn31.Name                   = "ReservedFor";
     gridViewTextBoxColumn31.ReadOnly               = true;
     gridViewTextBoxColumn31.Width                  = 100;
     gridViewTextBoxColumn32.EnableExpressionEditor = false;
     gridViewTextBoxColumn32.FieldName              = "Description";
     gridViewTextBoxColumn32.HeaderText             = "Description";
     gridViewTextBoxColumn32.IsAutoGenerated        = true;
     gridViewTextBoxColumn32.MinWidth               = 25;
     gridViewTextBoxColumn32.Name                   = "Description";
     gridViewTextBoxColumn32.SortOrder              = Telerik.WinControls.UI.RadSortOrder.Ascending;
     gridViewTextBoxColumn32.TextAlignment          = System.Drawing.ContentAlignment.TopLeft;
     gridViewTextBoxColumn33.DataType               = typeof(HP.ScalableTest.Core.AssetInventory.AssetPool);
     gridViewTextBoxColumn33.EnableExpressionEditor = false;
     gridViewTextBoxColumn33.FieldName              = "PoolName";
     gridViewTextBoxColumn33.HeaderText             = "Asset Pool";
     gridViewTextBoxColumn33.MinWidth               = 25;
     gridViewTextBoxColumn33.Name                   = "PoolName";
     gridViewTextBoxColumn33.TextAlignment          = System.Drawing.ContentAlignment.TopLeft;
     this.radGridViewPrinters.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn23,
         gridViewTextBoxColumn24,
         gridViewTextBoxColumn25,
         gridViewTextBoxColumn26,
         gridViewTextBoxColumn27,
         gridViewTextBoxColumn28,
         gridViewTextBoxColumn29,
         gridViewTextBoxColumn30,
         gridViewTextBoxColumn31,
         gridViewTextBoxColumn32,
         gridViewTextBoxColumn33
     });
     this.radGridViewPrinters.MasterTemplate.DataSource = this.printerBindingSource;
     this.radGridViewPrinters.MasterTemplate.EnableAlternatingRowColor = true;
     this.radGridViewPrinters.MasterTemplate.EnableFiltering           = true;
     this.radGridViewPrinters.MasterTemplate.EnableGrouping            = false;
     this.radGridViewPrinters.MasterTemplate.ShowRowHeaderColumn       = false;
     sortDescriptor3.PropertyName = "Description";
     this.radGridViewPrinters.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
         sortDescriptor3
     });
     this.radGridViewPrinters.MasterTemplate.ViewDefinition = tableViewDefinition3;
     this.radGridViewPrinters.Name        = "radGridViewPrinters";
     this.radGridViewPrinters.ReadOnly    = true;
     this.radGridViewPrinters.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     //
     //
     this.radGridViewPrinters.RootElement.ControlBounds = new System.Drawing.Rectangle(0, 27, 240, 150);
     this.radGridViewPrinters.Size             = new System.Drawing.Size(969, 449);
     this.radGridViewPrinters.TabIndex         = 2;
     this.radGridViewPrinters.Text             = "radGridView1";
     this.radGridViewPrinters.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridViewPrinters_CellDoubleClick);
     //
     // toolStrip1
     //
     this.toolStrip1.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.newToolStripButton,
         this.editToolStripButton,
         this.removeToolStripButton,
         this.reservationToolStripButton,
         this.importToolStripButton,
         this.refresh_ToolStripButton
     });
     this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.toolStrip1.Location    = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name        = "toolStrip1";
     this.toolStrip1.Padding     = new System.Windows.Forms.Padding(5, 0, 1, 0);
     this.toolStrip1.Size        = new System.Drawing.Size(969, 27);
     this.toolStrip1.TabIndex    = 1;
     this.toolStrip1.Text        = "toolStrip1";
     //
     // newToolStripButton
     //
     this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
     this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.newToolStripButton.Name        = "newToolStripButton";
     this.newToolStripButton.Size        = new System.Drawing.Size(53, 24);
     this.newToolStripButton.Text        = "Add";
     this.newToolStripButton.ToolTipText = "Add a new print device to your inventory";
     this.newToolStripButton.Click      += new System.EventHandler(this.add_Button_Click);
     //
     // editToolStripButton
     //
     this.editToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("editToolStripButton.Image")));
     this.editToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.editToolStripButton.Name        = "editToolStripButton";
     this.editToolStripButton.Size        = new System.Drawing.Size(51, 24);
     this.editToolStripButton.Text        = "Edit";
     this.editToolStripButton.ToolTipText = "Edit the selected print device";
     this.editToolStripButton.Click      += new System.EventHandler(this.edit_Button_Click);
     //
     // removeToolStripButton
     //
     this.removeToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("removeToolStripButton.Image")));
     this.removeToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.removeToolStripButton.Name        = "removeToolStripButton";
     this.removeToolStripButton.Size        = new System.Drawing.Size(74, 24);
     this.removeToolStripButton.Text        = "Remove";
     this.removeToolStripButton.ToolTipText = "Delete the selected print device from your inventory";
     this.removeToolStripButton.Click      += new System.EventHandler(this.remove_Button_Click);
     //
     // reservationToolStripButton
     //
     this.reservationToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("reservationToolStripButton.Image")));
     this.reservationToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.reservationToolStripButton.Name        = "reservationToolStripButton";
     this.reservationToolStripButton.Size        = new System.Drawing.Size(97, 24);
     this.reservationToolStripButton.Text        = "Reservations";
     this.reservationToolStripButton.ToolTipText = "Manage any reservations for the selected print device";
     this.reservationToolStripButton.Click      += new System.EventHandler(this.reservationToolStripButton_Click);
     //
     // importToolStripButton
     //
     this.importToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("importToolStripButton.Image")));
     this.importToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.importToolStripButton.Name   = "importToolStripButton";
     this.importToolStripButton.Size   = new System.Drawing.Size(67, 24);
     this.importToolStripButton.Text   = "Import";
     this.importToolStripButton.Click += new System.EventHandler(this.importToolStripButton_Click);
     //
     // refresh_ToolStripButton
     //
     this.refresh_ToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("refresh_ToolStripButton.Image")));
     this.refresh_ToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.refresh_ToolStripButton.Name   = "refresh_ToolStripButton";
     this.refresh_ToolStripButton.Size   = new System.Drawing.Size(70, 24);
     this.refresh_ToolStripButton.Text   = "Refresh";
     this.refresh_ToolStripButton.Click += new System.EventHandler(this.refresh_ToolStripButton_Click);
     //
     // PrinterListForm
     //
     this.AcceptButton        = this.ok_Button;
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.CancelButton        = this.ok_Button;
     this.ClientSize          = new System.Drawing.Size(969, 519);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.ok_Button);
     this.Font          = new System.Drawing.Font("Segoe UI", 9F);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(4);
     this.Name          = "PrinterListForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Print Device Inventory";
     this.Load         += new System.EventHandler(this.AssetListForm_Load);
     this.printer_ContextMenuStrip.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.printerBindingSource)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridViewPrinters.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridViewPrinters)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.RadListDataItem       radListDataItem1       = new Telerik.WinControls.UI.RadListDataItem();
     Telerik.WinControls.UI.RadListDataItem       radListDataItem2       = new Telerik.WinControls.UI.RadListDataItem();
     this.telerikMetroBlueTheme1 = new Telerik.WinControls.Themes.TelerikMetroBlueTheme();
     this.radPanel1               = new Telerik.WinControls.UI.RadPanel();
     this.radButton_limpiar       = new Telerik.WinControls.UI.RadButton();
     this.radButton_cargar        = new Telerik.WinControls.UI.RadButton();
     this.radGroupBox2            = new Telerik.WinControls.UI.RadGroupBox();
     this.radGridView_serie       = new Telerik.WinControls.UI.RadGridView();
     this.radGroupBox1            = new Telerik.WinControls.UI.RadGroupBox();
     this.radDrop_tipocomprobante = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel5               = new Telerik.WinControls.UI.RadLabel();
     this.radButton_cancelar      = new Telerik.WinControls.UI.RadButton();
     this.radButton_guardar       = new Telerik.WinControls.UI.RadButton();
     this.radText_correlativo     = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel7               = new Telerik.WinControls.UI.RadLabel();
     this.radText_serie           = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel6               = new Telerik.WinControls.UI.RadLabel();
     this.radDrop_estado          = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel3               = new Telerik.WinControls.UI.RadLabel();
     this.radDrop_almacen         = new Telerik.WinControls.UI.RadDropDownList();
     this.radLabel2               = new Telerik.WinControls.UI.RadLabel();
     this.radText_cod             = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel1               = new Telerik.WinControls.UI.RadLabel();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_limpiar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_cargar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView_serie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView_serie.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_tipocomprobante)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_cancelar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_guardar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_correlativo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_serie)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_estado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_almacen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_cod)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.radButton_limpiar);
     this.radPanel1.Controls.Add(this.radButton_cargar);
     this.radPanel1.Controls.Add(this.radGroupBox2);
     this.radPanel1.Controls.Add(this.radGroupBox1);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(681, 449);
     this.radPanel1.TabIndex = 2;
     //
     // radButton_limpiar
     //
     this.radButton_limpiar.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.radButton_limpiar.Image             = global::appAvicola.Properties.Resources.limpiar;
     this.radButton_limpiar.Location          = new System.Drawing.Point(571, 404);
     this.radButton_limpiar.Name              = "radButton_limpiar";
     this.radButton_limpiar.Size              = new System.Drawing.Size(91, 36);
     this.radButton_limpiar.TabIndex          = 18;
     this.radButton_limpiar.Text              = "limpiar";
     this.radButton_limpiar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radButton_limpiar.ThemeName         = "TelerikMetroBlue";
     this.radButton_limpiar.Click            += new System.EventHandler(this.radButton_limpiar_Click);
     //
     // radButton_cargar
     //
     this.radButton_cargar.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.radButton_cargar.Image             = global::appAvicola.Properties.Resources.descargar;
     this.radButton_cargar.Location          = new System.Drawing.Point(472, 404);
     this.radButton_cargar.Name              = "radButton_cargar";
     this.radButton_cargar.Size              = new System.Drawing.Size(91, 36);
     this.radButton_cargar.TabIndex          = 17;
     this.radButton_cargar.Text              = "Cargar";
     this.radButton_cargar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radButton_cargar.ThemeName         = "TelerikMetroBlue";
     this.radButton_cargar.Click            += new System.EventHandler(this.radButton_cargar_Click);
     //
     // radGroupBox2
     //
     this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox2.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.radGroupBox2.Controls.Add(this.radGridView_serie);
     this.radGroupBox2.HeaderText = "Lista de Series";
     this.radGroupBox2.Location   = new System.Drawing.Point(8, 220);
     this.radGroupBox2.Name       = "radGroupBox2";
     this.radGroupBox2.Size       = new System.Drawing.Size(666, 178);
     this.radGroupBox2.TabIndex   = 1;
     this.radGroupBox2.Text       = "Lista de Series";
     this.radGroupBox2.ThemeName  = "TelerikMetroBlue";
     //
     // radGridView_serie
     //
     this.radGridView_serie.AutoSizeRows = true;
     this.radGridView_serie.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.radGridView_serie.Location     = new System.Drawing.Point(2, 18);
     //
     //
     //
     this.radGridView_serie.MasterTemplate.AllowAddNewRow      = false;
     this.radGridView_serie.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     gridViewTextBoxColumn1.FieldName  = "idserie";
     gridViewTextBoxColumn1.HeaderText = "COD";
     gridViewTextBoxColumn1.Name       = "idserie";
     gridViewTextBoxColumn1.Width      = 136;
     gridViewTextBoxColumn2.FieldName  = "idalmacen";
     gridViewTextBoxColumn2.HeaderText = "COD ALMACEN";
     gridViewTextBoxColumn2.IsVisible  = false;
     gridViewTextBoxColumn2.Name       = "idalmacen";
     gridViewTextBoxColumn2.Width      = 78;
     gridViewTextBoxColumn3.FieldName  = "anombre";
     gridViewTextBoxColumn3.HeaderText = "ALMACEN";
     gridViewTextBoxColumn3.Name       = "anombre";
     gridViewTextBoxColumn3.Width      = 136;
     gridViewTextBoxColumn4.FieldName  = "idtipocomprobante";
     gridViewTextBoxColumn4.HeaderText = "COD TIPO COMPROBANTE";
     gridViewTextBoxColumn4.IsVisible  = false;
     gridViewTextBoxColumn4.Name       = "idtipocomprobante";
     gridViewTextBoxColumn4.Width      = 124;
     gridViewTextBoxColumn5.FieldName  = "tcsigla";
     gridViewTextBoxColumn5.HeaderText = "T.COMPROBANTE";
     gridViewTextBoxColumn5.Name       = "tcsigla";
     gridViewTextBoxColumn5.Width      = 75;
     gridViewTextBoxColumn6.FieldName  = "nserie";
     gridViewTextBoxColumn6.HeaderText = "SERIE";
     gridViewTextBoxColumn6.Name       = "nserie";
     gridViewTextBoxColumn6.Width      = 136;
     gridViewTextBoxColumn7.FieldName  = "ncorrelativo";
     gridViewTextBoxColumn7.HeaderText = "CORRELATIVO";
     gridViewTextBoxColumn7.Name       = "ncorrelativo";
     gridViewTextBoxColumn7.Width      = 46;
     gridViewTextBoxColumn8.FieldName  = "estado";
     gridViewTextBoxColumn8.HeaderText = "ESTADO";
     gridViewTextBoxColumn8.Name       = "estado";
     gridViewTextBoxColumn8.Width      = 137;
     this.radGridView_serie.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8
     });
     this.radGridView_serie.MasterTemplate.EnableFiltering     = true;
     this.radGridView_serie.MasterTemplate.ShowFilteringRow    = false;
     this.radGridView_serie.MasterTemplate.ShowRowHeaderColumn = false;
     this.radGridView_serie.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.radGridView_serie.Name           = "radGridView_serie";
     this.radGridView_serie.ReadOnly       = true;
     this.radGridView_serie.ShowGroupPanel = false;
     this.radGridView_serie.Size           = new System.Drawing.Size(662, 158);
     this.radGridView_serie.TabIndex       = 0;
     this.radGridView_serie.Text           = "radGridView1";
     this.radGridView_serie.ThemeName      = "TelerikMetroBlue";
     this.radGridView_serie.CellClick     += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView_serie_CellClick);
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Anchor         = System.Windows.Forms.AnchorStyles.Top;
     this.radGroupBox1.Controls.Add(this.radDrop_tipocomprobante);
     this.radGroupBox1.Controls.Add(this.radLabel5);
     this.radGroupBox1.Controls.Add(this.radButton_cancelar);
     this.radGroupBox1.Controls.Add(this.radButton_guardar);
     this.radGroupBox1.Controls.Add(this.radText_correlativo);
     this.radGroupBox1.Controls.Add(this.radLabel7);
     this.radGroupBox1.Controls.Add(this.radText_serie);
     this.radGroupBox1.Controls.Add(this.radLabel6);
     this.radGroupBox1.Controls.Add(this.radDrop_estado);
     this.radGroupBox1.Controls.Add(this.radLabel3);
     this.radGroupBox1.Controls.Add(this.radDrop_almacen);
     this.radGroupBox1.Controls.Add(this.radLabel2);
     this.radGroupBox1.Controls.Add(this.radText_cod);
     this.radGroupBox1.Controls.Add(this.radLabel1);
     this.radGroupBox1.HeaderText = "Datos de Serie";
     this.radGroupBox1.Location   = new System.Drawing.Point(35, 12);
     this.radGroupBox1.Name       = "radGroupBox1";
     this.radGroupBox1.Size       = new System.Drawing.Size(608, 202);
     this.radGroupBox1.TabIndex   = 0;
     this.radGroupBox1.Text       = "Datos de Serie";
     this.radGroupBox1.ThemeName  = "TelerikMetroBlue";
     //
     // radDrop_tipocomprobante
     //
     this.radDrop_tipocomprobante.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.radDrop_tipocomprobante.Location      = new System.Drawing.Point(136, 111);
     this.radDrop_tipocomprobante.Name          = "radDrop_tipocomprobante";
     this.radDrop_tipocomprobante.Size          = new System.Drawing.Size(105, 24);
     this.radDrop_tipocomprobante.TabIndex      = 18;
     this.radDrop_tipocomprobante.ThemeName     = "TelerikMetroBlue";
     //
     // radLabel5
     //
     this.radLabel5.Location = new System.Drawing.Point(20, 114);
     this.radLabel5.Name     = "radLabel5";
     this.radLabel5.Size     = new System.Drawing.Size(89, 18);
     this.radLabel5.TabIndex = 17;
     this.radLabel5.Text     = "T.Comprobante :";
     //
     // radButton_cancelar
     //
     this.radButton_cancelar.Image             = global::appAvicola.Properties.Resources.cancelar;
     this.radButton_cancelar.Location          = new System.Drawing.Point(486, 152);
     this.radButton_cancelar.Name              = "radButton_cancelar";
     this.radButton_cancelar.Size              = new System.Drawing.Size(91, 36);
     this.radButton_cancelar.TabIndex          = 16;
     this.radButton_cancelar.Text              = "Cancelar";
     this.radButton_cancelar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radButton_cancelar.ThemeName         = "TelerikMetroBlue";
     this.radButton_cancelar.Click            += new System.EventHandler(this.radButton_cancelar_Click);
     //
     // radButton_guardar
     //
     this.radButton_guardar.Image             = global::appAvicola.Properties.Resources.guardar_01;
     this.radButton_guardar.Location          = new System.Drawing.Point(389, 152);
     this.radButton_guardar.Name              = "radButton_guardar";
     this.radButton_guardar.Size              = new System.Drawing.Size(91, 36);
     this.radButton_guardar.TabIndex          = 15;
     this.radButton_guardar.Text              = "Guardar";
     this.radButton_guardar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radButton_guardar.ThemeName         = "TelerikMetroBlue";
     this.radButton_guardar.Click            += new System.EventHandler(this.radButton_guardar_Click);
     //
     // radText_correlativo
     //
     this.radText_correlativo.Location  = new System.Drawing.Point(478, 110);
     this.radText_correlativo.Name      = "radText_correlativo";
     this.radText_correlativo.Size      = new System.Drawing.Size(102, 24);
     this.radText_correlativo.TabIndex  = 13;
     this.radText_correlativo.ThemeName = "TelerikMetroBlue";
     this.radText_correlativo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.radText_correlativo_KeyPress);
     //
     // radLabel7
     //
     this.radLabel7.Location = new System.Drawing.Point(408, 114);
     this.radLabel7.Name     = "radLabel7";
     this.radLabel7.Size     = new System.Drawing.Size(66, 18);
     this.radLabel7.TabIndex = 12;
     this.radLabel7.Text     = "Correlativo :";
     //
     // radText_serie
     //
     this.radText_serie.Location     = new System.Drawing.Point(299, 111);
     this.radText_serie.MaxLength    = 4;
     this.radText_serie.Name         = "radText_serie";
     this.radText_serie.Size         = new System.Drawing.Size(106, 24);
     this.radText_serie.TabIndex     = 11;
     this.radText_serie.ThemeName    = "TelerikMetroBlue";
     this.radText_serie.TextChanged += new System.EventHandler(this.radText_serie_TextChanged);
     //
     // radLabel6
     //
     this.radLabel6.Location = new System.Drawing.Point(252, 114);
     this.radLabel6.Name     = "radLabel6";
     this.radLabel6.Size     = new System.Drawing.Size(36, 18);
     this.radLabel6.TabIndex = 10;
     this.radLabel6.Text     = "Serie :";
     //
     // radDrop_estado
     //
     this.radDrop_estado.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     radListDataItem1.Text             = "ACTIVO";
     radListDataItem2.Text             = "NO ACTIVO";
     this.radDrop_estado.Items.Add(radListDataItem1);
     this.radDrop_estado.Items.Add(radListDataItem2);
     this.radDrop_estado.Location  = new System.Drawing.Point(299, 32);
     this.radDrop_estado.Name      = "radDrop_estado";
     this.radDrop_estado.Size      = new System.Drawing.Size(106, 24);
     this.radDrop_estado.TabIndex  = 5;
     this.radDrop_estado.ThemeName = "TelerikMetroBlue";
     //
     // radLabel3
     //
     this.radLabel3.Location = new System.Drawing.Point(247, 35);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(45, 18);
     this.radLabel3.TabIndex = 4;
     this.radLabel3.Text     = "Estado :";
     //
     // radDrop_almacen
     //
     this.radDrop_almacen.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.radDrop_almacen.Location      = new System.Drawing.Point(136, 73);
     this.radDrop_almacen.Name          = "radDrop_almacen";
     this.radDrop_almacen.Size          = new System.Drawing.Size(444, 24);
     this.radDrop_almacen.TabIndex      = 3;
     this.radDrop_almacen.ThemeName     = "TelerikMetroBlue";
     //
     // radLabel2
     //
     this.radLabel2.Location = new System.Drawing.Point(40, 76);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(55, 18);
     this.radLabel2.TabIndex = 2;
     this.radLabel2.Text     = "Almacen :";
     //
     // radText_cod
     //
     this.radText_cod.Location  = new System.Drawing.Point(135, 35);
     this.radText_cod.Name      = "radText_cod";
     this.radText_cod.ReadOnly  = true;
     this.radText_cod.Size      = new System.Drawing.Size(71, 24);
     this.radText_cod.TabIndex  = 1;
     this.radText_cod.ThemeName = "TelerikMetroBlue";
     ((Telerik.WinControls.UI.RadTextBoxElement)(this.radText_cod.GetChildAt(0))).Text = "";
     ((Telerik.WinControls.UI.RadTextBoxItem)(this.radText_cod.GetChildAt(0).GetChildAt(0))).BackColor              = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.radText_cod.GetChildAt(0).GetChildAt(1))).BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radText_cod.GetChildAt(0).GetChildAt(2))).BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radText_cod.GetChildAt(0).GetChildAt(2))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(56, 35);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(32, 18);
     this.radLabel1.TabIndex = 0;
     this.radLabel1.Text     = "Cod :";
     //
     // RadFormSerie
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(681, 449);
     this.Controls.Add(this.radPanel1);
     this.Name = "RadFormSerie";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Gestión de Serie";
     this.ThemeName     = "TelerikMetroBlue";
     this.Load         += new System.EventHandler(this.RadFormSerie_Load);
     this.Shown        += new System.EventHandler(this.RadFormSerie_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radButton_limpiar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_cargar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView_serie.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView_serie)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_tipocomprobante)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_cancelar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton_guardar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_correlativo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_serie)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_estado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDrop_almacen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radText_cod)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #36
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdjustStock_List));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn15 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radRibbonBar1            = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1               = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup1       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnSave                  = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup2       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnPrint                 = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup4       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnExport                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup3       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh               = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1               = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1             = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1 = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radMenuItem1             = new Telerik.WinControls.UI.RadMenuItem();
     this.radMenuSeparatorItem1    = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.radMenuItem2             = new Telerik.WinControls.UI.RadMenuItem();
     this.radStatusStrip1          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1         = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1                       = new System.Windows.Forms.Panel();
     this.dgvData                      = new Telerik.WinControls.UI.RadGridView();
     this.contextMenuStrip1            = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.frezzRowToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.frezzColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.unFrezzToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.radPanel1                    = new Telerik.WinControls.UI.RadPanel();
     this.cbDate                       = new Telerik.WinControls.UI.RadCheckBox();
     this.txtADNo                      = new Telerik.WinControls.UI.RadTextBox();
     this.dtDate2                      = new Telerik.WinControls.UI.RadDateTimePicker();
     this.dtDate1                      = new Telerik.WinControls.UI.RadDateTimePicker();
     this.radButton1                   = new Telerik.WinControls.UI.RadButton();
     this.radLabel4                    = new Telerik.WinControls.UI.RadLabel();
     this.radLabel5                    = new Telerik.WinControls.UI.RadLabel();
     this.radLabel1                    = new Telerik.WinControls.UI.RadLabel();
     this.office2010BlueTheme1         = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2     = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter                    = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter                     = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup5     = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtADNo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtDate2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtDate1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(815, 160);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1,
         this.radMenuSeparatorItem1,
         this.radMenuItem2
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.Text      = "Adjust Stock List (รายการปรับสต็อกทั้งหมด)";
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup1,
         this.radRibbonBarGroup2,
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5
     });
     this.ribbonTab1.Name        = "ribbonTab1";
     this.ribbonTab1.Text        = "Action";
     this.ribbonTab1.UseMnemonic = false;
     //
     // radRibbonBarGroup1
     //
     this.radRibbonBarGroup1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnSave
     });
     this.radRibbonBarGroup1.Name = "radRibbonBarGroup1";
     this.radRibbonBarGroup1.Text = "Adjust Stock";
     //
     // btnSave
     //
     this.btnSave.Image             = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnSave.Name              = "btnSave";
     this.btnSave.Text              = "เปิดเอกสาร";
     this.btnSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSave.Click            += new System.EventHandler(this.btnSave_Click);
     //
     // radRibbonBarGroup2
     //
     this.radRibbonBarGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnPrint
     });
     this.radRibbonBarGroup2.Name = "radRibbonBarGroup2";
     this.radRibbonBarGroup2.Text = "Print Document";
     //
     // btnPrint
     //
     this.btnPrint.Image             = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image")));
     this.btnPrint.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnPrint.Name              = "btnPrint";
     this.btnPrint.Text              = "พิมพ์เอกสาร";
     this.btnPrint.TextAlignment     = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnPrint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnPrint.Click            += new System.EventHandler(this.btnPrint_Click);
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnExport
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Import / Export";
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radMenuSeparatorItem1
     //
     this.radMenuSeparatorItem1.Name          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.Text          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // radMenuItem2
     //
     this.radMenuItem2.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem2.Image")));
     this.radMenuItem2.Name   = "radMenuItem2";
     this.radMenuItem2.Text   = "History View";
     this.radMenuItem2.Click += new System.EventHandler(this.radMenuItem2_Click);
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 676);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(815, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "Status : รายการปรับสต็อกทั้งหมด";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.dgvData);
     this.panel1.Controls.Add(this.radPanel1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 160);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(815, 516);
     this.panel1.TabIndex = 2;
     //
     // dgvData
     //
     this.dgvData.BackColor = System.Drawing.Color.White;
     this.dgvData.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
     this.dgvData.ContextMenuStrip       = this.contextMenuStrip1;
     this.dgvData.Cursor       = System.Windows.Forms.Cursors.Default;
     this.dgvData.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.dgvData.EnterKeyMode = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextCell;
     this.dgvData.Font         = new System.Drawing.Font("Tahoma", 8.25F);
     this.dgvData.ForeColor    = System.Drawing.Color.Black;
     this.dgvData.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.dgvData.Location     = new System.Drawing.Point(0, 111);
     //
     //
     //
     this.dgvData.MasterTemplate.AddNewRowPosition            = Telerik.WinControls.UI.SystemRowPosition.Bottom;
     this.dgvData.MasterTemplate.AllowAddNewRow               = false;
     this.dgvData.MasterTemplate.AllowCellContextMenu         = false;
     this.dgvData.MasterTemplate.AllowColumnChooser           = false;
     this.dgvData.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.dgvData.MasterTemplate.AllowDeleteRow               = false;
     this.dgvData.MasterTemplate.AllowDragToGroup             = false;
     this.dgvData.MasterTemplate.AllowRowResize               = false;
     this.dgvData.MasterTemplate.AutoGenerateColumns          = false;
     gridViewTextBoxColumn1.EnableExpressionEditor            = false;
     gridViewTextBoxColumn1.HeaderText              = "No";
     gridViewTextBoxColumn1.Name                    = "dgvNo";
     gridViewTextBoxColumn1.ReadOnly                = true;
     gridViewTextBoxColumn1.TextAlignment           = System.Drawing.ContentAlignment.MiddleRight;
     gridViewTextBoxColumn1.Width                   = 45;
     gridViewCheckBoxColumn1.EnableExpressionEditor = false;
     gridViewCheckBoxColumn1.FieldName              = "S";
     gridViewCheckBoxColumn1.HeaderText             = "เลือก";
     gridViewCheckBoxColumn1.IsVisible              = false;
     gridViewCheckBoxColumn1.MinWidth               = 20;
     gridViewCheckBoxColumn1.Name                   = "S";
     gridViewCheckBoxColumn1.Width                  = 56;
     gridViewTextBoxColumn2.EnableExpressionEditor  = false;
     gridViewTextBoxColumn2.FieldName               = "Status";
     gridViewTextBoxColumn2.HeaderText              = "สถานะ";
     gridViewTextBoxColumn2.IsVisible               = false;
     gridViewTextBoxColumn2.Name                    = "Status";
     gridViewTextBoxColumn2.ReadOnly                = true;
     gridViewTextBoxColumn2.Width                   = 92;
     gridViewTextBoxColumn3.EnableExpressionEditor  = false;
     gridViewTextBoxColumn3.FieldName               = "ADNo";
     gridViewTextBoxColumn3.HeaderText              = "เลขที่อ้างอิง";
     gridViewTextBoxColumn3.Name                    = "ADNo";
     gridViewTextBoxColumn3.ReadOnly                = true;
     gridViewTextBoxColumn3.Width                   = 109;
     gridViewTextBoxColumn4.EnableExpressionEditor  = false;
     gridViewTextBoxColumn4.FieldName               = "CodeNo";
     gridViewTextBoxColumn4.HeaderText              = "รหัสทูล";
     gridViewTextBoxColumn4.Name                    = "CodeNo";
     gridViewTextBoxColumn4.ReadOnly                = true;
     gridViewTextBoxColumn4.TextAlignment           = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn4.Width                   = 74;
     gridViewTextBoxColumn5.EnableExpressionEditor  = false;
     gridViewTextBoxColumn5.FieldName               = "ItemNo";
     gridViewTextBoxColumn5.HeaderText              = "ชื่อทูล";
     gridViewTextBoxColumn5.Name                    = "ItemNo";
     gridViewTextBoxColumn5.ReadOnly                = true;
     gridViewTextBoxColumn5.Width                   = 120;
     gridViewTextBoxColumn6.EnableExpressionEditor  = false;
     gridViewTextBoxColumn6.FieldName               = "ItemDescription";
     gridViewTextBoxColumn6.HeaderText              = "รายละเอียดทูล";
     gridViewTextBoxColumn6.Name                    = "ItemDescription";
     gridViewTextBoxColumn6.ReadOnly                = true;
     gridViewTextBoxColumn6.Width                   = 180;
     gridViewDecimalColumn1.EnableExpressionEditor  = false;
     gridViewDecimalColumn1.FieldName               = "QTY";
     gridViewDecimalColumn1.FormatString            = "{0:N2}";
     gridViewDecimalColumn1.HeaderText              = "จำนวนที่ปรับสต็อก";
     gridViewDecimalColumn1.Name                    = "QTY";
     gridViewDecimalColumn1.ReadOnly                = true;
     gridViewDecimalColumn1.Width                   = 93;
     gridViewTextBoxColumn7.EnableExpressionEditor  = false;
     gridViewTextBoxColumn7.FieldName               = "Unit";
     gridViewTextBoxColumn7.HeaderText              = "หน่วย";
     gridViewTextBoxColumn7.Name                    = "Unit";
     gridViewTextBoxColumn7.ReadOnly                = true;
     gridViewTextBoxColumn7.TextAlignment           = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn7.Width                   = 58;
     gridViewDecimalColumn2.EnableExpressionEditor  = false;
     gridViewDecimalColumn2.FieldName               = "PCSUnit";
     gridViewDecimalColumn2.FormatString            = "{0:N2}";
     gridViewDecimalColumn2.HeaderText              = "จำนวนต่อหน่วย";
     gridViewDecimalColumn2.Name                    = "PCSUnit";
     gridViewDecimalColumn2.ReadOnly                = true;
     gridViewDecimalColumn2.Width                   = 81;
     gridViewTextBoxColumn8.EnableExpressionEditor  = false;
     gridViewTextBoxColumn8.FieldName               = "VendorNo";
     gridViewTextBoxColumn8.HeaderText              = "รหัสผู้ขาย";
     gridViewTextBoxColumn8.IsVisible               = false;
     gridViewTextBoxColumn8.Name                    = "VendorNo";
     gridViewTextBoxColumn8.ReadOnly                = true;
     gridViewTextBoxColumn8.Width                   = 89;
     gridViewTextBoxColumn9.EnableExpressionEditor  = false;
     gridViewTextBoxColumn9.FieldName               = "VendorName";
     gridViewTextBoxColumn9.HeaderText              = "ชื่อผู้ขาย";
     gridViewTextBoxColumn9.IsVisible               = false;
     gridViewTextBoxColumn9.Name                    = "VendorName";
     gridViewTextBoxColumn9.ReadOnly                = true;
     gridViewTextBoxColumn9.Width                   = 180;
     gridViewTextBoxColumn10.EnableExpressionEditor = false;
     gridViewTextBoxColumn10.FieldName              = "CreateBy";
     gridViewTextBoxColumn10.HeaderText             = "ผู้รับ";
     gridViewTextBoxColumn10.Name                   = "CreateBy";
     gridViewTextBoxColumn10.ReadOnly               = true;
     gridViewTextBoxColumn10.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn10.Width                  = 106;
     gridViewDateTimeColumn1.EnableExpressionEditor = false;
     gridViewDateTimeColumn1.FieldName              = "CreateDate";
     gridViewDateTimeColumn1.FormatString           = "{0:dd/MMM/yyyy}";
     gridViewDateTimeColumn1.HeaderText             = "วันที่รับ";
     gridViewDateTimeColumn1.Name                   = "CreateDate";
     gridViewDateTimeColumn1.ReadOnly               = true;
     gridViewDateTimeColumn1.Width                  = 103;
     gridViewTextBoxColumn11.EnableExpressionEditor = false;
     gridViewTextBoxColumn11.FieldName              = "LotNo";
     gridViewTextBoxColumn11.HeaderText             = "เลขที่ LotNo";
     gridViewTextBoxColumn11.IsVisible              = false;
     gridViewTextBoxColumn11.Name                   = "LotNo";
     gridViewTextBoxColumn11.ReadOnly               = true;
     gridViewTextBoxColumn11.Width                  = 113;
     gridViewTextBoxColumn12.EnableExpressionEditor = false;
     gridViewTextBoxColumn12.FieldName              = "ShelfNo";
     gridViewTextBoxColumn12.HeaderText             = "เลขที่ Shelf No.";
     gridViewTextBoxColumn12.IsVisible              = false;
     gridViewTextBoxColumn12.Name                   = "ShelfNo";
     gridViewTextBoxColumn12.ReadOnly               = true;
     gridViewTextBoxColumn12.Width                  = 116;
     gridViewTextBoxColumn13.EnableExpressionEditor = false;
     gridViewTextBoxColumn13.FieldName              = "Location";
     gridViewTextBoxColumn13.HeaderText             = "สถานที่เก็บ";
     gridViewTextBoxColumn13.Name                   = "Location";
     gridViewTextBoxColumn13.ReadOnly               = true;
     gridViewTextBoxColumn13.Width                  = 139;
     gridViewTextBoxColumn14.EnableExpressionEditor = false;
     gridViewTextBoxColumn14.FieldName              = "RefJobCard";
     gridViewTextBoxColumn14.HeaderText             = "เลขอ้างอิง (Job card)";
     gridViewTextBoxColumn14.Name                   = "RefJobCard";
     gridViewTextBoxColumn14.ReadOnly               = true;
     gridViewTextBoxColumn14.Width                  = 130;
     gridViewTextBoxColumn15.EnableExpressionEditor = false;
     gridViewTextBoxColumn15.FieldName              = "Reason";
     gridViewTextBoxColumn15.HeaderText             = "วัตถุประสงค์";
     gridViewTextBoxColumn15.Name                   = "Reason";
     gridViewTextBoxColumn15.ReadOnly               = true;
     gridViewTextBoxColumn15.Width                  = 150;
     this.dgvData.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewCheckBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewDecimalColumn1,
         gridViewTextBoxColumn7,
         gridViewDecimalColumn2,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewTextBoxColumn10,
         gridViewDateTimeColumn1,
         gridViewTextBoxColumn11,
         gridViewTextBoxColumn12,
         gridViewTextBoxColumn13,
         gridViewTextBoxColumn14,
         gridViewTextBoxColumn15
     });
     this.dgvData.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
     this.dgvData.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dgvData.Name             = "dgvData";
     this.dgvData.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.dgvData.ShowGroupPanel   = false;
     this.dgvData.Size             = new System.Drawing.Size(815, 405);
     this.dgvData.TabIndex         = 1;
     this.dgvData.ThemeName        = "Office2010Blue";
     this.dgvData.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.MasterTemplate_CellDoubleClick);
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.frezzRowToolStripMenuItem,
         this.frezzColumnToolStripMenuItem,
         this.unFrezzToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(150, 70);
     //
     // frezzRowToolStripMenuItem
     //
     this.frezzRowToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.frezzRowToolStripMenuItem.Name      = "frezzRowToolStripMenuItem";
     this.frezzRowToolStripMenuItem.Size      = new System.Drawing.Size(149, 22);
     this.frezzRowToolStripMenuItem.Text      = " Frezz Row";
     this.frezzRowToolStripMenuItem.Click    += new System.EventHandler(this.frezzRowToolStripMenuItem_Click);
     //
     // frezzColumnToolStripMenuItem
     //
     this.frezzColumnToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.frezzColumnToolStripMenuItem.Name      = "frezzColumnToolStripMenuItem";
     this.frezzColumnToolStripMenuItem.Size      = new System.Drawing.Size(149, 22);
     this.frezzColumnToolStripMenuItem.Text      = " Frezz Column";
     this.frezzColumnToolStripMenuItem.Click    += new System.EventHandler(this.frezzColumnToolStripMenuItem_Click);
     //
     // unFrezzToolStripMenuItem
     //
     this.unFrezzToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.unFrezzToolStripMenuItem.Name      = "unFrezzToolStripMenuItem";
     this.unFrezzToolStripMenuItem.Size      = new System.Drawing.Size(149, 22);
     this.unFrezzToolStripMenuItem.Text      = "UnFrezz";
     this.unFrezzToolStripMenuItem.Click    += new System.EventHandler(this.unFrezzToolStripMenuItem_Click);
     //
     // radPanel1
     //
     this.radPanel1.BackColor = System.Drawing.Color.Honeydew;
     this.radPanel1.Controls.Add(this.cbDate);
     this.radPanel1.Controls.Add(this.txtADNo);
     this.radPanel1.Controls.Add(this.dtDate2);
     this.radPanel1.Controls.Add(this.dtDate1);
     this.radPanel1.Controls.Add(this.radButton1);
     this.radPanel1.Controls.Add(this.radLabel4);
     this.radPanel1.Controls.Add(this.radLabel5);
     this.radPanel1.Controls.Add(this.radLabel1);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(815, 111);
     this.radPanel1.TabIndex = 0;
     this.radPanel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.radPanel1_Paint);
     //
     // cbDate
     //
     this.cbDate.CheckState  = System.Windows.Forms.CheckState.Checked;
     this.cbDate.Location    = new System.Drawing.Point(117, 42);
     this.cbDate.Name        = "cbDate";
     this.cbDate.Size        = new System.Drawing.Size(104, 18);
     this.cbDate.TabIndex    = 21;
     this.cbDate.Text        = "เลือกวันที่รับสต็อก";
     this.cbDate.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // txtADNo
     //
     this.txtADNo.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtADNo.Location  = new System.Drawing.Point(115, 17);
     this.txtADNo.Name      = "txtADNo";
     this.txtADNo.Size      = new System.Drawing.Size(118, 19);
     this.txtADNo.TabIndex  = 8;
     this.txtADNo.ThemeName = "Office2010Blue";
     //
     // dtDate2
     //
     this.dtDate2.CustomFormat = "dd/MMM/yyyy";
     this.dtDate2.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dtDate2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtDate2.Location     = new System.Drawing.Point(262, 62);
     this.dtDate2.Name         = "dtDate2";
     this.dtDate2.Size         = new System.Drawing.Size(140, 19);
     this.dtDate2.TabIndex     = 7;
     this.dtDate2.TabStop      = false;
     this.dtDate2.Text         = "16/May/2017";
     this.dtDate2.ThemeName    = "Office2010Blue";
     this.dtDate2.Value        = new System.DateTime(2017, 5, 16, 21, 48, 34, 546);
     //
     // dtDate1
     //
     this.dtDate1.CustomFormat = "dd/MMM/yyyy";
     this.dtDate1.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dtDate1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtDate1.Location     = new System.Drawing.Point(115, 63);
     this.dtDate1.Name         = "dtDate1";
     this.dtDate1.Size         = new System.Drawing.Size(118, 19);
     this.dtDate1.TabIndex     = 7;
     this.dtDate1.TabStop      = false;
     this.dtDate1.Text         = "16/May/2017";
     this.dtDate1.ThemeName    = "Office2010Blue";
     this.dtDate1.Value        = new System.DateTime(2017, 5, 16, 21, 48, 34, 546);
     //
     // radButton1
     //
     this.radButton1.Image     = ((System.Drawing.Image)(resources.GetObject("radButton1.Image")));
     this.radButton1.Location  = new System.Drawing.Point(421, 17);
     this.radButton1.Name      = "radButton1";
     this.radButton1.Size      = new System.Drawing.Size(81, 54);
     this.radButton1.TabIndex  = 3;
     this.radButton1.Text      = "ค้นหา";
     this.radButton1.ThemeName = "Office2010Blue";
     this.radButton1.Click    += new System.EventHandler(this.radButton1_Click_1);
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(237, 63);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(18, 18);
     this.radLabel4.TabIndex = 0;
     this.radLabel4.Text     = "ถึง";
     //
     // radLabel5
     //
     this.radLabel5.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radLabel5.ForeColor = System.Drawing.Color.DimGray;
     this.radLabel5.Location  = new System.Drawing.Point(115, 85);
     this.radLabel5.Name      = "radLabel5";
     this.radLabel5.Size      = new System.Drawing.Size(165, 18);
     this.radLabel5.TabIndex  = 0;
     this.radLabel5.Text      = "* กรณีที่เป็น ทั้งหมด ต้องเลือกวันที่";
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(50, 19);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(59, 18);
     this.radLabel1.TabIndex = 0;
     this.radLabel1.Text     = "เลขที่อ้างอิง";
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // AdjustStock_List
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(815, 702);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "AdjustStock_List";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Adjust Stock List (รายการปรับสต็อกทั้งหมด)";
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvData.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtADNo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtDate2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtDate1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #37
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(frmSubsidios));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.radCommandBar1          = new Telerik.WinControls.UI.RadCommandBar();
     this.commandBarRowElement1   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.btnGuardar           = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator1 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnSalir             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator2 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.commandBarLabel1     = new Telerik.WinControls.UI.CommandBarLabel();
     this.gvDatos = new Telerik.WinControls.UI.RadGridView();
     this.commandBarStripElement2 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement3 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.materialTealTheme1      = new Telerik.WinControls.Themes.MaterialTealTheme();
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radCommandBar1
     //
     this.radCommandBar1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radCommandBar1.Location = new System.Drawing.Point(0, 0);
     this.radCommandBar1.Name     = "radCommandBar1";
     this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
         this.commandBarRowElement1
     });
     this.radCommandBar1.Size     = new System.Drawing.Size(588, 53);
     this.radCommandBar1.TabIndex = 0;
     //
     // commandBarRowElement1
     //
     this.commandBarRowElement1.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement1.Name    = "commandBarRowElement1";
     this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
         this.commandBarStripElement1
     });
     this.commandBarRowElement1.Text = "";
     this.commandBarRowElement1.TextRenderingHint          = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.UseCompatibleTextRendering = false;
     //
     // commandBarStripElement1
     //
     this.commandBarStripElement1.DisplayName = "commandBarStripElement1";
     this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
         this.btnGuardar,
         this.commandBarSeparator1,
         this.btnSalir,
         this.commandBarSeparator2,
         this.commandBarLabel1
     });
     this.commandBarStripElement1.Name = "commandBarStripElement1";
     //
     //
     //
     this.commandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     this.commandBarStripElement1.StretchHorizontally       = true;
     ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarStripElement1.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     //
     // btnGuardar
     //
     this.btnGuardar.DisplayName       = "commandBarButton1";
     this.btnGuardar.DrawText          = true;
     this.btnGuardar.Image             = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.Name              = "btnGuardar";
     this.btnGuardar.Text              = "Guardar";
     this.btnGuardar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnGuardar.Click            += new System.EventHandler(this.btnGuardar_Click);
     //
     // commandBarSeparator1
     //
     this.commandBarSeparator1.DisplayName           = "commandBarSeparator1";
     this.commandBarSeparator1.Name                  = "commandBarSeparator1";
     this.commandBarSeparator1.VisibleInOverflowMenu = false;
     //
     // btnSalir
     //
     this.btnSalir.DisplayName       = "commandBarButton2";
     this.btnSalir.DrawText          = true;
     this.btnSalir.Image             = ((System.Drawing.Image)(resources.GetObject("btnSalir.Image")));
     this.btnSalir.Name              = "btnSalir";
     this.btnSalir.Text              = "Salir";
     this.btnSalir.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSalir.Click            += new System.EventHandler(this.btnSalir_Click);
     //
     // commandBarSeparator2
     //
     this.commandBarSeparator2.DisplayName           = "commandBarSeparator2";
     this.commandBarSeparator2.Name                  = "commandBarSeparator2";
     this.commandBarSeparator2.VisibleInOverflowMenu = false;
     //
     // commandBarLabel1
     //
     this.commandBarLabel1.DisplayName         = "commandBarLabel1";
     this.commandBarLabel1.Font                = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Bold);
     this.commandBarLabel1.ForeColor           = System.Drawing.Color.Navy;
     this.commandBarLabel1.Name                = "commandBarLabel1";
     this.commandBarLabel1.StretchHorizontally = true;
     this.commandBarLabel1.Text                = "TABLA DE SUBSIDIOS";
     //
     // gvDatos
     //
     this.gvDatos.AutoScroll      = true;
     this.gvDatos.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.gvDatos.EnableAnalytics = false;
     this.gvDatos.EnterKeyMode    = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextRow;
     this.gvDatos.Location        = new System.Drawing.Point(0, 53);
     //
     //
     //
     this.gvDatos.MasterTemplate.AllowCellContextMenu      = false;
     this.gvDatos.MasterTemplate.AllowColumnReorder        = false;
     this.gvDatos.MasterTemplate.AllowDeleteRow            = false;
     this.gvDatos.MasterTemplate.AllowDragToGroup          = false;
     this.gvDatos.MasterTemplate.AllowRowHeaderContextMenu = false;
     this.gvDatos.MasterTemplate.AutoExpandGroups          = true;
     this.gvDatos.MasterTemplate.AutoGenerateColumns       = false;
     gridViewTextBoxColumn1.FieldName    = "Id";
     gridViewTextBoxColumn1.HeaderText   = "Id";
     gridViewTextBoxColumn1.IsVisible    = false;
     gridViewTextBoxColumn1.Name         = "Id";
     gridViewDecimalColumn1.FieldName    = "De";
     gridViewDecimalColumn1.FormatString = "{0:N2}";
     gridViewDecimalColumn1.HeaderText   = "Desde";
     gridViewDecimalColumn1.MaxWidth     = 90;
     gridViewDecimalColumn1.Minimum      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn1.MinWidth      = 70;
     gridViewDecimalColumn1.Name          = "De";
     gridViewDecimalColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewDecimalColumn1.Width         = 70;
     gridViewDecimalColumn2.FieldName     = "Hasta";
     gridViewDecimalColumn2.FormatString  = "{0:N2}";
     gridViewDecimalColumn2.HeaderText    = "Hasta";
     gridViewDecimalColumn2.MaxWidth      = 90;
     gridViewDecimalColumn2.Minimum       = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn2.MinWidth      = 70;
     gridViewDecimalColumn2.Name          = "Hasta";
     gridViewDecimalColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewDecimalColumn2.Width         = 70;
     gridViewDecimalColumn3.DecimalPlaces = 4;
     gridViewDecimalColumn3.FieldName     = "Subsidio";
     gridViewDecimalColumn3.FormatString  = "{0:N2}";
     gridViewDecimalColumn3.HeaderText    = "Subsidio";
     gridViewDecimalColumn3.MaxWidth      = 90;
     gridViewDecimalColumn3.Minimum       = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn3.MinWidth      = 70;
     gridViewDecimalColumn3.Name          = "Subsidio";
     gridViewDecimalColumn3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewDecimalColumn3.Width         = 70;
     this.gvDatos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewDecimalColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3
     });
     this.gvDatos.MasterTemplate.EnableAlternatingRowColor = true;
     this.gvDatos.MasterTemplate.ShowRowHeaderColumn       = false;
     this.gvDatos.MasterTemplate.ViewDefinition            = tableViewDefinition1;
     this.gvDatos.Name = "gvDatos";
     this.gvDatos.NewRowEnterKeyMode = Telerik.WinControls.UI.RadGridViewNewRowEnterKeyMode.EnterMovesToNextCell;
     this.gvDatos.ShowGroupPanel     = false;
     this.gvDatos.ShowNoDataText     = false;
     this.gvDatos.Size      = new System.Drawing.Size(588, 299);
     this.gvDatos.TabIndex  = 1;
     this.gvDatos.TitleText = "SUBSIDIOS";
     //
     // commandBarStripElement2
     //
     this.commandBarStripElement2.DisplayName = "commandBarStripElement2";
     this.commandBarStripElement2.Name        = "commandBarStripElement2";
     //
     // commandBarStripElement3
     //
     this.commandBarStripElement3.DisplayName = "commandBarStripElement3";
     this.commandBarStripElement3.Name        = "commandBarStripElement3";
     //
     // frmSubsidios
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(588, 352);
     this.Controls.Add(this.gvDatos);
     this.Controls.Add(this.radCommandBar1);
     this.Name = "frmSubsidios";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon  = false;
     this.Text      = "TABLA DE SUBSIDIOS";
     this.ThemeName = "MaterialTeal";
     this.Load     += new System.EventHandler(this.frmSubsidios_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #38
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(frmTemperaturaConsulta));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn3  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn4  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn5  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn6  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn7  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn8  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn9  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn10 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn11 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn12 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn13 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn14 = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.materialTealTheme1      = new Telerik.WinControls.Themes.MaterialTealTheme();
     this.radCommandBar1          = new Telerik.WinControls.UI.RadCommandBar();
     this.commandBarRowElement1   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.btnRefrescar            = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator3    = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnExportar             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator1    = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnSalir             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator2 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.commandBarLabel1     = new Telerik.WinControls.UI.CommandBarLabel();
     this.gvDatos = new Telerik.WinControls.UI.RadGridView();
     this.commandBarStripElement2 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement3 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement4 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement5 = new Telerik.WinControls.UI.CommandBarStripElement();
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radCommandBar1
     //
     this.radCommandBar1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radCommandBar1.Location = new System.Drawing.Point(0, 0);
     this.radCommandBar1.Name     = "radCommandBar1";
     this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
         this.commandBarRowElement1
     });
     this.radCommandBar1.Size     = new System.Drawing.Size(913, 53);
     this.radCommandBar1.TabIndex = 0;
     //
     // commandBarRowElement1
     //
     this.commandBarRowElement1.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement1.Name    = "commandBarRowElement1";
     this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
         this.commandBarStripElement1
     });
     this.commandBarRowElement1.Text = "";
     this.commandBarRowElement1.TextRenderingHint          = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.UseCompatibleTextRendering = false;
     //
     // commandBarStripElement1
     //
     this.commandBarStripElement1.DisplayName = "commandBarStripElement1";
     this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
         this.btnRefrescar,
         this.commandBarSeparator3,
         this.btnExportar,
         this.commandBarSeparator1,
         this.btnSalir,
         this.commandBarSeparator2,
         this.commandBarLabel1
     });
     this.commandBarStripElement1.Name = "commandBarStripElement1";
     //
     //
     //
     this.commandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     this.commandBarStripElement1.StretchHorizontally       = true;
     ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarStripElement1.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     //
     // btnRefrescar
     //
     this.btnRefrescar.DisplayName       = "commandBarButton1";
     this.btnRefrescar.DrawText          = true;
     this.btnRefrescar.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefrescar.Image")));
     this.btnRefrescar.Name              = "btnRefrescar";
     this.btnRefrescar.Text              = "Refrescar";
     this.btnRefrescar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefrescar.Click            += new System.EventHandler(this.btnRefrescar_Click);
     //
     // commandBarSeparator3
     //
     this.commandBarSeparator3.DisplayName           = "commandBarSeparator3";
     this.commandBarSeparator3.Name                  = "commandBarSeparator3";
     this.commandBarSeparator3.VisibleInOverflowMenu = false;
     //
     // btnExportar
     //
     this.btnExportar.DisplayName       = "commandBarButton1";
     this.btnExportar.DrawText          = true;
     this.btnExportar.Image             = ((System.Drawing.Image)(resources.GetObject("btnExportar.Image")));
     this.btnExportar.Name              = "btnExportar";
     this.btnExportar.Text              = "Exportar";
     this.btnExportar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExportar.Click            += new System.EventHandler(this.btnExportar_Click);
     //
     // commandBarSeparator1
     //
     this.commandBarSeparator1.DisplayName           = "commandBarSeparator1";
     this.commandBarSeparator1.Name                  = "commandBarSeparator1";
     this.commandBarSeparator1.VisibleInOverflowMenu = false;
     //
     // btnSalir
     //
     this.btnSalir.DisplayName       = "commandBarButton2";
     this.btnSalir.DrawText          = true;
     this.btnSalir.Image             = ((System.Drawing.Image)(resources.GetObject("btnSalir.Image")));
     this.btnSalir.Name              = "btnSalir";
     this.btnSalir.Text              = "Salir";
     this.btnSalir.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSalir.Click            += new System.EventHandler(this.btnSalir_Click);
     //
     // commandBarSeparator2
     //
     this.commandBarSeparator2.DisplayName           = "commandBarSeparator2";
     this.commandBarSeparator2.Name                  = "commandBarSeparator2";
     this.commandBarSeparator2.VisibleInOverflowMenu = false;
     //
     // commandBarLabel1
     //
     this.commandBarLabel1.DisplayName         = "commandBarLabel1";
     this.commandBarLabel1.Font                = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Bold);
     this.commandBarLabel1.ForeColor           = System.Drawing.Color.Navy;
     this.commandBarLabel1.Name                = "commandBarLabel1";
     this.commandBarLabel1.StretchHorizontally = true;
     this.commandBarLabel1.Text                = "CONSULTA HISTÓRICA DE TEMPERATURAS";
     //
     // gvDatos
     //
     this.gvDatos.AutoSizeRows = true;
     this.gvDatos.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.gvDatos.Location     = new System.Drawing.Point(0, 53);
     //
     //
     //
     this.gvDatos.MasterTemplate.AllowDragToGroup = false;
     this.gvDatos.MasterTemplate.AllowSearchRow   = true;
     gridViewTextBoxColumn1.FieldName             = "Fecha";
     gridViewTextBoxColumn1.FormatString          = "{0:dd/MM/yyyy}";
     gridViewTextBoxColumn1.HeaderText            = "Fecha";
     gridViewTextBoxColumn1.MaxWidth      = 80;
     gridViewTextBoxColumn1.MinWidth      = 70;
     gridViewTextBoxColumn1.Name          = "Fecha";
     gridViewTextBoxColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn1.Width         = 70;
     gridViewTextBoxColumn2.FieldName     = "Hora";
     gridViewTextBoxColumn2.HeaderText    = "Hora";
     gridViewTextBoxColumn2.MaxWidth      = 80;
     gridViewTextBoxColumn2.MinWidth      = 70;
     gridViewTextBoxColumn2.Name          = "Hora";
     gridViewTextBoxColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn2.Width         = 70;
     gridViewDecimalColumn1.FieldName     = "Temperatura.Cav1";
     gridViewDecimalColumn1.FormatString  = "{0:N2}";
     gridViewDecimalColumn1.HeaderText    = "Cavidad 1";
     gridViewDecimalColumn1.MaxWidth      = 70;
     gridViewDecimalColumn1.Minimum       = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn1.MinWidth           = 70;
     gridViewDecimalColumn1.Name               = "Cav1";
     gridViewDecimalColumn1.RowSpan            = 30;
     gridViewDecimalColumn1.ShowUpDownButtons  = false;
     gridViewDecimalColumn1.ThousandsSeparator = true;
     gridViewDecimalColumn1.Width              = 70;
     gridViewDecimalColumn2.FieldName          = "Temperatura.Cav2";
     gridViewDecimalColumn2.FormatString       = "{0:N2}";
     gridViewDecimalColumn2.HeaderText         = "Cavidad 2";
     gridViewDecimalColumn2.MaxWidth           = 70;
     gridViewDecimalColumn2.MinWidth           = 80;
     gridViewDecimalColumn2.Name               = "Cav2";
     gridViewDecimalColumn2.ShowUpDownButtons  = false;
     gridViewDecimalColumn2.Width              = 70;
     gridViewDecimalColumn3.FieldName          = "Temperatura.Cav3";
     gridViewDecimalColumn3.FormatString       = "{0:N2}";
     gridViewDecimalColumn3.HeaderText         = "Cavidad 3";
     gridViewDecimalColumn3.MaxWidth           = 70;
     gridViewDecimalColumn3.Minimum            = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn3.MinWidth          = 80;
     gridViewDecimalColumn3.Name              = "Cav3";
     gridViewDecimalColumn3.ShowUpDownButtons = false;
     gridViewDecimalColumn3.Width             = 70;
     gridViewDecimalColumn4.FieldName         = "Temperatura.Cav4";
     gridViewDecimalColumn4.FormatString      = "{0:N2}";
     gridViewDecimalColumn4.HeaderText        = "Cavidad 4";
     gridViewDecimalColumn4.MaxWidth          = 70;
     gridViewDecimalColumn4.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn4.MinWidth          = 80;
     gridViewDecimalColumn4.Name              = "Cav4";
     gridViewDecimalColumn4.ShowUpDownButtons = false;
     gridViewDecimalColumn4.Width             = 70;
     gridViewDecimalColumn5.FieldName         = "Temperatura.Cav5";
     gridViewDecimalColumn5.FormatString      = "{0:N2}";
     gridViewDecimalColumn5.HeaderText        = "Cavidad 5";
     gridViewDecimalColumn5.MaxWidth          = 70;
     gridViewDecimalColumn5.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn5.MinWidth          = 80;
     gridViewDecimalColumn5.Name              = "Cav5";
     gridViewDecimalColumn5.ShowUpDownButtons = false;
     gridViewDecimalColumn5.Width             = 70;
     gridViewDecimalColumn6.FieldName         = "Temperatura.Cav6";
     gridViewDecimalColumn6.FormatString      = "{0:N2}";
     gridViewDecimalColumn6.HeaderText        = "Cavidad 6";
     gridViewDecimalColumn6.MaxWidth          = 70;
     gridViewDecimalColumn6.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn6.MinWidth          = 80;
     gridViewDecimalColumn6.Name              = "Cav6";
     gridViewDecimalColumn6.ShowUpDownButtons = false;
     gridViewDecimalColumn6.Width             = 70;
     gridViewDecimalColumn7.FieldName         = "Temperatura.Cav7";
     gridViewDecimalColumn7.FormatString      = "{0:N2}";
     gridViewDecimalColumn7.HeaderText        = "Cavidad 7";
     gridViewDecimalColumn7.MaxWidth          = 70;
     gridViewDecimalColumn7.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn7.MinWidth          = 80;
     gridViewDecimalColumn7.Name              = "Cav7";
     gridViewDecimalColumn7.ShowUpDownButtons = false;
     gridViewDecimalColumn7.Width             = 70;
     gridViewDecimalColumn8.FieldName         = "Temperatura.Cav8";
     gridViewDecimalColumn8.FormatString      = "{0:N2}";
     gridViewDecimalColumn8.HeaderText        = "Cavidad 8";
     gridViewDecimalColumn8.MaxWidth          = 70;
     gridViewDecimalColumn8.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn8.MinWidth          = 80;
     gridViewDecimalColumn8.Name              = "Cav8";
     gridViewDecimalColumn8.ShowUpDownButtons = false;
     gridViewDecimalColumn8.Width             = 70;
     gridViewDecimalColumn9.FieldName         = "Temperatura.Cav9";
     gridViewDecimalColumn9.FormatString      = "{0:N2}";
     gridViewDecimalColumn9.HeaderText        = "Cavidad 9";
     gridViewDecimalColumn9.MaxWidth          = 70;
     gridViewDecimalColumn9.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn9.MinWidth      = 80;
     gridViewDecimalColumn9.Name          = "Cav9";
     gridViewDecimalColumn9.Width         = 70;
     gridViewDecimalColumn10.FieldName    = "Temperatura.Cav10";
     gridViewDecimalColumn10.FormatString = "{0:N2}";
     gridViewDecimalColumn10.HeaderText   = "Cavidad 10";
     gridViewDecimalColumn10.MaxWidth     = 70;
     gridViewDecimalColumn10.Minimum      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn10.MinWidth          = 80;
     gridViewDecimalColumn10.Name              = "Cav10";
     gridViewDecimalColumn10.ShowUpDownButtons = false;
     gridViewDecimalColumn10.Width             = 70;
     gridViewDecimalColumn11.FieldName         = "Temperatura.Cav11";
     gridViewDecimalColumn11.FormatString      = "{0:N2}";
     gridViewDecimalColumn11.HeaderText        = "Cavidad 11";
     gridViewDecimalColumn11.MaxWidth          = 70;
     gridViewDecimalColumn11.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn11.MinWidth          = 80;
     gridViewDecimalColumn11.Name              = "Cav11";
     gridViewDecimalColumn11.ShowUpDownButtons = false;
     gridViewDecimalColumn11.Width             = 70;
     gridViewDecimalColumn12.FieldName         = "Temperatura.Cav12";
     gridViewDecimalColumn12.FormatString      = "{0:N2}";
     gridViewDecimalColumn12.HeaderText        = "Cavidad 12";
     gridViewDecimalColumn12.MaxWidth          = 70;
     gridViewDecimalColumn12.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn12.MinWidth          = 80;
     gridViewDecimalColumn12.Name              = "Cav12";
     gridViewDecimalColumn12.ShowUpDownButtons = false;
     gridViewDecimalColumn12.Width             = 70;
     gridViewDecimalColumn13.FieldName         = "Molde.Fija";
     gridViewDecimalColumn13.FormatString      = "{0:N2}";
     gridViewDecimalColumn13.HeaderText        = "Placa Fija";
     gridViewDecimalColumn13.MaxWidth          = 70;
     gridViewDecimalColumn13.Minimum           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn13.MinWidth     = 80;
     gridViewDecimalColumn13.Name         = "Fija";
     gridViewDecimalColumn13.Width        = 70;
     gridViewDecimalColumn13.WrapText     = true;
     gridViewDecimalColumn14.FieldName    = "Molde.Movil";
     gridViewDecimalColumn14.FormatString = "{0:N2}";
     gridViewDecimalColumn14.HeaderText   = "Placa Movil";
     gridViewDecimalColumn14.MaxWidth     = 70;
     gridViewDecimalColumn14.Minimum      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     gridViewDecimalColumn14.MinWidth  = 70;
     gridViewDecimalColumn14.Name      = "Movil";
     gridViewDecimalColumn14.Width     = 70;
     gridViewDecimalColumn14.WrapText  = true;
     gridViewTextBoxColumn3.FieldName  = "Temperatura.Observa";
     gridViewTextBoxColumn3.HeaderText = "Comentarios";
     gridViewTextBoxColumn3.MaxWidth   = 350;
     gridViewTextBoxColumn3.MinWidth   = 300;
     gridViewTextBoxColumn3.Multiline  = true;
     gridViewTextBoxColumn3.Name       = "Observa";
     gridViewTextBoxColumn3.RowSpan    = 30;
     gridViewTextBoxColumn3.Width      = 300;
     gridViewTextBoxColumn3.WrapText   = true;
     this.gvDatos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewDecimalColumn1,
         gridViewDecimalColumn2,
         gridViewDecimalColumn3,
         gridViewDecimalColumn4,
         gridViewDecimalColumn5,
         gridViewDecimalColumn6,
         gridViewDecimalColumn7,
         gridViewDecimalColumn8,
         gridViewDecimalColumn9,
         gridViewDecimalColumn10,
         gridViewDecimalColumn11,
         gridViewDecimalColumn12,
         gridViewDecimalColumn13,
         gridViewDecimalColumn14,
         gridViewTextBoxColumn3
     });
     this.gvDatos.MasterTemplate.ShowRowHeaderColumn = false;
     this.gvDatos.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.gvDatos.Name                     = "gvDatos";
     this.gvDatos.ReadOnly                 = true;
     this.gvDatos.ShowGroupPanel           = false;
     this.gvDatos.ShowGroupPanelScrollbars = false;
     this.gvDatos.ShowNoDataText           = false;
     this.gvDatos.Size                     = new System.Drawing.Size(913, 383);
     this.gvDatos.TabIndex                 = 1;
     //
     // commandBarStripElement2
     //
     this.commandBarStripElement2.DisplayName = "commandBarStripElement2";
     this.commandBarStripElement2.Name        = "commandBarStripElement2";
     //
     // commandBarStripElement3
     //
     this.commandBarStripElement3.DisplayName = "commandBarStripElement3";
     this.commandBarStripElement3.Name        = "commandBarStripElement3";
     //
     // commandBarStripElement4
     //
     this.commandBarStripElement4.DisplayName = "commandBarStripElement4";
     this.commandBarStripElement4.Name        = "commandBarStripElement4";
     //
     // commandBarStripElement5
     //
     this.commandBarStripElement5.DisplayName = "commandBarStripElement5";
     this.commandBarStripElement5.Name        = "commandBarStripElement5";
     //
     // frmTemperaturaConsulta
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(913, 436);
     this.Controls.Add(this.gvDatos);
     this.Controls.Add(this.radCommandBar1);
     this.Name = "frmTemperaturaConsulta";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon  = false;
     this.Text      = "CONSULTA TEMPERATURAS";
     this.ThemeName = "MaterialTeal";
     this.Load     += new System.EventHandler(this.frmTemperaturaConsulta_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #39
0
ファイル: OrderNewForm.Designer.cs プロジェクト: GaikovM/Auto
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition3 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition4 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition5 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition6 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition7 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition8 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radMultiColumnComboBoxOrg = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radMultiColumnComboBoxKontragent = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radButtonSave = new Telerik.WinControls.UI.RadButton();
            this.radMultiColumnComboBoxAuto = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.radMultiColumnComboBoxDogovor = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.Naimenovanie = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.radMultiColumnComboBoxValuta = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.radMultiColumnComboBoxTipCen = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePickerDataCr = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel10 = new Telerik.WinControls.UI.RadLabel();
            this.radMultiColumnComboBoxTipZakaza = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel11 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePickerSrok = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel12 = new Telerik.WinControls.UI.RadLabel();
            this.Manager = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel13 = new Telerik.WinControls.UI.RadLabel();
            this.VidOplaty = new Telerik.WinControls.UI.RadTextBox();
            this.radSpinEditorKurs = new Telerik.WinControls.UI.RadSpinEditor();
            this.radLabel14 = new Telerik.WinControls.UI.RadLabel();
            this.radDateTimePickerСрокПоставки = new Telerik.WinControls.UI.RadDateTimePicker();
            this.radLabel15 = new Telerik.WinControls.UI.RadLabel();
            this.radSpinEditorSumma = new Telerik.WinControls.UI.RadSpinEditor();
            this.radLabel16 = new Telerik.WinControls.UI.RadLabel();
            this.radSpinEditorSumPredoplaty = new Telerik.WinControls.UI.RadSpinEditor();
            this.radLabel17 = new Telerik.WinControls.UI.RadLabel();
            this.radTextBoxAvtor = new Telerik.WinControls.UI.RadTextBox();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radButton2 = new Telerik.WinControls.UI.RadButton();
            this.radButtonUpdate = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonSave)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Naimenovanie)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerDataCr)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerSrok)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Manager)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.VidOplaty)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorKurs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerСрокПоставки)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorSumma)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorSumPredoplaty)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxAvtor)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonUpdate)).BeginInit();
            this.SuspendLayout();
            // 
            // radMultiColumnComboBoxOrg
            // 
            this.radMultiColumnComboBoxOrg.AutoSize = true;
            this.radMultiColumnComboBoxOrg.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxOrg.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxOrg.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxOrg.NestedRadGridView
            // 
            this.radMultiColumnComboBoxOrg.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxOrg.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxOrg.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxOrg.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radMultiColumnComboBoxOrg.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxOrg.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxOrg.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxOrg.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxOrg.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxOrg.Location = new System.Drawing.Point(117, 85);
            this.radMultiColumnComboBoxOrg.Name = "radMultiColumnComboBoxOrg";
            this.radMultiColumnComboBoxOrg.Size = new System.Drawing.Size(239, 20);
            this.radMultiColumnComboBoxOrg.TabIndex = 0;
            this.radMultiColumnComboBoxOrg.TabStop = false;
            // 
            // radMultiColumnComboBoxKontragent
            // 
            this.radMultiColumnComboBoxKontragent.AutoSize = true;
            this.radMultiColumnComboBoxKontragent.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxKontragent.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxKontragent.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxKontragent.NestedRadGridView
            // 
            this.radMultiColumnComboBoxKontragent.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxKontragent.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxKontragent.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxKontragent.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.radMultiColumnComboBoxKontragent.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxKontragent.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxKontragent.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxKontragent.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxKontragent.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxKontragent.Location = new System.Drawing.Point(116, 53);
            this.radMultiColumnComboBoxKontragent.Name = "radMultiColumnComboBoxKontragent";
            this.radMultiColumnComboBoxKontragent.Size = new System.Drawing.Size(240, 20);
            this.radMultiColumnComboBoxKontragent.TabIndex = 1;
            this.radMultiColumnComboBoxKontragent.TabStop = false;
            // 
            // radButtonSave
            // 
            this.radButtonSave.Location = new System.Drawing.Point(415, 473);
            this.radButtonSave.Name = "radButtonSave";
            this.radButtonSave.Size = new System.Drawing.Size(162, 26);
            this.radButtonSave.TabIndex = 2;
            this.radButtonSave.Text = "Сохранить";
            this.radButtonSave.Click += new System.EventHandler(this.RadButton1Click);
            // 
            // radMultiColumnComboBoxAuto
            // 
            this.radMultiColumnComboBoxAuto.AutoSize = true;
            this.radMultiColumnComboBoxAuto.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxAuto.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxAuto.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxAuto.NestedRadGridView
            // 
            this.radMultiColumnComboBoxAuto.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxAuto.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxAuto.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxAuto.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition3;
            this.radMultiColumnComboBoxAuto.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxAuto.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxAuto.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxAuto.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxAuto.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxAuto.Location = new System.Drawing.Point(117, 121);
            this.radMultiColumnComboBoxAuto.Name = "radMultiColumnComboBoxAuto";
            this.radMultiColumnComboBoxAuto.Size = new System.Drawing.Size(240, 20);
            this.radMultiColumnComboBoxAuto.TabIndex = 3;
            this.radMultiColumnComboBoxAuto.TabStop = false;
            this.radMultiColumnComboBoxAuto.UseCompatibleTextRendering = false;
            // 
            // radLabel1
            // 
            this.radLabel1.Location = new System.Drawing.Point(28, 51);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.Size = new System.Drawing.Size(64, 18);
            this.radLabel1.TabIndex = 4;
            this.radLabel1.Text = "Контрагент";
            // 
            // radLabel2
            // 
            this.radLabel2.Location = new System.Drawing.Point(28, 85);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.Size = new System.Drawing.Size(74, 18);
            this.radLabel2.TabIndex = 5;
            this.radLabel2.Text = "Организация";
            // 
            // radLabel3
            // 
            this.radLabel3.Location = new System.Drawing.Point(28, 123);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.Size = new System.Drawing.Size(70, 18);
            this.radLabel3.TabIndex = 5;
            this.radLabel3.Text = "Автомобиль";
            // 
            // radLabel4
            // 
            this.radLabel4.Location = new System.Drawing.Point(27, 154);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.Size = new System.Drawing.Size(51, 18);
            this.radLabel4.TabIndex = 6;
            this.radLabel4.Text = "Договор";
            // 
            // radMultiColumnComboBoxDogovor
            // 
            this.radMultiColumnComboBoxDogovor.AutoSize = true;
            this.radMultiColumnComboBoxDogovor.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxDogovor.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxDogovor.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxDogovor.NestedRadGridView
            // 
            this.radMultiColumnComboBoxDogovor.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxDogovor.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxDogovor.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxDogovor.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition4;
            this.radMultiColumnComboBoxDogovor.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxDogovor.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxDogovor.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxDogovor.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxDogovor.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxDogovor.Location = new System.Drawing.Point(117, 154);
            this.radMultiColumnComboBoxDogovor.Name = "radMultiColumnComboBoxDogovor";
            this.radMultiColumnComboBoxDogovor.Size = new System.Drawing.Size(240, 20);
            this.radMultiColumnComboBoxDogovor.TabIndex = 7;
            this.radMultiColumnComboBoxDogovor.TabStop = false;
            this.radMultiColumnComboBoxDogovor.UseCompatibleTextRendering = false;
            // 
            // radLabel5
            // 
            this.radLabel5.Location = new System.Drawing.Point(26, 13);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.Size = new System.Drawing.Size(84, 18);
            this.radLabel5.TabIndex = 4;
            this.radLabel5.Text = "Наименование";
            // 
            // Naimenovanie
            // 
            this.Naimenovanie.Location = new System.Drawing.Point(116, 13);
            this.Naimenovanie.Name = "Naimenovanie";
            this.Naimenovanie.Size = new System.Drawing.Size(240, 20);
            this.Naimenovanie.TabIndex = 8;
            // 
            // radLabel6
            // 
            this.radLabel6.Location = new System.Drawing.Point(27, 186);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.Size = new System.Drawing.Size(44, 18);
            this.radLabel6.TabIndex = 6;
            this.radLabel6.Text = "Валюта";
            // 
            // radMultiColumnComboBoxValuta
            // 
            this.radMultiColumnComboBoxValuta.AutoSize = true;
            this.radMultiColumnComboBoxValuta.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxValuta.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxValuta.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxValuta.NestedRadGridView
            // 
            this.radMultiColumnComboBoxValuta.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxValuta.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxValuta.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxValuta.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition5;
            this.radMultiColumnComboBoxValuta.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxValuta.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxValuta.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxValuta.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxValuta.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxValuta.Location = new System.Drawing.Point(117, 185);
            this.radMultiColumnComboBoxValuta.Name = "radMultiColumnComboBoxValuta";
            this.radMultiColumnComboBoxValuta.Size = new System.Drawing.Size(240, 20);
            this.radMultiColumnComboBoxValuta.TabIndex = 7;
            this.radMultiColumnComboBoxValuta.TabStop = false;
            this.radMultiColumnComboBoxValuta.UseCompatibleTextRendering = false;
            // 
            // radLabel7
            // 
            this.radLabel7.Location = new System.Drawing.Point(420, 16);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.Size = new System.Drawing.Size(56, 18);
            this.radLabel7.TabIndex = 6;
            this.radLabel7.Text = "Тип цены";
            // 
            // radMultiColumnComboBoxTipCen
            // 
            this.radMultiColumnComboBoxTipCen.AutoSize = true;
            this.radMultiColumnComboBoxTipCen.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxTipCen.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxTipCen.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxTipCen.NestedRadGridView
            // 
            this.radMultiColumnComboBoxTipCen.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxTipCen.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxTipCen.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxTipCen.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition6;
            this.radMultiColumnComboBoxTipCen.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxTipCen.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxTipCen.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxTipCen.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxTipCen.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxTipCen.Location = new System.Drawing.Point(505, 15);
            this.radMultiColumnComboBoxTipCen.Name = "radMultiColumnComboBoxTipCen";
            this.radMultiColumnComboBoxTipCen.Size = new System.Drawing.Size(233, 20);
            this.radMultiColumnComboBoxTipCen.TabIndex = 7;
            this.radMultiColumnComboBoxTipCen.TabStop = false;
            this.radMultiColumnComboBoxTipCen.UseCompatibleTextRendering = false;
            // 
            // radLabel8
            // 
            this.radLabel8.Location = new System.Drawing.Point(27, 221);
            this.radLabel8.Name = "radLabel8";
            this.radLabel8.Size = new System.Drawing.Size(30, 18);
            this.radLabel8.TabIndex = 6;
            this.radLabel8.Text = "Курс";
            // 
            // radDateTimePickerDataCr
            // 
            this.radDateTimePickerDataCr.Location = new System.Drawing.Point(509, 185);
            this.radDateTimePickerDataCr.Name = "radDateTimePickerDataCr";
            this.radDateTimePickerDataCr.Size = new System.Drawing.Size(229, 20);
            this.radDateTimePickerDataCr.TabIndex = 9;
            this.radDateTimePickerDataCr.TabStop = false;
            this.radDateTimePickerDataCr.Value = new System.DateTime(((long)(0)));
            // 
            // radLabel9
            // 
            this.radLabel9.Location = new System.Drawing.Point(421, 186);
            this.radLabel9.Name = "radLabel9";
            this.radLabel9.Size = new System.Drawing.Size(81, 18);
            this.radLabel9.TabIndex = 6;
            this.radLabel9.Text = "Дата создания";
            // 
            // radLabel10
            // 
            this.radLabel10.Location = new System.Drawing.Point(421, 52);
            this.radLabel10.Name = "radLabel10";
            this.radLabel10.Size = new System.Drawing.Size(61, 18);
            this.radLabel10.TabIndex = 6;
            this.radLabel10.Text = "Тип заказа";
            // 
            // radMultiColumnComboBoxTipZakaza
            // 
            this.radMultiColumnComboBoxTipZakaza.AutoSize = true;
            this.radMultiColumnComboBoxTipZakaza.AutoSizeDropDownHeight = true;
            this.radMultiColumnComboBoxTipZakaza.AutoSizeDropDownToBestFit = true;
            this.radMultiColumnComboBoxTipZakaza.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            // 
            // radMultiColumnComboBoxTipZakaza.NestedRadGridView
            // 
            this.radMultiColumnComboBoxTipZakaza.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.radMultiColumnComboBoxTipZakaza.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition7;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBoxTipZakaza.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBoxTipZakaza.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBoxTipZakaza.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBoxTipZakaza.Location = new System.Drawing.Point(506, 50);
            this.radMultiColumnComboBoxTipZakaza.Name = "radMultiColumnComboBoxTipZakaza";
            this.radMultiColumnComboBoxTipZakaza.Size = new System.Drawing.Size(233, 20);
            this.radMultiColumnComboBoxTipZakaza.TabIndex = 7;
            this.radMultiColumnComboBoxTipZakaza.TabStop = false;
            this.radMultiColumnComboBoxTipZakaza.UseCompatibleTextRendering = false;
            // 
            // radLabel11
            // 
            this.radLabel11.AutoSize = false;
            this.radLabel11.Location = new System.Drawing.Point(420, 210);
            this.radLabel11.Name = "radLabel11";
            this.radLabel11.Size = new System.Drawing.Size(81, 33);
            this.radLabel11.TabIndex = 6;
            this.radLabel11.Text = "Срок снятия с резерва";
            // 
            // radDateTimePickerSrok
            // 
            this.radDateTimePickerSrok.Location = new System.Drawing.Point(508, 217);
            this.radDateTimePickerSrok.Name = "radDateTimePickerSrok";
            this.radDateTimePickerSrok.Size = new System.Drawing.Size(229, 20);
            this.radDateTimePickerSrok.TabIndex = 9;
            this.radDateTimePickerSrok.TabStop = false;
            this.radDateTimePickerSrok.Value = new System.DateTime(((long)(0)));
            // 
            // radLabel12
            // 
            this.radLabel12.Location = new System.Drawing.Point(422, 122);
            this.radLabel12.Name = "radLabel12";
            this.radLabel12.Size = new System.Drawing.Size(62, 18);
            this.radLabel12.TabIndex = 4;
            this.radLabel12.Text = "Менеджер";
            // 
            // Manager
            // 
            this.Manager.Location = new System.Drawing.Point(506, 122);
            this.Manager.Name = "Manager";
            this.Manager.Size = new System.Drawing.Size(233, 20);
            this.Manager.TabIndex = 8;
            // 
            // radLabel13
            // 
            this.radLabel13.Location = new System.Drawing.Point(422, 86);
            this.radLabel13.Name = "radLabel13";
            this.radLabel13.Size = new System.Drawing.Size(66, 18);
            this.radLabel13.TabIndex = 4;
            this.radLabel13.Text = "Вид оплаты";
            // 
            // VidOplaty
            // 
            this.VidOplaty.Location = new System.Drawing.Point(506, 86);
            this.VidOplaty.Name = "VidOplaty";
            this.VidOplaty.Size = new System.Drawing.Size(233, 20);
            this.VidOplaty.TabIndex = 8;
            // 
            // radSpinEditorKurs
            // 
            this.radSpinEditorKurs.DecimalPlaces = 2;
            this.radSpinEditorKurs.Location = new System.Drawing.Point(118, 219);
            this.radSpinEditorKurs.Maximum = new decimal(new int[] {
            1316134911,
            2328,
            0,
            0});
            this.radSpinEditorKurs.Name = "radSpinEditorKurs";
            this.radSpinEditorKurs.Size = new System.Drawing.Size(239, 20);
            this.radSpinEditorKurs.TabIndex = 10;
            this.radSpinEditorKurs.TabStop = false;
            this.radSpinEditorKurs.ThousandsSeparator = true;
            // 
            // radLabel14
            // 
            this.radLabel14.Location = new System.Drawing.Point(421, 155);
            this.radLabel14.Name = "radLabel14";
            this.radLabel14.Size = new System.Drawing.Size(82, 18);
            this.radLabel14.TabIndex = 6;
            this.radLabel14.Text = "Срок поставки";
            // 
            // radDateTimePickerСрокПоставки
            // 
            this.radDateTimePickerСрокПоставки.Location = new System.Drawing.Point(509, 149);
            this.radDateTimePickerСрокПоставки.Name = "radDateTimePickerСрокПоставки";
            this.radDateTimePickerСрокПоставки.Size = new System.Drawing.Size(229, 20);
            this.radDateTimePickerСрокПоставки.TabIndex = 9;
            this.radDateTimePickerСрокПоставки.TabStop = false;
            this.radDateTimePickerСрокПоставки.Value = new System.DateTime(((long)(0)));
            // 
            // radLabel15
            // 
            this.radLabel15.Location = new System.Drawing.Point(27, 258);
            this.radLabel15.Name = "radLabel15";
            this.radLabel15.Size = new System.Drawing.Size(40, 18);
            this.radLabel15.TabIndex = 6;
            this.radLabel15.Text = "Сумма";
            // 
            // radSpinEditorSumma
            // 
            this.radSpinEditorSumma.DecimalPlaces = 2;
            this.radSpinEditorSumma.Location = new System.Drawing.Point(118, 256);
            this.radSpinEditorSumma.Maximum = new decimal(new int[] {
            1874919423,
            2328306,
            0,
            0});
            this.radSpinEditorSumma.Name = "radSpinEditorSumma";
            this.radSpinEditorSumma.Size = new System.Drawing.Size(239, 20);
            this.radSpinEditorSumma.TabIndex = 10;
            this.radSpinEditorSumma.TabStop = false;
            this.radSpinEditorSumma.ThousandsSeparator = true;
            // 
            // radLabel16
            // 
            this.radLabel16.AutoSize = false;
            this.radLabel16.Location = new System.Drawing.Point(421, 247);
            this.radLabel16.Name = "radLabel16";
            this.radLabel16.Size = new System.Drawing.Size(79, 33);
            this.radLabel16.TabIndex = 6;
            this.radLabel16.Text = "Сумма предоплаты";
            // 
            // radSpinEditorSumPredoplaty
            // 
            this.radSpinEditorSumPredoplaty.DecimalPlaces = 2;
            this.radSpinEditorSumPredoplaty.Location = new System.Drawing.Point(508, 252);
            this.radSpinEditorSumPredoplaty.Maximum = new decimal(new int[] {
            1874919423,
            2328306,
            0,
            0});
            this.radSpinEditorSumPredoplaty.Name = "radSpinEditorSumPredoplaty";
            this.radSpinEditorSumPredoplaty.Size = new System.Drawing.Size(232, 20);
            this.radSpinEditorSumPredoplaty.TabIndex = 10;
            this.radSpinEditorSumPredoplaty.TabStop = false;
            this.radSpinEditorSumPredoplaty.ThousandsSeparator = true;
            // 
            // radLabel17
            // 
            this.radLabel17.Location = new System.Drawing.Point(12, 473);
            this.radLabel17.Name = "radLabel17";
            this.radLabel17.Size = new System.Drawing.Size(37, 18);
            this.radLabel17.TabIndex = 4;
            this.radLabel17.Text = "Автор";
            // 
            // radTextBoxAvtor
            // 
            this.radTextBoxAvtor.Location = new System.Drawing.Point(102, 473);
            this.radTextBoxAvtor.Name = "radTextBoxAvtor";
            this.radTextBoxAvtor.Size = new System.Drawing.Size(228, 20);
            this.radTextBoxAvtor.TabIndex = 8;
            // 
            // radGridView1
            // 
            this.radGridView1.Location = new System.Drawing.Point(8, 293);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.AllowDragToGroup = false;
            this.radGridView1.MasterTemplate.EnableGrouping = false;
            this.radGridView1.MasterTemplate.ShowFilteringRow = false;
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition8;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.Size = new System.Drawing.Size(754, 165);
            this.radGridView1.TabIndex = 11;
            this.radGridView1.Text = "radGridView1";
            // 
            // radButton2
            // 
            this.radButton2.Location = new System.Drawing.Point(591, 473);
            this.radButton2.Name = "radButton2";
            this.radButton2.Size = new System.Drawing.Size(162, 26);
            this.radButton2.TabIndex = 2;
            this.radButton2.Text = "Отмена";
            this.radButton2.Click += new System.EventHandler(this.RadButton2Click);
            // 
            // radButtonUpdate
            // 
            this.radButtonUpdate.Location = new System.Drawing.Point(415, 473);
            this.radButtonUpdate.Name = "radButtonUpdate";
            this.radButtonUpdate.Size = new System.Drawing.Size(162, 26);
            this.radButtonUpdate.TabIndex = 2;
            this.radButtonUpdate.Text = "Обновить";
            this.radButtonUpdate.Visible = false;
            this.radButtonUpdate.Click += new System.EventHandler(this.RadButtonUpdateClick);
            // 
            // OrderNewForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(774, 507);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.radSpinEditorSumPredoplaty);
            this.Controls.Add(this.radSpinEditorSumma);
            this.Controls.Add(this.radSpinEditorKurs);
            this.Controls.Add(this.radDateTimePickerSrok);
            this.Controls.Add(this.radDateTimePickerСрокПоставки);
            this.Controls.Add(this.radDateTimePickerDataCr);
            this.Controls.Add(this.VidOplaty);
            this.Controls.Add(this.Manager);
            this.Controls.Add(this.radTextBoxAvtor);
            this.Controls.Add(this.Naimenovanie);
            this.Controls.Add(this.radMultiColumnComboBoxTipZakaza);
            this.Controls.Add(this.radMultiColumnComboBoxTipCen);
            this.Controls.Add(this.radMultiColumnComboBoxValuta);
            this.Controls.Add(this.radMultiColumnComboBoxDogovor);
            this.Controls.Add(this.radLabel11);
            this.Controls.Add(this.radLabel14);
            this.Controls.Add(this.radLabel9);
            this.Controls.Add(this.radLabel10);
            this.Controls.Add(this.radLabel16);
            this.Controls.Add(this.radLabel15);
            this.Controls.Add(this.radLabel7);
            this.Controls.Add(this.radLabel8);
            this.Controls.Add(this.radLabel6);
            this.Controls.Add(this.radLabel4);
            this.Controls.Add(this.radLabel3);
            this.Controls.Add(this.radLabel2);
            this.Controls.Add(this.radLabel13);
            this.Controls.Add(this.radLabel12);
            this.Controls.Add(this.radLabel17);
            this.Controls.Add(this.radLabel5);
            this.Controls.Add(this.radLabel1);
            this.Controls.Add(this.radMultiColumnComboBoxAuto);
            this.Controls.Add(this.radButton2);
            this.Controls.Add(this.radButtonUpdate);
            this.Controls.Add(this.radButtonSave);
            this.Controls.Add(this.radMultiColumnComboBoxKontragent);
            this.Controls.Add(this.radMultiColumnComboBoxOrg);
            this.Name = "OrderNewForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Новый";
            this.Load += new System.EventHandler(this.OrderNewForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxOrg)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxKontragent)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonSave)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxAuto)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxDogovor)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Naimenovanie)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxValuta)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipCen)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerDataCr)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBoxTipZakaza)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerSrok)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Manager)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.VidOplaty)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorKurs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radDateTimePickerСрокПоставки)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorSumma)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditorSumPredoplaty)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxAvtor)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButtonUpdate)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition3   = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition2   = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RadForm1));
     this.groupControl1       = new DevExpress.XtraEditors.GroupControl();
     this.groupControl2       = new DevExpress.XtraEditors.GroupControl();
     this.groupControl3       = new DevExpress.XtraEditors.GroupControl();
     this.dragAndDropRadGrid3 = new YazılımSinama2.DragAndDropRadGrid();
     this.dragAndDropRadGrid2 = new YazılımSinama2.DragAndDropRadGrid();
     this.dragAndDropRadGrid1 = new YazılımSinama2.DragAndDropRadGrid();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
     this.groupControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid3.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid2.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // groupControl1
     //
     this.groupControl1.Appearance.BackColor            = System.Drawing.Color.White;
     this.groupControl1.Appearance.Options.UseBackColor = true;
     this.groupControl1.Controls.Add(this.dragAndDropRadGrid1);
     this.groupControl1.Location = new System.Drawing.Point(4, 45);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(189, 331);
     this.groupControl1.TabIndex = 6;
     this.groupControl1.Text     = "To Do";
     //
     // groupControl2
     //
     this.groupControl2.Appearance.BackColor            = System.Drawing.Color.White;
     this.groupControl2.Appearance.Options.UseBackColor = true;
     this.groupControl2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.groupControl2.Controls.Add(this.dragAndDropRadGrid2);
     this.groupControl2.Location = new System.Drawing.Point(209, 45);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(189, 331);
     this.groupControl2.TabIndex = 7;
     this.groupControl2.Text     = "İn Progress";
     //
     // groupControl3
     //
     this.groupControl3.Controls.Add(this.dragAndDropRadGrid3);
     this.groupControl3.Location = new System.Drawing.Point(415, 45);
     this.groupControl3.Name     = "groupControl3";
     this.groupControl3.Size     = new System.Drawing.Size(189, 331);
     this.groupControl3.TabIndex = 8;
     this.groupControl3.Text     = "Other";
     //
     // dragAndDropRadGrid3
     //
     this.dragAndDropRadGrid3.Location = new System.Drawing.Point(5, 26);
     //
     //
     //
     this.dragAndDropRadGrid3.MasterTemplate.AllowAddNewRow = false;
     gridViewTextBoxColumn2.HeaderText = "TASKNAME";
     gridViewTextBoxColumn2.Name       = "TASKNAME";
     gridViewTextBoxColumn2.Width      = 159;
     this.dragAndDropRadGrid3.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn2
     });
     this.dragAndDropRadGrid3.MasterTemplate.MultiSelect    = true;
     this.dragAndDropRadGrid3.MasterTemplate.ViewDefinition = tableViewDefinition3;
     this.dragAndDropRadGrid3.Name     = "dragAndDropRadGrid3";
     this.dragAndDropRadGrid3.ReadOnly = true;
     this.dragAndDropRadGrid3.Size     = new System.Drawing.Size(179, 301);
     this.dragAndDropRadGrid3.TabIndex = 4;
     //
     // dragAndDropRadGrid2
     //
     this.dragAndDropRadGrid2.Location = new System.Drawing.Point(5, 25);
     //
     //
     //
     this.dragAndDropRadGrid2.MasterTemplate.AllowAddNewRow = false;
     gridViewTextBoxColumn1.HeaderText = "TASKNAME";
     gridViewTextBoxColumn1.Name       = "TASKNAME";
     gridViewTextBoxColumn1.Width      = 159;
     this.dragAndDropRadGrid2.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1
     });
     this.dragAndDropRadGrid2.MasterTemplate.MultiSelect    = true;
     this.dragAndDropRadGrid2.MasterTemplate.ViewDefinition = tableViewDefinition2;
     this.dragAndDropRadGrid2.Name     = "dragAndDropRadGrid2";
     this.dragAndDropRadGrid2.ReadOnly = true;
     this.dragAndDropRadGrid2.Size     = new System.Drawing.Size(179, 301);
     this.dragAndDropRadGrid2.TabIndex = 3;
     //
     // dragAndDropRadGrid1
     //
     this.dragAndDropRadGrid1.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Descending;
     this.dragAndDropRadGrid1.Location = new System.Drawing.Point(5, 26);
     //
     //
     //
     this.dragAndDropRadGrid1.MasterTemplate.MultiSelect    = true;
     this.dragAndDropRadGrid1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.dragAndDropRadGrid1.Name         = "dragAndDropRadGrid1";
     this.dragAndDropRadGrid1.ReadOnly     = true;
     this.dragAndDropRadGrid1.Size         = new System.Drawing.Size(179, 301);
     this.dragAndDropRadGrid1.TabIndex     = 2;
     this.dragAndDropRadGrid1.DoubleClick += new System.EventHandler(this.dragAndDropRadGrid1_DoubleClick);
     //
     // RadForm1
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode          = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.BackColor             = System.Drawing.Color.LightGray;
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize            = new System.Drawing.Size(616, 601);
     this.Controls.Add(this.groupControl3);
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "RadForm1";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "RadForm1";
     this.Load         += new System.EventHandler(this.RadForm1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
     this.groupControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid3.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid2.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dragAndDropRadGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #41
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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.BtnAgregar = new Telerik.WinControls.UI.RadButton();
            this.BtnCancelar = new Telerik.WinControls.UI.RadButton();
            this.pbvBatch = new System.Windows.Forms.ErrorProvider(this.components);
            this.gvBatchMedicines = new Telerik.WinControls.UI.RadGridView();
            ((System.ComponentModel.ISupportInitialize)(this.BtnAgregar)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.BtnCancelar)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbvBatch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchMedicines)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchMedicines.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // BtnAgregar
            // 
            this.BtnAgregar.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.BtnAgregar.Location = new System.Drawing.Point(461, 271);
            this.BtnAgregar.Margin = new System.Windows.Forms.Padding(2);
            this.BtnAgregar.Name = "BtnAgregar";
            this.BtnAgregar.Size = new System.Drawing.Size(75, 24);
            this.BtnAgregar.TabIndex = 82;
            this.BtnAgregar.Text = "Agregar";
            this.BtnAgregar.ThemeName = "TelerikMetroBlue";
            this.BtnAgregar.Click += new System.EventHandler(this.BtnAgregar_Click);
            // 
            // BtnCancelar
            // 
            this.BtnCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.BtnCancelar.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.BtnCancelar.Location = new System.Drawing.Point(546, 271);
            this.BtnCancelar.Margin = new System.Windows.Forms.Padding(2);
            this.BtnCancelar.Name = "BtnCancelar";
            this.BtnCancelar.Size = new System.Drawing.Size(75, 24);
            this.BtnCancelar.TabIndex = 83;
            this.BtnCancelar.Text = "Cancelar";
            this.BtnCancelar.ThemeName = "TelerikMetroBlue";
            this.BtnCancelar.Click += new System.EventHandler(this.BtnCancelar_Click);
            // 
            // pbvBatch
            // 
            this.pbvBatch.ContainerControl = this;
            // 
            // gvBatchMedicines
            // 
            this.gvBatchMedicines.Location = new System.Drawing.Point(2, 12);
            // 
            // 
            // 
            this.gvBatchMedicines.MasterTemplate.AllowAddNewRow = false;
            this.gvBatchMedicines.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "Id";
            gridViewTextBoxColumn1.HeaderText = "Id";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "Id";
            gridViewTextBoxColumn2.FieldName = "MedicineName";
            gridViewTextBoxColumn2.HeaderText = "Medicamento";
            gridViewTextBoxColumn2.Name = "MedicineName";
            gridViewTextBoxColumn2.Width = 213;
            gridViewTextBoxColumn3.FieldName = "StartDate";
            gridViewTextBoxColumn3.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn3.HeaderText = "Comienzo";
            gridViewTextBoxColumn3.Name = "StartDate";
            gridViewTextBoxColumn3.Width = 81;
            gridViewTextBoxColumn4.FieldName = "EndDate";
            gridViewTextBoxColumn4.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn4.HeaderText = "Fin";
            gridViewTextBoxColumn4.Name = "EndDate";
            gridViewTextBoxColumn4.Width = 81;
            gridViewTextBoxColumn5.FieldName = "Observation";
            gridViewTextBoxColumn5.HeaderText = "Observación";
            gridViewTextBoxColumn5.Name = "Observation";
            gridViewTextBoxColumn5.Width = 149;
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.Image = global::Avicola.Production.Win.Properties.Resources.Data_Edit;
            gridViewCommandColumn1.ImageLayout = System.Windows.Forms.ImageLayout.Center;
            gridViewCommandColumn1.MaxWidth = 40;
            gridViewCommandColumn1.MinWidth = 40;
            gridViewCommandColumn1.Name = "btnEdit";
            gridViewCommandColumn1.Width = 40;
            gridViewCommandColumn2.HeaderText = "";
            gridViewCommandColumn2.Image = global::Avicola.Production.Win.Properties.Resources.Garbage_Closed;
            gridViewCommandColumn2.ImageLayout = System.Windows.Forms.ImageLayout.Center;
            gridViewCommandColumn2.MaxWidth = 40;
            gridViewCommandColumn2.MinWidth = 40;
            gridViewCommandColumn2.Name = "btnDelete";
            gridViewCommandColumn2.Width = 40;
            this.gvBatchMedicines.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewCommandColumn1,
            gridViewCommandColumn2});
            this.gvBatchMedicines.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvBatchMedicines.Name = "gvBatchMedicines";
            this.gvBatchMedicines.ReadOnly = true;
            this.gvBatchMedicines.ShowGroupPanel = false;
            this.gvBatchMedicines.Size = new System.Drawing.Size(619, 244);
            this.gvBatchMedicines.TabIndex = 84;
            this.gvBatchMedicines.Text = "radGridView1";
            this.gvBatchMedicines.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvBatchMedicines_CommandCellClick);
            // 
            // FrmBatchMedicinesList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(623, 306);
            this.Controls.Add(this.gvBatchMedicines);
            this.Controls.Add(this.BtnAgregar);
            this.Controls.Add(this.BtnCancelar);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name = "FrmBatchMedicinesList";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.ShowIcon = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Medicamentos";
            this.Load += new System.EventHandler(this.FrmBatchMedicineList_Load);
            ((System.ComponentModel.ISupportInitialize)(this.BtnAgregar)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.BtnCancelar)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbvBatch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchMedicines.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchMedicines)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #42
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();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn1  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewDateTimeColumn  gridViewDateTimeColumn1 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewDecimalColumn   gridViewDecimalColumn2  = new Telerik.WinControls.UI.GridViewDecimalColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn1  = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn2  = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.mainradStatusStrip          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1            = new Telerik.WinControls.UI.RadLabelElement();
     this.mainradMenu                 = new Telerik.WinControls.UI.RadMenu();
     this.timer1                      = new System.Windows.Forms.Timer(this.components);
     this.telerikMetroTheme1          = new Telerik.WinControls.Themes.TelerikMetroTheme();
     this.radGridView1                = new Telerik.WinControls.UI.RadGridView();
     this.actionlogBindingSource      = new System.Windows.Forms.BindingSource(this.components);
     this.sinarekDataSet              = new NB.sinarekDataSet();
     this.radGroupBox1                = new Telerik.WinControls.UI.RadGroupBox();
     this.txtPwd                      = new Telerik.WinControls.UI.RadMaskedEditBox();
     this.btnChange                   = new Telerik.WinControls.UI.RadButton();
     this.txtKeterangan               = new Telerik.WinControls.UI.RadMaskedEditBox();
     this.actionlogTableAdapter       = new NB.sinarekDataSetTableAdapters.actionlogTableAdapter();
     this.visualStudio2012LightTheme1 = new Telerik.WinControls.Themes.VisualStudio2012LightTheme();
     ((System.ComponentModel.ISupportInitialize)(this.mainradStatusStrip)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainradMenu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.actionlogBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sinarekDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtPwd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnChange)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKeterangan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // mainradStatusStrip
     //
     this.mainradStatusStrip.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.mainradStatusStrip.Location  = new System.Drawing.Point(0, 602);
     this.mainradStatusStrip.Name      = "mainradStatusStrip";
     this.mainradStatusStrip.Size      = new System.Drawing.Size(966, 35);
     this.mainradStatusStrip.TabIndex  = 1;
     this.mainradStatusStrip.Text      = "radStatusStrip1";
     this.mainradStatusStrip.ThemeName = "Windows8";
     //
     // radLabelElement1
     //
     this.radLabelElement1.Font   = new System.Drawing.Font("Segoe UI", 12F);
     this.radLabelElement1.Margin = new System.Windows.Forms.Padding(1);
     this.radLabelElement1.Name   = "radLabelElement1";
     this.mainradStatusStrip.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "radLabelElement1";
     this.radLabelElement1.TextWrap = true;
     //
     // mainradMenu
     //
     this.mainradMenu.Font      = new System.Drawing.Font("Segoe UI", 12F);
     this.mainradMenu.Location  = new System.Drawing.Point(0, 0);
     this.mainradMenu.Name      = "mainradMenu";
     this.mainradMenu.Padding   = new System.Windows.Forms.Padding(2, 2, 0, 0);
     this.mainradMenu.Size      = new System.Drawing.Size(966, 31);
     this.mainradMenu.TabIndex  = 2;
     this.mainradMenu.Text      = "radMenu1";
     this.mainradMenu.ThemeName = "Windows8";
     this.mainradMenu.Click    += new System.EventHandler(this.mainradMenu_Click);
     //
     // timer1
     //
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // radGridView1
     //
     this.radGridView1.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.radGridView1.AutoSizeRows = true;
     this.radGridView1.Font         = new System.Drawing.Font("Segoe UI", 10F);
     this.radGridView1.Location     = new System.Drawing.Point(12, 41);
     //
     //
     //
     this.radGridView1.MasterTemplate.AllowAddNewRow      = false;
     this.radGridView1.MasterTemplate.AllowColumnReorder  = false;
     this.radGridView1.MasterTemplate.AutoGenerateColumns = false;
     gridViewDecimalColumn1.DataType         = typeof(int);
     gridViewDecimalColumn1.FieldName        = "actionid";
     gridViewDecimalColumn1.HeaderText       = "actionid";
     gridViewDecimalColumn1.IsAutoGenerated  = true;
     gridViewDecimalColumn1.IsVisible        = false;
     gridViewDecimalColumn1.Name             = "actionid";
     gridViewDateTimeColumn1.FieldName       = "Tanggal";
     gridViewDateTimeColumn1.FormatString    = "{0:dd MMM yy hh:mm tt}";
     gridViewDateTimeColumn1.HeaderText      = "Tanggal";
     gridViewDateTimeColumn1.IsAutoGenerated = true;
     gridViewDateTimeColumn1.Name            = "Tanggal";
     gridViewDateTimeColumn1.Width           = 150;
     gridViewTextBoxColumn1.FieldName        = "createdby";
     gridViewTextBoxColumn1.HeaderText       = "Nama";
     gridViewTextBoxColumn1.Name             = "createdby";
     gridViewTextBoxColumn1.Width            = 100;
     gridViewTextBoxColumn2.FieldName        = "keterangan";
     gridViewTextBoxColumn2.HeaderText       = "Keterangan";
     gridViewTextBoxColumn2.IsAutoGenerated  = true;
     gridViewTextBoxColumn2.Name             = "keterangan";
     gridViewTextBoxColumn2.Width            = 250;
     gridViewTextBoxColumn2.WrapText         = true;
     gridViewDecimalColumn2.DataType         = typeof(short);
     gridViewDecimalColumn2.FieldName        = "statusid";
     gridViewDecimalColumn2.HeaderText       = "statusid";
     gridViewDecimalColumn2.IsAutoGenerated  = true;
     gridViewDecimalColumn2.IsVisible        = false;
     gridViewDecimalColumn2.Name             = "statusid";
     gridViewTextBoxColumn3.FieldName        = "actionby";
     gridViewTextBoxColumn3.HeaderText       = "";
     gridViewTextBoxColumn3.IsAutoGenerated  = true;
     gridViewTextBoxColumn3.IsVisible        = false;
     gridViewTextBoxColumn3.Name             = "actionby";
     gridViewCommandColumn1.DefaultText      = "fixed";
     gridViewCommandColumn1.HeaderText       = "";
     gridViewCommandColumn1.Name             = "cmdFixed";
     gridViewCommandColumn1.UseDefaultText   = true;
     gridViewCommandColumn1.Width            = 80;
     gridViewCommandColumn2.DefaultText      = "Batal";
     gridViewCommandColumn2.HeaderText       = "";
     gridViewCommandColumn2.Name             = "cmd";
     gridViewCommandColumn2.UseDefaultText   = true;
     gridViewCommandColumn2.Width            = 80;
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewDecimalColumn1,
         gridViewDateTimeColumn1,
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewDecimalColumn2,
         gridViewTextBoxColumn3,
         gridViewCommandColumn1,
         gridViewCommandColumn2
     });
     this.radGridView1.MasterTemplate.DataSource     = this.actionlogBindingSource;
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.radGridView1.Name              = "radGridView1";
     this.radGridView1.Padding           = new System.Windows.Forms.Padding(5);
     this.radGridView1.ReadOnly          = true;
     this.radGridView1.ShowGroupPanel    = false;
     this.radGridView1.Size              = new System.Drawing.Size(709, 229);
     this.radGridView1.TabIndex          = 4;
     this.radGridView1.Text              = "radGridView1";
     this.radGridView1.ThemeName         = "Windows8";
     this.radGridView1.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.radGridView1_CommandCellClick);
     //
     // actionlogBindingSource
     //
     this.actionlogBindingSource.DataMember = "actionlog";
     this.actionlogBindingSource.DataSource = this.sinarekDataSet;
     //
     // sinarekDataSet
     //
     this.sinarekDataSet.DataSetName             = "sinarekDataSet";
     this.sinarekDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.radGroupBox1.Controls.Add(this.txtPwd);
     this.radGroupBox1.Controls.Add(this.btnChange);
     this.radGroupBox1.Font       = new System.Drawing.Font("Segoe UI", 10F);
     this.radGroupBox1.HeaderText = "Change Password";
     this.radGroupBox1.Location   = new System.Drawing.Point(735, 43);
     this.radGroupBox1.Name       = "radGroupBox1";
     this.radGroupBox1.Size       = new System.Drawing.Size(222, 96);
     this.radGroupBox1.TabIndex   = 6;
     this.radGroupBox1.Text       = "Change Password";
     this.radGroupBox1.ThemeName  = "Windows8";
     //
     // txtPwd
     //
     this.txtPwd.Font      = new System.Drawing.Font("Segoe UI", 10F);
     this.txtPwd.Location  = new System.Drawing.Point(20, 33);
     this.txtPwd.Name      = "txtPwd";
     this.txtPwd.NullText  = "type new password here";
     this.txtPwd.Size      = new System.Drawing.Size(181, 23);
     this.txtPwd.TabIndex  = 1;
     this.txtPwd.TabStop   = false;
     this.txtPwd.ThemeName = "Windows8";
     //
     // btnChange
     //
     this.btnChange.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.btnChange.Font      = new System.Drawing.Font("Segoe UI", 10F);
     this.btnChange.Location  = new System.Drawing.Point(2, 72);
     this.btnChange.Name      = "btnChange";
     this.btnChange.Size      = new System.Drawing.Size(218, 22);
     this.btnChange.TabIndex  = 0;
     this.btnChange.Text      = "Simpan";
     this.btnChange.ThemeName = "Windows8";
     this.btnChange.Click    += new System.EventHandler(this.btnChange_Click);
     //
     // txtKeterangan
     //
     this.txtKeterangan.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtKeterangan.Font      = new System.Drawing.Font("Segoe UI", 10F);
     this.txtKeterangan.Location  = new System.Drawing.Point(12, 276);
     this.txtKeterangan.Name      = "txtKeterangan";
     this.txtKeterangan.NullText  = "keterangan koreksi .  .  .  .";
     this.txtKeterangan.Size      = new System.Drawing.Size(709, 23);
     this.txtKeterangan.TabIndex  = 0;
     this.txtKeterangan.TabStop   = false;
     this.txtKeterangan.ThemeName = "Windows8";
     this.txtKeterangan.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtKeterangan_KeyPress);
     this.txtKeterangan.KeyUp    += new System.Windows.Forms.KeyEventHandler(this.txtKeterangan_KeyUp);
     //
     // actionlogTableAdapter
     //
     this.actionlogTableAdapter.ClearBeforeFill = true;
     //
     // frmMain
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.ClientSize            = new System.Drawing.Size(966, 637);
     this.Controls.Add(this.txtKeterangan);
     this.Controls.Add(this.radGroupBox1);
     this.Controls.Add(this.radGridView1);
     this.Controls.Add(this.mainradMenu);
     this.Controls.Add(this.mainradStatusStrip);
     this.Font            = new System.Drawing.Font("Segoe UI", 12F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer  = true;
     this.KeyPreview      = true;
     this.Name            = "frmMain";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text      = "Sinarek Management System";
     this.ThemeName = "Windows8";
     this.Load     += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mainradStatusStrip)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainradMenu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.actionlogBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sinarekDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtPwd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnChange)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKeterangan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(Diario));
     this.btnDetalles          = new Telerik.WinControls.UI.RadButton();
     this.TimePickerCalendario = new Telerik.WinControls.UI.RadDateTimePicker();
     this.grpDatos             = new System.Windows.Forms.GroupBox();
     this.gridCuadroInfo       = new Telerik.WinControls.UI.RadGridView();
     this.cBoxUsu               = new System.Windows.Forms.ComboBox();
     this.radLabel1             = new Telerik.WinControls.UI.RadLabel();
     this.radLabel2             = new Telerik.WinControls.UI.RadLabel();
     this.radDateTimeDiaInicial = new Telerik.WinControls.UI.RadDateTimePicker();
     this.radDateTimeDiaFinal   = new Telerik.WinControls.UI.RadDateTimePicker();
     this.btnDetallesEntreDias  = new Telerik.WinControls.UI.RadButton();
     this.label1           = new System.Windows.Forms.Label();
     this.btnEXCEL         = new Telerik.WinControls.UI.RadButton();
     this.btnPdf           = new Telerik.WinControls.UI.RadButton();
     this.button1          = new System.Windows.Forms.Button();
     this.lblFecha         = new Telerik.WinControls.UI.RadLabel();
     this.radLabel4        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel3        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel5        = new Telerik.WinControls.UI.RadLabel();
     this.lblDatosBusqueda = new Telerik.WinControls.UI.RadLabel();
     this.lblExportarExcel = new Telerik.WinControls.UI.RadLabel();
     this.lblExportarPdf   = new Telerik.WinControls.UI.RadLabel();
     this.windows7Theme1   = new Telerik.WinControls.Themes.Windows7Theme();
     ((System.ComponentModel.ISupportInitialize)(this.btnDetalles)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.TimePickerCalendario)).BeginInit();
     this.grpDatos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridCuadroInfo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridCuadroInfo.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDateTimeDiaInicial)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDateTimeDiaFinal)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnDetallesEntreDias)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnEXCEL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPdf)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblFecha)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblDatosBusqueda)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblExportarExcel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblExportarPdf)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // btnDetalles
     //
     this.btnDetalles.Location = new System.Drawing.Point(199, 101);
     this.btnDetalles.Name     = "btnDetalles";
     this.btnDetalles.Size     = new System.Drawing.Size(121, 22);
     this.btnDetalles.TabIndex = 0;
     this.btnDetalles.Text     = "Detalles ";
     this.btnDetalles.Click   += new System.EventHandler(this.btnDetalles_Click);
     //
     // TimePickerCalendario
     //
     this.TimePickerCalendario.Format        = System.Windows.Forms.DateTimePickerFormat.Short;
     this.TimePickerCalendario.Location      = new System.Drawing.Point(156, 38);
     this.TimePickerCalendario.MaxDate       = new System.DateTime(2016, 7, 12, 17, 14, 54, 0);
     this.TimePickerCalendario.Name          = "TimePickerCalendario";
     this.TimePickerCalendario.Size          = new System.Drawing.Size(164, 20);
     this.TimePickerCalendario.TabIndex      = 3;
     this.TimePickerCalendario.TabStop       = false;
     this.TimePickerCalendario.Text          = "03/07/2016";
     this.TimePickerCalendario.Value         = new System.DateTime(2016, 7, 3, 0, 0, 0, 0);
     this.TimePickerCalendario.ValueChanged += new System.EventHandler(this.TimePickerCalendario_ValueChanged);
     //
     // grpDatos
     //
     this.grpDatos.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.grpDatos.Controls.Add(this.gridCuadroInfo);
     this.grpDatos.Location    = new System.Drawing.Point(26, 166);
     this.grpDatos.MinimumSize = new System.Drawing.Size(50, 50);
     this.grpDatos.Name        = "grpDatos";
     this.grpDatos.Size        = new System.Drawing.Size(791, 208);
     this.grpDatos.TabIndex    = 4;
     this.grpDatos.TabStop     = false;
     this.grpDatos.Text        = "DATOS";
     //
     // gridCuadroInfo
     //
     this.gridCuadroInfo.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridCuadroInfo.Location = new System.Drawing.Point(3, 16);
     //
     //
     //
     this.gridCuadroInfo.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.gridCuadroInfo.Name            = "gridCuadroInfo";
     this.gridCuadroInfo.Size            = new System.Drawing.Size(785, 189);
     this.gridCuadroInfo.TabIndex        = 0;
     this.gridCuadroInfo.Text            = "radGridView1";
     this.gridCuadroInfo.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.gridCuadroInfo_CellFormatting);
     //
     // cBoxUsu
     //
     this.cBoxUsu.FormattingEnabled = true;
     this.cBoxUsu.Location          = new System.Drawing.Point(156, 61);
     this.cBoxUsu.Name                  = "cBoxUsu";
     this.cBoxUsu.Size                  = new System.Drawing.Size(164, 21);
     this.cBoxUsu.TabIndex              = 5;
     this.cBoxUsu.SelectedIndexChanged += new System.EventHandler(this.cBoxUsu_SelectedIndexChanged);
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(67, 12);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(122, 18);
     this.radLabel1.TabIndex = 6;
     this.radLabel1.Text     = "Filtro por dia y persona";
     //
     // radLabel2
     //
     this.radLabel2.Location = new System.Drawing.Point(447, 15);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(84, 18);
     this.radLabel2.TabIndex = 7;
     this.radLabel2.Text     = "Filtro entre dias";
     //
     // radDateTimeDiaInicial
     //
     this.radDateTimeDiaInicial.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.radDateTimeDiaInicial.Location = new System.Drawing.Point(537, 38);
     this.radDateTimeDiaInicial.MaxDate  = new System.DateTime(2016, 7, 12, 17, 14, 54, 0);
     this.radDateTimeDiaInicial.Name     = "radDateTimeDiaInicial";
     this.radDateTimeDiaInicial.Size     = new System.Drawing.Size(164, 20);
     this.radDateTimeDiaInicial.TabIndex = 8;
     this.radDateTimeDiaInicial.TabStop  = false;
     this.radDateTimeDiaInicial.Text     = "03/07/2016";
     this.radDateTimeDiaInicial.Value    = new System.DateTime(2016, 7, 3, 0, 0, 0, 0);
     //
     // radDateTimeDiaFinal
     //
     this.radDateTimeDiaFinal.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.radDateTimeDiaFinal.Location = new System.Drawing.Point(537, 64);
     this.radDateTimeDiaFinal.MaxDate  = new System.DateTime(2016, 7, 12, 17, 14, 54, 0);
     this.radDateTimeDiaFinal.Name     = "radDateTimeDiaFinal";
     this.radDateTimeDiaFinal.Size     = new System.Drawing.Size(164, 20);
     this.radDateTimeDiaFinal.TabIndex = 9;
     this.radDateTimeDiaFinal.TabStop  = false;
     this.radDateTimeDiaFinal.Text     = "03/07/2016";
     this.radDateTimeDiaFinal.Value    = new System.DateTime(2016, 7, 3, 0, 0, 0, 0);
     //
     // btnDetallesEntreDias
     //
     this.btnDetallesEntreDias.Location = new System.Drawing.Point(580, 101);
     this.btnDetallesEntreDias.Name     = "btnDetallesEntreDias";
     this.btnDetallesEntreDias.Size     = new System.Drawing.Size(121, 22);
     this.btnDetallesEntreDias.TabIndex = 10;
     this.btnDetallesEntreDias.Text     = "Filtrar ";
     this.btnDetallesEntreDias.Click   += new System.EventHandler(this.btnDetallesEntreDias_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)), true);
     this.label1.Location = new System.Drawing.Point(289, 417);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(0, 18);
     this.label1.TabIndex = 31;
     //
     // btnEXCEL
     //
     this.btnEXCEL.Image    = ((System.Drawing.Image)(resources.GetObject("btnEXCEL.Image")));
     this.btnEXCEL.Location = new System.Drawing.Point(129, 385);
     this.btnEXCEL.Name     = "btnEXCEL";
     this.btnEXCEL.Size     = new System.Drawing.Size(25, 25);
     this.btnEXCEL.TabIndex = 1;
     this.btnEXCEL.Click   += new System.EventHandler(this.btnEXCEL_Click_1);
     //
     // btnPdf
     //
     this.btnPdf.Image    = ((System.Drawing.Image)(resources.GetObject("btnPdf.Image")));
     this.btnPdf.Location = new System.Drawing.Point(287, 385);
     this.btnPdf.Name     = "btnPdf";
     this.btnPdf.Size     = new System.Drawing.Size(25, 25);
     this.btnPdf.TabIndex = 11;
     this.btnPdf.Click   += new System.EventHandler(this.btnPdf_Click);
     //
     // button1
     //
     this.button1.Image    = global::ControlHoras.Properties.Resources.Circle_question;
     this.button1.Location = new System.Drawing.Point(-2, -2);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(44, 43);
     this.button1.TabIndex = 34;
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // lblFecha
     //
     this.lblFecha.Location = new System.Drawing.Point(83, 39);
     this.lblFecha.Name     = "lblFecha";
     this.lblFecha.Size     = new System.Drawing.Size(37, 18);
     this.lblFecha.TabIndex = 35;
     this.lblFecha.Text     = "Fecha:";
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(83, 64);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(47, 18);
     this.radLabel4.TabIndex = 36;
     this.radLabel4.Text     = "Usuario:";
     //
     // radLabel3
     //
     this.radLabel3.Location = new System.Drawing.Point(462, 39);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(69, 18);
     this.radLabel3.TabIndex = 37;
     this.radLabel3.Text     = "Fecha Inicial:";
     //
     // radLabel5
     //
     this.radLabel5.Location = new System.Drawing.Point(467, 63);
     this.radLabel5.Name     = "radLabel5";
     this.radLabel5.Size     = new System.Drawing.Size(64, 18);
     this.radLabel5.TabIndex = 38;
     this.radLabel5.Text     = "Fecha Final:";
     //
     // lblDatosBusqueda
     //
     this.lblDatosBusqueda.Location      = new System.Drawing.Point(29, 142);
     this.lblDatosBusqueda.Name          = "lblDatosBusqueda";
     this.lblDatosBusqueda.Size          = new System.Drawing.Size(84, 18);
     this.lblDatosBusqueda.TabIndex      = 39;
     this.lblDatosBusqueda.Text          = "DatosBusqueda";
     this.lblDatosBusqueda.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblExportarExcel
     //
     this.lblExportarExcel.Location = new System.Drawing.Point(30, 390);
     this.lblExportarExcel.Name     = "lblExportarExcel";
     this.lblExportarExcel.Size     = new System.Drawing.Size(93, 18);
     this.lblExportarExcel.TabIndex = 40;
     this.lblExportarExcel.Text     = "Exportar a EXCEL:";
     //
     // lblExportarPdf
     //
     this.lblExportarPdf.Location = new System.Drawing.Point(199, 390);
     this.lblExportarPdf.Name     = "lblExportarPdf";
     this.lblExportarPdf.Size     = new System.Drawing.Size(82, 18);
     this.lblExportarPdf.TabIndex = 41;
     this.lblExportarPdf.Text     = "Exportar a PDF:";
     //
     // Diario
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(892, 465);
     this.Controls.Add(this.lblExportarPdf);
     this.Controls.Add(this.lblExportarExcel);
     this.Controls.Add(this.lblDatosBusqueda);
     this.Controls.Add(this.radLabel5);
     this.Controls.Add(this.radLabel3);
     this.Controls.Add(this.radLabel4);
     this.Controls.Add(this.lblFecha);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnEXCEL);
     this.Controls.Add(this.btnPdf);
     this.Controls.Add(this.btnDetallesEntreDias);
     this.Controls.Add(this.radDateTimeDiaFinal);
     this.Controls.Add(this.radDateTimeDiaInicial);
     this.Controls.Add(this.radLabel2);
     this.Controls.Add(this.radLabel1);
     this.Controls.Add(this.cBoxUsu);
     this.Controls.Add(this.grpDatos);
     this.Controls.Add(this.TimePickerCalendario);
     this.Controls.Add(this.btnDetalles);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(900, 500);
     this.MinimumSize = new System.Drawing.Size(900, 500);
     this.Name        = "Diario";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.RootElement.MaxSize             = new System.Drawing.Size(900, 500);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Diario";
     this.ThemeName     = "Windows7";
     this.Load         += new System.EventHandler(this.Diario_Load);
     ((System.ComponentModel.ISupportInitialize)(this.btnDetalles)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.TimePickerCalendario)).EndInit();
     this.grpDatos.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridCuadroInfo.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridCuadroInfo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDateTimeDiaInicial)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radDateTimeDiaFinal)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnDetallesEntreDias)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnEXCEL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnPdf)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblFecha)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblDatosBusqueda)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblExportarExcel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblExportarPdf)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #44
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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmObservationList));
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.BtnAgregar = new Telerik.WinControls.UI.RadButton();
            this.BtnCancelar = new Telerik.WinControls.UI.RadButton();
            this.pbvBatch = new System.Windows.Forms.ErrorProvider(this.components);
            this.gvBatchObservations = new Telerik.WinControls.UI.RadGridView();
            ((System.ComponentModel.ISupportInitialize)(this.BtnAgregar)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.BtnCancelar)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbvBatch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchObservations)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchObservations.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // BtnAgregar
            // 
            this.BtnAgregar.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.BtnAgregar.Location = new System.Drawing.Point(488, 271);
            this.BtnAgregar.Margin = new System.Windows.Forms.Padding(2);
            this.BtnAgregar.Name = "BtnAgregar";
            this.BtnAgregar.Size = new System.Drawing.Size(75, 24);
            this.BtnAgregar.TabIndex = 82;
            this.BtnAgregar.Text = "Agregar";
            this.BtnAgregar.ThemeName = "TelerikMetroBlue";
            this.BtnAgregar.Click += new System.EventHandler(this.BtnAgregar_Click);
            // 
            // BtnCancelar
            // 
            this.BtnCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.BtnCancelar.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.BtnCancelar.Location = new System.Drawing.Point(573, 271);
            this.BtnCancelar.Margin = new System.Windows.Forms.Padding(2);
            this.BtnCancelar.Name = "BtnCancelar";
            this.BtnCancelar.Size = new System.Drawing.Size(75, 24);
            this.BtnCancelar.TabIndex = 83;
            this.BtnCancelar.Text = "Cancelar";
            this.BtnCancelar.ThemeName = "TelerikMetroBlue";
            this.BtnCancelar.Click += new System.EventHandler(this.BtnCancelar_Click);
            // 
            // pbvBatch
            // 
            this.pbvBatch.ContainerControl = this;
            // 
            // gvBatchObservations
            // 
            this.gvBatchObservations.Location = new System.Drawing.Point(2, 12);
            // 
            // 
            // 
            this.gvBatchObservations.MasterTemplate.AllowAddNewRow = false;
            gridViewTextBoxColumn1.FieldName = "Id";
            gridViewTextBoxColumn1.HeaderText = "Id";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "Id";
            gridViewTextBoxColumn2.FieldName = "ObservationDate";
            gridViewTextBoxColumn2.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn2.HeaderText = "Fecha";
            gridViewTextBoxColumn2.Name = "ObservationDate";
            gridViewTextBoxColumn2.Width = 100;
            gridViewTextBoxColumn3.FieldName = "Week";
            gridViewTextBoxColumn3.HeaderText = "Semana";
            gridViewTextBoxColumn3.Name = "Week";
            gridViewTextBoxColumn3.Width = 100;
            gridViewTextBoxColumn4.FieldName = "Day";
            gridViewTextBoxColumn4.HeaderText = "Día";
            gridViewTextBoxColumn4.Name = "Day";
            gridViewTextBoxColumn5.FieldName = "Content";
            gridViewTextBoxColumn5.HeaderText = "Observación";
            gridViewTextBoxColumn5.Name = "Content";
            gridViewTextBoxColumn5.Width = 300;
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.Image = ((System.Drawing.Image)(resources.GetObject("gridViewCommandColumn1.Image")));
            gridViewCommandColumn1.Name = "btnEdit";
            gridViewCommandColumn1.Width = 40;
            gridViewCommandColumn2.HeaderText = "";
            gridViewCommandColumn2.Image = ((System.Drawing.Image)(resources.GetObject("gridViewCommandColumn2.Image")));
            gridViewCommandColumn2.Name = "btnDelete";
            gridViewCommandColumn2.Width = 40;
            this.gvBatchObservations.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewCommandColumn1,
            gridViewCommandColumn2});
            this.gvBatchObservations.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvBatchObservations.Name = "gvBatchObservations";
            this.gvBatchObservations.ReadOnly = true;
            this.gvBatchObservations.ShowGroupPanel = false;
            this.gvBatchObservations.Size = new System.Drawing.Size(646, 244);
            this.gvBatchObservations.TabIndex = 84;
            this.gvBatchObservations.Text = "radGridView1";
            this.gvBatchObservations.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvBatchObservations_CommandCellClick);
            // 
            // FrmObservationList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(651, 306);
            this.Controls.Add(this.gvBatchObservations);
            this.Controls.Add(this.BtnAgregar);
            this.Controls.Add(this.BtnCancelar);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name = "FrmObservationList";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.ShowIcon = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Observaciones";
            this.Load += new System.EventHandler(this.FrmObservationList_Load);
            ((System.ComponentModel.ISupportInitialize)(this.BtnAgregar)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.BtnCancelar)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pbvBatch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchObservations.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchObservations)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #45
0
ファイル: ClientView.Designer.cs プロジェクト: irania/tirax
        /// <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();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.codenumber = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.cb = new System.Windows.Forms.BindingSource(this.components);
            this.postcode = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.fax = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.address = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.email = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.phone = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.ecocode = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.name = new Telerik.WinControls.UI.RadMaskedEditBox();
            this.radLabel16 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel13 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel15 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel14 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel12 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel10 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.changebtn = new Telerik.WinControls.UI.RadButton();
            this.comboMarketer = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radMultiColumnComboBox1 = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.ubs = new System.Windows.Forms.BindingSource(this.components);
            this.comboM = new System.Windows.Forms.ComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.codenumber)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.postcode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.fax)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.address)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.email)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.phone)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ecocode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.name)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.changebtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer.EditorControl.MasterTemplate)).BeginInit();
            this.comboMarketer.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ubs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // codenumber
            // 
            this.codenumber.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "number", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.codenumber.Location = new System.Drawing.Point(83, 72);
            this.codenumber.Name = "codenumber";
            this.codenumber.Size = new System.Drawing.Size(125, 20);
            this.codenumber.TabIndex = 1;
            this.codenumber.TabStop = false;
            // 
            // cb
            // 
            this.cb.DataSource = typeof(tiraxco.Client);
            // 
            // postcode
            // 
            this.postcode.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "postcode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.postcode.Location = new System.Drawing.Point(83, 192);
            this.postcode.Name = "postcode";
            this.postcode.Size = new System.Drawing.Size(125, 20);
            this.postcode.TabIndex = 6;
            this.postcode.TabStop = false;
            // 
            // fax
            // 
            this.fax.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "fax", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.fax.Location = new System.Drawing.Point(83, 152);
            this.fax.Name = "fax";
            this.fax.Size = new System.Drawing.Size(125, 20);
            this.fax.TabIndex = 4;
            this.fax.TabStop = false;
            // 
            // address
            // 
            this.address.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "address", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.address.Font = new System.Drawing.Font("Tahoma", 10F);
            this.address.Location = new System.Drawing.Point(83, 228);
            this.address.Name = "address";
            this.address.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.address.Size = new System.Drawing.Size(426, 22);
            this.address.TabIndex = 7;
            this.address.TabStop = false;
            // 
            // email
            // 
            this.email.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "email", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.email.Location = new System.Drawing.Point(384, 192);
            this.email.Name = "email";
            this.email.Size = new System.Drawing.Size(125, 20);
            this.email.TabIndex = 5;
            this.email.TabStop = false;
            // 
            // phone
            // 
            this.phone.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "phone", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.phone.Location = new System.Drawing.Point(383, 152);
            this.phone.Name = "phone";
            this.phone.Size = new System.Drawing.Size(125, 20);
            this.phone.TabIndex = 3;
            this.phone.TabStop = false;
            // 
            // ecocode
            // 
            this.ecocode.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "ecocode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.ecocode.Location = new System.Drawing.Point(384, 112);
            this.ecocode.Name = "ecocode";
            this.ecocode.Size = new System.Drawing.Size(125, 20);
            this.ecocode.TabIndex = 2;
            this.ecocode.TabStop = false;
            // 
            // name
            // 
            this.name.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "name", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.name.Font = new System.Drawing.Font("Tahoma", 10F);
            this.name.Location = new System.Drawing.Point(384, 72);
            this.name.Name = "name";
            this.name.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.name.Size = new System.Drawing.Size(125, 22);
            this.name.TabIndex = 0;
            this.name.TabStop = false;
            // 
            // radLabel16
            // 
            this.radLabel16.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel16.Location = new System.Drawing.Point(266, 192);
            this.radLabel16.Name = "radLabel16";
            this.radLabel16.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel16.Size = new System.Drawing.Size(62, 20);
            this.radLabel16.TabIndex = 12;
            this.radLabel16.Text = "کد پستی";
            this.radLabel16.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel9
            // 
            this.radLabel9.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel9.Location = new System.Drawing.Point(209, 72);
            this.radLabel9.Name = "radLabel9";
            this.radLabel9.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel9.Size = new System.Drawing.Size(119, 20);
            this.radLabel9.TabIndex = 11;
            this.radLabel9.Text = "شماره ثبت/کد ملی";
            this.radLabel9.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel13
            // 
            this.radLabel13.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel13.Location = new System.Drawing.Point(290, 152);
            this.radLabel13.Name = "radLabel13";
            this.radLabel13.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel13.Size = new System.Drawing.Size(38, 20);
            this.radLabel13.TabIndex = 10;
            this.radLabel13.Text = "فکس";
            this.radLabel13.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel15
            // 
            this.radLabel15.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel15.Location = new System.Drawing.Point(571, 232);
            this.radLabel15.Name = "radLabel15";
            this.radLabel15.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel15.Size = new System.Drawing.Size(38, 20);
            this.radLabel15.TabIndex = 9;
            this.radLabel15.Text = "آدرس";
            this.radLabel15.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel14
            // 
            this.radLabel14.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel14.Location = new System.Drawing.Point(572, 192);
            this.radLabel14.Name = "radLabel14";
            this.radLabel14.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel14.Size = new System.Drawing.Size(37, 20);
            this.radLabel14.TabIndex = 7;
            this.radLabel14.Text = "ایمیل";
            this.radLabel14.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel12
            // 
            this.radLabel12.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel12.Location = new System.Drawing.Point(576, 152);
            this.radLabel12.Name = "radLabel12";
            this.radLabel12.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel12.Size = new System.Drawing.Size(33, 20);
            this.radLabel12.TabIndex = 6;
            this.radLabel12.Text = "تلفن";
            this.radLabel12.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel10
            // 
            this.radLabel10.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel10.Location = new System.Drawing.Point(537, 112);
            this.radLabel10.Name = "radLabel10";
            this.radLabel10.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel10.Size = new System.Drawing.Size(72, 20);
            this.radLabel10.TabIndex = 13;
            this.radLabel10.Text = "کد اقتصادی";
            this.radLabel10.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel4
            // 
            this.radLabel4.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel4.Location = new System.Drawing.Point(538, 72);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel4.Size = new System.Drawing.Size(71, 20);
            this.radLabel4.TabIndex = 5;
            this.radLabel4.Text = "نام مشتری";
            this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // changebtn
            // 
            this.changebtn.Font = new System.Drawing.Font("Tahoma", 10F);
            this.changebtn.Location = new System.Drawing.Point(31, 310);
            this.changebtn.Name = "changebtn";
            this.changebtn.Size = new System.Drawing.Size(110, 24);
            this.changebtn.TabIndex = 23;
            this.changebtn.Text = "اعمال تغییرات";
            this.changebtn.Click += new System.EventHandler(this.changebtn_Click);
            // 
            // comboMarketer
            // 
            this.comboMarketer.Controls.Add(this.radMultiColumnComboBox1);
            this.comboMarketer.Controls.Add(this.radLabel2);
            // 
            // comboMarketer.NestedRadGridView
            // 
            this.comboMarketer.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.comboMarketer.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.comboMarketer.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.comboMarketer.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.comboMarketer.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.comboMarketer.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.comboMarketer.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.comboMarketer.EditorControl.MasterTemplate.EnableGrouping = false;
            this.comboMarketer.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.comboMarketer.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.comboMarketer.EditorControl.Name = "NestedRadGridView";
            this.comboMarketer.EditorControl.ReadOnly = true;
            this.comboMarketer.EditorControl.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.comboMarketer.EditorControl.ShowGroupPanel = false;
            this.comboMarketer.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.comboMarketer.EditorControl.TabIndex = 0;
            this.comboMarketer.Font = new System.Drawing.Font("Tahoma", 9F);
            this.comboMarketer.Location = new System.Drawing.Point(-58, 106);
            this.comboMarketer.Name = "comboMarketer";
            this.comboMarketer.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.comboMarketer.Size = new System.Drawing.Size(125, 20);
            this.comboMarketer.TabIndex = 12;
            this.comboMarketer.TabStop = false;
            this.comboMarketer.ValueMember = "ID";
            // 
            // radMultiColumnComboBox1
            // 
            // 
            // radMultiColumnComboBox1.NestedRadGridView
            // 
            this.radMultiColumnComboBox1.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBox1.EditorControl.Cursor = System.Windows.Forms.Cursors.Default;
            this.radMultiColumnComboBox1.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.radMultiColumnComboBox1.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBox1.EditorControl.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radMultiColumnComboBox1.EditorControl.Location = new System.Drawing.Point(-102, -106);
            // 
            // 
            // 
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowColumnResize = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowDragToGroup = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowRowResize = false;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewDecimalColumn1.Width = 52;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "name";
            gridViewTextBoxColumn1.HeaderText = "نام";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "name";
            gridViewTextBoxColumn1.SortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
            gridViewTextBoxColumn1.Width = 150;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "phone";
            gridViewTextBoxColumn2.HeaderText = "phone";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.IsVisible = false;
            gridViewTextBoxColumn2.Name = "phone";
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "address";
            gridViewTextBoxColumn3.HeaderText = "address";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.IsVisible = false;
            gridViewTextBoxColumn3.Name = "address";
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3});
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.HorizontalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysHide;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.ShowColumnHeaders = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.ShowRowHeaderColumn = false;
            sortDescriptor1.PropertyName = "name";
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radMultiColumnComboBox1.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBox1.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBox1.EditorControl.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radMultiColumnComboBox1.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBox1.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBox1.EditorControl.TabIndex = 10;
            this.radMultiColumnComboBox1.Font = new System.Drawing.Font("Tahoma", 9F);
            this.radMultiColumnComboBox1.Location = new System.Drawing.Point(-15, 106);
            this.radMultiColumnComboBox1.Name = "radMultiColumnComboBox1";
            this.radMultiColumnComboBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radMultiColumnComboBox1.Size = new System.Drawing.Size(125, 20);
            this.radMultiColumnComboBox1.TabIndex = 12;
            this.radMultiColumnComboBox1.TabStop = false;
            this.radMultiColumnComboBox1.ValueMember = "ID";
            // 
            // radLabel2
            // 
            this.radLabel2.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel2.Location = new System.Drawing.Point(159, 106);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel2.Size = new System.Drawing.Size(67, 20);
            this.radLabel2.TabIndex = 11;
            this.radLabel2.Text = "نام بازاریاب";
            this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel1
            // 
            this.radLabel1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radLabel1.Location = new System.Drawing.Point(542, 267);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel1.Size = new System.Drawing.Size(67, 20);
            this.radLabel1.TabIndex = 17;
            this.radLabel1.Text = "نام بازاریاب";
            this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // ubs
            // 
            this.ubs.DataSource = typeof(tiraxco.User);
            // 
            // comboM
            // 
            this.comboM.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cb, "marketer", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.comboM.DataSource = this.ubs;
            this.comboM.DisplayMember = "name";
            this.comboM.FormattingEnabled = true;
            this.comboM.Location = new System.Drawing.Point(344, 266);
            this.comboM.Name = "comboM";
            this.comboM.Size = new System.Drawing.Size(161, 21);
            this.comboM.TabIndex = 21;
            // 
            // ClientView
            // 
            this.AcceptButton = this.changebtn;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(668, 390);
            this.Controls.Add(this.comboM);
            this.Controls.Add(this.radLabel1);
            this.Controls.Add(this.changebtn);
            this.Controls.Add(this.codenumber);
            this.Controls.Add(this.postcode);
            this.Controls.Add(this.fax);
            this.Controls.Add(this.address);
            this.Controls.Add(this.email);
            this.Controls.Add(this.phone);
            this.Controls.Add(this.ecocode);
            this.Controls.Add(this.name);
            this.Controls.Add(this.radLabel16);
            this.Controls.Add(this.radLabel9);
            this.Controls.Add(this.radLabel13);
            this.Controls.Add(this.radLabel15);
            this.Controls.Add(this.radLabel14);
            this.Controls.Add(this.radLabel12);
            this.Controls.Add(this.radLabel10);
            this.Controls.Add(this.radLabel4);
            this.Font = new System.Drawing.Font("Tahoma", 10F);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "ClientView";
            this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "افزودن مشتری";
            ((System.ComponentModel.ISupportInitialize)(this.codenumber)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.postcode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.fax)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.address)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.email)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.phone)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ecocode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.name)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.changebtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboMarketer)).EndInit();
            this.comboMarketer.ResumeLayout(false);
            this.comboMarketer.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ubs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #46
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(HistoryScreen));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.radRibbonBar1            = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1               = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup4       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnView                  = new Telerik.WinControls.UI.RadButtonElement();
     this.btnExport                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup3       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh               = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1               = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1             = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1 = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radMenuItem1             = new Telerik.WinControls.UI.RadMenuItem();
     this.radStatusStrip1          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1         = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1                   = new System.Windows.Forms.Panel();
     this.radGridView1             = new Telerik.WinControls.UI.RadGridView();
     this.office2010BlueTheme1     = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter                = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter                 = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup5 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(681, 161);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.Text      = "รายการประวัติ";
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5
     });
     this.ribbonTab1.Name = "ribbonTab1";
     this.ribbonTab1.Text = "Action";
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnView,
         this.btnExport
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Manage";
     //
     // btnView
     //
     this.btnView.Image             = ((System.Drawing.Image)(resources.GetObject("btnView.Image")));
     this.btnView.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnView.Name              = "btnView";
     this.btnView.Text              = "ดูประวัติ";
     this.btnView.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnView.Click            += new System.EventHandler(this.btnView_Click_1);
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefresh.Click            += new System.EventHandler(this.btnCancel_Click);
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 448);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(681, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     this.radStatusStrip1.Text       = "radStatusStrip1";
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "Status : ประวัติ";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.radGridView1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 161);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(681, 287);
     this.panel1.TabIndex = 2;
     //
     // radGridView1
     //
     this.radGridView1.BackColor = System.Drawing.Color.White;
     this.radGridView1.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
     this.radGridView1.Cursor       = System.Windows.Forms.Cursors.Default;
     this.radGridView1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.radGridView1.EnterKeyMode = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextCell;
     this.radGridView1.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radGridView1.ForeColor    = System.Drawing.Color.Black;
     this.radGridView1.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.radGridView1.Location     = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.radGridView1.MasterTemplate.AddNewRowPosition            = Telerik.WinControls.UI.SystemRowPosition.Bottom;
     this.radGridView1.MasterTemplate.AllowAddNewRow               = false;
     this.radGridView1.MasterTemplate.AllowColumnChooser           = false;
     this.radGridView1.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.radGridView1.MasterTemplate.AllowDeleteRow               = false;
     this.radGridView1.MasterTemplate.AllowDragToGroup             = false;
     this.radGridView1.MasterTemplate.AllowRowResize               = false;
     this.radGridView1.MasterTemplate.AutoGenerateColumns          = false;
     this.radGridView1.MasterTemplate.AutoSizeColumnsMode          = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     gridViewTextBoxColumn1.FieldName   = "No";
     gridViewTextBoxColumn1.FormatInfo  = new System.Globalization.CultureInfo("");
     gridViewTextBoxColumn1.HeaderText  = "ลำดับ";
     gridViewTextBoxColumn1.Name        = "No";
     gridViewTextBoxColumn1.Width       = 106;
     gridViewTextBoxColumn2.FieldName   = "ScreenName";
     gridViewTextBoxColumn2.HeaderText  = "หน้าต่างโปรแกรม";
     gridViewTextBoxColumn2.Name        = "ScreenName";
     gridViewTextBoxColumn2.Width       = 506;
     gridViewTextBoxColumn3.FieldName   = "None";
     gridViewTextBoxColumn3.HeaderText  = "";
     gridViewTextBoxColumn3.IsPinned    = true;
     gridViewTextBoxColumn3.Name        = "None";
     gridViewTextBoxColumn3.PinPosition = Telerik.WinControls.UI.PinnedColumnPosition.Right;
     gridViewTextBoxColumn3.ReadOnly    = true;
     gridViewTextBoxColumn3.Width       = 49;
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3
     });
     this.radGridView1.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.radGridView1.Name            = "radGridView1";
     this.radGridView1.ReadOnly        = true;
     this.radGridView1.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.radGridView1.ShowGroupPanel  = false;
     this.radGridView1.Size            = new System.Drawing.Size(681, 287);
     this.radGridView1.TabIndex        = 0;
     this.radGridView1.Text            = "Grid";
     this.radGridView1.ThemeName       = "Office2010Blue";
     this.radGridView1.CellEndEdit    += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellEndEdit);
     this.radGridView1.CellClick      += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
     this.radGridView1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.radGridView1_PreviewKeyDown);
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // HistoryScreen
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(681, 474);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "HistoryScreen";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "รายการประวัติ";
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #47
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();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFileViewer));
            this.dlgOpenFile = new System.Windows.Forms.OpenFileDialog();
            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.gvFileViewer = new Telerik.WinControls.UI.RadGridView();
            this.rscFileViewer = new Telerik.WinControls.UI.RadSplitContainer();
            this.spFileViewer1 = new Telerik.WinControls.UI.SplitPanel();
            this.spFileViewer2 = new Telerik.WinControls.UI.SplitPanel();
            this.pvBottom = new Telerik.WinControls.UI.RadPageView();
            this.pvErrors = new Telerik.WinControls.UI.RadPageViewPage();
            this.tbErrors = new System.Windows.Forms.RichTextBox();
            this.pvRAWFile = new Telerik.WinControls.UI.RadPageViewPage();
            this.tbFileContents = new System.Windows.Forms.TextBox();
            this.tsFileViewer = new System.Windows.Forms.ToolStrip();
            this.tsbClearLog = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.tslFileName = new System.Windows.Forms.ToolStripLabel();
            this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
            this.radThemeManager1 = new Telerik.WinControls.RadThemeManager();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvFileViewer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvFileViewer.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rscFileViewer)).BeginInit();
            this.rscFileViewer.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.spFileViewer1)).BeginInit();
            this.spFileViewer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.spFileViewer2)).BeginInit();
            this.spFileViewer2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pvBottom)).BeginInit();
            this.pvBottom.SuspendLayout();
            this.pvErrors.SuspendLayout();
            this.pvRAWFile.SuspendLayout();
            this.tsFileViewer.SuspendLayout();
            this.toolStripContainer1.ContentPanel.SuspendLayout();
            this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // dlgOpenFile
            // 
            this.dlgOpenFile.DefaultExt = "txt";
            this.dlgOpenFile.Title = "Select MedSeek mailing list";
            // 
            // bindingSource1
            // 
            this.bindingSource1.AllowNew = false;
            // 
            // gvFileViewer
            // 
            this.gvFileViewer.AutoScroll = true;
            this.gvFileViewer.AutoSizeRows = true;
            this.gvFileViewer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvFileViewer.Font = new System.Drawing.Font("Segoe UI", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gvFileViewer.Location = new System.Drawing.Point(0, 0);
            this.gvFileViewer.Margin = new System.Windows.Forms.Padding(3, 64, 3, 2);
            // 
            // 
            // 
            this.gvFileViewer.MasterTemplate.AllowAddNewRow = false;
            this.gvFileViewer.MasterTemplate.AllowDeleteRow = false;
            this.gvFileViewer.MasterTemplate.AllowEditRow = false;
            this.gvFileViewer.MasterTemplate.AllowSearchRow = true;
            this.gvFileViewer.MasterTemplate.EnableAlternatingRowColor = true;
            this.gvFileViewer.MasterTemplate.EnableFiltering = true;
            this.gvFileViewer.MasterTemplate.EnablePaging = true;
            this.gvFileViewer.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvFileViewer.Name = "gvFileViewer";
            this.gvFileViewer.Size = new System.Drawing.Size(1286, 209);
            this.gvFileViewer.TabIndex = 0;
            this.gvFileViewer.Text = "gvMain";
            this.gvFileViewer.ThemeName = "Windows8";
            this.gvFileViewer.RowValidated += new Telerik.WinControls.UI.RowValidatedEventHandler(this.gvMain_RowValidated_1);
            this.gvFileViewer.DataError += new Telerik.WinControls.UI.GridViewDataErrorEventHandler(this.gvMain_DataError_1);
            this.gvFileViewer.DataBindingComplete += new Telerik.WinControls.UI.GridViewBindingCompleteEventHandler(this.gvMain_DataBindingComplete_1);
            // 
            // rscFileViewer
            // 
            this.rscFileViewer.Controls.Add(this.spFileViewer1);
            this.rscFileViewer.Controls.Add(this.spFileViewer2);
            this.rscFileViewer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.rscFileViewer.Location = new System.Drawing.Point(0, 0);
            this.rscFileViewer.Margin = new System.Windows.Forms.Padding(0, 32, 0, 0);
            this.rscFileViewer.Name = "rscFileViewer";
            this.rscFileViewer.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.rscFileViewer.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
            // 
            // 
            // 
            this.rscFileViewer.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.rscFileViewer.Size = new System.Drawing.Size(1286, 422);
            this.rscFileViewer.TabIndex = 1;
            this.rscFileViewer.TabStop = false;
            this.rscFileViewer.Text = "radSplitContainer1";
            // 
            // spFileViewer1
            // 
            this.spFileViewer1.Controls.Add(this.gvFileViewer);
            this.spFileViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.spFileViewer1.Location = new System.Drawing.Point(0, 0);
            this.spFileViewer1.Name = "spFileViewer1";
            // 
            // 
            // 
            this.spFileViewer1.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.spFileViewer1.Size = new System.Drawing.Size(1286, 209);
            this.spFileViewer1.TabIndex = 0;
            this.spFileViewer1.TabStop = false;
            this.spFileViewer1.Text = "splitPanel1";
            // 
            // spFileViewer2
            // 
            this.spFileViewer2.Controls.Add(this.pvBottom);
            this.spFileViewer2.Location = new System.Drawing.Point(0, 213);
            this.spFileViewer2.Name = "spFileViewer2";
            // 
            // 
            // 
            this.spFileViewer2.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.spFileViewer2.Size = new System.Drawing.Size(1286, 209);
            this.spFileViewer2.TabIndex = 1;
            this.spFileViewer2.TabStop = false;
            this.spFileViewer2.Text = "splitPanel2";
            // 
            // pvBottom
            // 
            this.pvBottom.Controls.Add(this.pvErrors);
            this.pvBottom.Controls.Add(this.pvRAWFile);
            this.pvBottom.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pvBottom.Location = new System.Drawing.Point(0, 0);
            this.pvBottom.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.pvBottom.Name = "pvBottom";
            this.pvBottom.SelectedPage = this.pvErrors;
            this.pvBottom.Size = new System.Drawing.Size(1286, 209);
            this.pvBottom.TabIndex = 1;
            this.pvBottom.Text = "Errors";
            this.pvBottom.ThemeName = "Windows8";
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.pvBottom.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Bottom;
            // 
            // pvErrors
            // 
            this.pvErrors.Controls.Add(this.tbErrors);
            this.pvErrors.Description = null;
            this.pvErrors.ItemSize = new System.Drawing.SizeF(53F, 32F);
            this.pvErrors.Location = new System.Drawing.Point(10, 10);
            this.pvErrors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.pvErrors.Name = "pvErrors";
            this.pvErrors.Size = new System.Drawing.Size(1265, 157);
            this.pvErrors.Text = "Errors";
            this.pvErrors.Title = "Click to View Errors";
            // 
            // tbErrors
            // 
            this.tbErrors.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbErrors.Font = new System.Drawing.Font("Segoe UI", 12F);
            this.tbErrors.Location = new System.Drawing.Point(0, 0);
            this.tbErrors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tbErrors.Name = "tbErrors";
            this.tbErrors.ReadOnly = true;
            this.tbErrors.Size = new System.Drawing.Size(1265, 157);
            this.tbErrors.TabIndex = 0;
            this.tbErrors.Text = "";
            this.tbErrors.WordWrap = false;
            // 
            // pvRAWFile
            // 
            this.pvRAWFile.Controls.Add(this.tbFileContents);
            this.pvRAWFile.ItemSize = new System.Drawing.SizeF(73F, 32F);
            this.pvRAWFile.Location = new System.Drawing.Point(5, 5);
            this.pvRAWFile.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.pvRAWFile.Name = "pvRAWFile";
            this.pvRAWFile.Size = new System.Drawing.Size(891, 171);
            this.pvRAWFile.Text = "RAW File";
            // 
            // tbFileContents
            // 
            this.tbFileContents.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbFileContents.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tbFileContents.Location = new System.Drawing.Point(0, 0);
            this.tbFileContents.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tbFileContents.Multiline = true;
            this.tbFileContents.Name = "tbFileContents";
            this.tbFileContents.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.tbFileContents.Size = new System.Drawing.Size(891, 171);
            this.tbFileContents.TabIndex = 0;
            this.tbFileContents.WordWrap = false;
            // 
            // tsFileViewer
            // 
            this.tsFileViewer.Dock = System.Windows.Forms.DockStyle.None;
            this.tsFileViewer.ImageScalingSize = new System.Drawing.Size(32, 32);
            this.tsFileViewer.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsbClearLog,
            this.toolStripSeparator1,
            this.tslFileName});
            this.tsFileViewer.Location = new System.Drawing.Point(5, 0);
            this.tsFileViewer.Margin = new System.Windows.Forms.Padding(0, 0, 0, 5);
            this.tsFileViewer.Name = "tsFileViewer";
            this.tsFileViewer.Size = new System.Drawing.Size(72, 39);
            this.tsFileViewer.TabIndex = 2;
            this.tsFileViewer.Text = "tsFileViewer";
            // 
            // tsbClearLog
            // 
            this.tsbClearLog.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tsbClearLog.Image = ((System.Drawing.Image)(resources.GetObject("tsbClearLog.Image")));
            this.tsbClearLog.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.tsbClearLog.Name = "tsbClearLog";
            this.tsbClearLog.Size = new System.Drawing.Size(36, 36);
            this.tsbClearLog.Text = "tsbClearLog";
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39);
            // 
            // tslFileName
            // 
            this.tslFileName.Name = "tslFileName";
            this.tslFileName.Size = new System.Drawing.Size(18, 36);
            this.tslFileName.Text = "...";
            // 
            // toolStripContainer1
            // 
            this.toolStripContainer1.BottomToolStripPanelVisible = false;
            // 
            // toolStripContainer1.ContentPanel
            // 
            this.toolStripContainer1.ContentPanel.Controls.Add(this.rscFileViewer);
            this.toolStripContainer1.ContentPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(1286, 422);
            this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStripContainer1.LeftToolStripPanelVisible = false;
            this.toolStripContainer1.Location = new System.Drawing.Point(3, 2);
            this.toolStripContainer1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.toolStripContainer1.Name = "toolStripContainer1";
            this.toolStripContainer1.RightToolStripPanelVisible = false;
            this.toolStripContainer1.Size = new System.Drawing.Size(1286, 461);
            this.toolStripContainer1.TabIndex = 3;
            this.toolStripContainer1.Text = "toolStripContainer1";
            // 
            // toolStripContainer1.TopToolStripPanel
            // 
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.tsFileViewer);
            // 
            // frmFileViewer
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1292, 465);
            this.Controls.Add(this.toolStripContainer1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.Name = "frmFileViewer";
            this.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "View MedSeek Mailing List";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvFileViewer.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvFileViewer)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rscFileViewer)).EndInit();
            this.rscFileViewer.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.spFileViewer1)).EndInit();
            this.spFileViewer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.spFileViewer2)).EndInit();
            this.spFileViewer2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pvBottom)).EndInit();
            this.pvBottom.ResumeLayout(false);
            this.pvErrors.ResumeLayout(false);
            this.pvRAWFile.ResumeLayout(false);
            this.pvRAWFile.PerformLayout();
            this.tsFileViewer.ResumeLayout(false);
            this.tsFileViewer.PerformLayout();
            this.toolStripContainer1.ContentPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.PerformLayout();
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();
            this.ResumeLayout(false);

        }
コード例 #48
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(frmServices));
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn19 = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.GridViewCommandColumn   gridViewCommandColumn20 = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition10   = new Telerik.WinControls.UI.TableViewDefinition();
     this.pictureBox2            = new System.Windows.Forms.PictureBox();
     this.btnCancel              = new System.Windows.Forms.Button();
     this.btnSave                = new System.Windows.Forms.Button();
     this.checkboxIsPaid         = new System.Windows.Forms.CheckBox();
     this.txtCustomerName        = new Utility.SizableTextBox();
     this.comboboxPaths          = new System.Windows.Forms.ComboBox();
     this.comboboxDrivers        = new System.Windows.Forms.ComboBox();
     this.txtCustomerPhone       = new Utility.NumericTextBox();
     this.lblDate                = new System.Windows.Forms.Label();
     this.txtDelay               = new Utility.NumericTextBox();
     this.lblCost                = new System.Windows.Forms.Label();
     this.txtOriginInDetail      = new Utility.SizableTextBox();
     this.txtDestinationInDetail = new Utility.SizableTextBox();
     this.lblCar           = new System.Windows.Forms.Label();
     this.lblLicencePlate4 = new System.Windows.Forms.Label();
     this.lblLicencePlate3 = new System.Windows.Forms.Label();
     this.lblLicencePlate2 = new System.Windows.Forms.Label();
     this.lblLicencePlate1 = new System.Windows.Forms.Label();
     this.pictureBox3      = new System.Windows.Forms.PictureBox();
     this.btnSearch        = new System.Windows.Forms.Button();
     this.txtSearch        = new Utility.SizableTextBox();
     this.label1           = new System.Windows.Forms.Label();
     this.materialTheme1   = new Telerik.WinControls.Themes.MaterialTheme();
     this.gridServices     = new Utility.RadGridViewCustom();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridServices)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridServices.MasterTemplate)).BeginInit();
     this.SuspendLayout();
     //
     // btnDashboard
     //
     this.btnDashboard.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnDashboard.FlatAppearance.BorderSize         = 0;
     this.btnDashboard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnDashboard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     //
     // btnDrivers
     //
     this.btnDrivers.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnDrivers.FlatAppearance.BorderSize         = 0;
     this.btnDrivers.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnDrivers.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     //
     // btnServices
     //
     this.btnServices.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnServices.FlatAppearance.BorderSize         = 0;
     this.btnServices.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnServices.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     //
     // btnPaths
     //
     this.btnPaths.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnPaths.FlatAppearance.BorderSize         = 0;
     this.btnPaths.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnPaths.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     //
     // btnExit
     //
     this.btnExit.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnExit.FlatAppearance.BorderSize         = 0;
     this.btnExit.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     this.btnExit.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(190)))), ((int)(((byte)(100)))));
     //
     // pictureBox2
     //
     this.pictureBox2.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(199, 486);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(1123, 241);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox2.TabIndex = 17;
     this.pictureBox2.TabStop  = false;
     //
     // btnCancel
     //
     this.btnCancel.BackColor             = System.Drawing.Color.White;
     this.btnCancel.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("btnCancel.BackgroundImage")));
     this.btnCancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btnCancel.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.btnCancel.FlatAppearance.BorderSize         = 0;
     this.btnCancel.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White;
     this.btnCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White;
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.Font      = new System.Drawing.Font("IRANYekan", 9.749999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnCancel.Location  = new System.Drawing.Point(839, 672);
     this.btnCancel.Name      = "btnCancel";
     this.btnCancel.Size      = new System.Drawing.Size(128, 30);
     this.btnCancel.TabIndex  = 18;
     this.btnCancel.UseVisualStyleBackColor = false;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnSave
     //
     this.btnSave.BackColor             = System.Drawing.Color.White;
     this.btnSave.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
     this.btnSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btnSave.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.btnSave.FlatAppearance.BorderSize         = 0;
     this.btnSave.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White;
     this.btnSave.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White;
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnSave.Font      = new System.Drawing.Font("IRANYekan", 9.749999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnSave.Location  = new System.Drawing.Point(992, 673);
     this.btnSave.Name      = "btnSave";
     this.btnSave.Size      = new System.Drawing.Size(272, 30);
     this.btnSave.TabIndex  = 17;
     this.btnSave.UseVisualStyleBackColor = false;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // checkboxIsPaid
     //
     this.checkboxIsPaid.Font     = new System.Drawing.Font("IRANYekan", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkboxIsPaid.Location = new System.Drawing.Point(712, 688);
     this.checkboxIsPaid.Name     = "checkboxIsPaid";
     this.checkboxIsPaid.Size     = new System.Drawing.Size(14, 14);
     this.checkboxIsPaid.TabIndex = 14;
     this.checkboxIsPaid.UseVisualStyleBackColor = true;
     //
     // txtCustomerName
     //
     this.txtCustomerName.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.txtCustomerName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txtCustomerName.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.txtCustomerName.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.txtCustomerName.Font      = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtCustomerName.Location  = new System.Drawing.Point(312, 567);
     this.txtCustomerName.MaxLength = 75;
     this.txtCustomerName.Multiline = true;
     this.txtCustomerName.Name      = "txtCustomerName";
     this.txtCustomerName.Size      = new System.Drawing.Size(163, 24);
     this.txtCustomerName.TabIndex  = 9;
     this.txtCustomerName.Leave    += new System.EventHandler(this.txtCustomerName_Leave);
     //
     // comboboxPaths
     //
     this.comboboxPaths.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.comboboxPaths.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboboxPaths.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.comboboxPaths.FlatStyle          = System.Windows.Forms.FlatStyle.Flat;
     this.comboboxPaths.Font = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.comboboxPaths.FormattingEnabled = true;
     this.comboboxPaths.Location          = new System.Drawing.Point(578, 566);
     this.comboboxPaths.MaxLength         = 75;
     this.comboboxPaths.Name         = "comboboxPaths";
     this.comboboxPaths.Size         = new System.Drawing.Size(165, 30);
     this.comboboxPaths.Sorted       = true;
     this.comboboxPaths.TabIndex     = 12;
     this.comboboxPaths.TextChanged += new System.EventHandler(this.comboboxPaths_TextChanged);
     //
     // comboboxDrivers
     //
     this.comboboxDrivers.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.comboboxDrivers.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboboxDrivers.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.comboboxDrivers.FlatStyle          = System.Windows.Forms.FlatStyle.Flat;
     this.comboboxDrivers.Font = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.comboboxDrivers.FormattingEnabled = true;
     this.comboboxDrivers.Location          = new System.Drawing.Point(578, 618);
     this.comboboxDrivers.MaxLength         = 75;
     this.comboboxDrivers.Name         = "comboboxDrivers";
     this.comboboxDrivers.Size         = new System.Drawing.Size(165, 30);
     this.comboboxDrivers.Sorted       = true;
     this.comboboxDrivers.TabIndex     = 13;
     this.comboboxDrivers.TextChanged += new System.EventHandler(this.comboboxDrivers_TextChanged);
     //
     // txtCustomerPhone
     //
     this.txtCustomerPhone.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.txtCustomerPhone.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtCustomerPhone.Font        = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtCustomerPhone.Location    = new System.Drawing.Point(312, 622);
     this.txtCustomerPhone.MaxLength   = 11;
     this.txtCustomerPhone.Name        = "txtCustomerPhone";
     this.txtCustomerPhone.ReadOnly    = true;
     this.txtCustomerPhone.Size        = new System.Drawing.Size(163, 24);
     this.txtCustomerPhone.TabIndex    = 10;
     this.txtCustomerPhone.Text        = "09";
     //
     // lblDate
     //
     this.lblDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.lblDate.Font      = new System.Drawing.Font("IRANYekan", 6F);
     this.lblDate.Location  = new System.Drawing.Point(312, 674);
     this.lblDate.Name      = "lblDate";
     this.lblDate.Size      = new System.Drawing.Size(90, 28);
     this.lblDate.TabIndex  = 64;
     //
     // txtDelay
     //
     this.txtDelay.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.txtDelay.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtDelay.Font        = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtDelay.Location    = new System.Drawing.Point(448, 675);
     this.txtDelay.MaxLength   = 3;
     this.txtDelay.Multiline   = true;
     this.txtDelay.Name        = "txtDelay";
     this.txtDelay.Size        = new System.Drawing.Size(27, 28);
     this.txtDelay.TabIndex    = 11;
     //
     // lblCost
     //
     this.lblCost.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.lblCost.Font      = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.lblCost.Location  = new System.Drawing.Point(578, 675);
     this.lblCost.Name      = "lblCost";
     this.lblCost.Size      = new System.Drawing.Size(91, 28);
     this.lblCost.TabIndex  = 66;
     //
     // txtOriginInDetail
     //
     this.txtOriginInDetail.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.txtOriginInDetail.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtOriginInDetail.Font        = new System.Drawing.Font("IRANYekan", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtOriginInDetail.Location    = new System.Drawing.Point(866, 568);
     this.txtOriginInDetail.MaxLength   = 50;
     this.txtOriginInDetail.Multiline   = true;
     this.txtOriginInDetail.Name        = "txtOriginInDetail";
     this.txtOriginInDetail.Size        = new System.Drawing.Size(171, 28);
     this.txtOriginInDetail.TabIndex    = 15;
     //
     // txtDestinationInDetail
     //
     this.txtDestinationInDetail.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.txtDestinationInDetail.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtDestinationInDetail.Font        = new System.Drawing.Font("IRANYekan", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtDestinationInDetail.Location    = new System.Drawing.Point(1102, 568);
     this.txtDestinationInDetail.MaxLength   = 50;
     this.txtDestinationInDetail.Multiline   = true;
     this.txtDestinationInDetail.Name        = "txtDestinationInDetail";
     this.txtDestinationInDetail.Size        = new System.Drawing.Size(175, 28);
     this.txtDestinationInDetail.TabIndex    = 16;
     //
     // lblCar
     //
     this.lblCar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(245)))));
     this.lblCar.Font      = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.lblCar.Location  = new System.Drawing.Point(889, 618);
     this.lblCar.Name      = "lblCar";
     this.lblCar.Size      = new System.Drawing.Size(265, 28);
     this.lblCar.TabIndex  = 69;
     //
     // lblLicencePlate4
     //
     this.lblLicencePlate4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(213)))), ((int)(((byte)(81)))));
     this.lblLicencePlate4.Font      = new System.Drawing.Font("IRANYekan", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLicencePlate4.ForeColor = System.Drawing.Color.Black;
     this.lblLicencePlate4.Location  = new System.Drawing.Point(1160, 622);
     this.lblLicencePlate4.Name      = "lblLicencePlate4";
     this.lblLicencePlate4.Size      = new System.Drawing.Size(21, 22);
     this.lblLicencePlate4.TabIndex  = 70;
     this.lblLicencePlate4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lblLicencePlate3
     //
     this.lblLicencePlate3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(213)))), ((int)(((byte)(81)))));
     this.lblLicencePlate3.Font      = new System.Drawing.Font("IRANYekan", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLicencePlate3.ForeColor = System.Drawing.Color.Black;
     this.lblLicencePlate3.Location  = new System.Drawing.Point(1187, 622);
     this.lblLicencePlate3.Name      = "lblLicencePlate3";
     this.lblLicencePlate3.Size      = new System.Drawing.Size(28, 22);
     this.lblLicencePlate3.TabIndex  = 71;
     this.lblLicencePlate3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lblLicencePlate2
     //
     this.lblLicencePlate2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(213)))), ((int)(((byte)(81)))));
     this.lblLicencePlate2.Font      = new System.Drawing.Font("IRANYekan", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLicencePlate2.ForeColor = System.Drawing.Color.Black;
     this.lblLicencePlate2.Location  = new System.Drawing.Point(1219, 622);
     this.lblLicencePlate2.Name      = "lblLicencePlate2";
     this.lblLicencePlate2.Size      = new System.Drawing.Size(20, 22);
     this.lblLicencePlate2.TabIndex  = 72;
     this.lblLicencePlate2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lblLicencePlate1
     //
     this.lblLicencePlate1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(213)))), ((int)(((byte)(81)))));
     this.lblLicencePlate1.Font      = new System.Drawing.Font("IRANYekan", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblLicencePlate1.ForeColor = System.Drawing.Color.Black;
     this.lblLicencePlate1.Location  = new System.Drawing.Point(1242, 622);
     this.lblLicencePlate1.Name      = "lblLicencePlate1";
     this.lblLicencePlate1.Size      = new System.Drawing.Size(22, 22);
     this.lblLicencePlate1.TabIndex  = 73;
     this.lblLicencePlate1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pictureBox3
     //
     this.pictureBox3.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
     this.pictureBox3.Location = new System.Drawing.Point(212, 123);
     this.pictureBox3.Name     = "pictureBox3";
     this.pictureBox3.Size     = new System.Drawing.Size(1098, 373);
     this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox3.TabIndex = 74;
     this.pictureBox3.TabStop  = false;
     //
     // btnSearch
     //
     this.btnSearch.BackColor             = System.Drawing.Color.White;
     this.btnSearch.BackgroundImage       = global::WND.Properties.Resources.search;
     this.btnSearch.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btnSearch.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.btnSearch.FlatAppearance.BorderSize         = 0;
     this.btnSearch.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White;
     this.btnSearch.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White;
     this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnSearch.Font      = new System.Drawing.Font("IRANYekan", 9.749999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnSearch.Location  = new System.Drawing.Point(940, 161);
     this.btnSearch.Name      = "btnSearch";
     this.btnSearch.Size      = new System.Drawing.Size(38, 25);
     this.btnSearch.TabIndex  = 7;
     this.btnSearch.UseVisualStyleBackColor = false;
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     //
     // txtSearch
     //
     this.txtSearch.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.txtSearch.BackColor        = System.Drawing.Color.White;
     this.txtSearch.BorderStyle      = System.Windows.Forms.BorderStyle.None;
     this.txtSearch.Font             = new System.Drawing.Font("IRANYekan", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtSearch.Location         = new System.Drawing.Point(578, 161);
     this.txtSearch.MaxLength        = 75;
     this.txtSearch.Multiline        = true;
     this.txtSearch.Name             = "txtSearch";
     this.txtSearch.Size             = new System.Drawing.Size(360, 25);
     this.txtSearch.TabIndex         = 6;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(219)))), ((int)(((byte)(178)))));
     this.label1.Font      = new System.Drawing.Font("IRANYekan", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(266, 516);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(141, 22);
     this.label1.TabIndex  = 79;
     this.label1.Text      = "مشخصات سرویس";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // gridServices
     //
     this.gridServices.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.gridServices.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.gridServices.Font      = new System.Drawing.Font("IRANYekan", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridServices.Location  = new System.Drawing.Point(222, 196);
     //
     //
     //
     this.gridServices.MasterTemplate.AllowAddNewRow      = false;
     this.gridServices.MasterTemplate.AllowColumnReorder  = false;
     this.gridServices.MasterTemplate.AllowDragToGroup    = false;
     this.gridServices.MasterTemplate.AllowEditRow        = false;
     this.gridServices.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     gridViewCommandColumn19.AllowHide  = false;
     gridViewCommandColumn19.HeaderText = "ویرایش";
     gridViewCommandColumn19.Image      = global::WND.Properties.Resources.Icon_feather_edit;
     gridViewCommandColumn19.MaxWidth   = 60;
     gridViewCommandColumn19.Name       = "GridEditBtn";
     gridViewCommandColumn19.Width      = 60;
     gridViewCommandColumn20.AllowHide  = false;
     gridViewCommandColumn20.HeaderText = "حذف";
     gridViewCommandColumn20.Image      = global::WND.Properties.Resources.Icon_material_delete_forever;
     gridViewCommandColumn20.MaxWidth   = 50;
     gridViewCommandColumn20.Name       = "GridDeleteBtn";
     this.gridServices.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewCommandColumn19,
         gridViewCommandColumn20
     });
     this.gridServices.MasterTemplate.EnableGrouping = false;
     this.gridServices.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.None;
     this.gridServices.MasterTemplate.ViewDefinition = tableViewDefinition10;
     this.gridServices.Name     = "gridServices";
     this.gridServices.ReadOnly = true;
     //
     //
     //
     this.gridServices.RootElement.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.Auto;
     this.gridServices.RootElement.ControlBounds = new System.Drawing.Rectangle(222, 196, 240, 150);
     this.gridServices.Size       = new System.Drawing.Size(1078, 271);
     this.gridServices.TabIndex   = 8;
     this.gridServices.ThemeName  = "Material";
     this.gridServices.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.gridServices_CellClick);
     //
     // frmServices
     //
     this.AcceptButton        = this.btnSave;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1370, 749);
     this.Controls.Add(this.gridServices);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtSearch);
     this.Controls.Add(this.btnSearch);
     this.Controls.Add(this.pictureBox3);
     this.Controls.Add(this.lblLicencePlate1);
     this.Controls.Add(this.lblLicencePlate2);
     this.Controls.Add(this.lblLicencePlate3);
     this.Controls.Add(this.lblLicencePlate4);
     this.Controls.Add(this.lblCar);
     this.Controls.Add(this.txtDestinationInDetail);
     this.Controls.Add(this.txtOriginInDetail);
     this.Controls.Add(this.lblCost);
     this.Controls.Add(this.txtDelay);
     this.Controls.Add(this.lblDate);
     this.Controls.Add(this.txtCustomerPhone);
     this.Controls.Add(this.comboboxDrivers);
     this.Controls.Add(this.comboboxPaths);
     this.Controls.Add(this.txtCustomerName);
     this.Controls.Add(this.checkboxIsPaid);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.pictureBox2);
     this.Location = new System.Drawing.Point(0, 0);
     this.Name     = "frmServices";
     this.ShowIcon = false;
     this.Text     = "سرویس‌ها";
     this.Controls.SetChildIndex(this.btnDashboard, 0);
     this.Controls.SetChildIndex(this.btnDrivers, 0);
     this.Controls.SetChildIndex(this.btnServices, 0);
     this.Controls.SetChildIndex(this.btnPaths, 0);
     this.Controls.SetChildIndex(this.btnExit, 0);
     this.Controls.SetChildIndex(this.pictureBox2, 0);
     this.Controls.SetChildIndex(this.btnCancel, 0);
     this.Controls.SetChildIndex(this.btnSave, 0);
     this.Controls.SetChildIndex(this.checkboxIsPaid, 0);
     this.Controls.SetChildIndex(this.txtCustomerName, 0);
     this.Controls.SetChildIndex(this.comboboxPaths, 0);
     this.Controls.SetChildIndex(this.comboboxDrivers, 0);
     this.Controls.SetChildIndex(this.txtCustomerPhone, 0);
     this.Controls.SetChildIndex(this.lblDate, 0);
     this.Controls.SetChildIndex(this.txtDelay, 0);
     this.Controls.SetChildIndex(this.lblCost, 0);
     this.Controls.SetChildIndex(this.txtOriginInDetail, 0);
     this.Controls.SetChildIndex(this.txtDestinationInDetail, 0);
     this.Controls.SetChildIndex(this.lblCar, 0);
     this.Controls.SetChildIndex(this.lblLicencePlate4, 0);
     this.Controls.SetChildIndex(this.lblLicencePlate3, 0);
     this.Controls.SetChildIndex(this.lblLicencePlate2, 0);
     this.Controls.SetChildIndex(this.lblLicencePlate1, 0);
     this.Controls.SetChildIndex(this.pictureBox3, 0);
     this.Controls.SetChildIndex(this.btnSearch, 0);
     this.Controls.SetChildIndex(this.txtSearch, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.gridServices, 0);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridServices.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridServices)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #49
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor1 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.newUser = new Telerik.WinControls.UI.RadButton();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.ubs = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.newUser)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ubs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // newUser
            // 
            this.newUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.newUser.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.newUser.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
            this.newUser.Location = new System.Drawing.Point(30, 384);
            this.newUser.Name = "newUser";
            this.newUser.Size = new System.Drawing.Size(120, 41);
            this.newUser.TabIndex = 5;
            this.newUser.Text = "ایجاد";
            this.newUser.Click += new System.EventHandler(this.newUser_Click);
            // 
            // radGridView1
            // 
            this.radGridView1.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.radGridView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.radGridView1.Cursor = System.Windows.Forms.Cursors.Default;
            this.radGridView1.Font = new System.Drawing.Font("Tahoma", 10F);
            this.radGridView1.ForeColor = System.Drawing.Color.Black;
            this.radGridView1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.radGridView1.Location = new System.Drawing.Point(30, 31);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AllowAddNewRow = false;
            this.radGridView1.MasterTemplate.AllowDeleteRow = false;
            this.radGridView1.MasterTemplate.AllowEditRow = false;
            this.radGridView1.MasterTemplate.AllowRowResize = false;
            this.radGridView1.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn1.DataType = typeof(int);
            gridViewDecimalColumn1.EnableExpressionEditor = false;
            gridViewDecimalColumn1.FieldName = "ID";
            gridViewDecimalColumn1.HeaderText = "ID";
            gridViewDecimalColumn1.IsAutoGenerated = true;
            gridViewDecimalColumn1.IsVisible = false;
            gridViewDecimalColumn1.Name = "ID";
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "name";
            gridViewTextBoxColumn1.HeaderText = "نام و نام خانوادگی";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "name";
            gridViewTextBoxColumn1.Width = 260;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "education";
            gridViewTextBoxColumn2.HeaderText = "education";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.IsVisible = false;
            gridViewTextBoxColumn2.Name = "education";
            gridViewTextBoxColumn2.SortOrder = Telerik.WinControls.UI.RadSortOrder.Descending;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "fathername";
            gridViewTextBoxColumn3.HeaderText = "fathername";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.IsVisible = false;
            gridViewTextBoxColumn3.Name = "fathername";
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "phone";
            gridViewTextBoxColumn4.HeaderText = " تلفن ثابت";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Name = "phone";
            gridViewTextBoxColumn4.Width = 205;
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "mobile";
            gridViewTextBoxColumn5.HeaderText = "تلفن همراه";
            gridViewTextBoxColumn5.IsAutoGenerated = true;
            gridViewTextBoxColumn5.Name = "mobile";
            gridViewTextBoxColumn5.Width = 201;
            gridViewTextBoxColumn6.EnableExpressionEditor = false;
            gridViewTextBoxColumn6.FieldName = "address";
            gridViewTextBoxColumn6.HeaderText = "address";
            gridViewTextBoxColumn6.IsAutoGenerated = true;
            gridViewTextBoxColumn6.IsVisible = false;
            gridViewTextBoxColumn6.Name = "address";
            gridViewTextBoxColumn7.EnableExpressionEditor = false;
            gridViewTextBoxColumn7.FieldName = "type";
            gridViewTextBoxColumn7.HeaderText = "نوع کاربر";
            gridViewTextBoxColumn7.IsAutoGenerated = true;
            gridViewTextBoxColumn7.Name = "type";
            gridViewTextBoxColumn7.Width = 120;
            gridViewTextBoxColumn8.EnableExpressionEditor = false;
            gridViewTextBoxColumn8.FieldName = "username";
            gridViewTextBoxColumn8.HeaderText = "username";
            gridViewTextBoxColumn8.IsAutoGenerated = true;
            gridViewTextBoxColumn8.IsVisible = false;
            gridViewTextBoxColumn8.Name = "username";
            gridViewTextBoxColumn9.EnableExpressionEditor = false;
            gridViewTextBoxColumn9.FieldName = "password";
            gridViewTextBoxColumn9.HeaderText = "password";
            gridViewTextBoxColumn9.IsAutoGenerated = true;
            gridViewTextBoxColumn9.IsVisible = false;
            gridViewTextBoxColumn9.Name = "password";
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn1,
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewTextBoxColumn7,
            gridViewTextBoxColumn8,
            gridViewTextBoxColumn9});
            this.radGridView1.MasterTemplate.DataSource = this.ubs;
            this.radGridView1.MasterTemplate.EnableFiltering = true;
            sortDescriptor1.Direction = System.ComponentModel.ListSortDirection.Descending;
            sortDescriptor1.PropertyName = "education";
            this.radGridView1.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor1});
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGridView1.Size = new System.Drawing.Size(804, 331);
            this.radGridView1.TabIndex = 6;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
            // 
            // ubs
            // 
            this.ubs.DataSource = typeof(tiraxco.User);
            // 
            // UsersManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(865, 437);
            this.Controls.Add(this.radGridView1);
            this.Controls.Add(this.newUser);
            this.Name = "UsersManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "مدیریت کاربران";
            this.ThemeName = "ControlDefault";
            this.Load += new System.EventHandler(this.UsersManagement_Load);
            ((System.ComponentModel.ISupportInitialize)(this.newUser)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ubs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #50
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn7  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.CartesianArea         cartesianArea1          = new Telerik.WinControls.UI.CartesianArea();
     Telerik.WinControls.UI.CategoricalAxis       categoricalAxis1        = new Telerik.WinControls.UI.CategoricalAxis();
     Telerik.WinControls.UI.LinearAxis            linearAxis1             = new Telerik.WinControls.UI.LinearAxis();
     Telerik.WinControls.UI.BarSeries             barSeries1             = new Telerik.WinControls.UI.BarSeries();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint1  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint2  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint3  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint4  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint5  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint6  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint7  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint8  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint9  = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint10 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint11 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint12 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint13 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.WinControls.UI.BarSeries             barSeries2             = new Telerik.WinControls.UI.BarSeries();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint14 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint15 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint16 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint17 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint18 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint19 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint20 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint21 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint22 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint23 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint24 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint25 = new Telerik.Charting.CategoricalDataPoint();
     Telerik.Charting.CategoricalDataPoint        categoricalDataPoint26 = new Telerik.Charting.CategoricalDataPoint();
     C1.Win.C1Gauge.C1GaugeLabels      c1GaugeLabels1      = new C1.Win.C1Gauge.C1GaugeLabels();
     C1.Win.C1Gauge.C1GaugeMarks       c1GaugeMarks1       = new C1.Win.C1Gauge.C1GaugeMarks();
     C1.Win.C1Gauge.C1GaugeMarks       c1GaugeMarks2       = new C1.Win.C1Gauge.C1GaugeMarks();
     C1.Win.C1Gauge.C1GaugeRange       c1GaugeRange1       = new C1.Win.C1Gauge.C1GaugeRange();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel1 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeEllipse     c1GaugeEllipse1     = new C1.Win.C1Gauge.C1GaugeEllipse();
     C1.Win.C1Gauge.C1GaugeEllipse     c1GaugeEllipse2     = new C1.Win.C1Gauge.C1GaugeEllipse();
     C1.Win.C1Gauge.C1GaugeEllipse     c1GaugeEllipse3     = new C1.Win.C1Gauge.C1GaugeEllipse();
     C1.Win.C1Gauge.C1GaugeCaption     c1GaugeCaption1     = new C1.Win.C1Gauge.C1GaugeCaption();
     C1.Win.C1Gauge.C1GaugeCaption     c1GaugeCaption2     = new C1.Win.C1Gauge.C1GaugeCaption();
     this.aaaaaa          = new Telerik.WinControls.RootRadElement();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.cb_year         = new System.Windows.Forms.ComboBox();
     this.radSeparator3   = new Telerik.WinControls.UI.RadSeparator();
     this.label2          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.radSeparator2   = new Telerik.WinControls.UI.RadSeparator();
     this.rBut_print      = new Telerik.WinControls.UI.RadButton();
     this.rBut_ok         = new Telerik.WinControls.UI.RadButton();
     this.monthData       = new Telerik.WinControls.UI.RadGridView();
     this.radChartView1   = new Telerik.WinControls.UI.RadChartView();
     this.radPanel1       = new Telerik.WinControls.UI.RadPanel();
     this.c1Gauge11       = new C1.Win.C1Gauge.C1Gauge();
     this.c1RG            = new C1.Win.C1Gauge.C1RadialGauge();
     this.lb_name         = new System.Windows.Forms.Label();
     this.panel3          = new System.Windows.Forms.Panel();
     this.radLabel4       = new Telerik.WinControls.UI.RadLabel();
     this.radLabel3       = new Telerik.WinControls.UI.RadLabel();
     this.panel2          = new System.Windows.Forms.Panel();
     this.lastyeartet     = new Telerik.WinControls.UI.RadLabel();
     this.lb_lastyear     = new Telerik.WinControls.UI.RadLabel();
     this.panel1          = new System.Windows.Forms.Panel();
     this.currentYearTxt  = new Telerik.WinControls.UI.RadLabel();
     this.currentYearLbl  = new Telerik.WinControls.UI.RadLabel();
     this.radSeparator1   = new Telerik.WinControls.UI.RadSeparator();
     this.bbbbbb          = new Telerik.WinControls.RootRadElement();
     this.printDialog1    = new System.Windows.Forms.PrintDialog();
     this.printDocument1  = new System.Drawing.Printing.PrintDocument();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rBut_print)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rBut_ok)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.monthData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.monthData.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge11)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lastyeartet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_lastyear)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.currentYearTxt)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.currentYearLbl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator1)).BeginInit();
     this.SuspendLayout();
     //
     // aaaaaa
     //
     this.aaaaaa.Name = "aaaaaa";
     this.aaaaaa.StretchHorizontally = true;
     this.aaaaaa.StretchVertically   = true;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.Location   = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name       = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Window;
     this.splitContainer1.Panel1.Controls.Add(this.cb_year);
     this.splitContainer1.Panel1.Controls.Add(this.radSeparator3);
     this.splitContainer1.Panel1.Controls.Add(this.label2);
     this.splitContainer1.Panel1.Controls.Add(this.label1);
     this.splitContainer1.Panel1.Controls.Add(this.radSeparator2);
     this.splitContainer1.Panel1.Controls.Add(this.rBut_print);
     this.splitContainer1.Panel1.Controls.Add(this.rBut_ok);
     this.splitContainer1.Panel1.Controls.Add(this.monthData);
     this.splitContainer1.Panel1.Controls.Add(this.radChartView1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.radPanel1);
     this.splitContainer1.Size             = new System.Drawing.Size(1288, 730);
     this.splitContainer1.SplitterDistance = 958;
     this.splitContainer1.TabIndex         = 0;
     //
     // cb_year
     //
     this.cb_year.FormattingEnabled = true;
     this.cb_year.Location          = new System.Drawing.Point(773, 16);
     this.cb_year.Name     = "cb_year";
     this.cb_year.Size     = new System.Drawing.Size(58, 20);
     this.cb_year.TabIndex = 86;
     //
     // radSeparator3
     //
     this.radSeparator3.Location = new System.Drawing.Point(23, 70);
     this.radSeparator3.Name     = "radSeparator3";
     this.radSeparator3.Size     = new System.Drawing.Size(109, 10);
     this.radSeparator3.TabIndex = 80;
     this.radSeparator3.Text     = "radSeparator2";
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator3.GetChildAt(0).GetChildAt(0))).SeparatorOrientation = Telerik.WinControls.SepOrientation.Horizontal;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator3.GetChildAt(0).GetChildAt(0))).SweepAngle           = 0;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator3.GetChildAt(0).GetChildAt(0))).FitToSizeMode        = Telerik.WinControls.RadFitToSizeMode.FitToParentPadding;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator3.GetChildAt(0).GetChildAt(0))).BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(212)))), ((int)(((byte)(218)))));
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator3.GetChildAt(0).GetChildAt(0))).SmoothingMode        = System.Drawing.Drawing2D.SmoothingMode.None;
     //
     // label2
     //
     this.label2.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.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location  = new System.Drawing.Point(26, 358);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(110, 16);
     this.label2.TabIndex  = 81;
     this.label2.Text      = "多年指标数据";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.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.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location  = new System.Drawing.Point(20, 48);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(110, 16);
     this.label1.TabIndex  = 81;
     this.label1.Text      = "当年指标数据";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radSeparator2
     //
     this.radSeparator2.Location = new System.Drawing.Point(27, 377);
     this.radSeparator2.Name     = "radSeparator2";
     this.radSeparator2.Size     = new System.Drawing.Size(109, 10);
     this.radSeparator2.TabIndex = 80;
     this.radSeparator2.Text     = "radSeparator2";
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator2.GetChildAt(0).GetChildAt(0))).SeparatorOrientation = Telerik.WinControls.SepOrientation.Horizontal;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator2.GetChildAt(0).GetChildAt(0))).SweepAngle           = 0;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator2.GetChildAt(0).GetChildAt(0))).FitToSizeMode        = Telerik.WinControls.RadFitToSizeMode.FitToParentPadding;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator2.GetChildAt(0).GetChildAt(0))).BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(212)))), ((int)(((byte)(218)))));
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator2.GetChildAt(0).GetChildAt(0))).SmoothingMode        = System.Drawing.Drawing2D.SmoothingMode.None;
     //
     // rBut_print
     //
     this.rBut_print.Location = new System.Drawing.Point(899, 16);
     this.rBut_print.Name     = "rBut_print";
     this.rBut_print.Size     = new System.Drawing.Size(56, 20);
     this.rBut_print.TabIndex = 84;
     this.rBut_print.Text     = "打印报表";
     this.rBut_print.Click   += new System.EventHandler(this.rBut_print_Click);
     //
     // rBut_ok
     //
     this.rBut_ok.Location = new System.Drawing.Point(837, 16);
     this.rBut_ok.Name     = "rBut_ok";
     this.rBut_ok.Size     = new System.Drawing.Size(56, 20);
     this.rBut_ok.TabIndex = 85;
     this.rBut_ok.Text     = "确定";
     this.rBut_ok.Click   += new System.EventHandler(this.rBut_ok_Click);
     //
     // monthData
     //
     this.monthData.Location = new System.Drawing.Point(16, 398);
     //
     //
     //
     gridViewTextBoxColumn1.HeaderText  = "年份";
     gridViewTextBoxColumn1.Name        = "yearCol";
     gridViewTextBoxColumn1.Width       = 68;
     gridViewTextBoxColumn2.HeaderText  = "一月";
     gridViewTextBoxColumn2.Name        = "month01Col";
     gridViewTextBoxColumn2.Width       = 68;
     gridViewTextBoxColumn3.HeaderText  = "二月";
     gridViewTextBoxColumn3.Name        = "month02Col";
     gridViewTextBoxColumn3.Width       = 68;
     gridViewTextBoxColumn4.HeaderText  = "三月";
     gridViewTextBoxColumn4.Name        = "month03Col";
     gridViewTextBoxColumn4.Width       = 68;
     gridViewTextBoxColumn5.HeaderText  = "四月";
     gridViewTextBoxColumn5.Name        = "month04Col";
     gridViewTextBoxColumn5.Width       = 68;
     gridViewTextBoxColumn6.HeaderText  = "五月";
     gridViewTextBoxColumn6.Name        = "month05Col";
     gridViewTextBoxColumn6.Width       = 68;
     gridViewTextBoxColumn7.HeaderText  = "六月";
     gridViewTextBoxColumn7.Name        = "month06Col";
     gridViewTextBoxColumn7.Width       = 68;
     gridViewTextBoxColumn8.HeaderText  = "七月";
     gridViewTextBoxColumn8.Name        = "month07Col";
     gridViewTextBoxColumn8.Width       = 68;
     gridViewTextBoxColumn9.HeaderText  = "八月";
     gridViewTextBoxColumn9.Name        = "month08Col";
     gridViewTextBoxColumn9.Width       = 68;
     gridViewTextBoxColumn10.HeaderText = "九月";
     gridViewTextBoxColumn10.Name       = "month09Col";
     gridViewTextBoxColumn10.Width      = 68;
     gridViewTextBoxColumn11.HeaderText = "十月";
     gridViewTextBoxColumn11.Name       = "month10Col";
     gridViewTextBoxColumn11.Width      = 68;
     gridViewTextBoxColumn12.HeaderText = "十一月";
     gridViewTextBoxColumn12.Name       = "month11Col";
     gridViewTextBoxColumn12.Width      = 68;
     gridViewTextBoxColumn13.HeaderText = "十二月";
     gridViewTextBoxColumn13.Name       = "month12Col";
     gridViewTextBoxColumn13.Width      = 68;
     gridViewTextBoxColumn14.HeaderText = "总数";
     gridViewTextBoxColumn14.Name       = "Sum";
     gridViewTextBoxColumn14.Width      = 67;
     this.monthData.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9,
         gridViewTextBoxColumn10,
         gridViewTextBoxColumn11,
         gridViewTextBoxColumn12,
         gridViewTextBoxColumn13,
         gridViewTextBoxColumn14
     });
     this.monthData.MasterTemplate.ShowRowHeaderColumn = false;
     this.monthData.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.monthData.Name           = "monthData";
     this.monthData.ReadOnly       = true;
     this.monthData.ShowGroupPanel = false;
     this.monthData.Size           = new System.Drawing.Size(939, 332);
     this.monthData.TabIndex       = 83;
     this.monthData.Text           = "radGridView1";
     //
     // radChartView1
     //
     this.radChartView1.AreaDesign       = cartesianArea1;
     categoricalAxis1.IsPrimary          = true;
     categoricalAxis1.LabelRotationAngle = 300D;
     categoricalAxis1.Title         = "";
     linearAxis1.AxisType           = Telerik.Charting.AxisType.Second;
     linearAxis1.IsPrimary          = true;
     linearAxis1.LabelInterval      = 10;
     linearAxis1.LabelRotationAngle = 300D;
     linearAxis1.MajorStep          = 10D;
     linearAxis1.Minimum            = 0D;
     linearAxis1.TickOrigin         = null;
     linearAxis1.Title = "";
     this.radChartView1.Axes.AddRange(new Telerik.WinControls.UI.Axis[] {
         categoricalAxis1,
         linearAxis1
     });
     this.radChartView1.Location     = new System.Drawing.Point(-25, 62);
     this.radChartView1.Margin       = new System.Windows.Forms.Padding(50, 3, 3, 10);
     this.radChartView1.Name         = "radChartView1";
     categoricalDataPoint1.Category  = "A";
     categoricalDataPoint1.Label     = 16D;
     categoricalDataPoint1.Value     = 16D;
     categoricalDataPoint2.Category  = "B";
     categoricalDataPoint2.Label     = 80D;
     categoricalDataPoint2.Value     = 80D;
     categoricalDataPoint3.Category  = "C";
     categoricalDataPoint3.Label     = 25D;
     categoricalDataPoint3.Value     = 25D;
     categoricalDataPoint4.Category  = "D";
     categoricalDataPoint4.Label     = 34D;
     categoricalDataPoint4.Value     = 34D;
     categoricalDataPoint5.Category  = "E";
     categoricalDataPoint5.Label     = 52D;
     categoricalDataPoint5.Value     = 52D;
     categoricalDataPoint6.Category  = "F";
     categoricalDataPoint6.Label     = "12";
     categoricalDataPoint6.Value     = 12D;
     categoricalDataPoint7.Category  = "G";
     categoricalDataPoint7.Label     = 45D;
     categoricalDataPoint7.Value     = 45D;
     categoricalDataPoint8.Category  = "H";
     categoricalDataPoint8.Label     = 33D;
     categoricalDataPoint8.Value     = 33D;
     categoricalDataPoint9.Category  = "I";
     categoricalDataPoint9.Label     = 22D;
     categoricalDataPoint9.Value     = 22D;
     categoricalDataPoint10.Category = "J";
     categoricalDataPoint10.Label    = 11D;
     categoricalDataPoint10.Value    = 11D;
     categoricalDataPoint11.Category = "K";
     categoricalDataPoint11.Label    = 3D;
     categoricalDataPoint11.Value    = 3D;
     categoricalDataPoint12.Category = "L";
     categoricalDataPoint12.Label    = 45D;
     categoricalDataPoint12.Value    = 45D;
     categoricalDataPoint13.Category = "M";
     categoricalDataPoint13.Label    = 23D;
     categoricalDataPoint13.Value    = 23D;
     barSeries1.DataPoints.AddRange(new Telerik.Charting.DataPoint[] {
         categoricalDataPoint1,
         categoricalDataPoint2,
         categoricalDataPoint3,
         categoricalDataPoint4,
         categoricalDataPoint5,
         categoricalDataPoint6,
         categoricalDataPoint7,
         categoricalDataPoint8,
         categoricalDataPoint9,
         categoricalDataPoint10,
         categoricalDataPoint11,
         categoricalDataPoint12,
         categoricalDataPoint13
     });
     barSeries1.HorizontalAxis       = categoricalAxis1;
     barSeries1.LabelMode            = Telerik.WinControls.UI.BarLabelModes.Top;
     barSeries1.LegendTitle          = null;
     barSeries1.ShowLabels           = true;
     barSeries1.VerticalAxis         = linearAxis1;
     categoricalDataPoint14.Category = "A";
     categoricalDataPoint14.Label    = 18D;
     categoricalDataPoint14.Value    = 18D;
     categoricalDataPoint15.Category = "B";
     categoricalDataPoint15.Label    = 70D;
     categoricalDataPoint15.Value    = 70D;
     categoricalDataPoint16.Category = "C";
     categoricalDataPoint16.Label    = 41D;
     categoricalDataPoint16.Value    = 41D;
     categoricalDataPoint17.Category = "D";
     categoricalDataPoint17.Label    = 40D;
     categoricalDataPoint17.Value    = 40D;
     categoricalDataPoint18.Category = "E";
     categoricalDataPoint18.Label    = 54D;
     categoricalDataPoint18.Value    = 54D;
     categoricalDataPoint19.Category = "F";
     categoricalDataPoint19.Label    = 44D;
     categoricalDataPoint19.Value    = 44D;
     categoricalDataPoint20.Category = "G";
     categoricalDataPoint20.Label    = 45D;
     categoricalDataPoint20.Value    = 45D;
     categoricalDataPoint21.Category = "H";
     categoricalDataPoint21.Label    = 23D;
     categoricalDataPoint21.Value    = 23D;
     categoricalDataPoint22.Category = "I";
     categoricalDataPoint22.Label    = 65D;
     categoricalDataPoint22.Value    = 65D;
     categoricalDataPoint23.Category = "J";
     categoricalDataPoint23.Label    = 34D;
     categoricalDataPoint23.Value    = 34D;
     categoricalDataPoint24.Category = "K";
     categoricalDataPoint24.Label    = 23D;
     categoricalDataPoint24.Value    = 23D;
     categoricalDataPoint25.Category = "L";
     categoricalDataPoint25.Label    = 34D;
     categoricalDataPoint25.Value    = 34D;
     categoricalDataPoint26.Category = "M";
     categoricalDataPoint26.Label    = 22D;
     categoricalDataPoint26.Value    = 22D;
     barSeries2.DataPoints.AddRange(new Telerik.Charting.DataPoint[] {
         categoricalDataPoint14,
         categoricalDataPoint15,
         categoricalDataPoint16,
         categoricalDataPoint17,
         categoricalDataPoint18,
         categoricalDataPoint19,
         categoricalDataPoint20,
         categoricalDataPoint21,
         categoricalDataPoint22,
         categoricalDataPoint23,
         categoricalDataPoint24,
         categoricalDataPoint25,
         categoricalDataPoint26
     });
     barSeries2.HorizontalAxis = categoricalAxis1;
     barSeries2.LabelMode      = Telerik.WinControls.UI.BarLabelModes.Top;
     barSeries2.LegendTitle    = null;
     barSeries2.ShowLabels     = true;
     barSeries2.VerticalAxis   = linearAxis1;
     this.radChartView1.Series.AddRange(new Telerik.WinControls.UI.ChartSeries[] {
         barSeries1,
         barSeries2
     });
     this.radChartView1.ShowGrid = false;
     this.radChartView1.Size     = new System.Drawing.Size(987, 329);
     this.radChartView1.TabIndex = 1;
     this.radChartView1.Text     = "radChartView1";
     //
     // radPanel1
     //
     this.radPanel1.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(247)))), ((int)(((byte)(248)))));
     this.radPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.radPanel1.Controls.Add(this.c1Gauge11);
     this.radPanel1.Controls.Add(this.lb_name);
     this.radPanel1.Controls.Add(this.panel3);
     this.radPanel1.Controls.Add(this.panel2);
     this.radPanel1.Controls.Add(this.panel1);
     this.radPanel1.Controls.Add(this.radSeparator1);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.radPanel1.Location = new System.Drawing.Point(0, 0);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(326, 730);
     this.radPanel1.TabIndex = 0;
     //
     // c1Gauge11
     //
     this.c1Gauge11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.c1Gauge11.Gauges.AddRange(new C1.Win.C1Gauge.C1GaugeBase[] {
         this.c1RG
     });
     this.c1Gauge11.Location = new System.Drawing.Point(40, 28);
     this.c1Gauge11.Name     = "c1Gauge11";
     this.c1Gauge11.Size     = new System.Drawing.Size(251, 259);
     this.c1Gauge11.TabIndex = 83;
     this.c1Gauge11.ViewTag  = ((long)(664700988505669265));
     //
     // c1RG
     //
     this.c1RG.Cap.Border.Color         = System.Drawing.Color.DarkGray;
     this.c1RG.Cap.Filling.BrushType    = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     this.c1RG.Cap.Filling.Color        = System.Drawing.Color.WhiteSmoke;
     this.c1RG.Cap.Filling.Color2       = System.Drawing.Color.LightGray;
     this.c1RG.Cap.Filling.SwapColors   = true;
     this.c1RG.Cap.Gradient.Direction   = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialInner;
     this.c1RG.Cap.Gradient.Falloff     = C1.Win.C1Gauge.C1GaugeGradientFalloff.Triangular;
     this.c1RG.Cap.Gradient.FocusScaleX = 0.3D;
     this.c1RG.Cap.Gradient.FocusScaleY = 0.3D;
     this.c1RG.Cap.Radius             = 12D;
     this.c1RG.Cap.Shadow.Visible     = true;
     c1GaugeLabels1.AllowFlip         = true;
     c1GaugeLabels1.Color             = System.Drawing.Color.Black;
     c1GaugeLabels1.FontSize          = 10D;
     c1GaugeLabels1.Interval          = 10D;
     c1GaugeLabels1.Location          = 75D;
     c1GaugeLabels1.ViewTag           = ((long)(728035773812438077));
     c1GaugeMarks1.Border.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     c1GaugeMarks1.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeMarks1.Filling.Color      = System.Drawing.Color.Black;
     c1GaugeMarks1.Interval           = 10D;
     c1GaugeMarks1.Length             = 12D;
     c1GaugeMarks1.Location           = 60D;
     c1GaugeMarks1.ViewTag            = ((long)(730850523579544637));
     c1GaugeMarks1.Width              = 1D;
     c1GaugeMarks2.Border.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     c1GaugeMarks2.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeMarks2.Filling.Color      = System.Drawing.Color.Black;
     c1GaugeMarks2.Interval           = 2.5D;
     c1GaugeMarks2.Length             = 5D;
     c1GaugeMarks2.Location           = 60D;
     c1GaugeMarks2.ViewTag            = ((long)(731413473532965949));
     c1GaugeMarks2.Width              = 1D;
     c1GaugeRange1.AntiAliasing       = C1.Win.C1Gauge.C1GaugeRangeAntiAliasing.LowQuality;
     c1GaugeRange1.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeRange1.Filling.Color      = System.Drawing.Color.LightGray;
     c1GaugeRange1.From               = 75D;
     c1GaugeRange1.Location2          = 40D;
     c1GaugeRange1.ViewTag            = ((long)(728598723765859389));
     c1GaugeRange1.Width              = 1D;
     c1GaugeRange1.Width2             = 12D;
     c1GaugeSingleLabel1.Angle        = 180D;
     c1GaugeSingleLabel1.Font         = new System.Drawing.Font("Courier New", 14.25F);
     c1GaugeSingleLabel1.PointerIndex = 1;
     c1GaugeSingleLabel1.ViewTag      = ((long)(820920637043466495));
     this.c1RG.Decorators.AddRange(new C1.Win.C1Gauge.C1GaugeDecorator[] {
         c1GaugeLabels1,
         c1GaugeMarks1,
         c1GaugeMarks2,
         c1GaugeRange1,
         c1GaugeSingleLabel1
     });
     c1GaugeEllipse1.Border.LineStyle  = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeEllipse1.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeEllipse1.Filling.Color     = System.Drawing.Color.WhiteSmoke;
     c1GaugeEllipse1.Filling.Color2    = System.Drawing.Color.LightGray;
     c1GaugeEllipse1.Height            = -1.05D;
     c1GaugeEllipse1.HitTestable       = false;
     c1GaugeEllipse1.Width             = -1.05D;
     c1GaugeEllipse2.Border.LineStyle  = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeEllipse2.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeEllipse2.Filling.Color     = System.Drawing.Color.LightGray;
     c1GaugeEllipse2.Filling.Color2    = System.Drawing.Color.WhiteSmoke;
     c1GaugeEllipse2.HitTestable       = false;
     c1GaugeEllipse3.Border.LineStyle  = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeEllipse3.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeEllipse3.Filling.Color     = System.Drawing.Color.White;
     c1GaugeEllipse3.Filling.Color2    = System.Drawing.Color.Gainsboro;
     c1GaugeEllipse3.Gradient.Falloff  = C1.Win.C1Gauge.C1GaugeGradientFalloff.Triangular;
     c1GaugeEllipse3.Gradient.Focus    = 0.08D;
     c1GaugeEllipse3.Height            = -0.93D;
     c1GaugeEllipse3.HitTestable       = false;
     c1GaugeEllipse3.Width             = -0.93D;
     c1GaugeCaption1.CenterPointY      = 0.9D;
     c1GaugeCaption1.FontSize          = 10D;
     c1GaugeCaption1.Text         = "C1Gauge";
     c1GaugeCaption1.Visible      = false;
     c1GaugeCaption2.CenterPointY = 1.12D;
     c1GaugeCaption2.Font         = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold);
     c1GaugeCaption2.Text         = "包内化学指标卡不合格报告数 ";
     c1GaugeCaption2.Visible      = false;
     this.c1RG.FaceShapes.AddRange(new C1.Win.C1Gauge.C1GaugeBaseShape[] {
         c1GaugeEllipse1,
         c1GaugeEllipse2,
         c1GaugeEllipse3,
         c1GaugeCaption1,
         c1GaugeCaption2
     });
     this.c1RG.Name = "c1RG";
     this.c1RG.Pointer.Border.Color       = System.Drawing.Color.IndianRed;
     this.c1RG.Pointer.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     this.c1RG.Pointer.Filling.Color      = System.Drawing.Color.Salmon;
     this.c1RG.Pointer.Filling.HatchStyle = C1.Win.C1Gauge.C1GaugeHatchStyle.Wave;
     this.c1RG.Pointer.Length             = 100D;
     this.c1RG.Pointer.Offset             = -30D;
     this.c1RG.Pointer.Shadow.Visible     = true;
     this.c1RG.Pointer.Shape = C1.Win.C1Gauge.C1GaugePointerShape.Round;
     this.c1RG.Pointer.Width = 6D;
     this.c1RG.Radius        = 0.45D;
     this.c1RG.StartAngle    = -130D;
     this.c1RG.SweepAngle    = 260D;
     this.c1RG.ViewTag       = ((long)(727472823859016765));
     //
     // lb_name
     //
     this.lb_name.AutoSize  = true;
     this.lb_name.Font      = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.lb_name.Location  = new System.Drawing.Point(81, 290);
     this.lb_name.Name      = "lb_name";
     this.lb_name.Size      = new System.Drawing.Size(161, 16);
     this.lb_name.TabIndex  = 82;
     this.lb_name.Text      = "当月使用灭菌器次数";
     this.lb_name.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.SystemColors.Window;
     this.panel3.Controls.Add(this.radLabel4);
     this.panel3.Controls.Add(this.radLabel3);
     this.panel3.Location = new System.Drawing.Point(18, 544);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(296, 61);
     this.panel3.TabIndex = 80;
     //
     // radLabel4
     //
     this.radLabel4.Anchor        = System.Windows.Forms.AnchorStyles.Right;
     this.radLabel4.Font          = new System.Drawing.Font("Segoe UI", 15F);
     this.radLabel4.Location      = new System.Drawing.Point(46, 18);
     this.radLabel4.Name          = "radLabel4";
     this.radLabel4.Size          = new System.Drawing.Size(117, 31);
     this.radLabel4.TabIndex      = 84;
     this.radLabel4.Text          = "指标趋势:";
     this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     //
     // radLabel3
     //
     this.radLabel3.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.radLabel3.Font     = new System.Drawing.Font("Segoe UI", 17F);
     this.radLabel3.Location = new System.Drawing.Point(209, 14);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(59, 35);
     this.radLabel3.TabIndex = 85;
     this.radLabel3.Text     = "上升";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.SystemColors.Window;
     this.panel2.Controls.Add(this.lastyeartet);
     this.panel2.Controls.Add(this.lb_lastyear);
     this.panel2.Location = new System.Drawing.Point(18, 450);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(296, 61);
     this.panel2.TabIndex = 80;
     //
     // lastyeartet
     //
     this.lastyeartet.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.lastyeartet.Font     = new System.Drawing.Font("Segoe UI", 17F);
     this.lastyeartet.Location = new System.Drawing.Point(209, 18);
     this.lastyeartet.Name     = "lastyeartet";
     this.lastyeartet.Size     = new System.Drawing.Size(48, 35);
     this.lastyeartet.TabIndex = 86;
     this.lastyeartet.Text     = "680";
     //
     // lb_lastyear
     //
     this.lb_lastyear.Anchor        = System.Windows.Forms.AnchorStyles.Right;
     this.lb_lastyear.Font          = new System.Drawing.Font("Segoe UI", 15F);
     this.lb_lastyear.Location      = new System.Drawing.Point(3, 18);
     this.lb_lastyear.Name          = "lb_lastyear";
     this.lb_lastyear.Size          = new System.Drawing.Size(160, 31);
     this.lb_lastyear.TabIndex      = 83;
     this.lb_lastyear.Text          = "去年处理总数:";
     this.lb_lastyear.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Window;
     this.panel1.Controls.Add(this.currentYearTxt);
     this.panel1.Controls.Add(this.currentYearLbl);
     this.panel1.ForeColor = System.Drawing.Color.Black;
     this.panel1.Location  = new System.Drawing.Point(18, 365);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(296, 61);
     this.panel1.TabIndex  = 80;
     //
     // currentYearTxt
     //
     this.currentYearTxt.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.currentYearTxt.Font     = new System.Drawing.Font("Segoe UI", 17F);
     this.currentYearTxt.Location = new System.Drawing.Point(209, 12);
     this.currentYearTxt.Name     = "currentYearTxt";
     this.currentYearTxt.Size     = new System.Drawing.Size(60, 35);
     this.currentYearTxt.TabIndex = 87;
     this.currentYearTxt.Text     = "1000";
     //
     // currentYearLbl
     //
     this.currentYearLbl.Anchor        = System.Windows.Forms.AnchorStyles.Right;
     this.currentYearLbl.Font          = new System.Drawing.Font("Segoe UI", 15F);
     this.currentYearLbl.Location      = new System.Drawing.Point(3, 16);
     this.currentYearLbl.Name          = "currentYearLbl";
     this.currentYearLbl.Size          = new System.Drawing.Size(160, 31);
     this.currentYearLbl.TabIndex      = 82;
     this.currentYearLbl.Text          = "今年处理总数:";
     this.currentYearLbl.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     //
     // radSeparator1
     //
     this.radSeparator1.Location = new System.Drawing.Point(18, 319);
     this.radSeparator1.Name     = "radSeparator1";
     this.radSeparator1.Size     = new System.Drawing.Size(296, 10);
     this.radSeparator1.TabIndex = 79;
     this.radSeparator1.Text     = "radSeparator1";
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator1.GetChildAt(0).GetChildAt(0))).SeparatorOrientation = Telerik.WinControls.SepOrientation.Horizontal;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator1.GetChildAt(0).GetChildAt(0))).SweepAngle           = 0;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator1.GetChildAt(0).GetChildAt(0))).FitToSizeMode        = Telerik.WinControls.RadFitToSizeMode.FitToParentPadding;
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator1.GetChildAt(0).GetChildAt(0))).BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(212)))), ((int)(((byte)(218)))));
     ((Telerik.WinControls.Primitives.LinePrimitive)(this.radSeparator1.GetChildAt(0).GetChildAt(0))).SmoothingMode        = System.Drawing.Drawing2D.SmoothingMode.None;
     //
     // bbbbbb
     //
     this.bbbbbb.ClipDrawing         = true;
     this.bbbbbb.Name                = "bbbbbb";
     this.bbbbbb.StretchHorizontally = true;
     this.bbbbbb.StretchVertically   = true;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // sterilizermelt
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.ClientSize          = new System.Drawing.Size(1288, 730);
     this.Controls.Add(this.splitContainer1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "sterilizermelt";
     this.ShowIcon        = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "使用灭菌器次数";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rBut_print)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rBut_ok)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.monthData.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.monthData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radChartView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge11)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lastyeartet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lb_lastyear)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.currentYearTxt)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.currentYearLbl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radSeparator1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #51
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.gvBatches = new Telerik.WinControls.UI.RadGridView();
            this.btnCreateBatch = new Telerik.WinControls.UI.RadButton();
            this.tableLayoutPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCreateBatch)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 1;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Controls.Add(this.gvBatches, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.btnCreateBatch, 0, 1);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 2;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90F));
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(1061, 492);
            this.tableLayoutPanel2.TabIndex = 1;
            // 
            // gvBatches
            // 
            this.gvBatches.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvBatches.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gvBatches.Location = new System.Drawing.Point(4, 4);
            this.gvBatches.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            // 
            // 
            // 
            this.gvBatches.MasterTemplate.AllowAddNewRow = false;
            this.gvBatches.MasterTemplate.AllowDeleteRow = false;
            this.gvBatches.MasterTemplate.AllowDragToGroup = false;
            this.gvBatches.MasterTemplate.AllowEditRow = false;
            this.gvBatches.MasterTemplate.AutoGenerateColumns = false;
            this.gvBatches.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "Number";
            gridViewTextBoxColumn1.HeaderText = "Número";
            gridViewTextBoxColumn1.MinWidth = 120;
            gridViewTextBoxColumn1.Name = "Number";
            gridViewTextBoxColumn1.Width = 123;
            gridViewTextBoxColumn2.FieldName = "GeneticLineName";
            gridViewTextBoxColumn2.HeaderText = "Linea Genética";
            gridViewTextBoxColumn2.Name = "GeneticLineName";
            gridViewTextBoxColumn2.Width = 218;
            gridViewTextBoxColumn3.FieldName = "DateOfBirth";
            gridViewTextBoxColumn3.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn3.HeaderText = "Fecha de Nac.";
            gridViewTextBoxColumn3.MinWidth = 160;
            gridViewTextBoxColumn3.Name = "DateOfBirth";
            gridViewTextBoxColumn3.Width = 168;
            gridViewTextBoxColumn4.FieldName = "Week";
            gridViewTextBoxColumn4.HeaderText = "Semana Actual";
            gridViewTextBoxColumn4.MinWidth = 160;
            gridViewTextBoxColumn4.Name = "Week";
            gridViewTextBoxColumn4.Width = 160;
            gridViewTextBoxColumn5.FieldName = "StageName";
            gridViewTextBoxColumn5.HeaderText = "Estado";
            gridViewTextBoxColumn5.MinWidth = 120;
            gridViewTextBoxColumn5.Name = "StageName";
            gridViewTextBoxColumn5.Width = 120;
            gridViewTextBoxColumn6.FieldName = "Barns";
            gridViewTextBoxColumn6.HeaderText = "Galpón";
            gridViewTextBoxColumn6.MinWidth = 100;
            gridViewTextBoxColumn6.Name = "Barns";
            gridViewTextBoxColumn6.Width = 100;
            gridViewCommandColumn1.AllowResize = false;
            gridViewCommandColumn1.AllowSort = false;
            gridViewCommandColumn1.DefaultText = "Seleccionar";
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.Name = "SelectColumn";
            gridViewCommandColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
            gridViewCommandColumn1.UseDefaultText = true;
            gridViewCommandColumn1.Width = 150;
            this.gvBatches.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5,
            gridViewTextBoxColumn6,
            gridViewCommandColumn1});
            this.gvBatches.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvBatches.Name = "gvBatches";
            this.gvBatches.Size = new System.Drawing.Size(1053, 434);
            this.gvBatches.TabIndex = 1;
            this.gvBatches.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvBatches_CommandCellClick);
            // 
            // btnCreateBatch
            // 
            this.btnCreateBatch.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.btnCreateBatch.Location = new System.Drawing.Point(896, 452);
            this.btnCreateBatch.Name = "btnCreateBatch";
            this.btnCreateBatch.Size = new System.Drawing.Size(162, 30);
            this.btnCreateBatch.TabIndex = 2;
            this.btnCreateBatch.Text = "Crear Lote";
            this.btnCreateBatch.Click += new System.EventHandler(this.btnCreateBatch_Click);
            // 
            // FrmBatchSelection
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1061, 492);
            this.Controls.Add(this.tableLayoutPanel2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.Name = "FrmBatchSelection";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "FrmBatchSelection";
            this.Load += new System.EventHandler(this.FrmBatchSelection_Load);
            this.tableLayoutPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatches)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCreateBatch)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
     this.firstname_add    = new Telerik.WinControls.UI.RadTextBox();
     this.lastname_add     = new Telerik.WinControls.UI.RadTextBox();
     this.ID_update        = new Telerik.WinControls.UI.RadTextBox();
     this.lastname_update  = new Telerik.WinControls.UI.RadTextBox();
     this.firstname_update = new Telerik.WinControls.UI.RadTextBox();
     this.GridView         = new Telerik.WinControls.UI.RadGridView();
     this.radGroupBox1     = new Telerik.WinControls.UI.RadGroupBox();
     this.radLabel2        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel1        = new Telerik.WinControls.UI.RadLabel();
     this.add_button       = new Telerik.WinControls.UI.RadButton();
     this.radGroupBox2     = new Telerik.WinControls.UI.RadGroupBox();
     this.update_button    = new Telerik.WinControls.UI.RadButton();
     this.radLabel5        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel4        = new Telerik.WinControls.UI.RadLabel();
     this.radLabel3        = new Telerik.WinControls.UI.RadLabel();
     this.radGroupBox3     = new Telerik.WinControls.UI.RadGroupBox();
     this.del_button       = new Telerik.WinControls.UI.RadButton();
     this.radGroupBox4     = new Telerik.WinControls.UI.RadGroupBox();
     this.sel_button       = new Telerik.WinControls.UI.RadButton();
     this.radLabel6        = new Telerik.WinControls.UI.RadLabel();
     this.ID_sel           = new Telerik.WinControls.UI.RadTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.firstname_add)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lastname_add)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ID_update)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lastname_update)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.firstname_update)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.add_button)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.update_button)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).BeginInit();
     this.radGroupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.del_button)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit();
     this.radGroupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sel_button)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ID_sel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // firstname_add
     //
     this.firstname_add.Location = new System.Drawing.Point(114, 76);
     this.firstname_add.Name     = "firstname_add";
     this.firstname_add.Size     = new System.Drawing.Size(100, 20);
     this.firstname_add.TabIndex = 0;
     //
     // lastname_add
     //
     this.lastname_add.Location = new System.Drawing.Point(114, 31);
     this.lastname_add.Name     = "lastname_add";
     this.lastname_add.Size     = new System.Drawing.Size(100, 20);
     this.lastname_add.TabIndex = 1;
     //
     // ID_update
     //
     this.ID_update.Location = new System.Drawing.Point(147, 21);
     this.ID_update.Name     = "ID_update";
     this.ID_update.Size     = new System.Drawing.Size(100, 20);
     this.ID_update.TabIndex = 2;
     //
     // lastname_update
     //
     this.lastname_update.Location = new System.Drawing.Point(147, 47);
     this.lastname_update.Name     = "lastname_update";
     this.lastname_update.Size     = new System.Drawing.Size(100, 20);
     this.lastname_update.TabIndex = 1;
     //
     // firstname_update
     //
     this.firstname_update.Location = new System.Drawing.Point(147, 73);
     this.firstname_update.Name     = "firstname_update";
     this.firstname_update.Size     = new System.Drawing.Size(100, 20);
     this.firstname_update.TabIndex = 1;
     //
     // GridView
     //
     this.GridView.AutoSizeRows = true;
     this.GridView.Dock         = System.Windows.Forms.DockStyle.Bottom;
     this.GridView.Location     = new System.Drawing.Point(0, 348);
     //
     //
     //
     this.GridView.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     this.GridView.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.GridView.Name     = "GridView";
     this.GridView.Size     = new System.Drawing.Size(933, 218);
     this.GridView.TabIndex = 3;
     this.GridView.Text     = "radGridView1";
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Controls.Add(this.radLabel2);
     this.radGroupBox1.Controls.Add(this.radLabel1);
     this.radGroupBox1.Controls.Add(this.add_button);
     this.radGroupBox1.Controls.Add(this.lastname_add);
     this.radGroupBox1.Controls.Add(this.firstname_add);
     this.radGroupBox1.HeaderText = "增";
     this.radGroupBox1.Location   = new System.Drawing.Point(21, 31);
     this.radGroupBox1.Name       = "radGroupBox1";
     this.radGroupBox1.Size       = new System.Drawing.Size(311, 155);
     this.radGroupBox1.TabIndex   = 4;
     this.radGroupBox1.Text       = "增";
     //
     // radLabel2
     //
     this.radLabel2.Location = new System.Drawing.Point(30, 76);
     this.radLabel2.Name     = "radLabel2";
     this.radLabel2.Size     = new System.Drawing.Size(57, 18);
     this.radLabel2.TabIndex = 4;
     this.radLabel2.Text     = "FirstName";
     //
     // radLabel1
     //
     this.radLabel1.Location = new System.Drawing.Point(30, 31);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(56, 18);
     this.radLabel1.TabIndex = 3;
     this.radLabel1.Text     = "LastName";
     //
     // add_button
     //
     this.add_button.Location = new System.Drawing.Point(79, 118);
     this.add_button.Name     = "add_button";
     this.add_button.Size     = new System.Drawing.Size(85, 24);
     this.add_button.TabIndex = 2;
     this.add_button.Text     = "增";
     this.add_button.Click   += new System.EventHandler(this.add_button_Click);
     //
     // radGroupBox2
     //
     this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox2.Controls.Add(this.update_button);
     this.radGroupBox2.Controls.Add(this.radLabel5);
     this.radGroupBox2.Controls.Add(this.radLabel4);
     this.radGroupBox2.Controls.Add(this.radLabel3);
     this.radGroupBox2.Controls.Add(this.ID_update);
     this.radGroupBox2.Controls.Add(this.lastname_update);
     this.radGroupBox2.Controls.Add(this.firstname_update);
     this.radGroupBox2.HeaderText = "改";
     this.radGroupBox2.Location   = new System.Drawing.Point(502, 41);
     this.radGroupBox2.Name       = "radGroupBox2";
     this.radGroupBox2.Size       = new System.Drawing.Size(347, 145);
     this.radGroupBox2.TabIndex   = 5;
     this.radGroupBox2.Text       = "改";
     //
     // update_button
     //
     this.update_button.Location = new System.Drawing.Point(123, 108);
     this.update_button.Name     = "update_button";
     this.update_button.Size     = new System.Drawing.Size(82, 24);
     this.update_button.TabIndex = 5;
     this.update_button.Text     = "改";
     this.update_button.Click   += new System.EventHandler(this.update_button_Click);
     //
     // radLabel5
     //
     this.radLabel5.Location = new System.Drawing.Point(19, 75);
     this.radLabel5.Name     = "radLabel5";
     this.radLabel5.Size     = new System.Drawing.Size(57, 18);
     this.radLabel5.TabIndex = 4;
     this.radLabel5.Text     = "FirstName";
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(19, 49);
     this.radLabel4.Name     = "radLabel4";
     this.radLabel4.Size     = new System.Drawing.Size(56, 18);
     this.radLabel4.TabIndex = 4;
     this.radLabel4.Text     = "LastName";
     //
     // radLabel3
     //
     this.radLabel3.Location = new System.Drawing.Point(19, 23);
     this.radLabel3.Name     = "radLabel3";
     this.radLabel3.Size     = new System.Drawing.Size(17, 18);
     this.radLabel3.TabIndex = 4;
     this.radLabel3.Text     = "ID";
     //
     // radGroupBox3
     //
     this.radGroupBox3.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox3.Controls.Add(this.del_button);
     this.radGroupBox3.HeaderText = "删";
     this.radGroupBox3.Location   = new System.Drawing.Point(21, 209);
     this.radGroupBox3.Name       = "radGroupBox3";
     this.radGroupBox3.Size       = new System.Drawing.Size(311, 125);
     this.radGroupBox3.TabIndex   = 6;
     this.radGroupBox3.Text       = "删";
     //
     // del_button
     //
     this.del_button.Location = new System.Drawing.Point(79, 57);
     this.del_button.Name     = "del_button";
     this.del_button.Size     = new System.Drawing.Size(85, 24);
     this.del_button.TabIndex = 3;
     this.del_button.Text     = "删";
     this.del_button.Click   += new System.EventHandler(this.del_button_Click);
     //
     // radGroupBox4
     //
     this.radGroupBox4.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox4.Controls.Add(this.sel_button);
     this.radGroupBox4.Controls.Add(this.radLabel6);
     this.radGroupBox4.Controls.Add(this.ID_sel);
     this.radGroupBox4.HeaderText = "查";
     this.radGroupBox4.Location   = new System.Drawing.Point(502, 209);
     this.radGroupBox4.Name       = "radGroupBox4";
     this.radGroupBox4.Size       = new System.Drawing.Size(347, 125);
     this.radGroupBox4.TabIndex   = 5;
     this.radGroupBox4.Text       = "查";
     //
     // sel_button
     //
     this.sel_button.Location = new System.Drawing.Point(123, 57);
     this.sel_button.Name     = "sel_button";
     this.sel_button.Size     = new System.Drawing.Size(85, 24);
     this.sel_button.TabIndex = 3;
     this.sel_button.Text     = "查";
     this.sel_button.Click   += new System.EventHandler(this.sel_button_Click);
     //
     // radLabel6
     //
     this.radLabel6.Location = new System.Drawing.Point(28, 23);
     this.radLabel6.Name     = "radLabel6";
     this.radLabel6.Size     = new System.Drawing.Size(17, 18);
     this.radLabel6.TabIndex = 4;
     this.radLabel6.Text     = "ID";
     //
     // ID_sel
     //
     this.ID_sel.Location = new System.Drawing.Point(147, 21);
     this.ID_sel.Name     = "ID_sel";
     this.ID_sel.Size     = new System.Drawing.Size(100, 20);
     this.ID_sel.TabIndex = 0;
     //
     // RadForm1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(933, 566);
     this.Controls.Add(this.radGroupBox4);
     this.Controls.Add(this.radGroupBox3);
     this.Controls.Add(this.radGroupBox2);
     this.Controls.Add(this.radGroupBox1);
     this.Controls.Add(this.GridView);
     this.Name = "RadForm1";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text  = "RadForm1";
     this.Load += new System.EventHandler(this.RadForm1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.firstname_add)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lastname_add)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ID_update)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lastname_update)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.firstname_update)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.add_button)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     this.radGroupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.update_button)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).EndInit();
     this.radGroupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.del_button)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit();
     this.radGroupBox4.ResumeLayout(false);
     this.radGroupBox4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sel_button)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ID_sel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #53
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();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.newClient = new Telerik.WinControls.UI.RadButton();
            this.clientsTable = new Telerik.WinControls.UI.RadGridView();
            this.cb = new System.Windows.Forms.BindingSource(this.components);
            this.saveBtn = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.newClient)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.clientsTable)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.clientsTable.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.saveBtn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // newClient
            // 
            this.newClient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.newClient.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
            this.newClient.Location = new System.Drawing.Point(40, 380);
            this.newClient.Name = "newClient";
            this.newClient.Size = new System.Drawing.Size(120, 41);
            this.newClient.TabIndex = 3;
            this.newClient.Text = "ایجاد";
            this.newClient.Click += new System.EventHandler(this.newClient_Click_1);
            // 
            // clientsTable
            // 
            this.clientsTable.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.clientsTable.BackColor = System.Drawing.Color.WhiteSmoke;
            this.clientsTable.Cursor = System.Windows.Forms.Cursors.Default;
            this.clientsTable.Font = new System.Drawing.Font("Tahoma", 10F);
            this.clientsTable.ForeColor = System.Drawing.Color.Black;
            this.clientsTable.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.clientsTable.Location = new System.Drawing.Point(40, 24);
            // 
            // 
            // 
            this.clientsTable.MasterTemplate.AllowAddNewRow = false;
            this.clientsTable.MasterTemplate.AllowEditRow = false;
            this.clientsTable.MasterTemplate.AutoGenerateColumns = false;
            this.clientsTable.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.EnableExpressionEditor = false;
            gridViewTextBoxColumn1.FieldName = "name";
            gridViewTextBoxColumn1.HeaderText = "نام";
            gridViewTextBoxColumn1.IsAutoGenerated = true;
            gridViewTextBoxColumn1.Name = "name";
            gridViewTextBoxColumn1.Width = 301;
            gridViewTextBoxColumn2.EnableExpressionEditor = false;
            gridViewTextBoxColumn2.FieldName = "number";
            gridViewTextBoxColumn2.HeaderText = "شماره ثبت/کد ملی";
            gridViewTextBoxColumn2.IsAutoGenerated = true;
            gridViewTextBoxColumn2.Name = "number";
            gridViewTextBoxColumn2.Width = 177;
            gridViewTextBoxColumn3.EnableExpressionEditor = false;
            gridViewTextBoxColumn3.FieldName = "ecocode";
            gridViewTextBoxColumn3.HeaderText = "کد اقتصادی";
            gridViewTextBoxColumn3.IsAutoGenerated = true;
            gridViewTextBoxColumn3.Name = "ecocode";
            gridViewTextBoxColumn3.Width = 135;
            gridViewTextBoxColumn4.EnableExpressionEditor = false;
            gridViewTextBoxColumn4.FieldName = "phone";
            gridViewTextBoxColumn4.HeaderText = "تلفن";
            gridViewTextBoxColumn4.IsAutoGenerated = true;
            gridViewTextBoxColumn4.Name = "phone";
            gridViewTextBoxColumn4.Width = 183;
            gridViewTextBoxColumn5.DataType = typeof(int);
            gridViewTextBoxColumn5.EnableExpressionEditor = false;
            gridViewTextBoxColumn5.FieldName = "ID";
            gridViewTextBoxColumn5.HeaderText = "column1";
            gridViewTextBoxColumn5.IsVisible = false;
            gridViewTextBoxColumn5.Name = "id";
            this.clientsTable.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewTextBoxColumn3,
            gridViewTextBoxColumn4,
            gridViewTextBoxColumn5});
            this.clientsTable.MasterTemplate.DataSource = this.cb;
            this.clientsTable.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.clientsTable.Name = "clientsTable";
            this.clientsTable.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.clientsTable.Size = new System.Drawing.Size(814, 346);
            this.clientsTable.TabIndex = 2;
            this.clientsTable.Text = "listClients";
            this.clientsTable.CellDoubleClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.clientsTable_CellDoubleClick);
            // 
            // cb
            // 
            this.cb.DataSource = typeof(tiraxco.Client);
            // 
            // saveBtn
            // 
            this.saveBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.saveBtn.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
            this.saveBtn.Location = new System.Drawing.Point(166, 380);
            this.saveBtn.Name = "saveBtn";
            this.saveBtn.Size = new System.Drawing.Size(120, 41);
            this.saveBtn.TabIndex = 3;
            this.saveBtn.Text = "ذخیره";
            this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click);
            // 
            // ClientManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(889, 433);
            this.Controls.Add(this.saveBtn);
            this.Controls.Add(this.newClient);
            this.Controls.Add(this.clientsTable);
            this.Font = new System.Drawing.Font("Tahoma", 10F);
            this.Name = "ClientManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "مدیریت مشتری";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.ClientManagement_Load);
            ((System.ComponentModel.ISupportInitialize)(this.newClient)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.clientsTable.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.clientsTable)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.saveBtn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #54
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(frmDepartamentos));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn  gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1    = new Telerik.WinControls.UI.TableViewDefinition();
     this.radCommandBar1          = new Telerik.WinControls.UI.RadCommandBar();
     this.commandBarRowElement1   = new Telerik.WinControls.UI.CommandBarRowElement();
     this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.btnNuevo             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator1 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnGuardar           = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator2 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnEliminar          = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator3 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.btnSalir             = new Telerik.WinControls.UI.CommandBarButton();
     this.commandBarSeparator4 = new Telerik.WinControls.UI.CommandBarSeparator();
     this.commandBarLabel1     = new Telerik.WinControls.UI.CommandBarLabel();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.radPanel1  = new Telerik.WinControls.UI.RadPanel();
     this.cboEntidad = new Telerik.WinControls.UI.RadDropDownList();
     this.label5     = new System.Windows.Forms.Label();
     this.chkEstatus = new System.Windows.Forms.CheckBox();
     this.txtId      = new System.Windows.Forms.TextBox();
     this.txtAbrev   = new System.Windows.Forms.TextBox();
     this.label4     = new System.Windows.Forms.Label();
     this.txtNombre  = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.radPanel2  = new Telerik.WinControls.UI.RadPanel();
     this.gvDatos    = new Telerik.WinControls.UI.RadGridView();
     this.commandBarStripElement2 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement3 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement4 = new Telerik.WinControls.UI.CommandBarStripElement();
     this.commandBarStripElement5 = new Telerik.WinControls.UI.CommandBarStripElement();
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboEntidad)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit();
     this.radPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radCommandBar1
     //
     this.radCommandBar1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radCommandBar1.Location = new System.Drawing.Point(0, 0);
     this.radCommandBar1.Name     = "radCommandBar1";
     this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
         this.commandBarRowElement1
     });
     this.radCommandBar1.Size     = new System.Drawing.Size(560, 53);
     this.radCommandBar1.TabIndex = 0;
     //
     // commandBarRowElement1
     //
     this.commandBarRowElement1.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.MinSize = new System.Drawing.Size(25, 25);
     this.commandBarRowElement1.Name    = "commandBarRowElement1";
     this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
         this.commandBarStripElement1
     });
     this.commandBarRowElement1.Text = "";
     this.commandBarRowElement1.TextRenderingHint          = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarRowElement1.UseCompatibleTextRendering = false;
     //
     // commandBarStripElement1
     //
     this.commandBarStripElement1.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarStripElement1.DisplayName = "commandBarStripElement1";
     this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
         this.btnNuevo,
         this.commandBarSeparator1,
         this.btnGuardar,
         this.commandBarSeparator2,
         this.btnEliminar,
         this.commandBarSeparator3,
         this.btnSalir,
         this.commandBarSeparator4,
         this.commandBarLabel1
     });
     this.commandBarStripElement1.Name = "commandBarStripElement1";
     //
     //
     //
     this.commandBarStripElement1.OverflowButton.Visibility  = Telerik.WinControls.ElementVisibility.Hidden;
     this.commandBarStripElement1.StretchHorizontally        = true;
     this.commandBarStripElement1.TextRenderingHint          = System.Drawing.Text.TextRenderingHint.SystemDefault;
     this.commandBarStripElement1.UseCompatibleTextRendering = false;
     ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarStripElement1.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
     //
     // btnNuevo
     //
     this.btnNuevo.DisplayName       = "Nuevo";
     this.btnNuevo.DrawText          = true;
     this.btnNuevo.Image             = ((System.Drawing.Image)(resources.GetObject("btnNuevo.Image")));
     this.btnNuevo.Name              = "btnNuevo";
     this.btnNuevo.Text              = "Nuevo";
     this.btnNuevo.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNuevo.Click            += new System.EventHandler(this.btnNuevo_Click);
     //
     // commandBarSeparator1
     //
     this.commandBarSeparator1.DisplayName           = "commandBarSeparator1";
     this.commandBarSeparator1.Name                  = "commandBarSeparator1";
     this.commandBarSeparator1.VisibleInOverflowMenu = false;
     //
     // btnGuardar
     //
     this.btnGuardar.DisplayName       = "Guardar";
     this.btnGuardar.DrawText          = true;
     this.btnGuardar.Image             = ((System.Drawing.Image)(resources.GetObject("btnGuardar.Image")));
     this.btnGuardar.Name              = "btnGuardar";
     this.btnGuardar.Text              = "Guardar";
     this.btnGuardar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnGuardar.Click            += new System.EventHandler(this.btnGuardar_Click);
     //
     // commandBarSeparator2
     //
     this.commandBarSeparator2.DisplayName           = "commandBarSeparator2";
     this.commandBarSeparator2.Name                  = "commandBarSeparator2";
     this.commandBarSeparator2.VisibleInOverflowMenu = false;
     //
     // btnEliminar
     //
     this.btnEliminar.DisplayName       = "Eliminar";
     this.btnEliminar.DrawText          = true;
     this.btnEliminar.Image             = ((System.Drawing.Image)(resources.GetObject("btnEliminar.Image")));
     this.btnEliminar.Name              = "btnEliminar";
     this.btnEliminar.Text              = "Eliminar";
     this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEliminar.Click            += new System.EventHandler(this.btnEliminar_Click);
     //
     // commandBarSeparator3
     //
     this.commandBarSeparator3.DisplayName           = "commandBarSeparator3";
     this.commandBarSeparator3.Name                  = "commandBarSeparator3";
     this.commandBarSeparator3.VisibleInOverflowMenu = false;
     //
     // btnSalir
     //
     this.btnSalir.DisplayName       = "Salir";
     this.btnSalir.DrawText          = true;
     this.btnSalir.Image             = ((System.Drawing.Image)(resources.GetObject("btnSalir.Image")));
     this.btnSalir.Name              = "btnSalir";
     this.btnSalir.Text              = "Salir";
     this.btnSalir.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSalir.Click            += new System.EventHandler(this.btnSalir_Click);
     //
     // commandBarSeparator4
     //
     this.commandBarSeparator4.DisplayName           = "commandBarSeparator4";
     this.commandBarSeparator4.Name                  = "commandBarSeparator4";
     this.commandBarSeparator4.VisibleInOverflowMenu = false;
     //
     // commandBarLabel1
     //
     this.commandBarLabel1.DisplayName         = "commandBarLabel1";
     this.commandBarLabel1.Font                = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.commandBarLabel1.ForeColor           = System.Drawing.Color.Navy;
     this.commandBarLabel1.Name                = "commandBarLabel1";
     this.commandBarLabel1.StretchHorizontally = true;
     this.commandBarLabel1.Text                = "CATALOGO DE DEPARTAMENTOS";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(23, 28);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(35, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "label1";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(26, 31);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(53, 27);
     this.label2.TabIndex = 0;
     this.label2.Text     = "label2";
     //
     // radPanel1
     //
     this.radPanel1.Controls.Add(this.cboEntidad);
     this.radPanel1.Controls.Add(this.label5);
     this.radPanel1.Controls.Add(this.chkEstatus);
     this.radPanel1.Controls.Add(this.txtId);
     this.radPanel1.Controls.Add(this.txtAbrev);
     this.radPanel1.Controls.Add(this.label4);
     this.radPanel1.Controls.Add(this.txtNombre);
     this.radPanel1.Controls.Add(this.label3);
     this.radPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.radPanel1.Location = new System.Drawing.Point(0, 53);
     this.radPanel1.Name     = "radPanel1";
     this.radPanel1.Size     = new System.Drawing.Size(560, 109);
     this.radPanel1.TabIndex = 1;
     //
     // cboEntidad
     //
     this.cboEntidad.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.cboEntidad.Location      = new System.Drawing.Point(59, 15);
     this.cboEntidad.Name          = "cboEntidad";
     this.cboEntidad.Size          = new System.Drawing.Size(185, 20);
     this.cboEntidad.TabIndex      = 1;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(5, 21);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(50, 13);
     this.label5.TabIndex = 6;
     this.label5.Text     = "Entidad:";
     //
     // chkEstatus
     //
     this.chkEstatus.AutoSize = true;
     this.chkEstatus.Location = new System.Drawing.Point(145, 64);
     this.chkEstatus.Name     = "chkEstatus";
     this.chkEstatus.Size     = new System.Drawing.Size(57, 17);
     this.chkEstatus.TabIndex = 4;
     this.chkEstatus.Text     = "Activo";
     this.chkEstatus.UseVisualStyleBackColor = true;
     //
     // txtId
     //
     this.txtId.Location = new System.Drawing.Point(486, 6);
     this.txtId.Name     = "txtId";
     this.txtId.Size     = new System.Drawing.Size(58, 20);
     this.txtId.TabIndex = 4;
     this.txtId.Text     = "-1";
     this.txtId.Visible  = false;
     //
     // txtAbrev
     //
     this.txtAbrev.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtAbrev.Location        = new System.Drawing.Point(59, 62);
     this.txtAbrev.MaxLength       = 5;
     this.txtAbrev.Name            = "txtAbrev";
     this.txtAbrev.Size            = new System.Drawing.Size(67, 20);
     this.txtAbrev.TabIndex        = 3;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(5, 63);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(39, 13);
     this.label4.TabIndex = 2;
     this.label4.Text     = "Abrev.";
     //
     // txtNombre
     //
     this.txtNombre.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtNombre.Location        = new System.Drawing.Point(59, 38);
     this.txtNombre.MaxLength       = 40;
     this.txtNombre.Name            = "txtNombre";
     this.txtNombre.Size            = new System.Drawing.Size(242, 20);
     this.txtNombre.TabIndex        = 2;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(5, 42);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(51, 13);
     this.label3.TabIndex = 0;
     this.label3.Text     = "Nombre:";
     //
     // radPanel2
     //
     this.radPanel2.Controls.Add(this.gvDatos);
     this.radPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.radPanel2.Location = new System.Drawing.Point(0, 162);
     this.radPanel2.Name     = "radPanel2";
     this.radPanel2.Size     = new System.Drawing.Size(560, 176);
     this.radPanel2.TabIndex = 2;
     //
     // gvDatos
     //
     this.gvDatos.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gvDatos.Location = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.gvDatos.MasterTemplate.AllowAddNewRow     = false;
     this.gvDatos.MasterTemplate.AllowColumnReorder = false;
     this.gvDatos.MasterTemplate.AllowDeleteRow     = false;
     this.gvDatos.MasterTemplate.AllowRowResize     = false;
     this.gvDatos.MasterTemplate.AutoExpandGroups   = true;
     gridViewTextBoxColumn1.FieldName   = "Id";
     gridViewTextBoxColumn1.HeaderText  = "ID";
     gridViewTextBoxColumn1.IsVisible   = false;
     gridViewTextBoxColumn1.Name        = "Id";
     gridViewTextBoxColumn2.FieldName   = "Entidades.Id";
     gridViewTextBoxColumn2.HeaderText  = "IdEntidad";
     gridViewTextBoxColumn2.IsVisible   = false;
     gridViewTextBoxColumn2.Name        = "IdEntidad";
     gridViewTextBoxColumn3.FieldName   = "Entidades.Nombre";
     gridViewTextBoxColumn3.HeaderText  = "Entidad";
     gridViewTextBoxColumn3.MaxWidth    = 150;
     gridViewTextBoxColumn3.MinWidth    = 100;
     gridViewTextBoxColumn3.Name        = "NombreEntidad";
     gridViewTextBoxColumn3.Width       = 100;
     gridViewTextBoxColumn4.FieldName   = "Nombre";
     gridViewTextBoxColumn4.HeaderText  = "Departamento";
     gridViewTextBoxColumn4.MaxWidth    = 300;
     gridViewTextBoxColumn4.MinWidth    = 250;
     gridViewTextBoxColumn4.Name        = "NombreDepto";
     gridViewTextBoxColumn4.Width       = 250;
     gridViewTextBoxColumn4.WrapText    = true;
     gridViewTextBoxColumn5.FieldName   = "Abrev";
     gridViewTextBoxColumn5.HeaderText  = "Abreviatura";
     gridViewTextBoxColumn5.MaxWidth    = 100;
     gridViewTextBoxColumn5.MinWidth    = 80;
     gridViewTextBoxColumn5.Name        = "Abrev";
     gridViewTextBoxColumn5.Width       = 80;
     gridViewCheckBoxColumn1.FieldName  = "DatosUsuario.Estatus";
     gridViewCheckBoxColumn1.HeaderText = "Activo";
     gridViewCheckBoxColumn1.MaxWidth   = 100;
     gridViewCheckBoxColumn1.MinWidth   = 80;
     gridViewCheckBoxColumn1.Name       = "Estatus";
     gridViewCheckBoxColumn1.Width      = 80;
     this.gvDatos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewCheckBoxColumn1
     });
     this.gvDatos.MasterTemplate.ShowGroupedColumns  = true;
     this.gvDatos.MasterTemplate.ShowRowHeaderColumn = false;
     this.gvDatos.MasterTemplate.ViewDefinition      = tableViewDefinition1;
     this.gvDatos.Name               = "gvDatos";
     this.gvDatos.ReadOnly           = true;
     this.gvDatos.ShowGroupPanel     = false;
     this.gvDatos.ShowNoDataText     = false;
     this.gvDatos.Size               = new System.Drawing.Size(560, 176);
     this.gvDatos.TabIndex           = 5;
     this.gvDatos.CurrentRowChanged += new Telerik.WinControls.UI.CurrentRowChangedEventHandler(this.gvDatos_CurrentRowChanged);
     //
     // commandBarStripElement2
     //
     this.commandBarStripElement2.DisplayName = "commandBarStripElement2";
     this.commandBarStripElement2.Name        = "commandBarStripElement2";
     //
     // commandBarStripElement3
     //
     this.commandBarStripElement3.DisplayName = "commandBarStripElement3";
     this.commandBarStripElement3.Name        = "commandBarStripElement3";
     //
     // commandBarStripElement4
     //
     this.commandBarStripElement4.DisplayName = "commandBarStripElement4";
     this.commandBarStripElement4.Name        = "commandBarStripElement4";
     //
     // commandBarStripElement5
     //
     this.commandBarStripElement5.DisplayName = "commandBarStripElement5";
     this.commandBarStripElement5.Name        = "commandBarStripElement5";
     //
     // frmDepartamentos
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(560, 338);
     this.Controls.Add(this.radPanel2);
     this.Controls.Add(this.radPanel1);
     this.Controls.Add(this.radCommandBar1);
     this.Name = "frmDepartamentos";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowIcon  = false;
     this.Text      = "Departamentos";
     this.ThemeName = "MaterialTeal";
     this.Load     += new System.EventHandler(this.frmDepartamentos_Load);
     ((System.ComponentModel.ISupportInitialize)(this.radCommandBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cboEntidad)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit();
     this.radPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDatos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #55
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();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn3 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn4 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn15 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn16 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn2 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
            Telerik.WinControls.Data.SortDescriptor sortDescriptor2 = new Telerik.WinControls.Data.SortDescriptor();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.marketGrid = new Telerik.WinControls.UI.RadGridView();
            this.mbs = new System.Windows.Forms.BindingSource(this.components);
            this.newMarketing = new Telerik.WinControls.UI.RadButton();
            this.showdone = new Telerik.WinControls.UI.RadCheckBox();
            this.mm = new Telerik.WinControls.UI.RadLabel();
            ((System.ComponentModel.ISupportInitialize)(this.marketGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketGrid.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mbs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.newMarketing)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.showdone)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // marketGrid
            // 
            this.marketGrid.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.marketGrid.AutoScroll = true;
            this.marketGrid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
            this.marketGrid.Cursor = System.Windows.Forms.Cursors.Default;
            this.marketGrid.Font = new System.Drawing.Font("Tahoma", 10F);
            this.marketGrid.ForeColor = System.Drawing.Color.Black;
            this.marketGrid.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.marketGrid.Location = new System.Drawing.Point(50, 95);
            // 
            // 
            // 
            this.marketGrid.MasterTemplate.AllowAddNewRow = false;
            this.marketGrid.MasterTemplate.AllowCellContextMenu = false;
            this.marketGrid.MasterTemplate.AllowColumnChooser = false;
            this.marketGrid.MasterTemplate.AllowDeleteRow = false;
            this.marketGrid.MasterTemplate.AllowEditRow = false;
            this.marketGrid.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewDecimalColumn3.DataType = typeof(int);
            gridViewDecimalColumn3.EnableExpressionEditor = false;
            gridViewDecimalColumn3.FieldName = "ID";
            gridViewDecimalColumn3.HeaderText = "ID";
            gridViewDecimalColumn3.IsAutoGenerated = true;
            gridViewDecimalColumn3.IsVisible = false;
            gridViewDecimalColumn3.Name = "ID";
            gridViewTextBoxColumn9.EnableExpressionEditor = false;
            gridViewTextBoxColumn9.FieldName = "followDate";
            gridViewTextBoxColumn9.HeaderText = "تاریخ پیگیری";
            gridViewTextBoxColumn9.IsAutoGenerated = true;
            gridViewTextBoxColumn9.Name = "followDate";
            gridViewTextBoxColumn9.Width = 122;
            gridViewDecimalColumn4.DataType = typeof(System.Nullable<int>);
            gridViewDecimalColumn4.EnableExpressionEditor = false;
            gridViewDecimalColumn4.FieldName = "marketer";
            gridViewDecimalColumn4.HeaderText = "بازاریاب";
            gridViewDecimalColumn4.IsAutoGenerated = true;
            gridViewDecimalColumn4.IsVisible = false;
            gridViewDecimalColumn4.Name = "marketer";
            gridViewTextBoxColumn10.EnableExpressionEditor = false;
            gridViewTextBoxColumn10.FieldName = "doingDate";
            gridViewTextBoxColumn10.HeaderText = "تاریخ انجام";
            gridViewTextBoxColumn10.IsAutoGenerated = true;
            gridViewTextBoxColumn10.Name = "doingDate";
            gridViewTextBoxColumn10.Width = 115;
            gridViewTextBoxColumn11.EnableExpressionEditor = false;
            gridViewTextBoxColumn11.FieldName = "client";
            gridViewTextBoxColumn11.HeaderText = "مشتری";
            gridViewTextBoxColumn11.IsAutoGenerated = true;
            gridViewTextBoxColumn11.Name = "client";
            gridViewTextBoxColumn11.Width = 176;
            gridViewTextBoxColumn12.EnableExpressionEditor = false;
            gridViewTextBoxColumn12.FieldName = "result";
            gridViewTextBoxColumn12.HeaderText = "نتیجه";
            gridViewTextBoxColumn12.IsAutoGenerated = true;
            gridViewTextBoxColumn12.Name = "result";
            gridViewTextBoxColumn12.Width = 177;
            gridViewTextBoxColumn13.EnableExpressionEditor = false;
            gridViewTextBoxColumn13.FieldName = "nextFollowDate";
            gridViewTextBoxColumn13.HeaderText = "تاریخ پیگیری بعدی";
            gridViewTextBoxColumn13.IsAutoGenerated = true;
            gridViewTextBoxColumn13.Name = "nextFollowDate";
            gridViewTextBoxColumn13.Width = 115;
            gridViewTextBoxColumn14.EnableExpressionEditor = false;
            gridViewTextBoxColumn14.FieldName = "comment";
            gridViewTextBoxColumn14.HeaderText = "comment";
            gridViewTextBoxColumn14.IsAutoGenerated = true;
            gridViewTextBoxColumn14.IsVisible = false;
            gridViewTextBoxColumn14.Name = "comment";
            gridViewTextBoxColumn15.DataType = typeof(tiraxco.User);
            gridViewTextBoxColumn15.EnableExpressionEditor = false;
            gridViewTextBoxColumn15.FieldName = "User";
            gridViewTextBoxColumn15.HeaderText = "User";
            gridViewTextBoxColumn15.IsAutoGenerated = true;
            gridViewTextBoxColumn15.IsVisible = false;
            gridViewTextBoxColumn15.Name = "User";
            gridViewTextBoxColumn15.SortOrder = Telerik.WinControls.UI.RadSortOrder.Descending;
            gridViewTextBoxColumn16.EnableExpressionEditor = false;
            gridViewTextBoxColumn16.FieldName = "User.name";
            gridViewTextBoxColumn16.HeaderText = "بازاریاب";
            gridViewTextBoxColumn16.Name = "column1";
            gridViewTextBoxColumn16.Width = 70;
            gridViewCheckBoxColumn2.DataType = typeof(System.Nullable<bool>);
            gridViewCheckBoxColumn2.EnableExpressionEditor = false;
            gridViewCheckBoxColumn2.FieldName = "done";
            gridViewCheckBoxColumn2.HeaderText = "انجام شده";
            gridViewCheckBoxColumn2.IsAutoGenerated = true;
            gridViewCheckBoxColumn2.MinWidth = 20;
            gridViewCheckBoxColumn2.Name = "done";
            gridViewCheckBoxColumn2.Width = 106;
            this.marketGrid.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn3,
            gridViewTextBoxColumn9,
            gridViewDecimalColumn4,
            gridViewTextBoxColumn10,
            gridViewTextBoxColumn11,
            gridViewTextBoxColumn12,
            gridViewTextBoxColumn13,
            gridViewTextBoxColumn14,
            gridViewTextBoxColumn15,
            gridViewTextBoxColumn16,
            gridViewCheckBoxColumn2});
            this.marketGrid.MasterTemplate.DataSource = this.mbs;
            this.marketGrid.MasterTemplate.EnableFiltering = true;
            sortDescriptor2.Direction = System.ComponentModel.ListSortDirection.Descending;
            sortDescriptor2.PropertyName = "User";
            this.marketGrid.MasterTemplate.SortDescriptors.AddRange(new Telerik.WinControls.Data.SortDescriptor[] {
            sortDescriptor2});
            this.marketGrid.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.marketGrid.Name = "marketGrid";
            this.marketGrid.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.marketGrid.Size = new System.Drawing.Size(896, 331);
            this.marketGrid.TabIndex = 0;
            this.marketGrid.Text = "radGridView1";
            this.marketGrid.CellClick += new Telerik.WinControls.UI.GridViewCellEventHandler(this.marketGrid_CellClick);
            // 
            // mbs
            // 
            this.mbs.DataSource = typeof(tiraxco.Marketing);
            // 
            // newMarketing
            // 
            this.newMarketing.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.newMarketing.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
            this.newMarketing.Location = new System.Drawing.Point(50, 441);
            this.newMarketing.Name = "newMarketing";
            this.newMarketing.Size = new System.Drawing.Size(120, 41);
            this.newMarketing.TabIndex = 6;
            this.newMarketing.Text = "ایجاد";
            this.newMarketing.Click += new System.EventHandler(this.newUser_Click);
            // 
            // showdone
            // 
            this.showdone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.showdone.Font = new System.Drawing.Font("Tahoma", 10F);
            this.showdone.Location = new System.Drawing.Point(931, 61);
            this.showdone.Name = "showdone";
            this.showdone.Size = new System.Drawing.Size(15, 15);
            this.showdone.TabIndex = 7;
            this.showdone.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.showdone_ToggleStateChanged);
            // 
            // mm
            // 
            this.mm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.mm.Font = new System.Drawing.Font("Tahoma", 10F);
            this.mm.Location = new System.Drawing.Point(734, 56);
            this.mm.Name = "mm";
            this.mm.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.mm.Size = new System.Drawing.Size(191, 20);
            this.mm.TabIndex = 13;
            this.mm.Text = "نمایش پیگیری های انجام نشده.";
            this.mm.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // MarketingManagement
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(998, 512);
            this.Controls.Add(this.mm);
            this.Controls.Add(this.showdone);
            this.Controls.Add(this.newMarketing);
            this.Controls.Add(this.marketGrid);
            this.Name = "MarketingManagement";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "بازاریابی";
            this.ThemeName = "ControlDefault";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.marketGrid.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.marketGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mbs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.newMarketing)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.showdone)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn9  = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition3    = new Telerik.WinControls.UI.TableViewDefinition();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn10 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn11 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn12 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn13 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn14 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition   tableViewDefinition4    = new Telerik.WinControls.UI.TableViewDefinition();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.but_reone         = new Telerik.WinControls.UI.RadButton();
     this.but_ok            = new Telerik.WinControls.UI.RadButton();
     this.but_addone        = new Telerik.WinControls.UI.RadButton();
     this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.tb_number         = new Telerik.WinControls.UI.RadTextBox();
     this.radLabel3         = new Telerik.WinControls.UI.RadLabel();
     this.but_cancel        = new Telerik.WinControls.UI.RadButton();
     this.tb_setname        = new Telerik.WinControls.UI.RadTextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.cb_type           = new Telerik.WinControls.UI.RadDropDownList();
     this.label4            = new System.Windows.Forms.Label();
     this.radLabel1         = new Telerik.WinControls.UI.RadLabel();
     this.tb_sname          = new Telerik.WinControls.UI.RadTextBox();
     this.but_sel           = new Telerik.WinControls.UI.RadButton();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.dgv_01            = new Telerik.WinControls.UI.RadGridView();
     this.groupBox3         = new System.Windows.Forms.GroupBox();
     this.dgv_02            = new Telerik.WinControls.UI.RadGridView();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.but_reone)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_ok)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_addone)).BeginInit();
     this.tableLayoutPanel4.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_number)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_cancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_setname)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_type)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sname)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 5;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 2, 5);
     this.tableLayoutPanel1.Controls.Add(this.but_cancel, 4, 0);
     this.tableLayoutPanel1.Controls.Add(this.tb_setname, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.cb_type, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.label4, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.radLabel1, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.tb_sname, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.but_sel, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.groupBox2, 0, 5);
     this.tableLayoutPanel1.Controls.Add(this.groupBox3, 3, 5);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 6;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(791, 586);
     this.tableLayoutPanel1.TabIndex = 87;
     this.tableLayoutPanel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint);
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 1;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Controls.Add(this.but_reone, 0, 2);
     this.tableLayoutPanel2.Controls.Add(this.but_ok, 0, 4);
     this.tableLayoutPanel2.Controls.Add(this.but_addone, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(300, 102);
     this.tableLayoutPanel2.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 6;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 45.34534F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 54.65466F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(130, 484);
     this.tableLayoutPanel2.TabIndex = 89;
     //
     // but_reone
     //
     this.but_reone.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.but_reone.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.but_reone.Location  = new System.Drawing.Point(3, 203);
     this.but_reone.Margin    = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.but_reone.Name      = "but_reone";
     this.but_reone.Size      = new System.Drawing.Size(124, 40);
     this.but_reone.TabIndex  = 100;
     this.but_reone.ThemeName = "Office2007Silver";
     this.but_reone.Click    += new System.EventHandler(this.but_reone_Click);
     //
     // but_ok
     //
     this.but_ok.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.but_ok.Font              = new System.Drawing.Font("Segoe UI", 11F);
     this.but_ok.Location          = new System.Drawing.Point(3, 258);
     this.but_ok.Margin            = new System.Windows.Forms.Padding(3, 10, 3, 3);
     this.but_ok.Name              = "but_ok";
     this.but_ok.Padding           = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.but_ok.Size              = new System.Drawing.Size(124, 40);
     this.but_ok.TabIndex          = 99;
     this.but_ok.Text              = "保  存";
     this.but_ok.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_ok.ThemeName         = "Office2007Silver";
     this.but_ok.Click            += new System.EventHandler(this.but_ok_Click);
     //
     // but_addone
     //
     this.but_addone.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.but_addone.Font           = new System.Drawing.Font("Segoe UI", 11F);
     this.but_addone.ImageAlignment = System.Drawing.ContentAlignment.MiddleRight;
     this.but_addone.Location       = new System.Drawing.Point(3, 153);
     this.but_addone.Margin         = new System.Windows.Forms.Padding(3, 3, 3, 5);
     this.but_addone.Name           = "but_addone";
     this.but_addone.Size           = new System.Drawing.Size(124, 40);
     this.but_addone.TabIndex       = 100;
     this.but_addone.ThemeName      = "Office2007Silver";
     this.but_addone.Click         += new System.EventHandler(this.but_addone_Click);
     //
     // tableLayoutPanel4
     //
     this.tableLayoutPanel4.ColumnCount = 1;
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel4.Controls.Add(this.groupBox1, 0, 0);
     this.tableLayoutPanel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel4.Name     = "tableLayoutPanel4";
     this.tableLayoutPanel4.RowCount = 1;
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel4.Size     = new System.Drawing.Size(124, 144);
     this.tableLayoutPanel4.TabIndex = 101;
     //
     // groupBox1
     //
     this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.groupBox1.Controls.Add(this.tb_number);
     this.groupBox1.Controls.Add(this.radLabel3);
     this.groupBox1.Location = new System.Drawing.Point(3, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(118, 84);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     //
     // tb_number
     //
     this.tb_number.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.tb_number.Font         = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_number.Location     = new System.Drawing.Point(3, 23);
     this.tb_number.Name         = "tb_number";
     this.tb_number.Size         = new System.Drawing.Size(112, 25);
     this.tb_number.TabIndex     = 97;
     this.tb_number.Text         = "1";
     this.tb_number.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.tb_number.ThemeName    = "Office2007Silver";
     this.tb_number.TextChanged += new System.EventHandler(this.tb_number_TextChanged);
     this.tb_number.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.tb_number_KeyPress);
     //
     // radLabel3
     //
     this.radLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.radLabel3.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel3.Location  = new System.Drawing.Point(8, 52);
     this.radLabel3.Name      = "radLabel3";
     this.radLabel3.Size      = new System.Drawing.Size(102, 23);
     this.radLabel3.TabIndex  = 98;
     this.radLabel3.Text      = "(移动数量)";
     this.radLabel3.ThemeName = "Office2007Silver";
     //
     // but_cancel
     //
     this.but_cancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.but_cancel.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.but_cancel.Location = new System.Drawing.Point(679, 12);
     this.but_cancel.Margin   = new System.Windows.Forms.Padding(3, 12, 12, 3);
     this.but_cancel.Name     = "but_cancel";
     this.but_cancel.Padding  = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.tableLayoutPanel1.SetRowSpan(this.but_cancel, 2);
     this.but_cancel.Size              = new System.Drawing.Size(100, 40);
     this.but_cancel.TabIndex          = 98;
     this.but_cancel.Text              = "关  闭";
     this.but_cancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.but_cancel.ThemeName         = "Office2007Silver";
     this.but_cancel.Click            += new System.EventHandler(this.but_cancel_Click);
     //
     // tb_setname
     //
     this.tb_setname.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.tb_setname.AutoSize  = false;
     this.tb_setname.BackColor = System.Drawing.SystemColors.ControlLight;
     this.tableLayoutPanel1.SetColumnSpan(this.tb_setname, 2);
     this.tb_setname.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_setname.Location  = new System.Drawing.Point(102, 12);
     this.tb_setname.Margin    = new System.Windows.Forms.Padding(3, 12, 3, 3);
     this.tb_setname.Name      = "tb_setname";
     this.tb_setname.ReadOnly  = true;
     this.tb_setname.Size      = new System.Drawing.Size(325, 25);
     this.tb_setname.TabIndex  = 94;
     this.tb_setname.ThemeName = "Office2007Silver";
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(5, 14);
     this.label1.Margin   = new System.Windows.Forms.Padding(5, 12, 5, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(89, 20);
     this.label1.TabIndex = 81;
     this.label1.Text     = "订单名称:";
     this.label1.Click   += new System.EventHandler(this.label1_Click);
     //
     // cb_type
     //
     this.cb_type.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.tableLayoutPanel1.SetColumnSpan(this.cb_type, 2);
     this.cb_type.DropDownStyle         = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.cb_type.Font                  = new System.Drawing.Font("Segoe UI", 11F);
     this.cb_type.Location              = new System.Drawing.Point(102, 43);
     this.cb_type.Name                  = "cb_type";
     this.cb_type.Size                  = new System.Drawing.Size(325, 25);
     this.cb_type.TabIndex              = 97;
     this.cb_type.ThemeName             = "Office2007Silver";
     this.cb_type.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cb_type_SelectedIndexChanged_1);
     this.cb_type.TextChanged          += new System.EventHandler(this.cb_type_TextChanged);
     //
     // label4
     //
     this.label4.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(7, 45);
     this.label4.Margin   = new System.Windows.Forms.Padding(3);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(89, 20);
     this.label4.TabIndex = 84;
     this.label4.Text     = "类        型:";
     //
     // radLabel1
     //
     this.radLabel1.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.radLabel1.Font     = new System.Drawing.Font("Segoe UI", 11F);
     this.radLabel1.Location = new System.Drawing.Point(8, 75);
     this.radLabel1.Name     = "radLabel1";
     this.radLabel1.Size     = new System.Drawing.Size(88, 23);
     this.radLabel1.TabIndex = 94;
     this.radLabel1.Text     = "查        询:";
     //
     // tb_sname
     //
     this.tb_sname.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.tb_sname.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.tb_sname.Location  = new System.Drawing.Point(102, 74);
     this.tb_sname.Name      = "tb_sname";
     this.tb_sname.Size      = new System.Drawing.Size(195, 25);
     this.tb_sname.TabIndex  = 93;
     this.tb_sname.ThemeName = "Office2007Silver";
     this.tb_sname.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.tb_sname_KeyDown);
     //
     // but_sel
     //
     this.but_sel.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.but_sel.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.but_sel.Location  = new System.Drawing.Point(303, 74);
     this.but_sel.Margin    = new System.Windows.Forms.Padding(3, 3, 0, 3);
     this.but_sel.Name      = "but_sel";
     this.but_sel.Size      = new System.Drawing.Size(127, 25);
     this.but_sel.TabIndex  = 92;
     this.but_sel.Text      = "查询";
     this.but_sel.ThemeName = "Office2007Silver";
     this.but_sel.Click    += new System.EventHandler(this.but_sel_Click);
     //
     // groupBox2
     //
     this.tableLayoutPanel1.SetColumnSpan(this.groupBox2, 2);
     this.groupBox2.Controls.Add(this.dgv_01);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Location = new System.Drawing.Point(3, 105);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(294, 478);
     this.groupBox2.TabIndex = 99;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "添加列表";
     //
     // dgv_01
     //
     this.dgv_01.BackColor = System.Drawing.SystemColors.Window;
     this.dgv_01.Cursor    = System.Windows.Forms.Cursors.Default;
     this.dgv_01.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgv_01.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.dgv_01.ForeColor = System.Drawing.SystemColors.ControlText;
     this.dgv_01.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.dgv_01.Location  = new System.Drawing.Point(3, 23);
     //
     //
     //
     this.dgv_01.MasterTemplate.AllowAddNewRow               = false;
     this.dgv_01.MasterTemplate.AllowCellContextMenu         = false;
     this.dgv_01.MasterTemplate.AllowColumnHeaderContextMenu = false;
     gridViewTextBoxColumn8.EnableExpressionEditor           = false;
     gridViewTextBoxColumn8.HeaderText             = "编号";
     gridViewTextBoxColumn8.IsVisible              = false;
     gridViewTextBoxColumn8.Name                   = "id";
     gridViewTextBoxColumn8.ReadOnly               = true;
     gridViewTextBoxColumn9.EnableExpressionEditor = false;
     gridViewTextBoxColumn9.HeaderText             = "名称";
     gridViewTextBoxColumn9.Name                   = "ca_name";
     gridViewTextBoxColumn9.ReadOnly               = true;
     gridViewTextBoxColumn9.Width                  = 265;
     this.dgv_01.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9
     });
     this.dgv_01.MasterTemplate.MultiSelect    = true;
     this.dgv_01.MasterTemplate.ViewDefinition = tableViewDefinition3;
     this.dgv_01.Name           = "dgv_01";
     this.dgv_01.Padding        = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.dgv_01.RightToLeft    = System.Windows.Forms.RightToLeft.No;
     this.dgv_01.ShowGroupPanel = false;
     this.dgv_01.Size           = new System.Drawing.Size(288, 452);
     this.dgv_01.TabIndex       = 72;
     this.dgv_01.ThemeName      = "Office2007Silver";
     //
     // groupBox3
     //
     this.tableLayoutPanel1.SetColumnSpan(this.groupBox3, 2);
     this.groupBox3.Controls.Add(this.dgv_02);
     this.groupBox3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox3.Location = new System.Drawing.Point(433, 105);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(355, 478);
     this.groupBox3.TabIndex = 100;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "物品列表";
     //
     // dgv_02
     //
     this.dgv_02.BackColor = System.Drawing.SystemColors.Window;
     this.dgv_02.Cursor    = System.Windows.Forms.Cursors.Default;
     this.dgv_02.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.dgv_02.Font      = new System.Drawing.Font("Segoe UI", 11F);
     this.dgv_02.ForeColor = System.Drawing.SystemColors.ControlText;
     this.dgv_02.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.dgv_02.Location  = new System.Drawing.Point(3, 23);
     //
     //
     //
     this.dgv_02.MasterTemplate.AllowAddNewRow               = false;
     this.dgv_02.MasterTemplate.AllowCellContextMenu         = false;
     this.dgv_02.MasterTemplate.AllowColumnHeaderContextMenu = false;
     gridViewTextBoxColumn10.EnableExpressionEditor          = false;
     gridViewTextBoxColumn10.HeaderText             = "编号";
     gridViewTextBoxColumn10.IsVisible              = false;
     gridViewTextBoxColumn10.Name                   = "id";
     gridViewTextBoxColumn10.ReadOnly               = true;
     gridViewTextBoxColumn11.EnableExpressionEditor = false;
     gridViewTextBoxColumn11.HeaderText             = "名称";
     gridViewTextBoxColumn11.Name                   = "ca_name";
     gridViewTextBoxColumn11.ReadOnly               = true;
     gridViewTextBoxColumn11.Width                  = 200;
     gridViewTextBoxColumn12.HeaderText             = "数量";
     gridViewTextBoxColumn12.Name                   = "num";
     gridViewTextBoxColumn13.HeaderText             = "类型";
     gridViewTextBoxColumn13.Name                   = "type";
     gridViewTextBoxColumn13.Width                  = 80;
     gridViewTextBoxColumn14.HeaderText             = "typeID";
     gridViewTextBoxColumn14.IsVisible              = false;
     gridViewTextBoxColumn14.Name                   = "typeID";
     this.dgv_02.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn10,
         gridViewTextBoxColumn11,
         gridViewTextBoxColumn12,
         gridViewTextBoxColumn13,
         gridViewTextBoxColumn14
     });
     this.dgv_02.MasterTemplate.MultiSelect    = true;
     this.dgv_02.MasterTemplate.ViewDefinition = tableViewDefinition4;
     this.dgv_02.Name           = "dgv_02";
     this.dgv_02.Padding        = new System.Windows.Forms.Padding(0, 0, 0, 1);
     this.dgv_02.RightToLeft    = System.Windows.Forms.RightToLeft.No;
     this.dgv_02.ShowGroupPanel = false;
     this.dgv_02.Size           = new System.Drawing.Size(349, 452);
     this.dgv_02.TabIndex       = 72;
     this.dgv_02.ThemeName      = "Office2007Silver";
     //
     // HCSCM_specialset_item_add
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.Window;
     this.ClientSize          = new System.Drawing.Size(791, 586);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Font            = new System.Drawing.Font("Segoe UI", 11F);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "HCSCM_specialset_item_add";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.but_reone)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_ok)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_addone)).EndInit();
     this.tableLayoutPanel4.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tb_number)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_cancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_setname)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cb_type)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tb_sname)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.but_sel)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_01)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgv_02)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #57
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmEnterSilosEmptying));
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.lbCurrentStandard = new Telerik.WinControls.UI.RadLabel();
            this.btnShowStandardSelection = new Telerik.WinControls.UI.RadButton();
            this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
            this.gvSilos = new Telerik.WinControls.UI.RadGridView();
            this.btnCrearVaciamiento = new Telerik.WinControls.UI.RadButton();
            this.tableLayoutPanel1.SuspendLayout();
            this.tableLayoutPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbCurrentStandard)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnShowStandardSelection)).BeginInit();
            this.tableLayoutPanel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gvSilos)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSilos.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCrearVaciamiento)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 3;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 62F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(1109, 606);
            this.tableLayoutPanel1.TabIndex = 1;
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 2;
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 267F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 1140F));
            this.tableLayoutPanel2.Controls.Add(this.lbCurrentStandard, 1, 0);
            this.tableLayoutPanel2.Controls.Add(this.btnShowStandardSelection, 0, 0);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 4);
            this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 1;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(1101, 54);
            this.tableLayoutPanel2.TabIndex = 4;
            // 
            // lbCurrentStandard
            // 
            this.lbCurrentStandard.Dock = System.Windows.Forms.DockStyle.Fill;
            this.lbCurrentStandard.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbCurrentStandard.Location = new System.Drawing.Point(271, 4);
            this.lbCurrentStandard.Margin = new System.Windows.Forms.Padding(4);
            this.lbCurrentStandard.Name = "lbCurrentStandard";
            this.lbCurrentStandard.Size = new System.Drawing.Size(1132, 46);
            this.lbCurrentStandard.TabIndex = 2;
            this.lbCurrentStandard.Text = "{{Current Standard}}";
            // 
            // btnShowStandardSelection
            // 
            this.btnShowStandardSelection.Location = new System.Drawing.Point(4, 4);
            this.btnShowStandardSelection.Margin = new System.Windows.Forms.Padding(4);
            this.btnShowStandardSelection.Name = "btnShowStandardSelection";
            this.btnShowStandardSelection.Size = new System.Drawing.Size(236, 46);
            this.btnShowStandardSelection.TabIndex = 1;
            this.btnShowStandardSelection.Text = "Ir Seleccionar Indicador";
            this.btnShowStandardSelection.Click += new System.EventHandler(this.btnShowStandardSelection_Click);
            // 
            // tableLayoutPanel3
            // 
            this.tableLayoutPanel3.ColumnCount = 1;
            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel3.Controls.Add(this.gvSilos, 0, 1);
            this.tableLayoutPanel3.Controls.Add(this.btnCrearVaciamiento, 0, 0);
            this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 65);
            this.tableLayoutPanel3.Name = "tableLayoutPanel3";
            this.tableLayoutPanel3.RowCount = 2;
            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.992203F));
            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 92.0078F));
            this.tableLayoutPanel3.Size = new System.Drawing.Size(1103, 513);
            this.tableLayoutPanel3.TabIndex = 5;
            // 
            // gvSilos
            // 
            this.gvSilos.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvSilos.Location = new System.Drawing.Point(4, 45);
            this.gvSilos.Margin = new System.Windows.Forms.Padding(4);
            // 
            // 
            // 
            this.gvSilos.MasterTemplate.AllowAddNewRow = false;
            this.gvSilos.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "Id";
            gridViewTextBoxColumn1.HeaderText = "Id";
            gridViewTextBoxColumn1.IsVisible = false;
            gridViewTextBoxColumn1.Name = "Id";
            gridViewTextBoxColumn2.FieldName = "Date";
            gridViewTextBoxColumn2.FormatString = "{0: dd/M/yyyy}";
            gridViewTextBoxColumn2.HeaderText = "Fecha";
            gridViewTextBoxColumn2.Name = "Date";
            gridViewTextBoxColumn2.Width = 1005;
            gridViewCommandColumn1.HeaderText = "";
            gridViewCommandColumn1.Image = ((System.Drawing.Image)(resources.GetObject("gridViewCommandColumn1.Image")));
            gridViewCommandColumn1.MaxWidth = 36;
            gridViewCommandColumn1.MinWidth = 36;
            gridViewCommandColumn1.Name = "btnEdit";
            gridViewCommandColumn1.Width = 36;
            gridViewCommandColumn2.HeaderText = "";
            gridViewCommandColumn2.Image = ((System.Drawing.Image)(resources.GetObject("gridViewCommandColumn2.Image")));
            gridViewCommandColumn2.MaxWidth = 36;
            gridViewCommandColumn2.MinWidth = 36;
            gridViewCommandColumn2.Name = "btnDelete";
            gridViewCommandColumn2.Width = 36;
            this.gvSilos.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2,
            gridViewCommandColumn1,
            gridViewCommandColumn2});
            this.gvSilos.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvSilos.Name = "gvSilos";
            this.gvSilos.ReadOnly = true;
            this.gvSilos.ShowGroupPanel = false;
            this.gvSilos.Size = new System.Drawing.Size(1095, 464);
            this.gvSilos.TabIndex = 85;
            this.gvSilos.Text = "radGridView1";
            this.gvSilos.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.gvSilos_CommandCellClick);
            // 
            // btnCrearVaciamiento
            // 
            this.btnCrearVaciamiento.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCrearVaciamiento.Location = new System.Drawing.Point(863, 4);
            this.btnCrearVaciamiento.Margin = new System.Windows.Forms.Padding(4);
            this.btnCrearVaciamiento.Name = "btnCrearVaciamiento";
            this.btnCrearVaciamiento.Size = new System.Drawing.Size(236, 33);
            this.btnCrearVaciamiento.TabIndex = 2;
            this.btnCrearVaciamiento.Text = "Registrar Vaciamiento";
            this.btnCrearVaciamiento.Click += new System.EventHandler(this.btnCrearVaciamiento_Click);
            // 
            // FrmEnterSilosEmptying
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1109, 606);
            this.Controls.Add(this.tableLayoutPanel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Margin = new System.Windows.Forms.Padding(5);
            this.Name = "FrmEnterSilosEmptying";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "FrmBatchSelection";
            this.Load += new System.EventHandler(this.FrmEnterSilosEmptying_Load);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel2.ResumeLayout(false);
            this.tableLayoutPanel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbCurrentStandard)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnShowStandardSelection)).EndInit();
            this.tableLayoutPanel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gvSilos.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvSilos)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCrearVaciamiento)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #58
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ListQueue));
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn6 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn7 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn   gridViewTextBoxColumn9 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.TableViewDefinition     tableViewDefinition1   = new Telerik.WinControls.UI.TableViewDefinition();
     this.radRibbonBar1            = new Telerik.WinControls.UI.RadRibbonBar();
     this.ribbonTab1               = new Telerik.WinControls.UI.RibbonTab();
     this.radRibbonBarGroup1       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnNew                   = new Telerik.WinControls.UI.RadButtonElement();
     this.btnSave                  = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup2       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnView                  = new Telerik.WinControls.UI.RadButtonElement();
     this.btnEdit                  = new Telerik.WinControls.UI.RadButtonElement();
     this.btnDelete                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup4       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnExport                = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup3       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.btnRefresh               = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarGroup5       = new Telerik.WinControls.UI.RadRibbonBarGroup();
     this.radRibbonBarButtonGroup3 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter1               = new Telerik.WinControls.UI.RadButtonElement();
     this.btnUnfilter1             = new Telerik.WinControls.UI.RadButtonElement();
     this.ribbonBarGroupSeparator1 = new Telerik.WinControls.UI.RibbonBarGroupSeparator();
     this.radMenuItem1             = new Telerik.WinControls.UI.RadMenuItem();
     this.radMenuSeparatorItem1    = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.radStatusStrip1          = new Telerik.WinControls.UI.RadStatusStrip();
     this.radLabelElement1         = new Telerik.WinControls.UI.RadLabelElement();
     this.panel1                   = new System.Windows.Forms.Panel();
     this.radGridView1             = new Telerik.WinControls.UI.RadGridView();
     this.office2010BlueTheme1     = new Telerik.WinControls.Themes.Office2010BlueTheme();
     this.radRibbonBarButtonGroup2 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.btnFilter                = new Telerik.WinControls.UI.RadButtonElement();
     this.Unfilter                 = new Telerik.WinControls.UI.RadButtonElement();
     this.radRibbonBarButtonGroup5 = new Telerik.WinControls.UI.RadRibbonBarButtonGroup();
     this.radContextMenu1          = new Telerik.WinControls.UI.RadContextMenu(this.components);
     this.RMenu3                   = new Telerik.WinControls.UI.RadMenuItem();
     this.radMenuSeparatorItem2    = new Telerik.WinControls.UI.RadMenuSeparatorItem();
     this.RMenu4                   = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu5                   = new Telerik.WinControls.UI.RadMenuItem();
     this.RMenu6                   = new Telerik.WinControls.UI.RadMenuItem();
     this.radContextMenuManager1   = new Telerik.WinControls.UI.RadContextMenuManager();
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // radRibbonBar1
     //
     this.radRibbonBar1.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] {
         this.ribbonTab1
     });
     //
     //
     //
     this.radRibbonBar1.ExitButton.Text = "Exit";
     this.radRibbonBar1.ExitButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radRibbonBar1.Location = new System.Drawing.Point(0, 0);
     this.radRibbonBar1.Name     = "radRibbonBar1";
     //
     //
     //
     this.radRibbonBar1.OptionsButton.Text = "Options";
     this.radRibbonBar1.OptionsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.radRibbonBar1.OptionsButton.Visibility        = Telerik.WinControls.ElementVisibility.Hidden;
     //
     //
     //
     this.radRibbonBar1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBar1.Size             = new System.Drawing.Size(764, 160);
     this.radRibbonBar1.StartButtonImage = ((System.Drawing.Image)(resources.GetObject("radRibbonBar1.StartButtonImage")));
     this.radRibbonBar1.StartMenuItems.AddRange(new Telerik.WinControls.RadItem[] {
         this.radMenuItem1,
         this.radMenuSeparatorItem1
     });
     this.radRibbonBar1.TabIndex  = 0;
     this.radRibbonBar1.Text      = "ListQueue";
     this.radRibbonBar1.ThemeName = "Office2010Blue";
     this.radRibbonBar1.Click    += new System.EventHandler(this.radRibbonBar1_Click);
     //
     // ribbonTab1
     //
     this.ribbonTab1.IsSelected = true;
     this.ribbonTab1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarGroup1,
         this.radRibbonBarGroup2,
         this.radRibbonBarGroup4,
         this.radRibbonBarGroup3,
         this.radRibbonBarGroup5
     });
     this.ribbonTab1.Name        = "ribbonTab1";
     this.ribbonTab1.Text        = "Action";
     this.ribbonTab1.UseMnemonic = false;
     //
     // radRibbonBarGroup1
     //
     this.radRibbonBarGroup1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnNew,
         this.btnSave
     });
     this.radRibbonBarGroup1.Name       = "radRibbonBarGroup1";
     this.radRibbonBarGroup1.Text       = "New List";
     this.radRibbonBarGroup1.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // btnNew
     //
     this.btnNew.Image             = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
     this.btnNew.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnNew.Name              = "btnNew";
     this.btnNew.Text              = "เพิ่มใหม่";
     this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnNew.Click            += new System.EventHandler(this.btnNew_Click);
     //
     // btnSave
     //
     this.btnSave.Image             = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnSave.Name              = "btnSave";
     this.btnSave.Text              = "บันทึกรายการ";
     this.btnSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnSave.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnSave.Click            += new System.EventHandler(this.btnSave_Click);
     //
     // radRibbonBarGroup2
     //
     this.radRibbonBarGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnView,
         this.btnEdit,
         this.btnDelete
     });
     this.radRibbonBarGroup2.Name       = "radRibbonBarGroup2";
     this.radRibbonBarGroup2.Text       = "Manage";
     this.radRibbonBarGroup2.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // btnView
     //
     this.btnView.Enabled           = false;
     this.btnView.Image             = ((System.Drawing.Image)(resources.GetObject("btnView.Image")));
     this.btnView.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnView.Name              = "btnView";
     this.btnView.Text              = "แสดงรายการ";
     this.btnView.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnView.Click            += new System.EventHandler(this.btnView_Click);
     //
     // btnEdit
     //
     this.btnEdit.Image             = ((System.Drawing.Image)(resources.GetObject("btnEdit.Image")));
     this.btnEdit.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnEdit.Name              = "btnEdit";
     this.btnEdit.Text              = "แก้ไขรายการ";
     this.btnEdit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnEdit.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnEdit.Click            += new System.EventHandler(this.btnEdit_Click);
     //
     // btnDelete
     //
     this.btnDelete.Image             = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnDelete.Name              = "btnDelete";
     this.btnDelete.Text              = "ลบรายการ";
     this.btnDelete.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnDelete.Visibility        = Telerik.WinControls.ElementVisibility.Collapsed;
     this.btnDelete.Click            += new System.EventHandler(this.btnDelete_Click);
     //
     // radRibbonBarGroup4
     //
     this.radRibbonBarGroup4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(86)))), ((int)(((byte)(86)))), ((int)(((byte)(86)))));
     this.radRibbonBarGroup4.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnExport
     });
     this.radRibbonBarGroup4.Name = "radRibbonBarGroup4";
     this.radRibbonBarGroup4.Text = "Import / Export";
     //
     // btnExport
     //
     this.btnExport.Image             = ((System.Drawing.Image)(resources.GetObject("btnExport.Image")));
     this.btnExport.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnExport.Name              = "btnExport";
     this.btnExport.Text              = "ส่งข้อมูลออก";
     this.btnExport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnExport.Click            += new System.EventHandler(this.btnExport_Click);
     //
     // radRibbonBarGroup3
     //
     this.radRibbonBarGroup3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(135)))), ((int)(((byte)(135)))), ((int)(((byte)(135)))));
     this.radRibbonBarGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnRefresh
     });
     this.radRibbonBarGroup3.Name = "radRibbonBarGroup3";
     this.radRibbonBarGroup3.Text = "Page";
     //
     // btnRefresh
     //
     this.btnRefresh.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(6)))), ((int)(((byte)(197)))));
     this.btnRefresh.Image             = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));
     this.btnRefresh.ImageAlignment    = System.Drawing.ContentAlignment.MiddleCenter;
     this.btnRefresh.Name              = "btnRefresh";
     this.btnRefresh.Text              = "รีเฟรช";
     this.btnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.btnRefresh.Click            += new System.EventHandler(this.btnCancel_Click);
     //
     // radRibbonBarGroup5
     //
     this.radRibbonBarGroup5.AutoSizeMode  = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
     this.radRibbonBarGroup5.FitToSizeMode = Telerik.WinControls.RadFitToSizeMode.FitToParentContent;
     this.radRibbonBarGroup5.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radRibbonBarButtonGroup3
     });
     this.radRibbonBarGroup5.Name = "radRibbonBarGroup5";
     this.radRibbonBarGroup5.Text = "Filter";
     //
     // radRibbonBarButtonGroup3
     //
     this.radRibbonBarButtonGroup3.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter1,
         this.btnUnfilter1,
         this.ribbonBarGroupSeparator1
     });
     this.radRibbonBarButtonGroup3.Name          = "radRibbonBarButtonGroup3";
     this.radRibbonBarButtonGroup3.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup3.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup3.ShowBackColor = false;
     this.radRibbonBarButtonGroup3.ShowBorder    = false;
     this.radRibbonBarButtonGroup3.Text          = "radRibbonBarButtonGroup3";
     //
     // btnFilter1
     //
     this.btnFilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter1.Image")));
     this.btnFilter1.Name              = "btnFilter1";
     this.btnFilter1.ShowBorder        = false;
     this.btnFilter1.Text              = "กรอง";
     this.btnFilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnFilter1.Click            += new System.EventHandler(this.btnFilter1_Click);
     //
     // btnUnfilter1
     //
     this.btnUnfilter1.Image             = ((System.Drawing.Image)(resources.GetObject("btnUnfilter1.Image")));
     this.btnUnfilter1.Name              = "btnUnfilter1";
     this.btnUnfilter1.ShowBorder        = false;
     this.btnUnfilter1.Text              = "ยกเลิก";
     this.btnUnfilter1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.btnUnfilter1.Click            += new System.EventHandler(this.btnUnfilter1_Click);
     //
     // ribbonBarGroupSeparator1
     //
     this.ribbonBarGroupSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ribbonBarGroupSeparator1.Name      = "ribbonBarGroupSeparator1";
     this.ribbonBarGroupSeparator1.Text      = "ribbonBarGroupSeparator1";
     //
     // radMenuItem1
     //
     this.radMenuItem1.Image  = ((System.Drawing.Image)(resources.GetObject("radMenuItem1.Image")));
     this.radMenuItem1.Name   = "radMenuItem1";
     this.radMenuItem1.Text   = "Exit";
     this.radMenuItem1.Click += new System.EventHandler(this.radMenuItem1_Click);
     //
     // radMenuSeparatorItem1
     //
     this.radMenuSeparatorItem1.Name          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.Text          = "radMenuSeparatorItem1";
     this.radMenuSeparatorItem1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // radStatusStrip1
     //
     this.radStatusStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.radLabelElement1
     });
     this.radStatusStrip1.Location   = new System.Drawing.Point(0, 563);
     this.radStatusStrip1.Name       = "radStatusStrip1";
     this.radStatusStrip1.Size       = new System.Drawing.Size(764, 26);
     this.radStatusStrip1.SizingGrip = false;
     this.radStatusStrip1.TabIndex   = 1;
     //
     // radLabelElement1
     //
     this.radLabelElement1.Name = "radLabelElement1";
     this.radStatusStrip1.SetSpring(this.radLabelElement1, false);
     this.radLabelElement1.Text     = "Status : List Queue";
     this.radLabelElement1.TextWrap = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.radGridView1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 160);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(764, 403);
     this.panel1.TabIndex = 2;
     //
     // radGridView1
     //
     this.radGridView1.BackColor = System.Drawing.Color.White;
     this.radGridView1.ColumnChooserSortOrder = Telerik.WinControls.UI.RadSortOrder.Ascending;
     this.radGridView1.Cursor       = System.Windows.Forms.Cursors.Default;
     this.radGridView1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.radGridView1.EnterKeyMode = Telerik.WinControls.UI.RadGridViewEnterKeyMode.EnterMovesToNextCell;
     this.radGridView1.Font         = new System.Drawing.Font("Tahoma", 8.25F);
     this.radGridView1.ForeColor    = System.Drawing.Color.Black;
     this.radGridView1.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.radGridView1.Location     = new System.Drawing.Point(0, 0);
     //
     //
     //
     this.radGridView1.MasterTemplate.AddNewRowPosition            = Telerik.WinControls.UI.SystemRowPosition.Bottom;
     this.radGridView1.MasterTemplate.AllowAddNewRow               = false;
     this.radGridView1.MasterTemplate.AllowCellContextMenu         = false;
     this.radGridView1.MasterTemplate.AllowColumnChooser           = false;
     this.radGridView1.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.radGridView1.MasterTemplate.AllowDragToGroup             = false;
     this.radGridView1.MasterTemplate.AllowRowHeaderContextMenu    = false;
     this.radGridView1.MasterTemplate.AllowRowResize               = false;
     this.radGridView1.MasterTemplate.AutoGenerateColumns          = false;
     gridViewTextBoxColumn1.EnableExpressionEditor = false;
     gridViewTextBoxColumn1.FieldName              = "id";
     gridViewTextBoxColumn1.HeaderText             = "id";
     gridViewTextBoxColumn1.Name                   = "id";
     gridViewTextBoxColumn1.Width                  = 78;
     gridViewTextBoxColumn2.EnableExpressionEditor = false;
     gridViewTextBoxColumn2.FieldName              = "ListType";
     gridViewTextBoxColumn2.HeaderText             = "ListType";
     gridViewTextBoxColumn2.Name                   = "ListType";
     gridViewTextBoxColumn2.Width                  = 110;
     gridViewTextBoxColumn3.EnableExpressionEditor = false;
     gridViewTextBoxColumn3.FieldName              = "ListApp";
     gridViewTextBoxColumn3.HeaderText             = "ListApp";
     gridViewTextBoxColumn3.Name                   = "ListApp";
     gridViewTextBoxColumn3.Width                  = 140;
     gridViewTextBoxColumn4.EnableExpressionEditor = false;
     gridViewTextBoxColumn4.FieldName              = "ListName";
     gridViewTextBoxColumn4.HeaderText             = "ListName";
     gridViewTextBoxColumn4.Name                   = "ListName";
     gridViewTextBoxColumn4.Width                  = 158;
     gridViewTextBoxColumn5.EnableExpressionEditor = false;
     gridViewTextBoxColumn5.FieldName              = "ListDescription";
     gridViewTextBoxColumn5.HeaderText             = "ListDescription";
     gridViewTextBoxColumn5.Name                   = "ListDescription";
     gridViewTextBoxColumn5.Width                  = 171;
     gridViewTextBoxColumn6.EnableExpressionEditor = false;
     gridViewTextBoxColumn6.FieldName              = "Status";
     gridViewTextBoxColumn6.HeaderText             = "Status";
     gridViewTextBoxColumn6.Name                   = "Status";
     gridViewTextBoxColumn6.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn6.Width                  = 100;
     gridViewTextBoxColumn7.EnableExpressionEditor = false;
     gridViewTextBoxColumn7.FieldName              = "ListRefNo";
     gridViewTextBoxColumn7.HeaderText             = "ListRefNo";
     gridViewTextBoxColumn7.Name                   = "ListRefNo";
     gridViewTextBoxColumn7.Width                  = 138;
     gridViewTextBoxColumn8.EnableExpressionEditor = false;
     gridViewTextBoxColumn8.FieldName              = "CreateDate";
     gridViewTextBoxColumn8.HeaderText             = "CreateDate";
     gridViewTextBoxColumn8.Name                   = "dgvCreateDate";
     gridViewTextBoxColumn8.ReadOnly               = true;
     gridViewTextBoxColumn8.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn8.Width                  = 107;
     gridViewTextBoxColumn9.EnableExpressionEditor = false;
     gridViewTextBoxColumn9.FieldName              = "CreateBy";
     gridViewTextBoxColumn9.HeaderText             = "CreateBy";
     gridViewTextBoxColumn9.Name                   = "dgvCreateBy";
     gridViewTextBoxColumn9.TextAlignment          = System.Drawing.ContentAlignment.MiddleCenter;
     gridViewTextBoxColumn9.Width                  = 87;
     this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
         gridViewTextBoxColumn1,
         gridViewTextBoxColumn2,
         gridViewTextBoxColumn3,
         gridViewTextBoxColumn4,
         gridViewTextBoxColumn5,
         gridViewTextBoxColumn6,
         gridViewTextBoxColumn7,
         gridViewTextBoxColumn8,
         gridViewTextBoxColumn9
     });
     this.radGridView1.MasterTemplate.SelectionMode  = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
     this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
     this.radGridView1.Name            = "radGridView1";
     this.radGridView1.ReadOnly        = true;
     this.radGridView1.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.radGridView1.ShowGroupPanel  = false;
     this.radGridView1.Size            = new System.Drawing.Size(764, 403);
     this.radGridView1.TabIndex        = 0;
     this.radGridView1.ThemeName       = "Office2010Blue";
     this.radGridView1.CellEndEdit    += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellEndEdit);
     this.radGridView1.CellClick      += new Telerik.WinControls.UI.GridViewCellEventHandler(this.radGridView1_CellClick);
     this.radGridView1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.radGridView1_PreviewKeyDown);
     //
     // radRibbonBarButtonGroup2
     //
     this.radRibbonBarButtonGroup2.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.btnFilter,
         this.Unfilter
     });
     this.radRibbonBarButtonGroup2.Name          = "radRibbonBarButtonGroup2";
     this.radRibbonBarButtonGroup2.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup2.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup2.ShowBackColor = false;
     this.radRibbonBarButtonGroup2.Text          = "radRibbonBarButtonGroup2";
     //
     // btnFilter
     //
     this.btnFilter.Image             = ((System.Drawing.Image)(resources.GetObject("btnFilter.Image")));
     this.btnFilter.Name              = "btnFilter";
     this.btnFilter.Text              = "Filter";
     this.btnFilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // Unfilter
     //
     this.Unfilter.Image             = ((System.Drawing.Image)(resources.GetObject("Unfilter.Image")));
     this.Unfilter.Name              = "Unfilter";
     this.Unfilter.Text              = "Un Filter";
     this.Unfilter.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     //
     // radRibbonBarButtonGroup5
     //
     this.radRibbonBarButtonGroup5.Name          = "radRibbonBarButtonGroup5";
     this.radRibbonBarButtonGroup5.Orientation   = System.Windows.Forms.Orientation.Vertical;
     this.radRibbonBarButtonGroup5.Padding       = new System.Windows.Forms.Padding(1);
     this.radRibbonBarButtonGroup5.ShowBackColor = false;
     this.radRibbonBarButtonGroup5.ShowBorder    = false;
     this.radRibbonBarButtonGroup5.Text          = "radRibbonBarButtonGroup4";
     //
     // radContextMenu1
     //
     this.radContextMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
         this.RMenu3,
         this.radMenuSeparatorItem2,
         this.RMenu4,
         this.RMenu5,
         this.RMenu6
     });
     this.radContextMenu1.ThemeName = "Office2010Blue";
     //
     // RMenu3
     //
     this.RMenu3.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu3.Image = ((System.Drawing.Image)(resources.GetObject("RMenu3.Image")));
     this.RMenu3.Name  = "RMenu3";
     this.RMenu3.Text  = "เพิ่มใหม่";
     //
     // radMenuSeparatorItem2
     //
     this.radMenuSeparatorItem2.Name          = "radMenuSeparatorItem2";
     this.radMenuSeparatorItem2.Text          = "radMenuSeparatorItem2";
     this.radMenuSeparatorItem2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RMenu4
     //
     this.RMenu4.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu4.Image = ((System.Drawing.Image)(resources.GetObject("RMenu4.Image")));
     this.RMenu4.Name  = "RMenu4";
     this.RMenu4.Text  = "แสดงรายการ";
     //
     // RMenu5
     //
     this.RMenu5.Font  = new System.Drawing.Font("Tahoma", 8.25F);
     this.RMenu5.Image = ((System.Drawing.Image)(resources.GetObject("RMenu5.Image")));
     this.RMenu5.Name  = "RMenu5";
     this.RMenu5.Text  = "แก้ไข";
     //
     // RMenu6
     //
     this.RMenu6.Font  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(222)));
     this.RMenu6.Image = ((System.Drawing.Image)(resources.GetObject("RMenu6.Image")));
     this.RMenu6.Name  = "RMenu6";
     this.RMenu6.Text  = "ลบรายการ";
     //
     // ListQueue
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(764, 589);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.radStatusStrip1);
     this.Controls.Add(this.radRibbonBar1);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "ListQueue";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "ListQueue";
     this.Load           += new System.EventHandler(this.Unit_Load);
     this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.Unit_PreviewKeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.radRibbonBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #59
0
ファイル: Form1.Designer.cs プロジェクト: GaikovM/Auto
        /// <summary>
        /// Требуемый метод для поддержки конструктора — не изменяйте 
        /// содержимое этого метода с помощью редактора кода.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radMenuItem1 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem5 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem6 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem2 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem3 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem4 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem8 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem9 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuSeparatorItem1 = new Telerik.WinControls.UI.RadMenuSeparatorItem();
            this.radMenuItem12 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem10 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem11 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem7 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem14 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenuItem13 = new Telerik.WinControls.UI.RadMenuItem();
            this.radMenu1 = new Telerik.WinControls.UI.RadMenu();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).BeginInit();
            this.SuspendLayout();
            // 
            // radGridView1
            // 
            this.radGridView1.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.radGridView1.Location = new System.Drawing.Point(0, 26);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.AllowSearchRow = true;
            this.radGridView1.MasterTemplate.EnableGrouping = false;
            this.radGridView1.MasterTemplate.EnablePaging = true;
            this.radGridView1.MasterTemplate.MultiSelect = true;
            this.radGridView1.MasterTemplate.SearchRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom;
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.ShowGroupPanel = false;
            this.radGridView1.Size = new System.Drawing.Size(848, 335);
            this.radGridView1.TabIndex = 0;
            this.radGridView1.Text = "radGridView1";
            this.radGridView1.UserAddedRow += new Telerik.WinControls.UI.GridViewRowEventHandler(this.RadGridView1UserAddedRow);
            this.radGridView1.UserDeletedRow += new Telerik.WinControls.UI.GridViewRowEventHandler(this.radGridView1_UserDeletedRow);
            this.radGridView1.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.RadGridView1CellValueChanged);
            // 
            // radMenuItem1
            // 
            this.radMenuItem1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem5,
            this.radMenuItem6});
            this.radMenuItem1.Name = "radMenuItem1";
            this.radMenuItem1.Text = "Файл";
            // 
            // radMenuItem5
            // 
            this.radMenuItem5.Name = "radMenuItem5";
            this.radMenuItem5.Text = "Сохранить";
            // 
            // radMenuItem6
            // 
            this.radMenuItem6.Name = "radMenuItem6";
            this.radMenuItem6.Text = "Закрыть";
            // 
            // radMenuItem2
            // 
            this.radMenuItem2.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem3,
            this.radMenuItem4,
            this.radMenuItem8,
            this.radMenuItem9,
            this.radMenuSeparatorItem1,
            this.radMenuItem12,
            this.radMenuItem10,
            this.radMenuItem11});
            this.radMenuItem2.Name = "radMenuItem2";
            this.radMenuItem2.Text = "Справочники";
            // 
            // radMenuItem3
            // 
            this.radMenuItem3.Name = "radMenuItem3";
            this.radMenuItem3.Text = "Контрагенты";
            this.radMenuItem3.Click += new System.EventHandler(this.radMenuItem3_Click);
            // 
            // radMenuItem4
            // 
            this.radMenuItem4.Name = "radMenuItem4";
            this.radMenuItem4.Text = "Цвета";
            this.radMenuItem4.Click += new System.EventHandler(this.radMenuItem4_Click);
            // 
            // radMenuItem8
            // 
            this.radMenuItem8.Name = "radMenuItem8";
            this.radMenuItem8.Text = "Валюты";
            this.radMenuItem8.Click += new System.EventHandler(this.radMenuItem8_Click);
            // 
            // radMenuItem9
            // 
            this.radMenuItem9.Name = "radMenuItem9";
            this.radMenuItem9.Text = "Еденицы измерения";
            this.radMenuItem9.Click += new System.EventHandler(this.radMenuItem9_Click);
            // 
            // radMenuSeparatorItem1
            // 
            this.radMenuSeparatorItem1.Name = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.Text = "radMenuSeparatorItem1";
            this.radMenuSeparatorItem1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // radMenuItem12
            // 
            this.radMenuItem12.Name = "radMenuItem12";
            this.radMenuItem12.Text = "Договоры";
            this.radMenuItem12.Click += new System.EventHandler(this.radMenuItem12_Click);
            // 
            // radMenuItem10
            // 
            this.radMenuItem10.Name = "radMenuItem10";
            this.radMenuItem10.Text = "Типы заказов";
            this.radMenuItem10.Click += new System.EventHandler(this.radMenuItem10_Click_1);
            // 
            // radMenuItem11
            // 
            this.radMenuItem11.Name = "radMenuItem11";
            this.radMenuItem11.Text = "Типы цен";
            this.radMenuItem11.Click += new System.EventHandler(this.radMenuItem11_Click_1);
            // 
            // radMenuItem7
            // 
            this.radMenuItem7.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem14});
            this.radMenuItem7.Name = "radMenuItem7";
            this.radMenuItem7.Text = "Заказы";
            // 
            // radMenuItem14
            // 
            this.radMenuItem14.Name = "radMenuItem14";
            this.radMenuItem14.Text = "Заказы покупателей";
            this.radMenuItem14.Click += new System.EventHandler(this.radMenuItem14_Click);
            // 
            // radMenuItem13
            // 
            this.radMenuItem13.Name = "radMenuItem13";
            this.radMenuItem13.Text = "О программе";
            // 
            // radMenu1
            // 
            this.radMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem1,
            this.radMenuItem2,
            this.radMenuItem7,
            this.radMenuItem13});
            this.radMenu1.Location = new System.Drawing.Point(0, 0);
            this.radMenu1.Name = "radMenu1";
            this.radMenu1.Size = new System.Drawing.Size(848, 20);
            this.radMenu1.TabIndex = 1;
            this.radMenu1.Text = "radMenu1";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(848, 361);
            this.Controls.Add(this.radMenu1);
            this.Controls.Add(this.radGridView1);
            this.Name = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "АвтоСалон";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMenu1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #60
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
            this.gvBatchBarns = new Telerik.WinControls.UI.RadGridView();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.lbBatchBarnTitle = new Telerik.WinControls.UI.RadLabel();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchBarns)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchBarns.MasterTemplate)).BeginInit();
            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbBatchBarnTitle)).BeginInit();
            this.SuspendLayout();
            // 
            // gvBatchBarns
            // 
            this.gvBatchBarns.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gvBatchBarns.Location = new System.Drawing.Point(3, 53);
            // 
            // 
            // 
            this.gvBatchBarns.MasterTemplate.AllowAddNewRow = false;
            this.gvBatchBarns.MasterTemplate.AllowColumnReorder = false;
            this.gvBatchBarns.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn1.FieldName = "BarnName";
            gridViewTextBoxColumn1.HeaderText = "Galpón";
            gridViewTextBoxColumn1.Name = "BarnName";
            gridViewTextBoxColumn1.Width = 418;
            gridViewTextBoxColumn2.FieldName = "InitialBirds";
            gridViewTextBoxColumn2.HeaderText = "Aves Iniciales";
            gridViewTextBoxColumn2.Name = "InitialBirds";
            gridViewTextBoxColumn2.Width = 321;
            this.gvBatchBarns.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn1,
            gridViewTextBoxColumn2});
            this.gvBatchBarns.MasterTemplate.ViewDefinition = tableViewDefinition1;
            this.gvBatchBarns.Name = "gvBatchBarns";
            this.gvBatchBarns.ReadOnly = true;
            this.gvBatchBarns.ShowGroupPanel = false;
            this.gvBatchBarns.Size = new System.Drawing.Size(758, 136);
            this.gvBatchBarns.TabIndex = 85;
            this.gvBatchBarns.Text = "radGridView1";
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.AutoSize = true;
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.lbBatchBarnTitle, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.gvBatchBarns, 0, 1);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(764, 192);
            this.tableLayoutPanel1.TabIndex = 86;
            // 
            // lbBatchBarnTitle
            // 
            this.lbBatchBarnTitle.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbBatchBarnTitle.Location = new System.Drawing.Point(3, 3);
            this.lbBatchBarnTitle.Name = "lbBatchBarnTitle";
            this.lbBatchBarnTitle.Size = new System.Drawing.Size(192, 41);
            this.lbBatchBarnTitle.TabIndex = 86;
            this.lbBatchBarnTitle.Text = "{{Batch Title}}";
            // 
            // UcBatchBarnDetails
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.Controls.Add(this.tableLayoutPanel1);
            this.Name = "UcBatchBarnDetails";
            this.Size = new System.Drawing.Size(764, 192);
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchBarns.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvBatchBarns)).EndInit();
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.lbBatchBarnTitle)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }