Ejemplo n.º 1
0
        public override void InitGrid()
        {
            DropDown dropdown = new DropDown();

            dropdown.ValueField           = "ItemCode";
            dropdown.TextField            = "ItemName";
            dropdown.CustomerDropDownForm = new G.Erp.BaseData.ItemSearch();
            dropdown.RowSelected         += dropdown_RowSelected;
            dropdown.VisibleButtons       = C1.Win.C1Input.DropDownControlButtonFlags.DropDown;
            Initialize.InitDropDown(dropdown, "ITEM", new G.BLL.ERP.BaseData.DM_ITEMLogic());
            C1.Win.C1Input.C1NumericEdit priceedit = new C1.Win.C1Input.C1NumericEdit();

            priceedit.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.DropDown;
            priceedit.DropDownForm   = new PriceCacu();

            gGrid1.AddGridColumn("ITEMCODE", "物品代码", "String", 80, dropdown, "ITEMCODE");
            gGrid1.AddGridColumn("ITEMNAME", "物品名称", "String", 100, true);
            gGrid1.AddGridColumn("BASICSIZE", "基准尺寸", "Decimal", 80);
            gGrid1.AddGridColumn("BASICPRICE", "基准价格", "Decimal", 80, priceedit, "BASICPRICE");
            gGrid1.AddGridColumn("ADDPRICE", "加1MM价格", "Decimal", 60);
            gGrid1.AddGridColumn("SUBPRICE", "减1MM价格", "Decimal", 60);
            gGrid1.FrozenCell          = 2;
            gGrid1.AutoGenerateColumns = false;
            gGrid1.InitGrid();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BordersForm));
     this._btnOK         = new System.Windows.Forms.Button();
     this._btnCancel     = new System.Windows.Forms.Button();
     this.label7         = new System.Windows.Forms.Label();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.numRadiusY     = new C1.Win.C1Input.C1NumericEdit();
     this.numRadiusX     = new C1.Win.C1Input.C1NumericEdit();
     this.c1ColorPicker1 = new C1.Win.C1Input.C1ColorPicker();
     this.lbWidth        = new System.Windows.Forms.ListBox();
     this.lbStyle        = new System.Windows.Forms.ListBox();
     this.label24        = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.label9         = new System.Windows.Forms.Label();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     this.cbBorderNone   = new C1.Win.C1Input.C1CheckBox();
     this.cbBorderAll    = new C1.Win.C1Input.C1CheckBox();
     this.cbBorderLeft   = new C1.Win.C1Input.C1CheckBox();
     this.cbBorderBottom = new C1.Win.C1Input.C1CheckBox();
     this.cbBorderRight  = new C1.Win.C1Input.C1CheckBox();
     this.cbBorderTop    = new C1.Win.C1Input.C1CheckBox();
     this.previewPanel   = new System.Windows.Forms.PictureBox();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numRadiusY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numRadiusX)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ColorPicker1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderNone)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderAll)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderLeft)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderBottom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderRight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderTop)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.previewPanel)).BeginInit();
     this.SuspendLayout();
     //
     // _btnOK
     //
     this._btnOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._btnOK.Location     = new System.Drawing.Point(357, 327);
     this._btnOK.Name         = "_btnOK";
     this._btnOK.Size         = new System.Drawing.Size(88, 24);
     this._btnOK.TabIndex     = 2;
     this._btnOK.Text         = "&OK";
     //
     // _btnCancel
     //
     this._btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._btnCancel.Location     = new System.Drawing.Point(451, 327);
     this._btnCancel.Name         = "_btnCancel";
     this._btnCancel.Size         = new System.Drawing.Size(88, 24);
     this._btnCancel.TabIndex     = 3;
     this._btnCancel.Text         = "&Cancel";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(148, 20);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(38, 13);
     this.label7.TabIndex = 1;
     this.label7.Text     = "&Width:";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.numRadiusY);
     this.groupBox1.Controls.Add(this.numRadiusX);
     this.groupBox1.Controls.Add(this.c1ColorPicker1);
     this.groupBox1.Controls.Add(this.lbWidth);
     this.groupBox1.Controls.Add(this.lbStyle);
     this.groupBox1.Controls.Add(this.label24);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label9);
     this.groupBox1.Location = new System.Drawing.Point(12, 12);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(281, 293);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "&Line";
     //
     // numRadiusY
     //
     this.numRadiusY.ImagePadding = new System.Windows.Forms.Padding(0);
     this.numRadiusY.Location     = new System.Drawing.Point(97, 255);
     this.numRadiusY.Name         = "numRadiusY";
     this.numRadiusY.PostValidation.Intervals.AddRange(new C1.Win.C1Input.ValueInterval[] {
         new C1.Win.C1Input.ValueInterval(new decimal(new int[] {
             0,
             0,
             0,
             0
         }), null, true, true)
     });
     this.numRadiusY.Size           = new System.Drawing.Size(99, 18);
     this.numRadiusY.TabIndex       = 8;
     this.numRadiusY.Tag            = null;
     this.numRadiusY.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.UpDown;
     this.numRadiusY.ValueChanged  += new System.EventHandler(this.numRadiusY_ValueChanged);
     //
     // numRadiusX
     //
     this.numRadiusX.ImagePadding = new System.Windows.Forms.Padding(0);
     this.numRadiusX.Location     = new System.Drawing.Point(97, 231);
     this.numRadiusX.Name         = "numRadiusX";
     this.numRadiusX.PostValidation.Intervals.AddRange(new C1.Win.C1Input.ValueInterval[] {
         new C1.Win.C1Input.ValueInterval(new decimal(new int[] {
             0,
             0,
             0,
             0
         }), null, true, true)
     });
     this.numRadiusX.Size           = new System.Drawing.Size(99, 18);
     this.numRadiusX.TabIndex       = 6;
     this.numRadiusX.Tag            = null;
     this.numRadiusX.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.UpDown;
     this.numRadiusX.ValueChanged  += new System.EventHandler(this.numRadiusX_ValueChanged);
     //
     // c1ColorPicker1
     //
     this.c1ColorPicker1.AllowEmpty        = false;
     this.c1ColorPicker1.EmptyColorCaption = null;
     this.c1ColorPicker1.ImagePadding      = new System.Windows.Forms.Padding(0);
     this.c1ColorPicker1.Location          = new System.Drawing.Point(21, 207);
     this.c1ColorPicker1.Name     = "c1ColorPicker1";
     this.c1ColorPicker1.Size     = new System.Drawing.Size(175, 18);
     this.c1ColorPicker1.TabIndex = 4;
     this.c1ColorPicker1.Tag      = null;
     this.c1ColorPicker1.Value    = System.Drawing.Color.Transparent;
     //
     // lbWidth
     //
     this.lbWidth.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.lbWidth.FormattingEnabled = true;
     this.lbWidth.Location          = new System.Drawing.Point(148, 36);
     this.lbWidth.Name                  = "lbWidth";
     this.lbWidth.Size                  = new System.Drawing.Size(123, 147);
     this.lbWidth.TabIndex              = 3;
     this.lbWidth.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.lbWidth_DrawItem);
     this.lbWidth.SelectedIndexChanged += new System.EventHandler(this.lbWidth_SelectedIndexChanged);
     //
     // lbStyle
     //
     this.lbStyle.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.lbStyle.FormattingEnabled = true;
     this.lbStyle.Location          = new System.Drawing.Point(10, 36);
     this.lbStyle.Name      = "lbStyle";
     this.lbStyle.Size      = new System.Drawing.Size(123, 147);
     this.lbStyle.TabIndex  = 2;
     this.lbStyle.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.lbStyle_DrawItem);
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Location = new System.Drawing.Point(24, 258);
     this.label24.Name     = "label24";
     this.label24.Size     = new System.Drawing.Size(53, 13);
     this.label24.TabIndex = 7;
     this.label24.Text     = "Radius &Y:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(24, 234);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 13);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Radius &X:";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(6, 20);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(33, 13);
     this.label9.TabIndex = 0;
     this.label9.Text     = "&Style:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cbBorderNone);
     this.groupBox2.Controls.Add(this.cbBorderAll);
     this.groupBox2.Controls.Add(this.cbBorderLeft);
     this.groupBox2.Controls.Add(this.cbBorderBottom);
     this.groupBox2.Controls.Add(this.cbBorderRight);
     this.groupBox2.Controls.Add(this.cbBorderTop);
     this.groupBox2.Controls.Add(this.previewPanel);
     this.groupBox2.Location = new System.Drawing.Point(313, 12);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(226, 293);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "&Borders";
     //
     // cbBorderNone
     //
     this.cbBorderNone.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderNone.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderNone.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderNone.Image")));
     this.cbBorderNone.Location                = new System.Drawing.Point(128, 30);
     this.cbBorderNone.Name                    = "cbBorderNone";
     this.cbBorderNone.Size                    = new System.Drawing.Size(58, 42);
     this.cbBorderNone.TabIndex                = 1;
     this.cbBorderNone.Text                    = "&None";
     this.cbBorderNone.TextAlign               = System.Drawing.ContentAlignment.BottomCenter;
     this.cbBorderNone.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cbBorderNone.UseVisualStyleBackColor = true;
     this.cbBorderNone.Value                   = null;
     this.cbBorderNone.Click                  += new System.EventHandler(this.cbBorderNone_Click);
     //
     // cbBorderAll
     //
     this.cbBorderAll.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderAll.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderAll.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderAll.Image")));
     this.cbBorderAll.Location                = new System.Drawing.Point(40, 30);
     this.cbBorderAll.Name                    = "cbBorderAll";
     this.cbBorderAll.Size                    = new System.Drawing.Size(58, 42);
     this.cbBorderAll.TabIndex                = 0;
     this.cbBorderAll.Text                    = "&All";
     this.cbBorderAll.TextAlign               = System.Drawing.ContentAlignment.BottomCenter;
     this.cbBorderAll.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cbBorderAll.UseVisualStyleBackColor = true;
     this.cbBorderAll.Value                   = null;
     this.cbBorderAll.Click                  += new System.EventHandler(this.cbBorderAll_Click);
     //
     // cbBorderLeft
     //
     this.cbBorderLeft.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderLeft.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderLeft.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderLeft.Image")));
     this.cbBorderLeft.Location                = new System.Drawing.Point(9, 160);
     this.cbBorderLeft.Name                    = "cbBorderLeft";
     this.cbBorderLeft.Size                    = new System.Drawing.Size(26, 26);
     this.cbBorderLeft.TabIndex                = 5;
     this.cbBorderLeft.UseVisualStyleBackColor = true;
     this.cbBorderLeft.Value                   = null;
     this.cbBorderLeft.Click                  += new System.EventHandler(this.cbBorder_Click);
     //
     // cbBorderBottom
     //
     this.cbBorderBottom.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderBottom.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderBottom.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderBottom.Image")));
     this.cbBorderBottom.Location                = new System.Drawing.Point(100, 230);
     this.cbBorderBottom.Name                    = "cbBorderBottom";
     this.cbBorderBottom.Size                    = new System.Drawing.Size(26, 26);
     this.cbBorderBottom.TabIndex                = 4;
     this.cbBorderBottom.UseVisualStyleBackColor = true;
     this.cbBorderBottom.Value                   = null;
     this.cbBorderBottom.Click                  += new System.EventHandler(this.cbBorder_Click);
     //
     // cbBorderRight
     //
     this.cbBorderRight.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderRight.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderRight.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderRight.Image")));
     this.cbBorderRight.Location                = new System.Drawing.Point(191, 160);
     this.cbBorderRight.Name                    = "cbBorderRight";
     this.cbBorderRight.Size                    = new System.Drawing.Size(26, 26);
     this.cbBorderRight.TabIndex                = 3;
     this.cbBorderRight.UseVisualStyleBackColor = true;
     this.cbBorderRight.Value                   = null;
     this.cbBorderRight.Click                  += new System.EventHandler(this.cbBorder_Click);
     //
     // cbBorderTop
     //
     this.cbBorderTop.Appearance              = System.Windows.Forms.Appearance.Button;
     this.cbBorderTop.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.cbBorderTop.Image                   = ((System.Drawing.Image)(resources.GetObject("cbBorderTop.Image")));
     this.cbBorderTop.Location                = new System.Drawing.Point(100, 92);
     this.cbBorderTop.Name                    = "cbBorderTop";
     this.cbBorderTop.Size                    = new System.Drawing.Size(26, 26);
     this.cbBorderTop.TabIndex                = 2;
     this.cbBorderTop.UseVisualStyleBackColor = true;
     this.cbBorderTop.Value                   = null;
     this.cbBorderTop.Click                  += new System.EventHandler(this.cbBorder_Click);
     //
     // previewPanel
     //
     this.previewPanel.BackColor   = System.Drawing.SystemColors.Window;
     this.previewPanel.Location    = new System.Drawing.Point(40, 123);
     this.previewPanel.Name        = "previewPanel";
     this.previewPanel.Size        = new System.Drawing.Size(146, 102);
     this.previewPanel.TabIndex    = 0;
     this.previewPanel.TabStop     = false;
     this.previewPanel.Paint      += new System.Windows.Forms.PaintEventHandler(this.previewPanel_Paint);
     this.previewPanel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.previewPanel_MouseClick);
     //
     // BordersForm
     //
     this.AcceptButton      = this._btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this._btnCancel;
     this.ClientSize        = new System.Drawing.Size(551, 363);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this._btnOK);
     this.Controls.Add(this._btnCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "BordersForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Border Properties";
     this.Load           += new System.EventHandler(this.BordersForm_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numRadiusY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numRadiusX)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1ColorPicker1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderNone)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderAll)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderLeft)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderBottom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderRight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbBorderTop)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.previewPanel)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
        public Configuration_Form(string strMenueTabName)
        {
            Application.EnableVisualStyles();
            this.StartPosition = FormStartPosition.CenterScreen;

            InitializeComponent();

            this.strMenueTabName = strMenueTabName;

            CellStyle cs_Boolean = c1FlexGrid_Conf.Styles.Add("Boolean");
            cs_Boolean.DataType = typeof(Boolean);
            cs_Boolean.ImageAlign = ImageAlignEnum.CenterCenter;

            CellStyle cs_Numeric = c1FlexGrid_Conf.Styles.Add("Numeric");
            C1.Win.C1Input.C1NumericEdit numEdit = new C1.Win.C1Input.C1NumericEdit();
            numEdit.FormatType = C1.Win.C1Input.FormatTypeEnum.Integer;
            numEdit.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.UpDown;
            cs_Numeric.Editor = numEdit;

            //    c1FlexGrid_Conf.DataSource = null;
             //   c1FlexGrid_Conf.Clear();
               //     c1FlexGrid_Conf.Cols[0].Width = 20;

            CellStyle cs = c1FlexGrid_Conf.Styles.Add("Added");
            cs.BackColor = SystemColors.Info;
            cs.Font = new Font(c1FlexGrid_Conf.Font, FontStyle.Bold);

            cs = c1FlexGrid_Conf.Styles.Add("Detached");
            cs.BackColor = SystemColors.Info;
            cs.ForeColor = Color.DarkGray;

            cs = c1FlexGrid_Conf.Styles.Add("Modified");
            cs.BackColor = Color.Gold;
            cs.Font = new Font(c1FlexGrid_Conf.Font, FontStyle.Bold);

            cs = c1FlexGrid_Conf.Styles.Add("NotEditable");
            cs.ForeColor = Color.Gray;

            this.c1FlexGrid_Conf.DrawMode = DrawModeEnum.OwnerDraw;
            this.c1FlexGrid_Conf.Renderer = new MyRenderer();
            this.c1FlexGrid_Conf.FocusRect = C1.Win.C1FlexGrid.FocusRectEnum.None;
        }
Ejemplo n.º 4
0
 private static void InitializeComponent()
 {
     // Create a new instance of the form.
     frmInputDialog = new Form();
     lblPrompt      = new Label();
     btnOK          = new Button();
     btnCancel      = new Button();
     txtInput       = new C1.Win.C1Input.C1NumericEdit();
     frmInputDialog.SuspendLayout();
     //
     // lblPrompt
     //
     lblPrompt.Anchor    = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left) | AnchorStyles.Right)));
     lblPrompt.BackColor = SystemColors.Control;
     lblPrompt.Font      = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((Byte)(0)));
     lblPrompt.Location  = new Point(12, 9);
     lblPrompt.Name      = "lblPrompt";
     lblPrompt.Size      = new Size(302, 82);
     lblPrompt.TabIndex  = 3;
     //
     // btnOK
     //
     btnOK.DialogResult = DialogResult.OK;
     btnOK.FlatStyle    = FlatStyle.System;
     btnOK.Location     = new Point(326, 8);
     btnOK.Name         = "btnOK";
     btnOK.Size         = new Size(64, 24);
     btnOK.TabIndex     = 1;
     btnOK.Text         = "&OK";
     btnOK.Click       += new EventHandler(btnOK_Click);
     //
     // btnCancel
     //
     btnCancel.DialogResult = DialogResult.Cancel;
     btnCancel.FlatStyle    = FlatStyle.System;
     btnCancel.Location     = new Point(326, 40);
     btnCancel.Name         = "btnCancel";
     btnCancel.Size         = new Size(64, 24);
     btnCancel.TabIndex     = 2;
     btnCancel.Text         = "&Cancel";
     btnCancel.Click       += new EventHandler(btnCancel_Click);
     //
     // txtInput
     //
     txtInput.Location = new Point(8, 100);
     txtInput.Name     = "txtInput";
     txtInput.Size     = new Size(379, 20);
     txtInput.TabIndex = 0;
     txtInput.Text     = "";
     //
     // InputBoxDialog
     //
     frmInputDialog.AutoScaleBaseSize = new Size(5, 13);
     frmInputDialog.ClientSize        = new Size(398, 128);
     frmInputDialog.Controls.Add(txtInput);
     frmInputDialog.Controls.Add(btnCancel);
     frmInputDialog.Controls.Add(btnOK);
     frmInputDialog.Controls.Add(lblPrompt);
     frmInputDialog.FormBorderStyle = FormBorderStyle.FixedDialog;
     frmInputDialog.MaximizeBox     = false;
     frmInputDialog.MinimizeBox     = false;
     frmInputDialog.Name            = "InputBoxDialog";
     frmInputDialog.ResumeLayout(false);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.paisLbl = new System.Windows.Forms.Label();
     this.limpiarPaisButton = new System.Windows.Forms.Button();
     this.EsRateFijoCB = new System.Windows.Forms.CheckBox();
     this.esRateFijoLbl = new System.Windows.Forms.Label();
     this.monedaLbl = new System.Windows.Forms.Label();
     this.actividadLbl = new System.Windows.Forms.Label();
     this.clienteLbl = new System.Windows.Forms.Label();
     this.fKBoxActividad = new Kenwin.PPP.Cliente.Comun.Controles.FKBoxes.ActividadFKBox();
     this.fKBoxMoneda = new Kenwin.PPP.Cliente.Comun.Controles.FKBoxes.MonedaFKBox();
     this.fKBoxPais = new Kenwin.PPP.Cliente.Comun.Controles.FKBoxes.PaisFKBox();
     this.fKBoxCliente = new Kenwin.PPP.Cliente.Comun.Controles.FKBoxes.ClienteFKBox();
     this.umLbl = new System.Windows.Forms.Label();
     this.fKBoxUM = new Kenwin.PPP.Cliente.Comun.Controles.FKBoxes.UnidadMedidaFKBox();
     this.cantidadTopeLbl = new System.Windows.Forms.Label();
     this.rateLbl = new System.Windows.Forms.Label();
     this.RateDB = new Vemn.Fwk.Windows.Controls.DecimalBox();
     this.limpiarClienteB = new System.Windows.Forms.Button();
     this.CantidadTopeIB = new C1.Win.C1Input.C1NumericEdit();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this._bs)).BeginInit();
     this.groupDetail.SuspendLayout();
     this.CrudTab.SuspendLayout();
     this.TableTab.SuspendLayout();
     this.DetailTab.SuspendLayout();
     this.panelContainerDetail.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgVemn)).BeginInit();
     this.panelContainerButton.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CantidadTopeIB)).BeginInit();
     this.SuspendLayout();
     //
     // groupDetail
     //
     this.groupDetail.Size = new System.Drawing.Size(794, 305);
     //
     // CrudTab
     //
     this.CrudTab.Size = new System.Drawing.Size(808, 337);
     //
     // TableTab
     //
     this.TableTab.Size = new System.Drawing.Size(800, 311);
     //
     // DetailTab
     //
     this.DetailTab.Size = new System.Drawing.Size(800, 311);
     //
     // panelContainerDetail
     //
     this.panelContainerDetail.Controls.Add(this.tableLayoutPanel1);
     this.panelContainerDetail.Size = new System.Drawing.Size(788, 246);
     //
     // title
     //
     this.title.SubTitle = "Altas Bajas y Modificaciones de Tarifa";
     this.title.Title = "Tarifa";
     //
     // dgVemn
     //
     this.dgVemn.AutoGenerateColumns = false;
     this.dgVemn.Rows.Count = 1;
     this.dgVemn.Rows.DefaultSize = 17;
     this.dgVemn.Size = new System.Drawing.Size(794, 280);
     //
     // panelContainerButton
     //
     this.panelContainerButton.Location = new System.Drawing.Point(3, 262);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 157F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.paisLbl, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.limpiarPaisButton, 2, 3);
     this.tableLayoutPanel1.Controls.Add(this.EsRateFijoCB, 1, 9);
     this.tableLayoutPanel1.Controls.Add(this.esRateFijoLbl, 0, 9);
     this.tableLayoutPanel1.Controls.Add(this.monedaLbl, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.actividadLbl, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.clienteLbl, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.fKBoxActividad, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.fKBoxMoneda, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.fKBoxPais, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.fKBoxCliente, 1, 4);
     this.tableLayoutPanel1.Controls.Add(this.umLbl, 0, 5);
     this.tableLayoutPanel1.Controls.Add(this.fKBoxUM, 1, 5);
     this.tableLayoutPanel1.Controls.Add(this.cantidadTopeLbl, 0, 6);
     this.tableLayoutPanel1.Controls.Add(this.rateLbl, 0, 7);
     this.tableLayoutPanel1.Controls.Add(this.RateDB, 1, 7);
     this.tableLayoutPanel1.Controls.Add(this.limpiarClienteB, 2, 4);
     this.tableLayoutPanel1.Controls.Add(this.CantidadTopeIB, 1, 6);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 13);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 11;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(572, 226);
     this.tableLayoutPanel1.TabIndex = 1;
     //
     // paisLbl
     //
     this.paisLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.paisLbl.AutoSize = true;
     this.paisLbl.Location = new System.Drawing.Point(68, 68);
     this.paisLbl.Name = "paisLbl";
     this.paisLbl.Size = new System.Drawing.Size(29, 13);
     this.paisLbl.TabIndex = 2;
     this.paisLbl.Text = "País";
     //
     // limpiarPaisButton
     //
     this.limpiarPaisButton.Image = global::Kenwin.PPP.Cliente.Properties.Resources.Borrar;
     this.limpiarPaisButton.Location = new System.Drawing.Point(260, 63);
     this.limpiarPaisButton.Name = "limpiarPaisButton";
     this.limpiarPaisButton.Size = new System.Drawing.Size(24, 24);
     this.limpiarPaisButton.TabIndex = 10;
     this.toolTip.SetToolTip(this.limpiarPaisButton, "Limpiar Pais (indica Todos los Paises)");
     this.limpiarPaisButton.UseVisualStyleBackColor = true;
     this.limpiarPaisButton.Click += new System.EventHandler(this.LimpiarPaisButton_Click);
     //
     // EsRateFijoCB
     //
     this.EsRateFijoCB.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.EsRateFijoCB.AutoSize = true;
     this.EsRateFijoCB.Location = new System.Drawing.Point(103, 205);
     this.EsRateFijoCB.Name = "EsRateFijoCB";
     this.EsRateFijoCB.Size = new System.Drawing.Size(15, 14);
     this.EsRateFijoCB.TabIndex = 8;
     this.EsRateFijoCB.UseVisualStyleBackColor = true;
     //
     // esRateFijoLbl
     //
     this.esRateFijoLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.esRateFijoLbl.AutoSize = true;
     this.esRateFijoLbl.Location = new System.Drawing.Point(48, 205);
     this.esRateFijoLbl.Name = "esRateFijoLbl";
     this.esRateFijoLbl.Size = new System.Drawing.Size(49, 13);
     this.esRateFijoLbl.TabIndex = 9;
     this.esRateFijoLbl.Text = "Rate Fijo";
     //
     // monedaLbl
     //
     this.monedaLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.monedaLbl.AutoSize = true;
     this.monedaLbl.Location = new System.Drawing.Point(51, 38);
     this.monedaLbl.Name = "monedaLbl";
     this.monedaLbl.Size = new System.Drawing.Size(46, 13);
     this.monedaLbl.TabIndex = 2;
     this.monedaLbl.Text = "Moneda";
     //
     // actividadLbl
     //
     this.actividadLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.actividadLbl.AutoSize = true;
     this.actividadLbl.Location = new System.Drawing.Point(46, 8);
     this.actividadLbl.Name = "actividadLbl";
     this.actividadLbl.Size = new System.Drawing.Size(51, 13);
     this.actividadLbl.TabIndex = 1;
     this.actividadLbl.Text = "Actividad";
     //
     // clienteLbl
     //
     this.clienteLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.clienteLbl.AutoSize = true;
     this.clienteLbl.Location = new System.Drawing.Point(58, 98);
     this.clienteLbl.Name = "clienteLbl";
     this.clienteLbl.Size = new System.Drawing.Size(39, 13);
     this.clienteLbl.TabIndex = 3;
     this.clienteLbl.Text = "Cliente";
     //
     // fKBoxActividad
     //
     this.fKBoxActividad.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.fKBoxActividad.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.fKBoxActividad.Location = new System.Drawing.Point(103, 3);
     this.fKBoxActividad.MaximumSize = new System.Drawing.Size(500, 24);
     this.fKBoxActividad.MinimumSize = new System.Drawing.Size(50, 24);
     this.fKBoxActividad.Name = "fKBoxActividad";
     this.fKBoxActividad.Size = new System.Drawing.Size(150, 24);
     this.fKBoxActividad.TabIndex = 1;
     this.fKBoxActividad.Validating += new System.ComponentModel.CancelEventHandler(this.FKBoxActividad_Validating);
     //
     // fKBoxMoneda
     //
     this.fKBoxMoneda.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.fKBoxMoneda.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.fKBoxMoneda.Location = new System.Drawing.Point(103, 33);
     this.fKBoxMoneda.MaximumSize = new System.Drawing.Size(500, 24);
     this.fKBoxMoneda.MinimumSize = new System.Drawing.Size(50, 24);
     this.fKBoxMoneda.Name = "fKBoxMoneda";
     this.fKBoxMoneda.Size = new System.Drawing.Size(150, 24);
     this.fKBoxMoneda.TabIndex = 2;
     this.fKBoxMoneda.Validating += new System.ComponentModel.CancelEventHandler(this.FKBoxMoneda_Validating);
     //
     // fKBoxPais
     //
     this.fKBoxPais.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.fKBoxPais.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.fKBoxPais.Location = new System.Drawing.Point(103, 63);
     this.fKBoxPais.MaximumSize = new System.Drawing.Size(500, 24);
     this.fKBoxPais.MinimumSize = new System.Drawing.Size(50, 24);
     this.fKBoxPais.Name = "fKBoxPais";
     this.fKBoxPais.Size = new System.Drawing.Size(150, 24);
     this.fKBoxPais.TabIndex = 3;
     //
     // fKBoxCliente
     //
     this.fKBoxCliente.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.fKBoxCliente.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.fKBoxCliente.Location = new System.Drawing.Point(103, 93);
     this.fKBoxCliente.MaximumSize = new System.Drawing.Size(500, 24);
     this.fKBoxCliente.MinimumSize = new System.Drawing.Size(50, 24);
     this.fKBoxCliente.Name = "fKBoxCliente";
     this.fKBoxCliente.Size = new System.Drawing.Size(150, 24);
     this.fKBoxCliente.TabIndex = 4;
     //
     // umLbl
     //
     this.umLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.umLbl.AutoSize = true;
     this.umLbl.Location = new System.Drawing.Point(18, 128);
     this.umLbl.Name = "umLbl";
     this.umLbl.Size = new System.Drawing.Size(79, 13);
     this.umLbl.TabIndex = 2;
     this.umLbl.Text = "Unidad Medida";
     //
     // fKBoxUM
     //
     this.fKBoxUM.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.fKBoxUM.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.fKBoxUM.Location = new System.Drawing.Point(103, 123);
     this.fKBoxUM.MaximumSize = new System.Drawing.Size(500, 24);
     this.fKBoxUM.MinimumSize = new System.Drawing.Size(50, 24);
     this.fKBoxUM.Name = "fKBoxUM";
     this.fKBoxUM.Size = new System.Drawing.Size(150, 24);
     this.fKBoxUM.TabIndex = 5;
     this.fKBoxUM.Validating += new System.ComponentModel.CancelEventHandler(this.FKBoxUM_Validating);
     //
     // cantidadTopeLbl
     //
     this.cantidadTopeLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.cantidadTopeLbl.AutoSize = true;
     this.cantidadTopeLbl.Location = new System.Drawing.Point(17, 156);
     this.cantidadTopeLbl.Name = "cantidadTopeLbl";
     this.cantidadTopeLbl.Size = new System.Drawing.Size(80, 13);
     this.cantidadTopeLbl.TabIndex = 2;
     this.cantidadTopeLbl.Text = "Cantidad Hasta";
     //
     // rateLbl
     //
     this.rateLbl.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.rateLbl.AutoSize = true;
     this.rateLbl.Location = new System.Drawing.Point(67, 182);
     this.rateLbl.Name = "rateLbl";
     this.rateLbl.Size = new System.Drawing.Size(30, 13);
     this.rateLbl.TabIndex = 4;
     this.rateLbl.Text = "Rate";
     //
     // RateDB
     //
     this.RateDB.AllowNull = false;
     this.RateDB.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.RateDB.Location = new System.Drawing.Point(103, 179);
     this.RateDB.MaxValue = new decimal(new int[] {
     -727379969,
     232,
     0,
     131072});
     this.RateDB.Name = "RateDB";
     this.RateDB.Size = new System.Drawing.Size(100, 20);
     this.RateDB.TabIndex = 7;
     this.RateDB.Validating += new System.ComponentModel.CancelEventHandler(this.RateDB_Validating);
     //
     // limpiarClienteB
     //
     this.limpiarClienteB.Image = global::Kenwin.PPP.Cliente.Properties.Resources.Borrar;
     this.limpiarClienteB.Location = new System.Drawing.Point(260, 93);
     this.limpiarClienteB.Name = "limpiarClienteB";
     this.limpiarClienteB.Size = new System.Drawing.Size(24, 24);
     this.limpiarClienteB.TabIndex = 11;
     this.toolTip.SetToolTip(this.limpiarClienteB, "Limpiar Cliente (indica Todos los Clientes)");
     this.limpiarClienteB.UseVisualStyleBackColor = true;
     this.limpiarClienteB.Click += new System.EventHandler(this.LimpiarClienteB_Click);
     //
     // CantidadTopeIB
     //
     this.CantidadTopeIB.AutoSize = false;
     this.CantidadTopeIB.DataType = typeof(int);
     this.CantidadTopeIB.EmptyAsNull = true;
     this.CantidadTopeIB.ErrorInfo.ErrorAction = C1.Win.C1Input.ErrorActionEnum.ResetValue;
     this.CantidadTopeIB.ErrorInfo.ShowErrorMessage = false;
     this.CantidadTopeIB.FormatType = C1.Win.C1Input.FormatTypeEnum.Integer;
     this.CantidadTopeIB.Location = new System.Drawing.Point(103, 153);
     this.CantidadTopeIB.MaxLength = 10;
     this.CantidadTopeIB.Name = "CantidadTopeIB";
     this.CantidadTopeIB.NumericInputKeys = C1.Win.C1Input.NumericInputKeyFlags.None;
     this.CantidadTopeIB.PostValidation.Intervals.AddRange(new C1.Win.C1Input.ValueInterval[] {
     new C1.Win.C1Input.ValueInterval(((long)(0)), ((long)(999999999)), true, true)});
     this.CantidadTopeIB.Size = new System.Drawing.Size(100, 20);
     this.CantidadTopeIB.TabIndex = 6;
     this.CantidadTopeIB.Tag = null;
     this.CantidadTopeIB.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.None;
     //
     // ABMTarifa
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(808, 386);
     this.ControlBox = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.GetDataPageAfterInsert = false;
     this.MaximizeBox = true;
     this.MinimizeBox = true;
     this.Name = "ABMTarifa";
     this.Text = "Tarifa";
     this.Load += new System.EventHandler(this.ABMTarifa_Load);
     ((System.ComponentModel.ISupportInitialize)(this._bs)).EndInit();
     this.groupDetail.ResumeLayout(false);
     this.CrudTab.ResumeLayout(false);
     this.TableTab.ResumeLayout(false);
     this.TableTab.PerformLayout();
     this.DetailTab.ResumeLayout(false);
     this.panelContainerDetail.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgVemn)).EndInit();
     this.panelContainerButton.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CantidadTopeIB)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }