예제 #1
0
 private void InitializeComponent()
 {
     this.checkbox1 = new Atiran.UI.WindowsForms.UIElements.Checkbox();
     this.comboBox1 = new Atiran.UI.WindowsForms.Controls.ComboBoxes.ComboBox();
     this.SuspendLayout();
     //
     // checkbox1
     //
     this.checkbox1.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkbox1.AutoSize                = true;
     this.checkbox1.Font                    = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.checkbox1.Location                = new System.Drawing.Point(180, 5);
     this.checkbox1.Name                    = "checkbox1";
     this.checkbox1.NextControl             = this.comboBox1;
     this.checkbox1.RightToLeft             = System.Windows.Forms.RightToLeft.Yes;
     this.checkbox1.Size                    = new System.Drawing.Size(169, 26);
     this.checkbox1.TabIndex                = 9;
     this.checkbox1.Text                    = "دسته بندي گزارش بر اساس";
     this.checkbox1.UseVisualStyleBackColor = true;
     this.checkbox1.CheckedChanged         += new System.EventHandler(this.checkbox1_CheckedChanged);
     //
     // comboBox1
     //
     this.comboBox1.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.comboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboBox1.Enabled            = false;
     this.comboBox1.FormattingEnabled  = true;
     this.comboBox1.Location           = new System.Drawing.Point(3, 3);
     this.comboBox1.Margin             = new System.Windows.Forms.Padding(10);
     this.comboBox1.Name        = "comboBox1";
     this.comboBox1.NextControl = null;
     this.comboBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.comboBox1.Size        = new System.Drawing.Size(179, 30);
     this.comboBox1.TabIndex    = 10;
     //
     // GroupByReportsControl
     //
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.checkbox1);
     this.Name        = "GroupByReportsControl";
     this.Size        = new System.Drawing.Size(352, 36);
     this.Enter      += new System.EventHandler(this.GroupByReportsControl_Enter);
     this.KeyPress   += new System.Windows.Forms.KeyPressEventHandler(this.CustomerGroupControl_KeyPress);
     this.Leave      += new System.EventHandler(this.GroupByReportsControl_Leave);
     this.MouseHover += new System.EventHandler(this.GroupByReportsControl_MouseHover);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #2
0
 private void InitializeComponent()
 {
     this.comboFields      = new Atiran.UI.WindowsForms.Controls.ComboBoxes.ComboBox();
     this.flowLayoutPanel1 = new Atiran.UI.WindowsForms.Controls.FlowLayoutPanel();
     this.rbnozuli         = new Atiran.UI.WindowsForms.Controls.RadioButton();
     this.rbsoudi          = new Atiran.UI.WindowsForms.Controls.RadioButton();
     this.label1           = new Atiran.UI.WindowsForms.Controls.Label();
     this.label2           = new Atiran.UI.WindowsForms.Controls.Label();
     this.pictureBox1      = new Atiran.UI.WindowsForms.Controls.pictureBox();
     this.gradientPanel1   = new Atiran.UI.WindowsForms.UIElements.GradientPanel();
     this.lblSort          = new Atiran.UI.WindowsForms.Controls.Label();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // comboFields
     //
     this.comboFields.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.comboFields.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.comboFields.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.comboFields.FormattingEnabled  = true;
     this.comboFields.Location           = new System.Drawing.Point(17, 7);
     this.comboFields.Margin             = new System.Windows.Forms.Padding(10);
     this.comboFields.Name        = "comboFields";
     this.comboFields.NextControl = null;
     this.comboFields.Size        = new System.Drawing.Size(142, 30);
     this.comboFields.TabIndex    = 0;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.flowLayoutPanel1.BackColor = System.Drawing.Color.Transparent;
     this.flowLayoutPanel1.Controls.Add(this.rbnozuli);
     this.flowLayoutPanel1.Controls.Add(this.rbsoudi);
     this.flowLayoutPanel1.Location = new System.Drawing.Point(20, 38);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(139, 29);
     this.flowLayoutPanel1.TabIndex = 100;
     //
     // rbnozuli
     //
     this.rbnozuli.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.rbnozuli.AutoSize                = true;
     this.rbnozuli.Location                = new System.Drawing.Point(3, 3);
     this.rbnozuli.Name                    = "rbnozuli";
     this.rbnozuli.NextControl             = null;
     this.rbnozuli.Size                    = new System.Drawing.Size(56, 26);
     this.rbnozuli.TabIndex                = 3;
     this.rbnozuli.Text                    = "نزولي";
     this.rbnozuli.UseVisualStyleBackColor = true;
     //
     // rbsoudi
     //
     this.rbsoudi.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.rbsoudi.AutoSize                = true;
     this.rbsoudi.Checked                 = true;
     this.rbsoudi.Location                = new System.Drawing.Point(65, 3);
     this.rbsoudi.Name                    = "rbsoudi";
     this.rbsoudi.NextControl             = null;
     this.rbsoudi.Size                    = new System.Drawing.Size(67, 26);
     this.rbsoudi.TabIndex                = 4;
     this.rbsoudi.TabStop                 = true;
     this.rbsoudi.Text                    = "صعودي";
     this.rbsoudi.UseVisualStyleBackColor = true;
     this.rbsoudi.CheckedChanged         += new System.EventHandler(this.rbsoudi_CheckedChanged);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.label1.Location  = new System.Drawing.Point(162, 12);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(50, 22);
     this.label1.TabIndex  = 101;
     this.label1.Text      = "براساس";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.label2.Location  = new System.Drawing.Point(163, 42);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 22);
     this.label2.TabIndex  = 101;
     this.label2.Text      = "به صورت";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = global::Atiran.UI.WindowsForms.Resources.Sort;
     this.pictureBox1.Location = new System.Drawing.Point(0, 2);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(34, 33);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 102;
     this.pictureBox1.TabStop  = false;
     this.pictureBox1.Click   += new System.EventHandler(this.pictureBox1_Click);
     //
     // gradientPanel1
     //
     this.gradientPanel1.BackColor   = System.Drawing.SystemColors.GradientInactiveCaption;
     this.gradientPanel1.BorderColor = System.Drawing.Color.LightGoldenrodYellow;
     this.gradientPanel1.Controls.Add(this.lblSort);
     this.gradientPanel1.Controls.Add(this.label1);
     this.gradientPanel1.Controls.Add(this.comboFields);
     this.gradientPanel1.Controls.Add(this.flowLayoutPanel1);
     this.gradientPanel1.Controls.Add(this.label2);
     this.gradientPanel1.Dock               = System.Windows.Forms.DockStyle.Right;
     this.gradientPanel1.Font               = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.gradientPanel1.GradientEndColor   = System.Drawing.Color.LightCyan;
     this.gradientPanel1.GradientStartColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(227)))), ((int)(((byte)(241)))));
     this.gradientPanel1.Image              = null;
     this.gradientPanel1.ImageLocation      = new System.Drawing.Point(4, 4);
     this.gradientPanel1.Location           = new System.Drawing.Point(45, 0);
     this.gradientPanel1.Margin             = new System.Windows.Forms.Padding(0);
     this.gradientPanel1.Name               = "gradientPanel1";
     this.gradientPanel1.Size               = new System.Drawing.Size(226, 99);
     this.gradientPanel1.TabIndex           = 104;
     //
     // lblSort
     //
     this.lblSort.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblSort.AutoSize  = true;
     this.lblSort.BackColor = System.Drawing.Color.Transparent;
     this.lblSort.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.lblSort.Location  = new System.Drawing.Point(6, 67);
     this.lblSort.Name      = "lblSort";
     this.lblSort.Size      = new System.Drawing.Size(108, 22);
     this.lblSort.TabIndex  = 102;
     this.lblSort.Text      = "Alt+S:مرتب سازي";
     this.lblSort.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // SortControl
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.pictureBox1);
     this.Name  = "SortControl";
     this.Size  = new System.Drawing.Size(271, 99);
     this.Load += new System.EventHandler(this.SortControl_Load);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.gradientPanel1.PerformLayout();
     this.ResumeLayout(false);
 }