/// <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 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.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grvItems = new Telerik.WinControls.UI.RadGridView(); this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox(); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.labratoryDescriptionTextBox = new Telerik.WinControls.UI.RadTextBox(); this.srcItem = new System.Windows.Forms.BindingSource(this.components); this.labratoryAddressTextBox = new Telerik.WinControls.UI.RadTextBox(); this.labratoryPhone2TextBox = new Telerik.WinControls.UI.RadTextBox(); this.labratoryPhone1TextBox = new Telerik.WinControls.UI.RadTextBox(); this.txtName = new Telerik.WinControls.UI.RadTextBox(); this.radLabel7 = new Telerik.WinControls.UI.RadLabel(); this.radLabel8 = new Telerik.WinControls.UI.RadLabel(); this.radLabel9 = new Telerik.WinControls.UI.RadLabel(); this.radLabel10 = new Telerik.WinControls.UI.RadLabel(); this.radLabel12 = new Telerik.WinControls.UI.RadLabel(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.btnSave = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit(); this.radGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryDescriptionTextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryAddressTextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryPhone2TextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryPhone1TextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); this.SuspendLayout(); // // 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.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox1.Controls.Add(this.ucFilter1); this.radGroupBox1.Controls.Add(this.grvItems); this.radGroupBox1.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "لابراتوارهای تعریف شده:"; this.radGroupBox1.Location = new System.Drawing.Point(3, 3); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox1.Size = new System.Drawing.Size(473, 416); this.radGroupBox1.TabIndex = 21; this.radGroupBox1.Text = "لابراتوارهای تعریف شده:"; // // ucFilter1 // this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ucFilter1.Location = new System.Drawing.Point(6, 29); this.ucFilter1.Margin = new System.Windows.Forms.Padding(4); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(464, 25); this.ucFilter1.TabIndex = 16; // // grvItems // this.grvItems.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.grvItems.EnableHotTracking = false; this.grvItems.EnableTheming = false; this.grvItems.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold); this.grvItems.Location = new System.Drawing.Point(5, 55); // // grvItems // this.grvItems.MasterTemplate.AllowAddNewRow = false; this.grvItems.MasterTemplate.AllowCellContextMenu = false; this.grvItems.MasterTemplate.AllowColumnChooser = false; this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grvItems.MasterTemplate.AllowColumnReorder = false; this.grvItems.MasterTemplate.AllowDeleteRow = false; this.grvItems.MasterTemplate.AllowDragToGroup = false; this.grvItems.MasterTemplate.AllowEditRow = false; this.grvItems.MasterTemplate.AllowRowResize = false; this.grvItems.MasterTemplate.AutoGenerateColumns = false; this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn5.FieldName = "Title"; gridViewTextBoxColumn5.HeaderText = "نام"; gridViewTextBoxColumn5.Name = "column1"; gridViewTextBoxColumn5.Width = 241; gridViewTextBoxColumn6.FieldName = "Phone1"; gridViewTextBoxColumn6.HeaderText = "تلفن "; gridViewTextBoxColumn6.Name = "column2"; gridViewTextBoxColumn6.Width = 46; gridViewTextBoxColumn7.FieldName = "Address"; gridViewTextBoxColumn7.HeaderText = "آدرس"; gridViewTextBoxColumn7.Name = "column5"; gridViewTextBoxColumn7.Width = 74; gridViewTextBoxColumn8.FieldName = "Description"; gridViewTextBoxColumn8.HeaderText = "توضیح"; gridViewTextBoxColumn8.Name = "column3"; gridViewTextBoxColumn8.Width = 55; gridViewCommandColumn2.AllowResize = false; gridViewCommandColumn2.HeaderText = "حذف"; gridViewCommandColumn2.Name = "column4"; gridViewCommandColumn2.Width = 30; this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn5, gridViewTextBoxColumn6, gridViewTextBoxColumn7, gridViewTextBoxColumn8, gridViewCommandColumn2}); this.grvItems.MasterTemplate.EnableGrouping = false; this.grvItems.MasterTemplate.EnableSorting = false; this.grvItems.MasterTemplate.ShowFilteringRow = false; this.grvItems.Name = "grvItems"; this.grvItems.ReadOnly = true; this.grvItems.ShowCellErrors = false; this.grvItems.ShowNoDataText = false; this.grvItems.ShowRowErrors = false; this.grvItems.Size = new System.Drawing.Size(463, 356); this.grvItems.TabIndex = 15; this.grvItems.TabStop = false; this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting); this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging); this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged); this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick); this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown); // // 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.Right))); this.radGroupBox2.Controls.Add(this.btnAdd); this.radGroupBox2.Controls.Add(this.btnNew); this.radGroupBox2.Controls.Add(this.labratoryDescriptionTextBox); this.radGroupBox2.Controls.Add(this.labratoryAddressTextBox); this.radGroupBox2.Controls.Add(this.labratoryPhone2TextBox); this.radGroupBox2.Controls.Add(this.labratoryPhone1TextBox); this.radGroupBox2.Controls.Add(this.txtName); this.radGroupBox2.Controls.Add(this.radLabel7); this.radGroupBox2.Controls.Add(this.radLabel8); this.radGroupBox2.Controls.Add(this.radLabel9); this.radGroupBox2.Controls.Add(this.radLabel10); this.radGroupBox2.Controls.Add(this.radLabel12); this.radGroupBox2.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold); this.radGroupBox2.FooterImageIndex = -1; this.radGroupBox2.FooterImageKey = ""; this.radGroupBox2.HeaderImageIndex = -1; this.radGroupBox2.HeaderImageKey = ""; this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox2.HeaderText = "تعریف لابراتوار"; this.radGroupBox2.Location = new System.Drawing.Point(482, 3); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox2.Size = new System.Drawing.Size(310, 372); this.radGroupBox2.TabIndex = 20; this.radGroupBox2.Text = "تعریف لابراتوار"; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(132, 328); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(120, 35); this.btnAdd.TabIndex = 18; this.btnAdd.Text = "افزودن"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(5, 328); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(120, 35); this.btnNew.TabIndex = 19; this.btnNew.Text = "جدید"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // labratoryDescriptionTextBox // this.labratoryDescriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labratoryDescriptionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Description", true)); this.labratoryDescriptionTextBox.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labratoryDescriptionTextBox.Location = new System.Drawing.Point(5, 138); this.labratoryDescriptionTextBox.Multiline = true; this.labratoryDescriptionTextBox.Name = "labratoryDescriptionTextBox"; // // // this.labratoryDescriptionTextBox.RootElement.StretchVertically = true; this.labratoryDescriptionTextBox.Size = new System.Drawing.Size(247, 184); this.labratoryDescriptionTextBox.TabIndex = 17; this.labratoryDescriptionTextBox.TabStop = false; this.labratoryDescriptionTextBox.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.labratoryDescriptionTextBox_TextChanging); this.labratoryDescriptionTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // srcItem // this.srcItem.DataSource = typeof(Shayan.Data.Labratory); // // labratoryAddressTextBox // this.labratoryAddressTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labratoryAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Address", true)); this.labratoryAddressTextBox.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labratoryAddressTextBox.Location = new System.Drawing.Point(5, 107); this.labratoryAddressTextBox.Name = "labratoryAddressTextBox"; this.labratoryAddressTextBox.Size = new System.Drawing.Size(247, 25); this.labratoryAddressTextBox.TabIndex = 16; this.labratoryAddressTextBox.TabStop = false; this.labratoryAddressTextBox.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.labratoryAddressTextBox_TextChanging); this.labratoryAddressTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // labratoryPhone2TextBox // this.labratoryPhone2TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labratoryPhone2TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Phone2", true)); this.labratoryPhone2TextBox.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labratoryPhone2TextBox.Location = new System.Drawing.Point(5, 81); this.labratoryPhone2TextBox.Name = "labratoryPhone2TextBox"; this.labratoryPhone2TextBox.Size = new System.Drawing.Size(247, 25); this.labratoryPhone2TextBox.TabIndex = 15; this.labratoryPhone2TextBox.TabStop = false; this.labratoryPhone2TextBox.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.labratoryPhone2TextBox_TextChanging); this.labratoryPhone2TextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // labratoryPhone1TextBox // this.labratoryPhone1TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labratoryPhone1TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Phone1", true)); this.labratoryPhone1TextBox.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labratoryPhone1TextBox.Location = new System.Drawing.Point(5, 55); this.labratoryPhone1TextBox.Name = "labratoryPhone1TextBox"; this.labratoryPhone1TextBox.Size = new System.Drawing.Size(247, 25); this.labratoryPhone1TextBox.TabIndex = 14; this.labratoryPhone1TextBox.TabStop = false; this.labratoryPhone1TextBox.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.labratoryPhone1TextBox_TextChanging); this.labratoryPhone1TextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // txtName // this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Title", true)); this.txtName.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtName.Location = new System.Drawing.Point(5, 29); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(247, 25); this.txtName.TabIndex = 13; this.txtName.TabStop = false; this.txtName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtName_TextChanging); this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel7 // this.radLabel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel7.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel7.Location = new System.Drawing.Point(263, 136); this.radLabel7.Name = "radLabel7"; this.radLabel7.Size = new System.Drawing.Size(38, 23); this.radLabel7.TabIndex = 12; this.radLabel7.Text = "توضیح:"; this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel8 // this.radLabel8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel8.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel8.Location = new System.Drawing.Point(266, 107); this.radLabel8.Name = "radLabel8"; this.radLabel8.Size = new System.Drawing.Size(35, 23); this.radLabel8.TabIndex = 11; this.radLabel8.Text = "آدرس:"; this.radLabel8.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel9 // this.radLabel9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel9.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel9.Location = new System.Drawing.Point(265, 83); this.radLabel9.Name = "radLabel9"; this.radLabel9.Size = new System.Drawing.Size(35, 23); this.radLabel9.TabIndex = 10; this.radLabel9.Text = "تلفن2:"; this.radLabel9.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel10 // this.radLabel10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel10.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel10.Location = new System.Drawing.Point(267, 57); this.radLabel10.Name = "radLabel10"; this.radLabel10.Size = new System.Drawing.Size(33, 23); this.radLabel10.TabIndex = 9; this.radLabel10.Text = "تلفن1:"; this.radLabel10.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel12 // this.radLabel12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel12.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel12.Location = new System.Drawing.Point(279, 32); this.radLabel12.Name = "radLabel12"; this.radLabel12.Size = new System.Drawing.Size(21, 23); this.radLabel12.TabIndex = 8; this.radLabel12.Text = "نام:"; this.radLabel12.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(487, 384); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(120, 35); this.btnCancel.TabIndex = 21; this.btnCancel.Text = "انصراف"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(614, 384); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(120, 35); this.btnSave.TabIndex = 20; this.btnSave.Text = "ذخیره"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // UCDefineLabratory // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnSave); this.Controls.Add(this.radGroupBox1); this.Controls.Add(this.radGroupBox2); this.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "UCDefineLabratory"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(795, 425); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit(); this.radGroupBox2.ResumeLayout(false); this.radGroupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryDescriptionTextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryAddressTextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryPhone2TextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labratoryPhone1TextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.radGroupBox6 = new Telerik.WinControls.UI.RadGroupBox(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grvItems = new Telerik.WinControls.UI.RadGridView(); this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox(); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.radLabel20 = new Telerik.WinControls.UI.RadLabel(); this.radLabel22 = new Telerik.WinControls.UI.RadLabel(); this.txtManual = new Telerik.WinControls.UI.RadTextBox(); this.srcItem = new System.Windows.Forms.BindingSource(this.components); this.txtName = new Telerik.WinControls.UI.RadTextBox(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.btnCancel = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).BeginInit(); this.radGroupBox6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit(); this.radGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtManual)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); this.SuspendLayout(); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(470, 249); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(144, 35); this.btnSave.TabIndex = 4; this.btnSave.Text = "ذخیره"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(5, 171); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(144, 35); this.btnNew.TabIndex = 3; this.btnNew.Text = "جدید"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // radGroupBox6 // this.radGroupBox6.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox6.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.radGroupBox6.Controls.Add(this.ucFilter1); this.radGroupBox6.Controls.Add(this.grvItems); this.radGroupBox6.Font = new System.Drawing.Font("B Nazanin", 8.25F); this.radGroupBox6.FooterImageIndex = -1; this.radGroupBox6.FooterImageKey = ""; this.radGroupBox6.HeaderImageIndex = -1; this.radGroupBox6.HeaderImageKey = ""; this.radGroupBox6.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox6.HeaderText = "داروها"; this.radGroupBox6.Location = new System.Drawing.Point(12, 3); this.radGroupBox6.Name = "radGroupBox6"; this.radGroupBox6.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.radGroupBox6.RootElement.MinSize = new System.Drawing.Size(0, 0); this.radGroupBox6.Size = new System.Drawing.Size(292, 281); this.radGroupBox6.TabIndex = 20; this.radGroupBox6.TabStop = false; this.radGroupBox6.Text = "داروها"; // // ucFilter1 // this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ucFilter1.Location = new System.Drawing.Point(5, 21); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(282, 27); this.ucFilter1.TabIndex = 14; // // grvItems // this.grvItems.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.grvItems.Font = new System.Drawing.Font("B Nazanin", 9.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grvItems.Location = new System.Drawing.Point(5, 52); // // grvItems // this.grvItems.MasterTemplate.AllowAddNewRow = false; this.grvItems.MasterTemplate.AllowCellContextMenu = false; this.grvItems.MasterTemplate.AllowColumnChooser = false; this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grvItems.MasterTemplate.AllowColumnReorder = false; this.grvItems.MasterTemplate.AllowDeleteRow = false; this.grvItems.MasterTemplate.AllowDragToGroup = false; this.grvItems.MasterTemplate.AllowEditRow = false; this.grvItems.MasterTemplate.AllowRowResize = false; this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn1.FieldName = "Title"; gridViewTextBoxColumn1.HeaderText = "نام دارو"; gridViewTextBoxColumn1.Name = "column1"; gridViewTextBoxColumn1.Width = 232; gridViewCommandColumn1.AllowHide = false; gridViewCommandColumn1.AllowReorder = false; gridViewCommandColumn1.AllowResize = false; gridViewCommandColumn1.AllowSort = false; gridViewCommandColumn1.HeaderText = "حذف"; gridViewCommandColumn1.Name = "column2"; gridViewCommandColumn1.Width = 30; this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn1, gridViewCommandColumn1}); this.grvItems.MasterTemplate.EnableGrouping = false; this.grvItems.MasterTemplate.EnableSorting = false; this.grvItems.Name = "grvItems"; this.grvItems.ReadOnly = true; this.grvItems.Size = new System.Drawing.Size(282, 224); this.grvItems.TabIndex = 13; this.grvItems.ViewRowFormatting += new Telerik.WinControls.UI.RowFormattingEventHandler(this.grvItems_ViewRowFormatting); this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting); this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging); this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged); this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick); this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown); // // radGroupBox4 // this.radGroupBox4.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox4.Controls.Add(this.btnAdd); this.radGroupBox4.Controls.Add(this.btnNew); this.radGroupBox4.Controls.Add(this.radLabel20); this.radGroupBox4.Controls.Add(this.radLabel22); this.radGroupBox4.Controls.Add(this.txtManual); this.radGroupBox4.Controls.Add(this.txtName); this.radGroupBox4.Font = new System.Drawing.Font("B Nazanin", 8.25F); this.radGroupBox4.FooterImageIndex = -1; this.radGroupBox4.FooterImageKey = ""; this.radGroupBox4.HeaderImageIndex = -1; this.radGroupBox4.HeaderImageKey = ""; this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox4.HeaderText = "تعریف"; this.radGroupBox4.Location = new System.Drawing.Point(310, 0); this.radGroupBox4.Name = "radGroupBox4"; this.radGroupBox4.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.radGroupBox4.RootElement.MinSize = new System.Drawing.Size(0, 0); this.radGroupBox4.Size = new System.Drawing.Size(311, 215); this.radGroupBox4.TabIndex = 19; this.radGroupBox4.TabStop = false; this.radGroupBox4.Text = "تعریف"; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(160, 171); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(144, 35); this.btnAdd.TabIndex = 2; this.btnAdd.Text = "افزودن"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // radLabel20 // this.radLabel20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel20.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel20.Location = new System.Drawing.Point(262, 26); this.radLabel20.Name = "radLabel20"; this.radLabel20.Size = new System.Drawing.Size(43, 23); this.radLabel20.TabIndex = 11; this.radLabel20.Text = "نام دارو :"; this.radLabel20.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel22 // this.radLabel22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel22.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel22.Location = new System.Drawing.Point(245, 52); this.radLabel22.Name = "radLabel22"; this.radLabel22.Size = new System.Drawing.Size(61, 23); this.radLabel22.TabIndex = 9; this.radLabel22.Text = "نحوه مصرف :"; this.radLabel22.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtManual // this.txtManual.AcceptsReturn = true; this.txtManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtManual.AutoScroll = true; this.txtManual.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Manual", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.txtManual.Font = new System.Drawing.Font("B Nazanin", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtManual.Location = new System.Drawing.Point(5, 55); this.txtManual.Multiline = true; this.txtManual.Name = "txtManual"; // // // this.txtManual.RootElement.StretchVertically = true; this.txtManual.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtManual.Size = new System.Drawing.Size(239, 110); this.txtManual.TabIndex = 1; this.txtManual.TabStop = false; this.txtManual.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtManual_TextChanging); // // srcItem // this.srcItem.DataSource = typeof(Shayan.Data.Drug); // // txtName // this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Title", true)); this.txtName.Font = new System.Drawing.Font("B Nazanin", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtName.Location = new System.Drawing.Point(5, 22); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(239, 27); this.txtName.TabIndex = 0; this.txtName.TabStop = false; this.txtName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtName_TextChanging); this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(315, 249); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(144, 35); this.btnCancel.TabIndex = 5; this.btnCancel.Text = "انصراف"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // UCDrug // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnSave); this.Controls.Add(this.radGroupBox6); this.Controls.Add(this.radGroupBox4); this.Name = "UCDrug"; this.Size = new System.Drawing.Size(628, 295); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).EndInit(); this.radGroupBox6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit(); this.radGroupBox4.ResumeLayout(false); this.radGroupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtManual)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn(); Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn1 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn2 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn(); this.serviceBindingSource = new System.Windows.Forms.BindingSource(this.components); this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox(); this.filteringPanel = new Telerik.WinControls.UI.RadPanel(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grdInsurance = new Telerik.WinControls.UI.RadGridView(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.grdFee = new Telerik.WinControls.UI.RadGridView(); this.insuranceBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.roleTitleLabel = new Telerik.WinControls.UI.RadLabel(); this.txtInssuranceName = new Telerik.WinControls.UI.RadTextBox(); ((System.ComponentModel.ISupportInitialize)(this.serviceBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit(); this.radGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.filteringPanel)).BeginInit(); this.filteringPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdInsurance)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdFee)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.insuranceBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtInssuranceName)).BeginInit(); this.SuspendLayout(); // // serviceBindingSource // this.serviceBindingSource.DataSource = typeof(Shayan.Data.Service); // // 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.filteringPanel); this.radGroupBox2.Controls.Add(this.grdInsurance); this.radGroupBox2.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox2.FooterImageIndex = -1; this.radGroupBox2.FooterImageKey = ""; this.radGroupBox2.HeaderImageIndex = -1; this.radGroupBox2.HeaderImageKey = ""; this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox2.HeaderText = "بیمه های ذخیره شده"; this.radGroupBox2.Location = new System.Drawing.Point(3, 3); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); // // // this.radGroupBox2.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.radGroupBox2.Size = new System.Drawing.Size(204, 358); this.radGroupBox2.TabIndex = 18; this.radGroupBox2.Text = "بیمه های ذخیره شده"; // // filteringPanel // this.filteringPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.filteringPanel.Controls.Add(this.ucFilter1); this.filteringPanel.Location = new System.Drawing.Point(5, 26); this.filteringPanel.Name = "filteringPanel"; this.filteringPanel.Size = new System.Drawing.Size(194, 32); this.filteringPanel.TabIndex = 12; // // ucFilter1 // this.ucFilter1.Dock = System.Windows.Forms.DockStyle.Fill; this.ucFilter1.Location = new System.Drawing.Point(0, 0); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(194, 32); this.ucFilter1.TabIndex = 0; // // grdInsurance // this.grdInsurance.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.grdInsurance.AutoScroll = true; this.grdInsurance.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grdInsurance.Location = new System.Drawing.Point(5, 64); // // grdInsurance // this.grdInsurance.MasterTemplate.AllowAddNewRow = false; this.grdInsurance.MasterTemplate.AllowCellContextMenu = false; this.grdInsurance.MasterTemplate.AllowColumnChooser = false; this.grdInsurance.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grdInsurance.MasterTemplate.AllowColumnReorder = false; this.grdInsurance.MasterTemplate.AllowDeleteRow = false; this.grdInsurance.MasterTemplate.AllowDragToGroup = false; this.grdInsurance.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn1.FieldName = "Title"; gridViewTextBoxColumn1.HeaderText = "عنوان بیمه"; gridViewTextBoxColumn1.Name = "Title"; gridViewTextBoxColumn1.Width = 163; gridViewCommandColumn1.AllowHide = false; gridViewCommandColumn1.AllowReorder = false; gridViewCommandColumn1.AllowResize = false; gridViewCommandColumn1.AllowSort = false; gridViewCommandColumn1.HeaderText = "حذف"; gridViewCommandColumn1.Name = "column3"; gridViewCommandColumn1.Width = 30; this.grdInsurance.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn1, gridViewCommandColumn1}); this.grdInsurance.MasterTemplate.EnableGrouping = false; this.grdInsurance.MasterTemplate.ShowFilteringRow = false; this.grdInsurance.MasterTemplate.ShowRowHeaderColumn = false; this.grdInsurance.Name = "grdInsurance"; this.grdInsurance.ReadOnly = true; this.grdInsurance.ShowGroupPanel = false; this.grdInsurance.Size = new System.Drawing.Size(194, 284); this.grdInsurance.TabIndex = 0; this.grdInsurance.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grdInsurance_CellFormatting); this.grdInsurance.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grdInsurance_CurrentRowChanging); this.grdInsurance.SelectionChanged += new System.EventHandler(this.grdInsurance_SelectionChanged); this.grdInsurance.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grdInsurance_CommandCellClick); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(494, 363); this.btnSave.Name = "btnSave"; this.btnSave.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnSave.Size = new System.Drawing.Size(100, 35); this.btnSave.TabIndex = 0; this.btnSave.Text = "ذخیره "; this.btnSave.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(390, 363); this.btnCancel.Name = "btnCancel"; this.btnCancel.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnCancel.Size = new System.Drawing.Size(100, 35); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "انصراف "; this.btnCancel.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.Click += new System.EventHandler(this.btnExit_Click); // // 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.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox1.Controls.Add(this.grdFee); this.radGroupBox1.Controls.Add(this.btnAdd); this.radGroupBox1.Controls.Add(this.btnNew); this.radGroupBox1.Controls.Add(this.roleTitleLabel); this.radGroupBox1.Controls.Add(this.txtInssuranceName); this.radGroupBox1.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "تعریف بیمه"; this.radGroupBox1.Location = new System.Drawing.Point(213, 3); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); // // // this.radGroupBox1.RootElement.MinSize = new System.Drawing.Size(0, 0); this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.radGroupBox1.Size = new System.Drawing.Size(386, 358); this.radGroupBox1.TabIndex = 15; this.radGroupBox1.Text = "تعریف بیمه"; // // grdFee // this.grdFee.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.grdFee.AutoScroll = true; this.grdFee.DataBindings.Add(new System.Windows.Forms.Binding("DataSource", this.insuranceBindingSource, "InsuranceDefs", true)); this.grdFee.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grdFee.Location = new System.Drawing.Point(5, 76); // // grdFee // this.grdFee.MasterTemplate.AllowAddNewRow = false; this.grdFee.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewComboBoxColumn1.DataSource = this.serviceBindingSource; gridViewComboBoxColumn1.DisplayMember = "Title"; gridViewComboBoxColumn1.FieldName = "ServiceId"; gridViewComboBoxColumn1.HeaderText = "نام خدمات"; gridViewComboBoxColumn1.Name = "ServiceName"; gridViewComboBoxColumn1.ReadOnly = true; gridViewComboBoxColumn1.ValueMember = "Id"; gridViewComboBoxColumn1.Width = 174; gridViewComboBoxColumn2.DataSource = this.serviceBindingSource; gridViewComboBoxColumn2.DisplayMember = "Price"; gridViewComboBoxColumn2.FieldName = "ServiceId"; gridViewComboBoxColumn2.FormatString = "{0:N0}"; gridViewComboBoxColumn2.HeaderText = "قیمت"; gridViewComboBoxColumn2.Name = "Price"; gridViewComboBoxColumn2.ReadOnly = true; gridViewComboBoxColumn2.ValueMember = "Id"; gridViewComboBoxColumn2.Width = 101; gridViewDecimalColumn1.FieldName = "Fee"; gridViewDecimalColumn1.FormatString = "{0:N0}"; gridViewDecimalColumn1.HeaderText = "تعرفه بیمه"; gridViewDecimalColumn1.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0}); gridViewDecimalColumn1.Minimum = new decimal(new int[] { 0, 0, 0, 0}); gridViewDecimalColumn1.Name = "column3"; gridViewDecimalColumn1.Width = 102; this.grdFee.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewComboBoxColumn1, gridViewComboBoxColumn2, gridViewDecimalColumn1}); this.grdFee.MasterTemplate.ShowRowHeaderColumn = false; this.grdFee.Name = "grdFee"; this.grdFee.ShowGroupPanel = false; this.grdFee.Size = new System.Drawing.Size(376, 231); this.grdFee.TabIndex = 1; this.grdFee.Text = "radGridView1"; // // insuranceBindingSource // this.insuranceBindingSource.DataSource = typeof(Shayan.Data.Insurance); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(281, 318); this.btnAdd.Name = "btnAdd"; this.btnAdd.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnAdd.Size = new System.Drawing.Size(100, 35); this.btnAdd.TabIndex = 3; this.btnAdd.Text = "افزودن "; this.btnAdd.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(177, 318); this.btnNew.Name = "btnNew"; this.btnNew.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnNew.Size = new System.Drawing.Size(100, 35); this.btnNew.TabIndex = 4; this.btnNew.Text = "جدید "; this.btnNew.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnNew.Click += new System.EventHandler(this.btnCancel_Click); // // roleTitleLabel // this.roleTitleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.roleTitleLabel.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.roleTitleLabel.Location = new System.Drawing.Point(347, 35); this.roleTitleLabel.Name = "roleTitleLabel"; this.roleTitleLabel.Size = new System.Drawing.Size(34, 23); this.roleTitleLabel.TabIndex = 3; this.roleTitleLabel.Text = "عنوان:"; this.roleTitleLabel.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtInssuranceName // this.txtInssuranceName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtInssuranceName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.insuranceBindingSource, "Title", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.txtInssuranceName.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtInssuranceName.Location = new System.Drawing.Point(172, 34); this.txtInssuranceName.Name = "txtInssuranceName"; this.txtInssuranceName.Size = new System.Drawing.Size(172, 25); this.txtInssuranceName.TabIndex = 0; this.txtInssuranceName.TabStop = false; this.txtInssuranceName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtInssuranceName_TextChanging); // // UCInssurance // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.radGroupBox2); this.Controls.Add(this.btnSave); this.Controls.Add(this.btnCancel); this.Controls.Add(this.radGroupBox1); this.Name = "UCInssurance"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(602, 401); ((System.ComponentModel.ISupportInitialize)(this.serviceBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit(); this.radGroupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.filteringPanel)).EndInit(); this.filteringPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdInsurance)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); this.radGroupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdFee)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.insuranceBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtInssuranceName)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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.GridViewCommandColumn gridViewCommandColumn2 = new Telerik.WinControls.UI.GridViewCommandColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn2 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn8 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); this.patientListGroupBox = new Telerik.WinControls.UI.RadGroupBox(); this.filteringPanel = new Telerik.WinControls.UI.RadPanel(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grdPatient = new Telerik.WinControls.UI.RadGridView(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.lstIns = new Telerik.WinControls.UI.RadGridView(); this.radLabel11 = new Telerik.WinControls.UI.RadLabel(); this.dpBirthDate = new FarsiLibrary.Win.Controls.FADatePicker(); this.patientBindingSource = new System.Windows.Forms.BindingSource(this.components); this.txtPhone1 = new Telerik.WinControls.UI.RadTextBox(); this.txtPhone2 = new Telerik.WinControls.UI.RadTextBox(); this.txtAge = new Telerik.WinControls.UI.RadMaskedEditBox(); this.lblAge = new Telerik.WinControls.UI.RadLabel(); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.txtCode = new Telerik.WinControls.UI.RadTextBox(); this.radLabel12 = new Telerik.WinControls.UI.RadLabel(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox(); this.radLabel6 = new Telerik.WinControls.UI.RadLabel(); this.radLabel13 = new Telerik.WinControls.UI.RadLabel(); this.radCheckBox12 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox11 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox13 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox8 = new Telerik.WinControls.UI.RadCheckBox(); this.radTextBox4 = new Telerik.WinControls.UI.RadTextBox(); this.radCheckBox5 = new Telerik.WinControls.UI.RadCheckBox(); this.radTextBox5 = new Telerik.WinControls.UI.RadTextBox(); this.radCheckBox7 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox3 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox4 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox9 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox10 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox6 = new Telerik.WinControls.UI.RadCheckBox(); this.radCheckBox2 = new Telerik.WinControls.UI.RadCheckBox(); this.patientHepatitCheckBox = new Telerik.WinControls.UI.RadCheckBox(); this.patientPregnancyCheckBox = new Telerik.WinControls.UI.RadCheckBox(); this.radLabel10 = new Telerik.WinControls.UI.RadLabel(); this.radLabel9 = new Telerik.WinControls.UI.RadLabel(); this.radLabel8 = new Telerik.WinControls.UI.RadLabel(); this.radLabel2 = new Telerik.WinControls.UI.RadLabel(); this.radLabel7 = new Telerik.WinControls.UI.RadLabel(); this.txtLastName = new Telerik.WinControls.UI.RadTextBox(); this.txtFirstName = new Telerik.WinControls.UI.RadTextBox(); this.radLabel1 = new Telerik.WinControls.UI.RadLabel(); this.txtDescription = new Telerik.WinControls.UI.RadTextBox(); this.txtAddress = new Telerik.WinControls.UI.RadTextBox(); this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox(); this.btnHistory = new Telerik.WinControls.UI.RadButton(); this.btnDocs = new Telerik.WinControls.UI.RadButton(); this.radGroupBox3 = new Telerik.WinControls.UI.RadGroupBox(); this.radLabel4 = new Telerik.WinControls.UI.RadLabel(); this.radCheckBox14 = new Telerik.WinControls.UI.RadCheckBox(); this.radTextBox2 = new Telerik.WinControls.UI.RadTextBox(); this.radTextBox1 = new Telerik.WinControls.UI.RadTextBox(); this.radTextBox3 = new Telerik.WinControls.UI.RadTextBox(); this.radLabel5 = new Telerik.WinControls.UI.RadLabel(); this.radLabel3 = new Telerik.WinControls.UI.RadLabel(); ((System.ComponentModel.ISupportInitialize)(this.patientListGroupBox)).BeginInit(); this.patientListGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.filteringPanel)).BeginInit(); this.filteringPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdPatient)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPatient.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lstIns)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lstIns.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.patientBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAge)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblAge)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.patientHepatitCheckBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.patientPregnancyCheckBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLastName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFirstName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit(); this.radGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnHistory)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDocs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).BeginInit(); this.radGroupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // patientListGroupBox // this.patientListGroupBox.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.patientListGroupBox.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.patientListGroupBox.Controls.Add(this.filteringPanel); this.patientListGroupBox.Controls.Add(this.grdPatient); this.patientListGroupBox.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.patientListGroupBox.FooterImageIndex = -1; this.patientListGroupBox.FooterImageKey = ""; this.patientListGroupBox.HeaderImageIndex = -1; this.patientListGroupBox.HeaderImageKey = ""; this.patientListGroupBox.HeaderMargin = new System.Windows.Forms.Padding(0); this.patientListGroupBox.HeaderText = "پرونده های ذخیره شده"; this.patientListGroupBox.Location = new System.Drawing.Point(13, 0); this.patientListGroupBox.Name = "patientListGroupBox"; this.patientListGroupBox.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.patientListGroupBox.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.patientListGroupBox.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.patientListGroupBox.Size = new System.Drawing.Size(249, 610); this.patientListGroupBox.TabIndex = 1; this.patientListGroupBox.Text = "پرونده های ذخیره شده"; // // filteringPanel // this.filteringPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.filteringPanel.Controls.Add(this.ucFilter1); this.filteringPanel.Location = new System.Drawing.Point(5, 25); this.filteringPanel.Name = "filteringPanel"; this.filteringPanel.Size = new System.Drawing.Size(239, 32); this.filteringPanel.TabIndex = 0; // // ucFilter1 // this.ucFilter1.Dock = System.Windows.Forms.DockStyle.Fill; this.ucFilter1.Location = new System.Drawing.Point(0, 0); this.ucFilter1.Margin = new System.Windows.Forms.Padding(4); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(239, 32); this.ucFilter1.TabIndex = 0; // // grdPatient // this.grdPatient.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.grdPatient.EnableHotTracking = false; this.grdPatient.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grdPatient.Location = new System.Drawing.Point(5, 66); // // grdPatient // this.grdPatient.MasterTemplate.AllowAddNewRow = false; this.grdPatient.MasterTemplate.AllowCellContextMenu = false; this.grdPatient.MasterTemplate.AllowColumnChooser = false; this.grdPatient.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grdPatient.MasterTemplate.AllowDeleteRow = false; this.grdPatient.MasterTemplate.AllowDragToGroup = false; this.grdPatient.MasterTemplate.AllowEditRow = false; this.grdPatient.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn5.FieldName = "FirstName"; gridViewTextBoxColumn5.HeaderText = "نام"; gridViewTextBoxColumn5.Name = "FirstName"; gridViewTextBoxColumn5.Width = 57; gridViewTextBoxColumn6.FieldName = "LastName"; gridViewTextBoxColumn6.HeaderText = "نام خانوادگی"; gridViewTextBoxColumn6.Name = "LastName"; gridViewTextBoxColumn6.Width = 84; gridViewTextBoxColumn7.FieldName = "AccountantCode"; gridViewTextBoxColumn7.HeaderText = "شماره پرونده"; gridViewTextBoxColumn7.Name = "Code"; gridViewTextBoxColumn7.Width = 69; gridViewCommandColumn2.AllowResize = false; gridViewCommandColumn2.HeaderText = "حذف"; gridViewCommandColumn2.ImageLayout = System.Windows.Forms.ImageLayout.Center; gridViewCommandColumn2.Name = "column1"; gridViewCommandColumn2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; gridViewCommandColumn2.Width = 30; this.grdPatient.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn5, gridViewTextBoxColumn6, gridViewTextBoxColumn7, gridViewCommandColumn2}); this.grdPatient.MasterTemplate.EnableGrouping = false; this.grdPatient.MasterTemplate.ShowFilteringRow = false; this.grdPatient.MasterTemplate.ShowRowHeaderColumn = false; this.grdPatient.Name = "grdPatient"; this.grdPatient.ReadOnly = true; this.grdPatient.Size = new System.Drawing.Size(239, 539); this.grdPatient.TabIndex = 0; this.grdPatient.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grdPatient_CellFormatting); this.grdPatient.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grdPatient_CurrentRowChanging); this.grdPatient.SelectionChanged += new System.EventHandler(this.grdPatient_SelectionChanged); this.grdPatient.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grdPatient_CommandCellClick); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(877, 577); this.btnSave.Name = "btnSave"; this.btnSave.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnSave.Size = new System.Drawing.Size(110, 35); this.btnSave.TabIndex = 2; this.btnSave.Text = "ذخیره "; this.btnSave.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(761, 577); this.btnCancel.Name = "btnCancel"; this.btnCancel.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnCancel.Size = new System.Drawing.Size(110, 35); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "انصراف "; this.btnCancel.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // lstIns // this.lstIns.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lstIns.AutoScroll = true; this.lstIns.EnableHotTracking = false; this.lstIns.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.lstIns.Location = new System.Drawing.Point(5, 217); // // lstIns // this.lstIns.MasterTemplate.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Bottom; this.lstIns.MasterTemplate.AllowAddNewRow = false; this.lstIns.MasterTemplate.AllowCellContextMenu = false; this.lstIns.MasterTemplate.AllowColumnChooser = false; this.lstIns.MasterTemplate.AllowColumnHeaderContextMenu = false; this.lstIns.MasterTemplate.AllowColumnReorder = false; this.lstIns.MasterTemplate.AllowColumnResize = false; this.lstIns.MasterTemplate.AllowDeleteRow = false; this.lstIns.MasterTemplate.AllowDragToGroup = false; this.lstIns.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewCheckBoxColumn2.FormatString = ""; gridViewCheckBoxColumn2.HeaderText = ""; gridViewCheckBoxColumn2.Name = "chkBox"; gridViewCheckBoxColumn2.Width = 31; gridViewTextBoxColumn8.FieldName = "Title"; gridViewTextBoxColumn8.HeaderText = "عنوان بیمه"; gridViewTextBoxColumn8.Name = "Title"; gridViewTextBoxColumn8.ReadOnly = true; gridViewTextBoxColumn8.Width = 212; this.lstIns.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewCheckBoxColumn2, gridViewTextBoxColumn8}); this.lstIns.MasterTemplate.EnableGrouping = false; this.lstIns.MasterTemplate.EnableSorting = false; this.lstIns.MasterTemplate.ShowRowHeaderColumn = false; this.lstIns.Name = "lstIns"; this.lstIns.ShowGroupPanel = false; this.lstIns.Size = new System.Drawing.Size(243, 208); this.lstIns.TabIndex = 5; this.lstIns.Text = "radGridView1"; this.lstIns.CellValueChanged += new Telerik.WinControls.UI.GridViewCellEventHandler(this.lstIns_CellValueChanged); // // radLabel11 // this.radLabel11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel11.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel11.Location = new System.Drawing.Point(635, 11); this.radLabel11.Name = "radLabel11"; this.radLabel11.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radLabel11.Size = new System.Drawing.Size(83, 30); this.radLabel11.TabIndex = 48; this.radLabel11.Text = "شماره پرونده :"; this.radLabel11.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // dpBirthDate // this.dpBirthDate.Anchor = System.Windows.Forms.AnchorStyles.None; this.dpBirthDate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedDateTime", this.patientBindingSource, "BirthDate", true)); this.dpBirthDate.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.dpBirthDate.Location = new System.Drawing.Point(483, 121); this.dpBirthDate.Multiline = true; this.dpBirthDate.Name = "dpBirthDate"; this.dpBirthDate.Size = new System.Drawing.Size(162, 27); this.dpBirthDate.TabIndex = 8; this.dpBirthDate.SelectedDateTimeChanged += new System.EventHandler(this.dpBirthDate_SelectedDateTimeChanged); // // patientBindingSource // this.patientBindingSource.DataSource = typeof(Shayan.Data.Patient); // // txtPhone1 // this.txtPhone1.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtPhone1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "HomeNumber", true)); this.txtPhone1.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtPhone1.Location = new System.Drawing.Point(10, 25); this.txtPhone1.MaxLength = 15; this.txtPhone1.Name = "txtPhone1"; this.txtPhone1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txtPhone1.Size = new System.Drawing.Size(166, 28); this.txtPhone1.TabIndex = 5; this.txtPhone1.TabStop = false; this.txtPhone1.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtPhone1_TextChanging); // // txtPhone2 // this.txtPhone2.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtPhone2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "CellNumber", true)); this.txtPhone2.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtPhone2.Location = new System.Drawing.Point(10, 57); this.txtPhone2.MaxLength = 15; this.txtPhone2.Name = "txtPhone2"; this.txtPhone2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txtPhone2.Size = new System.Drawing.Size(166, 28); this.txtPhone2.TabIndex = 6; this.txtPhone2.TabStop = false; this.txtPhone2.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtPhone1_TextChanging); // // txtAge // this.txtAge.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtAge.AutoSize = true; this.txtAge.Enabled = false; this.txtAge.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtAge.Location = new System.Drawing.Point(388, 122); this.txtAge.MaxLength = 3; this.txtAge.Name = "txtAge"; this.txtAge.Size = new System.Drawing.Size(26, 28); this.txtAge.TabIndex = 9; this.txtAge.TabStop = false; // // lblAge // this.lblAge.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblAge.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.lblAge.Location = new System.Drawing.Point(418, 121); this.lblAge.Name = "lblAge"; this.lblAge.Size = new System.Drawing.Size(33, 30); this.lblAge.TabIndex = 6; this.lblAge.Text = "سن :"; this.lblAge.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(609, 524); this.btnAdd.Name = "btnAdd"; this.btnAdd.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnAdd.Size = new System.Drawing.Size(110, 35); this.btnAdd.TabIndex = 7; this.btnAdd.Text = "افزودن "; this.btnAdd.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(493, 524); this.btnNew.Name = "btnNew"; this.btnNew.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnNew.Size = new System.Drawing.Size(110, 35); this.btnNew.TabIndex = 8; this.btnNew.Text = "جدید "; this.btnNew.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // txtCode // this.txtCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCode.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "AccountantCode", true)); this.txtCode.Enabled = false; this.txtCode.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtCode.Location = new System.Drawing.Point(489, 13); this.txtCode.Name = "txtCode"; this.txtCode.NullText = "-بعد از ذخیره اختصاص می یابد-"; this.txtCode.Size = new System.Drawing.Size(141, 25); this.txtCode.TabIndex = 0; this.txtCode.TabStop = false; // // radLabel12 // this.radLabel12.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel12.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel12.Location = new System.Drawing.Point(650, 25); this.radLabel12.Name = "radLabel12"; this.radLabel12.Size = new System.Drawing.Size(28, 30); this.radLabel12.TabIndex = 41; this.radLabel12.Text = "نام :"; this.radLabel12.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radGroupBox1 // this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.radGroupBox1.Controls.Add(this.radCheckBox1); this.radGroupBox1.Controls.Add(this.radLabel6); this.radGroupBox1.Controls.Add(this.radLabel13); this.radGroupBox1.Controls.Add(this.radCheckBox12); this.radGroupBox1.Controls.Add(this.radCheckBox11); this.radGroupBox1.Controls.Add(this.radCheckBox13); this.radGroupBox1.Controls.Add(this.radCheckBox8); this.radGroupBox1.Controls.Add(this.radTextBox4); this.radGroupBox1.Controls.Add(this.radCheckBox5); this.radGroupBox1.Controls.Add(this.radTextBox5); this.radGroupBox1.Controls.Add(this.radCheckBox7); this.radGroupBox1.Controls.Add(this.radCheckBox3); this.radGroupBox1.Controls.Add(this.radCheckBox4); this.radGroupBox1.Controls.Add(this.radCheckBox9); this.radGroupBox1.Controls.Add(this.radCheckBox10); this.radGroupBox1.Controls.Add(this.radCheckBox6); this.radGroupBox1.Controls.Add(this.radCheckBox2); this.radGroupBox1.Controls.Add(this.patientHepatitCheckBox); this.radGroupBox1.Controls.Add(this.patientPregnancyCheckBox); this.radGroupBox1.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "شرایط ویژه:"; this.radGroupBox1.Location = new System.Drawing.Point(254, 207); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox1.Size = new System.Drawing.Size(466, 218); this.radGroupBox1.TabIndex = 4; this.radGroupBox1.Text = "شرایط ویژه:"; // // radCheckBox1 // this.radCheckBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "Alergy", true)); this.radCheckBox1.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox1.Location = new System.Drawing.Point(403, 84); this.radCheckBox1.Name = "radCheckBox1"; this.radCheckBox1.Size = new System.Drawing.Size(55, 30); this.radCheckBox1.TabIndex = 8; this.radCheckBox1.Text = "آلرژی"; // // radLabel6 // this.radLabel6.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel6.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel6.Location = new System.Drawing.Point(231, 178); this.radLabel6.Name = "radLabel6"; this.radLabel6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radLabel6.Size = new System.Drawing.Size(229, 30); this.radLabel6.TabIndex = 56; this.radLabel6.Text = "آیا در مراجعات قبلی مشکل خاصی داشتید؟"; this.radLabel6.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel13 // this.radLabel13.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel13.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel13.Location = new System.Drawing.Point(260, 150); this.radLabel13.Name = "radLabel13"; this.radLabel13.Size = new System.Drawing.Size(209, 30); this.radLabel13.TabIndex = 54; this.radLabel13.Text = "آیا در حال حاضر دارو مصرف می کنید؟"; this.radLabel13.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radCheckBox12 // this.radCheckBox12.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox12.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "SingcobAfterInjection", true)); this.radCheckBox12.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox12.Location = new System.Drawing.Point(70, 111); this.radCheckBox12.Name = "radCheckBox12"; this.radCheckBox12.Size = new System.Drawing.Size(116, 30); this.radCheckBox12.TabIndex = 13; this.radCheckBox12.Text = "غش پس از تزریق"; // // radCheckBox11 // this.radCheckBox11.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox11.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "KidneyDesease", true)); this.radCheckBox11.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox11.Location = new System.Drawing.Point(95, 84); this.radCheckBox11.Name = "radCheckBox11"; this.radCheckBox11.Size = new System.Drawing.Size(91, 30); this.radCheckBox11.TabIndex = 11; this.radCheckBox11.Text = "بیماری کلیوی"; // // radCheckBox13 // this.radCheckBox13.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox13.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "AsthmaAfterInjection", true)); this.radCheckBox13.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox13.Location = new System.Drawing.Point(245, 111); this.radCheckBox13.Name = "radCheckBox13"; this.radCheckBox13.Size = new System.Drawing.Size(147, 30); this.radCheckBox13.TabIndex = 14; this.radCheckBox13.Text = "تنگی نفس پس از تزریق"; // // radCheckBox8 // this.radCheckBox8.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox8.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "BloodPresure", true)); this.radCheckBox8.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox8.Location = new System.Drawing.Point(319, 84); this.radCheckBox8.Name = "radCheckBox8"; this.radCheckBox8.Size = new System.Drawing.Size(73, 30); this.radCheckBox8.TabIndex = 9; this.radCheckBox8.Text = "فشار خون"; // // radTextBox4 // this.radTextBox4.Anchor = System.Windows.Forms.AnchorStyles.None; this.radTextBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "VisitProblemsDescription", true)); this.radTextBox4.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox4.Location = new System.Drawing.Point(4, 180); this.radTextBox4.Name = "radTextBox4"; this.radTextBox4.Size = new System.Drawing.Size(221, 28); this.radTextBox4.TabIndex = 16; this.radTextBox4.TabStop = false; this.radTextBox4.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtAddress_TextChanging); // // radCheckBox5 // this.radCheckBox5.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox5.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "TiroeedDesease", true)); this.radCheckBox5.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox5.Location = new System.Drawing.Point(198, 84); this.radCheckBox5.Name = "radCheckBox5"; this.radCheckBox5.Size = new System.Drawing.Size(98, 30); this.radCheckBox5.TabIndex = 10; this.radCheckBox5.Text = "بیماری تیروئید"; // // radTextBox5 // this.radTextBox5.Anchor = System.Windows.Forms.AnchorStyles.None; this.radTextBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "DrugDiscription", true)); this.radTextBox5.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox5.Location = new System.Drawing.Point(4, 151); this.radTextBox5.Name = "radTextBox5"; this.radTextBox5.Size = new System.Drawing.Size(221, 28); this.radTextBox5.TabIndex = 15; this.radTextBox5.TabStop = false; this.radTextBox5.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtAddress_TextChanging); // // radCheckBox7 // this.radCheckBox7.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox7.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "Diabetic", true)); this.radCheckBox7.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox7.Location = new System.Drawing.Point(406, 112); this.radCheckBox7.Name = "radCheckBox7"; this.radCheckBox7.Size = new System.Drawing.Size(52, 30); this.radCheckBox7.TabIndex = 12; this.radCheckBox7.Text = "دیابت"; // // radCheckBox3 // this.radCheckBox3.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "BloodDesease", true)); this.radCheckBox3.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox3.Location = new System.Drawing.Point(96, 26); this.radCheckBox3.Name = "radCheckBox3"; this.radCheckBox3.Size = new System.Drawing.Size(90, 30); this.radCheckBox3.TabIndex = 3; this.radCheckBox3.Text = "ناراحتی خونی"; // // radCheckBox4 // this.radCheckBox4.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox4.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "RadioTeraphy", true)); this.radCheckBox4.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox4.Location = new System.Drawing.Point(189, 55); this.radCheckBox4.Name = "radCheckBox4"; this.radCheckBox4.Size = new System.Drawing.Size(107, 30); this.radCheckBox4.TabIndex = 6; this.radCheckBox4.Text = "سابقه رادیوتراپی"; // // radCheckBox9 // this.radCheckBox9.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox9.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "Hepatit", true)); this.radCheckBox9.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox9.Location = new System.Drawing.Point(400, 26); this.radCheckBox9.Name = "radCheckBox9"; this.radCheckBox9.Size = new System.Drawing.Size(58, 30); this.radCheckBox9.TabIndex = 0; this.radCheckBox9.Text = "هپاتیت"; // // radCheckBox10 // this.radCheckBox10.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox10.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "ChemicalCure", true)); this.radCheckBox10.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox10.Location = new System.Drawing.Point(98, 55); this.radCheckBox10.Name = "radCheckBox10"; this.radCheckBox10.Size = new System.Drawing.Size(88, 30); this.radCheckBox10.TabIndex = 7; this.radCheckBox10.Text = "شیمی درمانی"; // // radCheckBox6 // this.radCheckBox6.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox6.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "NeuroticDesease", true)); this.radCheckBox6.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox6.Location = new System.Drawing.Point(299, 55); this.radCheckBox6.Name = "radCheckBox6"; this.radCheckBox6.Size = new System.Drawing.Size(93, 30); this.radCheckBox6.TabIndex = 5; this.radCheckBox6.Text = "ناراحتی عصبی"; // // radCheckBox2 // this.radCheckBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "Pregnancy", true)); this.radCheckBox2.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox2.Location = new System.Drawing.Point(397, 55); this.radCheckBox2.Name = "radCheckBox2"; this.radCheckBox2.Size = new System.Drawing.Size(61, 30); this.radCheckBox2.TabIndex = 4; this.radCheckBox2.Text = "بارداری"; // // patientHepatitCheckBox // this.patientHepatitCheckBox.Anchor = System.Windows.Forms.AnchorStyles.None; this.patientHepatitCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "BreathDesease", true)); this.patientHepatitCheckBox.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.patientHepatitCheckBox.Location = new System.Drawing.Point(200, 26); this.patientHepatitCheckBox.Name = "patientHepatitCheckBox"; this.patientHepatitCheckBox.Size = new System.Drawing.Size(96, 30); this.patientHepatitCheckBox.TabIndex = 2; this.patientHepatitCheckBox.Text = "ناراحتی تنفسی"; // // patientPregnancyCheckBox // this.patientPregnancyCheckBox.Anchor = System.Windows.Forms.AnchorStyles.None; this.patientPregnancyCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "HeartDesease", true)); this.patientPregnancyCheckBox.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.patientPregnancyCheckBox.Location = new System.Drawing.Point(307, 26); this.patientPregnancyCheckBox.Name = "patientPregnancyCheckBox"; this.patientPregnancyCheckBox.Size = new System.Drawing.Size(85, 30); this.patientPregnancyCheckBox.TabIndex = 1; this.patientPregnancyCheckBox.Text = "ناراحتی قلبی"; // // radLabel10 // this.radLabel10.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel10.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel10.Location = new System.Drawing.Point(178, 26); this.radLabel10.Name = "radLabel10"; this.radLabel10.Size = new System.Drawing.Size(67, 30); this.radLabel10.TabIndex = 42; this.radLabel10.Text = "تلفن منزل :"; this.radLabel10.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel9 // this.radLabel9.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel9.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel9.Location = new System.Drawing.Point(177, 57); this.radLabel9.Name = "radLabel9"; this.radLabel9.Size = new System.Drawing.Size(71, 30); this.radLabel9.TabIndex = 43; this.radLabel9.Text = "تلفن همراه :"; this.radLabel9.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel8 // this.radLabel8.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel8.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel8.Location = new System.Drawing.Point(649, 88); this.radLabel8.Name = "radLabel8"; this.radLabel8.Size = new System.Drawing.Size(48, 30); this.radLabel8.TabIndex = 44; this.radLabel8.Text = "آدرس :"; this.radLabel8.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel2 // this.radLabel2.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel2.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel2.Location = new System.Drawing.Point(646, 119); this.radLabel2.Name = "radLabel2"; this.radLabel2.Size = new System.Drawing.Size(67, 30); this.radLabel2.TabIndex = 55; this.radLabel2.Text = "تاریخ تولد :"; this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel7 // this.radLabel7.Anchor = System.Windows.Forms.AnchorStyles.Top; this.radLabel7.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel7.Location = new System.Drawing.Point(655, 431); this.radLabel7.Name = "radLabel7"; this.radLabel7.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radLabel7.Size = new System.Drawing.Size(65, 30); this.radLabel7.TabIndex = 45; this.radLabel7.Text = "توضیحات :"; this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtLastName // this.txtLastName.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtLastName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "LastName", true)); this.txtLastName.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtLastName.Location = new System.Drawing.Point(264, 25); this.txtLastName.Name = "txtLastName"; this.txtLastName.Size = new System.Drawing.Size(150, 28); this.txtLastName.TabIndex = 1; this.txtLastName.TabStop = false; this.txtLastName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtFirstName_TextChanging); // // txtFirstName // this.txtFirstName.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtFirstName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "FirstName", true)); this.txtFirstName.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtFirstName.Location = new System.Drawing.Point(498, 25); this.txtFirstName.Name = "txtFirstName"; this.txtFirstName.Size = new System.Drawing.Size(147, 28); this.txtFirstName.TabIndex = 0; this.txtFirstName.TabStop = false; this.txtFirstName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtFirstName_TextChanging); // // radLabel1 // this.radLabel1.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel1.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel1.Location = new System.Drawing.Point(417, 27); this.radLabel1.Name = "radLabel1"; this.radLabel1.Size = new System.Drawing.Size(79, 30); this.radLabel1.TabIndex = 49; this.radLabel1.Text = "نام خانوادگی :"; this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtDescription // this.txtDescription.AcceptsReturn = true; this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.txtDescription.AutoScroll = true; this.txtDescription.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "Description", true)); this.txtDescription.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtDescription.Location = new System.Drawing.Point(6, 431); this.txtDescription.Multiline = true; this.txtDescription.Name = "txtDescription"; // // // this.txtDescription.RootElement.StretchVertically = true; this.txtDescription.Size = new System.Drawing.Size(648, 84); this.txtDescription.TabIndex = 6; this.txtDescription.TabStop = false; this.txtDescription.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtAddress_TextChanging); // // txtAddress // this.txtAddress.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtAddress.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "Address", true)); this.txtAddress.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtAddress.Location = new System.Drawing.Point(262, 88); this.txtAddress.Multiline = true; this.txtAddress.Name = "txtAddress"; // // // this.txtAddress.RootElement.StretchVertically = true; this.txtAddress.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; this.txtAddress.Size = new System.Drawing.Size(383, 30); this.txtAddress.TabIndex = 4; this.txtAddress.TabStop = false; this.txtAddress.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtAddress_TextChanging); // // 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.Right))); this.radGroupBox2.Controls.Add(this.btnHistory); this.radGroupBox2.Controls.Add(this.radLabel7); this.radGroupBox2.Controls.Add(this.btnDocs); this.radGroupBox2.Controls.Add(this.lstIns); this.radGroupBox2.Controls.Add(this.radGroupBox3); this.radGroupBox2.Controls.Add(this.btnAdd); this.radGroupBox2.Controls.Add(this.txtDescription); this.radGroupBox2.Controls.Add(this.btnNew); this.radGroupBox2.Controls.Add(this.radGroupBox1); this.radGroupBox2.Controls.Add(this.radLabel11); this.radGroupBox2.Controls.Add(this.txtCode); this.radGroupBox2.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox2.FooterImageIndex = -1; this.radGroupBox2.FooterImageKey = ""; this.radGroupBox2.HeaderImageIndex = -1; this.radGroupBox2.HeaderImageKey = ""; this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox2.HeaderText = ""; this.radGroupBox2.Location = new System.Drawing.Point(268, 7); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox2.Size = new System.Drawing.Size(730, 564); this.radGroupBox2.TabIndex = 0; // // btnHistory // this.btnHistory.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnHistory.Location = new System.Drawing.Point(10, 11); this.btnHistory.Name = "btnHistory"; this.btnHistory.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnHistory.Size = new System.Drawing.Size(110, 35); this.btnHistory.TabIndex = 2; this.btnHistory.Text = "سابقه بیمار "; this.btnHistory.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnHistory.Click += new System.EventHandler(this.radButton2_Click); // // btnDocs // this.btnDocs.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnDocs.Location = new System.Drawing.Point(126, 11); this.btnDocs.Name = "btnDocs"; this.btnDocs.RightToLeft = System.Windows.Forms.RightToLeft.No; this.btnDocs.Size = new System.Drawing.Size(110, 35); this.btnDocs.TabIndex = 1; this.btnDocs.Text = "اسناد بیمار "; this.btnDocs.TextAlignment = System.Drawing.ContentAlignment.MiddleRight; this.btnDocs.Click += new System.EventHandler(this.radButton1_Click); // // radGroupBox3 // this.radGroupBox3.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox3.Anchor = System.Windows.Forms.AnchorStyles.Top; this.radGroupBox3.Controls.Add(this.radLabel4); this.radGroupBox3.Controls.Add(this.radCheckBox14); this.radGroupBox3.Controls.Add(this.dpBirthDate); this.radGroupBox3.Controls.Add(this.radTextBox2); this.radGroupBox3.Controls.Add(this.radTextBox1); this.radGroupBox3.Controls.Add(this.txtFirstName); this.radGroupBox3.Controls.Add(this.radTextBox3); this.radGroupBox3.Controls.Add(this.radLabel5); this.radGroupBox3.Controls.Add(this.radLabel3); this.radGroupBox3.Controls.Add(this.txtAddress); this.radGroupBox3.Controls.Add(this.txtPhone1); this.radGroupBox3.Controls.Add(this.radLabel1); this.radGroupBox3.Controls.Add(this.txtPhone2); this.radGroupBox3.Controls.Add(this.txtLastName); this.radGroupBox3.Controls.Add(this.txtAge); this.radGroupBox3.Controls.Add(this.radLabel2); this.radGroupBox3.Controls.Add(this.lblAge); this.radGroupBox3.Controls.Add(this.radLabel8); this.radGroupBox3.Controls.Add(this.radLabel9); this.radGroupBox3.Controls.Add(this.radLabel10); this.radGroupBox3.Controls.Add(this.radLabel12); this.radGroupBox3.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox3.FooterImageIndex = -1; this.radGroupBox3.FooterImageKey = ""; this.radGroupBox3.HeaderImageIndex = -1; this.radGroupBox3.HeaderImageKey = ""; this.radGroupBox3.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox3.HeaderText = "مشخصات بیمار"; this.radGroupBox3.Location = new System.Drawing.Point(5, 42); this.radGroupBox3.Name = "radGroupBox3"; this.radGroupBox3.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radGroupBox3.Size = new System.Drawing.Size(715, 159); this.radGroupBox3.TabIndex = 3; this.radGroupBox3.Text = "مشخصات بیمار"; // // radLabel4 // this.radLabel4.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel4.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel4.Location = new System.Drawing.Point(417, 57); this.radLabel4.Name = "radLabel4"; this.radLabel4.Size = new System.Drawing.Size(39, 30); this.radLabel4.TabIndex = 53; this.radLabel4.Text = "شغل :"; this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radCheckBox14 // this.radCheckBox14.Anchor = System.Windows.Forms.AnchorStyles.None; this.radCheckBox14.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.patientBindingSource, "IsChild", true)); this.radCheckBox14.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radCheckBox14.Location = new System.Drawing.Point(8, 122); this.radCheckBox14.Name = "radCheckBox14"; this.radCheckBox14.Size = new System.Drawing.Size(168, 30); this.radCheckBox14.TabIndex = 9; this.radCheckBox14.Text = "بیمار در گروه اطفال می باشد"; // // radTextBox2 // this.radTextBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.radTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "Introducer", true)); this.radTextBox2.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox2.Location = new System.Drawing.Point(498, 57); this.radTextBox2.Name = "radTextBox2"; this.radTextBox2.Size = new System.Drawing.Size(147, 28); this.radTextBox2.TabIndex = 2; this.radTextBox2.TabStop = false; this.radTextBox2.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtFirstName_TextChanging); // // radTextBox1 // this.radTextBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.radTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "WorkNumber", true)); this.radTextBox1.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox1.Location = new System.Drawing.Point(10, 88); this.radTextBox1.MaxLength = 15; this.radTextBox1.Name = "radTextBox1"; this.radTextBox1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.radTextBox1.Size = new System.Drawing.Size(166, 28); this.radTextBox1.TabIndex = 7; this.radTextBox1.TabStop = false; this.radTextBox1.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtPhone1_TextChanging); // // radTextBox3 // this.radTextBox3.Anchor = System.Windows.Forms.AnchorStyles.None; this.radTextBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.patientBindingSource, "Job", true)); this.radTextBox3.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox3.Location = new System.Drawing.Point(264, 57); this.radTextBox3.Name = "radTextBox3"; this.radTextBox3.Size = new System.Drawing.Size(150, 28); this.radTextBox3.TabIndex = 3; this.radTextBox3.TabStop = false; this.radTextBox3.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtFirstName_TextChanging); // // radLabel5 // this.radLabel5.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel5.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel5.Location = new System.Drawing.Point(649, 57); this.radLabel5.Name = "radLabel5"; this.radLabel5.Size = new System.Drawing.Size(46, 30); this.radLabel5.TabIndex = 52; this.radLabel5.Text = "معرف :"; this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel3 // this.radLabel3.Anchor = System.Windows.Forms.AnchorStyles.None; this.radLabel3.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radLabel3.Location = new System.Drawing.Point(177, 89); this.radLabel3.Name = "radLabel3"; this.radLabel3.Size = new System.Drawing.Size(85, 30); this.radLabel3.TabIndex = 45; this.radLabel3.Text = "تلفن محل کار :"; this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // FormDefinePatient // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1000, 622); this.Controls.Add(this.btnSave); this.Controls.Add(this.radGroupBox2); this.Controls.Add(this.btnCancel); this.Controls.Add(this.patientListGroupBox); this.Font = new System.Drawing.Font("B Nazanin", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.Margin = new System.Windows.Forms.Padding(4); this.MinimumSize = new System.Drawing.Size(1008, 540); this.Name = "FormDefinePatient"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "بیمار"; this.ThemeName = "ControlDefault"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.patientListGroupBox)).EndInit(); this.patientListGroupBox.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.filteringPanel)).EndInit(); this.filteringPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdPatient.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPatient)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lstIns.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lstIns)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.patientBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAge)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblAge)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); this.radGroupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.patientHepatitCheckBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.patientPregnancyCheckBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLastName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFirstName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit(); this.radGroupBox2.ResumeLayout(false); this.radGroupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnHistory)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnDocs)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).EndInit(); this.radGroupBox3.ResumeLayout(false); this.radGroupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radCheckBox14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.radGroupBox6 = new Telerik.WinControls.UI.RadGroupBox(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grvItems = new Telerik.WinControls.UI.RadGridView(); this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox(); this.radLabel2 = new Telerik.WinControls.UI.RadLabel(); this.trvCategories = new Telerik.WinControls.UI.RadTreeView(); this.radLabel1 = new Telerik.WinControls.UI.RadLabel(); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.radTextBox1 = new Telerik.WinControls.UI.RadTextBox(); this.srcItem = new System.Windows.Forms.BindingSource(this.components); this.radLabel20 = new Telerik.WinControls.UI.RadLabel(); this.txtTitle = new Telerik.WinControls.UI.RadTextBox(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).BeginInit(); this.radGroupBox6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit(); this.radGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trvCategories)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTitle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(513, 364); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(101, 35); this.btnSave.TabIndex = 5; this.btnSave.Text = "ذخیره"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(9, 294); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(101, 35); this.btnNew.TabIndex = 4; this.btnNew.Text = "جدید"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // radGroupBox6 // this.radGroupBox6.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox6.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.radGroupBox6.Controls.Add(this.ucFilter1); this.radGroupBox6.Controls.Add(this.grvItems); this.radGroupBox6.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox6.FooterImageIndex = -1; this.radGroupBox6.FooterImageKey = ""; this.radGroupBox6.HeaderImageIndex = -1; this.radGroupBox6.HeaderImageKey = ""; this.radGroupBox6.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox6.HeaderText = "خدمات"; this.radGroupBox6.Location = new System.Drawing.Point(6, 0); this.radGroupBox6.Name = "radGroupBox6"; this.radGroupBox6.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.radGroupBox6.RootElement.MinSize = new System.Drawing.Size(0, 0); this.radGroupBox6.Size = new System.Drawing.Size(385, 399); this.radGroupBox6.TabIndex = 20; this.radGroupBox6.TabStop = false; this.radGroupBox6.Text = "خدمات"; // // ucFilter1 // this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ucFilter1.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.ucFilter1.Location = new System.Drawing.Point(5, 21); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(375, 26); this.ucFilter1.TabIndex = 14; // // grvItems // this.grvItems.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.grvItems.AutoScroll = true; this.grvItems.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this.grvItems.Cursor = System.Windows.Forms.Cursors.Default; this.grvItems.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grvItems.ForeColor = System.Drawing.Color.Black; this.grvItems.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.grvItems.Location = new System.Drawing.Point(5, 51); // // grvItems // this.grvItems.MasterTemplate.AllowAddNewRow = false; this.grvItems.MasterTemplate.AllowCellContextMenu = false; this.grvItems.MasterTemplate.AllowColumnChooser = false; this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grvItems.MasterTemplate.AllowColumnReorder = false; this.grvItems.MasterTemplate.AllowDeleteRow = false; this.grvItems.MasterTemplate.AllowDragToGroup = false; this.grvItems.MasterTemplate.AllowEditRow = false; this.grvItems.MasterTemplate.AllowRowResize = false; this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn1.EnableExpressionEditor = false; gridViewTextBoxColumn1.FieldName = "Title"; gridViewTextBoxColumn1.HeaderText = "نام خدمات"; gridViewTextBoxColumn1.Name = "column1"; gridViewTextBoxColumn1.Width = 285; gridViewTextBoxColumn2.EnableExpressionEditor = false; gridViewTextBoxColumn2.FieldName = "Price"; gridViewTextBoxColumn2.FormatString = "{0:0,0 ریال}"; gridViewTextBoxColumn2.HeaderText = "قیمت"; gridViewTextBoxColumn2.Name = "column3"; gridViewTextBoxColumn2.Width = 60; gridViewCommandColumn1.AllowHide = false; gridViewCommandColumn1.AllowReorder = false; gridViewCommandColumn1.AllowResize = false; gridViewCommandColumn1.AllowSort = false; gridViewCommandColumn1.EnableExpressionEditor = false; gridViewCommandColumn1.HeaderText = "حذف"; gridViewCommandColumn1.Name = "column2"; gridViewCommandColumn1.Width = 30; this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn1, gridViewTextBoxColumn2, gridViewCommandColumn1}); this.grvItems.MasterTemplate.EnableGrouping = false; this.grvItems.MasterTemplate.ShowRowHeaderColumn = false; this.grvItems.Name = "grvItems"; this.grvItems.ReadOnly = true; this.grvItems.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.grvItems.Size = new System.Drawing.Size(375, 338); this.grvItems.TabIndex = 13; this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting); this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging); this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged); this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick); this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown); // // radGroupBox4 // this.radGroupBox4.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox4.Controls.Add(this.radLabel2); this.radGroupBox4.Controls.Add(this.trvCategories); this.radGroupBox4.Controls.Add(this.radLabel1); this.radGroupBox4.Controls.Add(this.btnAdd); this.radGroupBox4.Controls.Add(this.btnNew); this.radGroupBox4.Controls.Add(this.radTextBox1); this.radGroupBox4.Controls.Add(this.radLabel20); this.radGroupBox4.Controls.Add(this.txtTitle); this.radGroupBox4.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox4.FooterImageIndex = -1; this.radGroupBox4.FooterImageKey = ""; this.radGroupBox4.HeaderImageIndex = -1; this.radGroupBox4.HeaderImageKey = ""; this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox4.HeaderText = "تعریف"; this.radGroupBox4.Location = new System.Drawing.Point(397, 0); this.radGroupBox4.Name = "radGroupBox4"; this.radGroupBox4.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // // // this.radGroupBox4.RootElement.MinSize = new System.Drawing.Size(0, 0); this.radGroupBox4.Size = new System.Drawing.Size(224, 336); this.radGroupBox4.TabIndex = 19; this.radGroupBox4.TabStop = false; this.radGroupBox4.Text = "تعریف"; // // radLabel2 // this.radLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel2.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel2.Location = new System.Drawing.Point(170, 48); this.radLabel2.Name = "radLabel2"; this.radLabel2.Size = new System.Drawing.Size(52, 30); this.radLabel2.TabIndex = 12; this.radLabel2.Text = "خدمات :"; this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // trvCategories // this.trvCategories.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.trvCategories.CheckBoxes = true; this.trvCategories.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.trvCategories.Location = new System.Drawing.Point(9, 53); this.trvCategories.Name = "trvCategories"; this.trvCategories.Size = new System.Drawing.Size(161, 202); this.trvCategories.SpacingBetweenNodes = -1; this.trvCategories.TabIndex = 1; this.trvCategories.Text = "radTreeView1"; this.trvCategories.NodeCheckedChanged += new Telerik.WinControls.UI.RadTreeView.TreeViewEventHandler(this.trvCategories_NodeCheckedChanged); this.trvCategories.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel1 // this.radLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel1.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel1.Location = new System.Drawing.Point(144, 259); this.radLabel1.Name = "radLabel1"; this.radLabel1.Size = new System.Drawing.Size(77, 30); this.radLabel1.TabIndex = 13; this.radLabel1.Text = "قیمت (ریال) :"; this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(116, 294); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(101, 35); this.btnAdd.TabIndex = 3; this.btnAdd.Text = "افزودن"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // radTextBox1 // this.radTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Price", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "N0")); this.radTextBox1.Font = new System.Drawing.Font("B Nazanin", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radTextBox1.Location = new System.Drawing.Point(9, 261); this.radTextBox1.Name = "radTextBox1"; this.radTextBox1.Size = new System.Drawing.Size(129, 27); this.radTextBox1.TabIndex = 2; this.radTextBox1.TabStop = false; this.radTextBox1.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtSalary_TextChanging); this.radTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // srcItem // this.srcItem.DataSource = typeof(Shayan.Data.Service); // // radLabel20 // this.radLabel20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel20.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel20.Location = new System.Drawing.Point(170, 19); this.radLabel20.Name = "radLabel20"; this.radLabel20.Size = new System.Drawing.Size(44, 30); this.radLabel20.TabIndex = 11; this.radLabel20.Text = "عنوان :"; this.radLabel20.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtTitle // this.txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtTitle.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Title", true)); this.txtTitle.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtTitle.Location = new System.Drawing.Point(9, 20); this.txtTitle.Name = "txtTitle"; this.txtTitle.Size = new System.Drawing.Size(161, 28); this.txtTitle.TabIndex = 0; this.txtTitle.TabStop = false; this.txtTitle.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtTitle_TextChanging); this.txtTitle.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(406, 364); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(101, 35); this.btnCancel.TabIndex = 6; this.btnCancel.Text = "انصراف"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // FormDefineService // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(632, 406); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnSave); this.Controls.Add(this.radGroupBox6); this.Controls.Add(this.radGroupBox4); this.Font = new System.Drawing.Font("B Nazanin", 10F, System.Drawing.FontStyle.Bold); this.MinimumSize = new System.Drawing.Size(640, 440); this.Name = "FormDefineService"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "مدیریت سیستم : تعریف خدمات"; this.ThemeName = "ControlDefault"; ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).EndInit(); this.radGroupBox6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit(); this.radGroupBox4.ResumeLayout(false); this.radGroupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trvCategories)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTitle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); this.radLabel4 = new Telerik.WinControls.UI.RadLabel(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox(); this.chbDoctor = new Telerik.WinControls.UI.RadCheckBox(); this.srcItem = new System.Windows.Forms.BindingSource(this.components); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.radLabel23 = new Telerik.WinControls.UI.RadLabel(); this.txtDoctorCode = new Telerik.WinControls.UI.RadTextBox(); this.cmbSex = new System.Windows.Forms.ComboBox(); this.chbIsUser = new Telerik.WinControls.UI.RadCheckBox(); this.cmbRoles = new System.Windows.Forms.ComboBox(); this.radLabel13 = new Telerik.WinControls.UI.RadLabel(); this.txtPercent = new Telerik.WinControls.UI.RadTextBox(); this.grbUser = new Telerik.WinControls.UI.RadGroupBox(); this.radLabel14 = new Telerik.WinControls.UI.RadLabel(); this.txtPassword = new Telerik.WinControls.UI.RadTextBox(); this.radLabel15 = new Telerik.WinControls.UI.RadLabel(); this.txtUsername = new Telerik.WinControls.UI.RadTextBox(); this.radLabel16 = new Telerik.WinControls.UI.RadLabel(); this.radLabel17 = new Telerik.WinControls.UI.RadLabel(); this.radLabel18 = new Telerik.WinControls.UI.RadLabel(); this.radLabel19 = new Telerik.WinControls.UI.RadLabel(); this.txtSalary = new Telerik.WinControls.UI.RadTextBox(); this.radLabel20 = new Telerik.WinControls.UI.RadLabel(); this.radLabel21 = new Telerik.WinControls.UI.RadLabel(); this.radLabel22 = new Telerik.WinControls.UI.RadLabel(); this.txtCellPhone = new Telerik.WinControls.UI.RadTextBox(); this.txtPhone = new Telerik.WinControls.UI.RadTextBox(); this.txtFamily = new Telerik.WinControls.UI.RadTextBox(); this.txtName = new Telerik.WinControls.UI.RadTextBox(); this.radGroupBox6 = new Telerik.WinControls.UI.RadGroupBox(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); this.grvItems = new Telerik.WinControls.UI.RadGridView(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit(); this.radGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chbDoctor)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDoctorCode)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chbIsUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPercent)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grbUser)).BeginInit(); this.grbUser.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPassword)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtUsername)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSalary)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCellPhone)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFamily)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).BeginInit(); this.radGroupBox6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radLabel4 // this.radLabel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel4.Location = new System.Drawing.Point(426, -59); this.radLabel4.Name = "radLabel4"; this.radLabel4.Size = new System.Drawing.Size(88, 18); this.radLabel4.TabIndex = 14; this.radLabel4.Text = "سمت های ذخیره شده:"; this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnSave.Location = new System.Drawing.Point(668, 539); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(140, 35); this.btnSave.TabIndex = 15; this.btnSave.Text = "ذخیره"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnNew // this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnNew.Location = new System.Drawing.Point(5, 494); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(138, 35); this.btnNew.TabIndex = 14; this.btnNew.Text = "جدید"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // radGroupBox4 // this.radGroupBox4.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox4.Controls.Add(this.chbDoctor); this.radGroupBox4.Controls.Add(this.btnAdd); this.radGroupBox4.Controls.Add(this.radGroupBox1); this.radGroupBox4.Controls.Add(this.cmbSex); this.radGroupBox4.Controls.Add(this.btnNew); this.radGroupBox4.Controls.Add(this.chbIsUser); this.radGroupBox4.Controls.Add(this.cmbRoles); this.radGroupBox4.Controls.Add(this.radLabel13); this.radGroupBox4.Controls.Add(this.txtPercent); this.radGroupBox4.Controls.Add(this.grbUser); this.radGroupBox4.Controls.Add(this.radLabel16); this.radGroupBox4.Controls.Add(this.radLabel17); this.radGroupBox4.Controls.Add(this.radLabel18); this.radGroupBox4.Controls.Add(this.radLabel19); this.radGroupBox4.Controls.Add(this.txtSalary); this.radGroupBox4.Controls.Add(this.radLabel20); this.radGroupBox4.Controls.Add(this.radLabel21); this.radGroupBox4.Controls.Add(this.radLabel22); this.radGroupBox4.Controls.Add(this.txtCellPhone); this.radGroupBox4.Controls.Add(this.txtPhone); this.radGroupBox4.Controls.Add(this.txtFamily); this.radGroupBox4.Controls.Add(this.txtName); this.radGroupBox4.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox4.FooterImageIndex = -1; this.radGroupBox4.FooterImageKey = ""; this.radGroupBox4.HeaderImageIndex = -1; this.radGroupBox4.HeaderImageKey = ""; this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox4.HeaderText = "تعریف"; this.radGroupBox4.Location = new System.Drawing.Point(519, 0); this.radGroupBox4.Name = "radGroupBox4"; this.radGroupBox4.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radGroupBox4.Size = new System.Drawing.Size(299, 534); this.radGroupBox4.TabIndex = 12; this.radGroupBox4.TabStop = false; this.radGroupBox4.Text = "تعریف"; this.radGroupBox4.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // chbDoctor // this.chbDoctor.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.srcItem, "IsDoctor", true)); this.chbDoctor.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.chbDoctor.Location = new System.Drawing.Point(194, 300); this.chbDoctor.Name = "chbDoctor"; this.chbDoctor.Size = new System.Drawing.Size(90, 30); this.chbDoctor.TabIndex = 8; this.chbDoctor.Text = "دندان پزشک"; this.chbDoctor.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; this.chbDoctor.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chbDoctor_ToggleStateChanged); // // srcItem // this.srcItem.DataSource = typeof(Shayan.Data.Employee); // // btnAdd // this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnAdd.Location = new System.Drawing.Point(149, 494); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(140, 35); this.btnAdd.TabIndex = 13; this.btnAdd.Text = "افزودن"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // radGroupBox1 // this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox1.Controls.Add(this.radLabel23); this.radGroupBox1.Controls.Add(this.txtDoctorCode); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "radGroupBox1"; this.radGroupBox1.Location = new System.Drawing.Point(5, 306); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox1.Size = new System.Drawing.Size(284, 69); this.radGroupBox1.TabIndex = 11; this.radGroupBox1.Text = "radGroupBox1"; // // radLabel23 // this.radLabel23.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel23.Location = new System.Drawing.Point(185, 29); this.radLabel23.Name = "radLabel23"; this.radLabel23.Size = new System.Drawing.Size(95, 30); this.radLabel23.TabIndex = 15; this.radLabel23.Text = "کد نظام پزشکی :"; this.radLabel23.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtDoctorCode // this.txtDoctorCode.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "DoctorCode", true)); this.txtDoctorCode.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtDoctorCode.Location = new System.Drawing.Point(5, 31); this.txtDoctorCode.Name = "txtDoctorCode"; this.txtDoctorCode.ReadOnly = true; this.txtDoctorCode.Size = new System.Drawing.Size(176, 28); this.txtDoctorCode.TabIndex = 9; this.txtDoctorCode.TabStop = false; this.txtDoctorCode.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtDoctorCode_TextChanging); // // cmbSex // this.cmbSex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbSex.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.cmbSex.FormattingEnabled = true; this.cmbSex.Items.AddRange(new object[] { "مرد", "زن"}); this.cmbSex.Location = new System.Drawing.Point(106, 159); this.cmbSex.Name = "cmbSex"; this.cmbSex.Size = new System.Drawing.Size(108, 31); this.cmbSex.TabIndex = 4; this.cmbSex.SelectedIndexChanged += new System.EventHandler(this.cmbSex_SelectedIndexChanged); this.cmbSex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // chbIsUser // this.chbIsUser.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.srcItem, "CanLogin", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.chbIsUser.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.chbIsUser.Location = new System.Drawing.Point(154, 377); this.chbIsUser.Name = "chbIsUser"; this.chbIsUser.Size = new System.Drawing.Size(129, 30); this.chbIsUser.TabIndex = 10; this.chbIsUser.Text = "اجازه ورود به سیستم"; this.chbIsUser.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; this.chbIsUser.ToggleStateChanged += new Telerik.WinControls.UI.StateChangedEventHandler(this.chbIsUser_ToggleStateChanged); this.chbIsUser.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // cmbRoles // this.cmbRoles.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbRoles.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbRoles.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.srcItem, "Role", true)); this.cmbRoles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRoles.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.cmbRoles.FormattingEnabled = true; this.cmbRoles.Location = new System.Drawing.Point(13, 196); this.cmbRoles.Name = "cmbRoles"; this.cmbRoles.Size = new System.Drawing.Size(201, 31); this.cmbRoles.TabIndex = 5; this.cmbRoles.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel13 // this.radLabel13.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel13.Location = new System.Drawing.Point(205, 270); this.radLabel13.Name = "radLabel13"; this.radLabel13.Size = new System.Drawing.Size(91, 30); this.radLabel13.TabIndex = 15; this.radLabel13.Text = "درصد سرویس :"; this.radLabel13.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtPercent // this.txtPercent.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "IncomePercentage", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.txtPercent.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtPercent.Location = new System.Drawing.Point(106, 269); this.txtPercent.Name = "txtPercent"; this.txtPercent.Size = new System.Drawing.Size(90, 28); this.txtPercent.TabIndex = 7; this.txtPercent.TabStop = false; this.txtPercent.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtPercent_TextChanging); this.txtPercent.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // grbUser // this.grbUser.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.grbUser.Controls.Add(this.radLabel14); this.grbUser.Controls.Add(this.txtPassword); this.grbUser.Controls.Add(this.radLabel15); this.grbUser.Controls.Add(this.txtUsername); this.grbUser.FooterImageIndex = -1; this.grbUser.FooterImageKey = ""; this.grbUser.HeaderImageIndex = -1; this.grbUser.HeaderImageKey = ""; this.grbUser.HeaderMargin = new System.Windows.Forms.Padding(0); this.grbUser.HeaderText = "grbUser"; this.grbUser.Location = new System.Drawing.Point(5, 384); this.grbUser.Name = "grbUser"; this.grbUser.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.grbUser.Size = new System.Drawing.Size(284, 104); this.grbUser.TabIndex = 9; this.grbUser.Text = "grbUser"; // // radLabel14 // this.radLabel14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel14.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel14.Location = new System.Drawing.Point(211, 61); this.radLabel14.Name = "radLabel14"; this.radLabel14.Size = new System.Drawing.Size(61, 30); this.radLabel14.TabIndex = 19; this.radLabel14.Text = "رمز عبور :"; this.radLabel14.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtPassword // this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPassword.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Password", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.txtPassword.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtPassword.Location = new System.Drawing.Point(8, 62); this.txtPassword.Name = "txtPassword"; this.txtPassword.PasswordChar = '*'; this.txtPassword.Size = new System.Drawing.Size(201, 28); this.txtPassword.TabIndex = 12; this.txtPassword.TabStop = false; this.txtPassword.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel15 // this.radLabel15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radLabel15.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel15.Location = new System.Drawing.Point(211, 25); this.radLabel15.Name = "radLabel15"; this.radLabel15.Size = new System.Drawing.Size(69, 30); this.radLabel15.TabIndex = 17; this.radLabel15.Text = "نام کاربری :"; this.radLabel15.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtUsername // this.txtUsername.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtUsername.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Username", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); this.txtUsername.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtUsername.Location = new System.Drawing.Point(8, 27); this.txtUsername.Name = "txtUsername"; this.txtUsername.Size = new System.Drawing.Size(201, 28); this.txtUsername.TabIndex = 11; this.txtUsername.TabStop = false; this.txtUsername.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel16 // this.radLabel16.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel16.Location = new System.Drawing.Point(216, 197); this.radLabel16.Name = "radLabel16"; this.radLabel16.Size = new System.Drawing.Size(42, 30); this.radLabel16.TabIndex = 15; this.radLabel16.Text = "سمت :"; this.radLabel16.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel17 // this.radLabel17.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel17.Location = new System.Drawing.Point(216, 160); this.radLabel17.Name = "radLabel17"; this.radLabel17.Size = new System.Drawing.Size(54, 30); this.radLabel17.TabIndex = 17; this.radLabel17.Text = "جنسیت :"; this.radLabel17.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel18 // this.radLabel18.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel18.Location = new System.Drawing.Point(215, 235); this.radLabel18.Name = "radLabel18"; this.radLabel18.Size = new System.Drawing.Size(66, 30); this.radLabel18.TabIndex = 13; this.radLabel18.Text = "پایه حقوق :"; this.radLabel18.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel19 // this.radLabel19.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel19.Location = new System.Drawing.Point(216, 90); this.radLabel19.Name = "radLabel19"; this.radLabel19.Size = new System.Drawing.Size(38, 30); this.radLabel19.TabIndex = 15; this.radLabel19.Text = "تلفن :"; this.radLabel19.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtSalary // this.txtSalary.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "MonthlySalary", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, "{0:0,0}", "N0")); this.txtSalary.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtSalary.Location = new System.Drawing.Point(106, 235); this.txtSalary.Name = "txtSalary"; this.txtSalary.Size = new System.Drawing.Size(108, 28); this.txtSalary.TabIndex = 6; this.txtSalary.TabStop = false; this.txtSalary.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtSalary_TextChanging); this.txtSalary.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radLabel20 // this.radLabel20.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel20.Location = new System.Drawing.Point(217, 20); this.radLabel20.Name = "radLabel20"; this.radLabel20.Size = new System.Drawing.Size(28, 30); this.radLabel20.TabIndex = 11; this.radLabel20.Text = "نام :"; this.radLabel20.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel21 // this.radLabel21.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel21.Location = new System.Drawing.Point(214, 125); this.radLabel21.Name = "radLabel21"; this.radLabel21.Size = new System.Drawing.Size(71, 30); this.radLabel21.TabIndex = 13; this.radLabel21.Text = "تلفن همراه :"; this.radLabel21.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // radLabel22 // this.radLabel22.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold); this.radLabel22.Location = new System.Drawing.Point(216, 55); this.radLabel22.Name = "radLabel22"; this.radLabel22.Size = new System.Drawing.Size(79, 30); this.radLabel22.TabIndex = 9; this.radLabel22.Text = "نام خانوادگی :"; this.radLabel22.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtCellPhone // this.txtCellPhone.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "CellPhone", true)); this.txtCellPhone.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtCellPhone.Location = new System.Drawing.Point(106, 125); this.txtCellPhone.Name = "txtCellPhone"; this.txtCellPhone.Size = new System.Drawing.Size(108, 28); this.txtCellPhone.TabIndex = 3; this.txtCellPhone.TabStop = false; this.txtCellPhone.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtCellPhone_TextChanging); this.txtCellPhone.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // txtPhone // this.txtPhone.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "HomeNumber", true)); this.txtPhone.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtPhone.Location = new System.Drawing.Point(106, 90); this.txtPhone.Name = "txtPhone"; this.txtPhone.Size = new System.Drawing.Size(108, 28); this.txtPhone.TabIndex = 2; this.txtPhone.TabStop = false; this.txtPhone.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtCellPhone_TextChanging); this.txtPhone.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // txtFamily // this.txtFamily.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "LastName", true)); this.txtFamily.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtFamily.Location = new System.Drawing.Point(13, 56); this.txtFamily.Name = "txtFamily"; this.txtFamily.Size = new System.Drawing.Size(201, 28); this.txtFamily.TabIndex = 1; this.txtFamily.TabStop = false; this.txtFamily.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtFamily_TextChanging); this.txtFamily.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // txtName // this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "FirstName", true)); this.txtName.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtName.Location = new System.Drawing.Point(13, 22); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(201, 28); this.txtName.TabIndex = 0; this.txtName.TabStop = false; this.txtName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtName_TextChanging); this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // radGroupBox6 // this.radGroupBox6.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this.radGroupBox6.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.radGroupBox6.Controls.Add(this.ucFilter1); this.radGroupBox6.Controls.Add(this.grvItems); this.radGroupBox6.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox6.FooterImageIndex = -1; this.radGroupBox6.FooterImageKey = ""; this.radGroupBox6.HeaderImageIndex = -1; this.radGroupBox6.HeaderImageKey = ""; this.radGroupBox6.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox6.HeaderText = "کارمندان و دندان پزشکان"; this.radGroupBox6.Location = new System.Drawing.Point(3, 0); this.radGroupBox6.Name = "radGroupBox6"; this.radGroupBox6.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2); this.radGroupBox6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.radGroupBox6.Size = new System.Drawing.Size(507, 575); this.radGroupBox6.TabIndex = 15; this.radGroupBox6.TabStop = false; this.radGroupBox6.Text = "کارمندان و دندان پزشکان"; // // ucFilter1 // this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ucFilter1.Location = new System.Drawing.Point(5, 26); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(497, 28); this.ucFilter1.TabIndex = 16; // // grvItems // this.grvItems.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.grvItems.BackColor = System.Drawing.SystemColors.Control; this.grvItems.Cursor = System.Windows.Forms.Cursors.Default; this.grvItems.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grvItems.ForeColor = System.Drawing.Color.Black; this.grvItems.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.grvItems.Location = new System.Drawing.Point(5, 56); // // grvItems // this.grvItems.MasterTemplate.AllowAddNewRow = false; this.grvItems.MasterTemplate.AllowCellContextMenu = false; this.grvItems.MasterTemplate.AllowColumnChooser = false; this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grvItems.MasterTemplate.AllowColumnReorder = false; this.grvItems.MasterTemplate.AllowDeleteRow = false; this.grvItems.MasterTemplate.AllowDragToGroup = false; this.grvItems.MasterTemplate.AllowEditRow = false; this.grvItems.MasterTemplate.AllowRowResize = false; this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn1.EnableExpressionEditor = false; gridViewTextBoxColumn1.FieldName = "FirstName"; gridViewTextBoxColumn1.HeaderText = "نام"; gridViewTextBoxColumn1.Name = "column1"; gridViewTextBoxColumn1.Width = 167; gridViewTextBoxColumn2.EnableExpressionEditor = false; gridViewTextBoxColumn2.FieldName = "LastName"; gridViewTextBoxColumn2.HeaderText = "نام خانوادگی"; gridViewTextBoxColumn2.Name = "column2"; gridViewTextBoxColumn2.Width = 34; gridViewTextBoxColumn3.EnableExpressionEditor = false; gridViewTextBoxColumn3.FieldName = "DoctorCode"; gridViewTextBoxColumn3.HeaderText = "کد نظام پزشکی"; gridViewTextBoxColumn3.Name = "column6"; gridViewTextBoxColumn3.Width = 72; gridViewTextBoxColumn4.EnableExpressionEditor = false; gridViewTextBoxColumn4.FieldName = "Username"; gridViewTextBoxColumn4.HeaderText = "نام کاربری"; gridViewTextBoxColumn4.Name = "column7"; gridViewTextBoxColumn4.Width = 92; gridViewTextBoxColumn5.EnableExpressionEditor = false; gridViewTextBoxColumn5.FieldName = "CellPhone"; gridViewTextBoxColumn5.HeaderText = "موبایل"; gridViewTextBoxColumn5.Name = "column3"; gridViewTextBoxColumn5.Width = 44; gridViewTextBoxColumn6.EnableExpressionEditor = false; gridViewTextBoxColumn6.FieldName = "HomeNumber"; gridViewTextBoxColumn6.HeaderText = "تلفن"; gridViewTextBoxColumn6.Name = "column5"; gridViewTextBoxColumn6.Width = 62; gridViewCommandColumn1.AllowHide = false; gridViewCommandColumn1.AllowReorder = false; gridViewCommandColumn1.AllowResize = false; gridViewCommandColumn1.AllowSort = false; gridViewCommandColumn1.EnableExpressionEditor = false; gridViewCommandColumn1.HeaderText = "حذف"; gridViewCommandColumn1.Name = "column4"; gridViewCommandColumn1.Width = 30; this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn1, gridViewTextBoxColumn2, gridViewTextBoxColumn3, gridViewTextBoxColumn4, gridViewTextBoxColumn5, gridViewTextBoxColumn6, gridViewCommandColumn1}); this.grvItems.MasterTemplate.EnableGrouping = false; this.grvItems.MasterTemplate.ShowRowHeaderColumn = false; this.grvItems.Name = "grvItems"; this.grvItems.ReadOnly = true; this.grvItems.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.grvItems.Size = new System.Drawing.Size(497, 509); this.grvItems.TabIndex = 15; this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting); this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging); this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged); this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick); this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold); this.btnCancel.Location = new System.Drawing.Point(524, 539); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(138, 35); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "انصراف"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // FormDefineEmployee // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(834, 587); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnSave); this.Controls.Add(this.radGroupBox6); this.Controls.Add(this.radLabel4); this.Controls.Add(this.radGroupBox4); this.Font = new System.Drawing.Font("B Nazanin", 10F, System.Drawing.FontStyle.Bold); this.MinimumSize = new System.Drawing.Size(830, 600); this.Name = "FormDefineEmployee"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "مدیریت سیستم : تعریف کارمندان"; this.ThemeName = "ControlDefault"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit(); this.radGroupBox4.ResumeLayout(false); this.radGroupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chbDoctor)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); this.radGroupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDoctorCode)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chbIsUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPercent)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grbUser)).EndInit(); this.grbUser.ResumeLayout(false); this.grbUser.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPassword)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtUsername)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSalary)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCellPhone)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFamily)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).EndInit(); this.radGroupBox6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn2 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn3 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn4 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn5 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn6 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn7 = new Telerik.WinControls.UI.GridViewCheckBoxColumn(); this.btnSave = new Telerik.WinControls.UI.RadButton(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.grvItems = new Telerik.WinControls.UI.RadGridView(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.btnAllAccess = new Telerik.WinControls.UI.RadButton(); this.btnNoAccess = new Telerik.WinControls.UI.RadButton(); this.tabAccess = new Telerik.WinControls.UI.RadPageView(); this.radPageViewPage1 = new Telerik.WinControls.UI.RadPageViewPage(); this.rgvAccessTask = new Telerik.WinControls.UI.RadGridView(); this.radPageViewPage2 = new Telerik.WinControls.UI.RadPageViewPage(); this.rgvAccessSetings = new Telerik.WinControls.UI.RadGridView(); this.btnAdd = new Telerik.WinControls.UI.RadButton(); this.btnNew = new Telerik.WinControls.UI.RadButton(); this.roleTitleLabel = new Telerik.WinControls.UI.RadLabel(); this.txtName = new Telerik.WinControls.UI.RadTextBox(); this.srcItem = new System.Windows.Forms.BindingSource(this.components); this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox(); this.ucFilter1 = new ShayanDental.UserControls.UCFilter(); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAllAccess)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNoAccess)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabAccess)).BeginInit(); this.tabAccess.SuspendLayout(); this.radPageViewPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask.MasterTemplate)).BeginInit(); this.radPageViewPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings.MasterTemplate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit(); this.radGroupBox2.SuspendLayout(); this.SuspendLayout(); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnSave.Location = new System.Drawing.Point(750, 567); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(98, 35); this.btnSave.TabIndex = 11; this.btnSave.Text = "ذخیره"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnCancel.Location = new System.Drawing.Point(646, 567); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(98, 35); this.btnCancel.TabIndex = 12; this.btnCancel.Text = "انصراف"; this.btnCancel.Click += new System.EventHandler(this.roleNewButton_Click); // // grvItems // this.grvItems.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.grvItems.AutoScroll = true; this.grvItems.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.grvItems.Location = new System.Drawing.Point(5, 71); // // grvItems // this.grvItems.MasterTemplate.AllowAddNewRow = false; this.grvItems.MasterTemplate.AllowCellContextMenu = false; this.grvItems.MasterTemplate.AllowColumnChooser = false; this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false; this.grvItems.MasterTemplate.AllowColumnReorder = false; this.grvItems.MasterTemplate.AllowDeleteRow = false; this.grvItems.MasterTemplate.AllowDragToGroup = false; this.grvItems.MasterTemplate.AllowEditRow = false; this.grvItems.MasterTemplate.AllowRowResize = false; this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill; gridViewTextBoxColumn1.FieldName = "Title"; gridViewTextBoxColumn1.HeaderText = "عنوان سمت"; gridViewTextBoxColumn1.Name = "column1"; gridViewTextBoxColumn1.Width = 393; gridViewCommandColumn1.AllowHide = false; gridViewCommandColumn1.AllowReorder = false; gridViewCommandColumn1.AllowResize = false; gridViewCommandColumn1.AllowSort = false; gridViewCommandColumn1.HeaderText = "حذف"; gridViewCommandColumn1.Name = "column3"; gridViewCommandColumn1.Width = 30; this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn1, gridViewCommandColumn1}); this.grvItems.MasterTemplate.EnableFiltering = true; this.grvItems.MasterTemplate.EnableGrouping = false; this.grvItems.MasterTemplate.ShowFilteringRow = false; this.grvItems.Name = "grvItems"; this.grvItems.ReadOnly = true; this.grvItems.Size = new System.Drawing.Size(443, 474); this.grvItems.TabIndex = 10; this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting); this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging); this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged); this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick); this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown); // // 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.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.radGroupBox1.Controls.Add(this.btnAllAccess); this.radGroupBox1.Controls.Add(this.btnNoAccess); this.radGroupBox1.Controls.Add(this.tabAccess); this.radGroupBox1.Controls.Add(this.btnAdd); this.radGroupBox1.Controls.Add(this.btnNew); this.radGroupBox1.Controls.Add(this.roleTitleLabel); this.radGroupBox1.Controls.Add(this.txtName); this.radGroupBox1.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "تعریف سمت"; this.radGroupBox1.Location = new System.Drawing.Point(462, 7); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); // // // this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.radGroupBox1.Size = new System.Drawing.Size(397, 555); this.radGroupBox1.TabIndex = 9; this.radGroupBox1.Text = "تعریف سمت"; // // btnAllAccess // this.btnAllAccess.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAllAccess.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnAllAccess.Location = new System.Drawing.Point(201, 75); this.btnAllAccess.Name = "btnAllAccess"; this.btnAllAccess.Size = new System.Drawing.Size(190, 35); this.btnAllAccess.TabIndex = 18; this.btnAllAccess.Text = "همه دسترسی ها"; this.btnAllAccess.Click += new System.EventHandler(this.btnAllAccess_Click); // // btnNoAccess // this.btnNoAccess.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnNoAccess.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnNoAccess.Location = new System.Drawing.Point(5, 75); this.btnNoAccess.Name = "btnNoAccess"; this.btnNoAccess.Size = new System.Drawing.Size(190, 35); this.btnNoAccess.TabIndex = 17; this.btnNoAccess.Text = "هیچ کدام از دسترسی"; this.btnNoAccess.Click += new System.EventHandler(this.btnNoAccess_Click); // // tabAccess // this.tabAccess.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.tabAccess.Controls.Add(this.radPageViewPage1); this.tabAccess.Controls.Add(this.radPageViewPage2); this.tabAccess.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold); this.tabAccess.Location = new System.Drawing.Point(5, 116); this.tabAccess.Name = "tabAccess"; this.tabAccess.SelectedPage = this.radPageViewPage1; this.tabAccess.Size = new System.Drawing.Size(386, 392); this.tabAccess.TabIndex = 16; ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None; ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemAlignment = Telerik.WinControls.UI.StripViewItemAlignment.Near; ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemFitMode = Telerik.WinControls.UI.StripViewItemFitMode.Fill; ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Top; ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemDragMode = Telerik.WinControls.UI.PageViewItemDragMode.None; // // radPageViewPage1 // this.radPageViewPage1.Controls.Add(this.rgvAccessTask); this.radPageViewPage1.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold); this.radPageViewPage1.Location = new System.Drawing.Point(10, 42); this.radPageViewPage1.Name = "radPageViewPage1"; this.radPageViewPage1.Size = new System.Drawing.Size(365, 339); this.radPageViewPage1.Text = "وظایف"; // // rgvAccessTask // this.rgvAccessTask.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.rgvAccessTask.EnableHotTracking = false; this.rgvAccessTask.Font = new System.Drawing.Font("B Nazanin", 9F); this.rgvAccessTask.Location = new System.Drawing.Point(3, 5); // // rgvAccessTask // this.rgvAccessTask.MasterTemplate.AllowAddNewRow = false; this.rgvAccessTask.MasterTemplate.AllowCellContextMenu = false; this.rgvAccessTask.MasterTemplate.AllowColumnChooser = false; this.rgvAccessTask.MasterTemplate.AllowColumnHeaderContextMenu = false; this.rgvAccessTask.MasterTemplate.AllowColumnReorder = false; this.rgvAccessTask.MasterTemplate.AllowColumnResize = false; this.rgvAccessTask.MasterTemplate.AllowDeleteRow = false; this.rgvAccessTask.MasterTemplate.AllowDragToGroup = false; this.rgvAccessTask.MasterTemplate.AllowRowResize = false; this.rgvAccessTask.MasterTemplate.AutoGenerateColumns = false; gridViewTextBoxColumn2.FieldName = "Name"; gridViewTextBoxColumn2.FormatString = ""; gridViewTextBoxColumn2.HeaderText = "نام دسترسی"; gridViewTextBoxColumn2.Name = "column1"; gridViewTextBoxColumn2.Width = 90; gridViewCheckBoxColumn1.FieldName = "AccessObserve"; gridViewCheckBoxColumn1.FormatString = ""; gridViewCheckBoxColumn1.HeaderText = "مشاهده"; gridViewCheckBoxColumn1.Name = "column3"; gridViewCheckBoxColumn2.FieldName = "AccessChange"; gridViewCheckBoxColumn2.FormatString = ""; gridViewCheckBoxColumn2.HeaderText = "اعمال تغییرات"; gridViewCheckBoxColumn2.Name = "column4"; gridViewCheckBoxColumn2.Width = 70; gridViewCheckBoxColumn3.FieldName = "AccessInsert"; gridViewCheckBoxColumn3.FormatString = ""; gridViewCheckBoxColumn3.HeaderText = "افزودن"; gridViewCheckBoxColumn3.Name = "column5"; gridViewCheckBoxColumn4.FieldName = "AccessRemove"; gridViewCheckBoxColumn4.FormatString = ""; gridViewCheckBoxColumn4.HeaderText = "حذف"; gridViewCheckBoxColumn4.Name = "column6"; gridViewCheckBoxColumn5.FieldName = "AccessPrint"; gridViewCheckBoxColumn5.FormatString = ""; gridViewCheckBoxColumn5.HeaderText = "پرینت"; gridViewCheckBoxColumn5.Name = "column7"; this.rgvAccessTask.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn2, gridViewCheckBoxColumn1, gridViewCheckBoxColumn2, gridViewCheckBoxColumn3, gridViewCheckBoxColumn4, gridViewCheckBoxColumn5}); this.rgvAccessTask.MasterTemplate.EnableGrouping = false; this.rgvAccessTask.MasterTemplate.EnableSorting = false; this.rgvAccessTask.MasterTemplate.ShowFilteringRow = false; this.rgvAccessTask.MasterTemplate.ShowRowHeaderColumn = false; this.rgvAccessTask.Name = "rgvAccessTask"; this.rgvAccessTask.ShowCellErrors = false; this.rgvAccessTask.ShowGroupPanel = false; this.rgvAccessTask.ShowNoDataText = false; this.rgvAccessTask.ShowRowErrors = false; this.rgvAccessTask.Size = new System.Drawing.Size(360, 331); this.rgvAccessTask.TabIndex = 15; this.rgvAccessTask.Text = "radGridView1"; // // radPageViewPage2 // this.radPageViewPage2.Controls.Add(this.rgvAccessSetings); this.radPageViewPage2.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold); this.radPageViewPage2.Location = new System.Drawing.Point(10, 42); this.radPageViewPage2.Name = "radPageViewPage2"; this.radPageViewPage2.Size = new System.Drawing.Size(365, 339); this.radPageViewPage2.Text = "نتظیمات"; // // rgvAccessSetings // this.rgvAccessSetings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.rgvAccessSetings.EnableHotTracking = false; this.rgvAccessSetings.Font = new System.Drawing.Font("B Nazanin", 9F); this.rgvAccessSetings.Location = new System.Drawing.Point(3, 4); // // rgvAccessSetings // this.rgvAccessSetings.MasterTemplate.AllowAddNewRow = false; this.rgvAccessSetings.MasterTemplate.AllowCellContextMenu = false; this.rgvAccessSetings.MasterTemplate.AllowColumnChooser = false; this.rgvAccessSetings.MasterTemplate.AllowColumnHeaderContextMenu = false; this.rgvAccessSetings.MasterTemplate.AllowColumnReorder = false; this.rgvAccessSetings.MasterTemplate.AllowDeleteRow = false; this.rgvAccessSetings.MasterTemplate.AllowDragToGroup = false; this.rgvAccessSetings.MasterTemplate.AllowRowResize = false; this.rgvAccessSetings.MasterTemplate.AutoGenerateColumns = false; gridViewTextBoxColumn3.FieldName = "Name"; gridViewTextBoxColumn3.FormatString = ""; gridViewTextBoxColumn3.HeaderText = "نام دسترسی"; gridViewTextBoxColumn3.Name = "column1"; gridViewTextBoxColumn3.Width = 150; gridViewCheckBoxColumn6.FieldName = "AccessObserve"; gridViewCheckBoxColumn6.FormatString = ""; gridViewCheckBoxColumn6.HeaderText = "مشاهده"; gridViewCheckBoxColumn6.Name = "column3"; gridViewCheckBoxColumn6.Width = 110; gridViewCheckBoxColumn7.FieldName = "AccessChange"; gridViewCheckBoxColumn7.FormatString = ""; gridViewCheckBoxColumn7.HeaderText = "اعمال تغییرات"; gridViewCheckBoxColumn7.Name = "column4"; gridViewCheckBoxColumn7.Width = 100; this.rgvAccessSetings.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { gridViewTextBoxColumn3, gridViewCheckBoxColumn6, gridViewCheckBoxColumn7}); this.rgvAccessSetings.MasterTemplate.EnableGrouping = false; this.rgvAccessSetings.MasterTemplate.EnableSorting = false; this.rgvAccessSetings.MasterTemplate.ShowFilteringRow = false; this.rgvAccessSetings.MasterTemplate.ShowRowHeaderColumn = false; this.rgvAccessSetings.Name = "rgvAccessSetings"; this.rgvAccessSetings.ShowCellErrors = false; this.rgvAccessSetings.ShowGroupPanel = false; this.rgvAccessSetings.ShowNoDataText = false; this.rgvAccessSetings.ShowRowErrors = false; this.rgvAccessSetings.Size = new System.Drawing.Size(359, 335); this.rgvAccessSetings.TabIndex = 16; this.rgvAccessSetings.Text = "radGridView2"; // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnAdd.Location = new System.Drawing.Point(288, 515); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(98, 35); this.btnAdd.TabIndex = 14; this.btnAdd.Text = "افزودن"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.btnNew.Location = new System.Drawing.Point(184, 515); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(98, 35); this.btnNew.TabIndex = 13; this.btnNew.Text = "جدید"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // roleTitleLabel // this.roleTitleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.roleTitleLabel.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.roleTitleLabel.Location = new System.Drawing.Point(355, 34); this.roleTitleLabel.Name = "roleTitleLabel"; this.roleTitleLabel.Size = new System.Drawing.Size(34, 23); this.roleTitleLabel.TabIndex = 3; this.roleTitleLabel.Text = "عنوان:"; this.roleTitleLabel.TextAlignment = System.Drawing.ContentAlignment.TopRight; // // txtName // this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Title", true)); this.txtName.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.txtName.Location = new System.Drawing.Point(5, 32); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(347, 25); this.txtName.TabIndex = 1; this.txtName.TabStop = false; this.txtName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtName_TextChanging); this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown); // // srcItem // this.srcItem.DataSource = typeof(Shayan.Data.Role); // // 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.ucFilter1); this.radGroupBox2.Controls.Add(this.grvItems); this.radGroupBox2.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.radGroupBox2.FooterImageIndex = -1; this.radGroupBox2.FooterImageKey = ""; this.radGroupBox2.HeaderImageIndex = -1; this.radGroupBox2.HeaderImageKey = ""; this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox2.HeaderText = "سمت های ذخیره شده"; this.radGroupBox2.Location = new System.Drawing.Point(3, 7); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); // // // this.radGroupBox2.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2); this.radGroupBox2.Size = new System.Drawing.Size(453, 555); this.radGroupBox2.TabIndex = 14; this.radGroupBox2.Text = "سمت های ذخیره شده"; // // ucFilter1 // this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ucFilter1.Location = new System.Drawing.Point(6, 32); this.ucFilter1.Margin = new System.Windows.Forms.Padding(4); this.ucFilter1.Name = "ucFilter1"; this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.ucFilter1.Size = new System.Drawing.Size(441, 24); this.ucFilter1.TabIndex = 11; // // UCDefineRole // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.radGroupBox2); this.Controls.Add(this.btnSave); this.Controls.Add(this.btnCancel); this.Controls.Add(this.radGroupBox1); this.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold); this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.Name = "UCDefineRole"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(874, 608); ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); this.radGroupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnAllAccess)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNoAccess)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabAccess)).EndInit(); this.tabAccess.ResumeLayout(false); this.radPageViewPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask)).EndInit(); this.radPageViewPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings.MasterTemplate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit(); this.radGroupBox2.ResumeLayout(false); this.ResumeLayout(false); }