Exemplo n.º 1
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucBaseAdd26));
            SuperToolTip             tip     = new SuperToolTip();
            ToolTipItem  item  = new ToolTipItem();
            SuperToolTip tip2  = new SuperToolTip();
            ToolTipItem  item2 = new ToolTipItem();

            this.txtNAME          = new TextEdit();
            this.lcMain           = new LayoutControl();
            this.btnCancel        = new SimpleButton();
            this.imageCollection2 = new DevExpress.Utils.ImageCollection(this.components);
            this.btnSaveNew       = new SimpleButton();
            this.txtID            = new TextEdit();
            this.btnSave          = new SimpleButton();
            this.lgMain           = new LayoutControlGroup();
            this.liId             = new LayoutControlItem();
            this.liName           = new LayoutControlItem();
            this.liSave           = new LayoutControlItem();
            this.liSaveNew        = new LayoutControlItem();
            this.liCancel         = new LayoutControlItem();
            this.Err = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
            this.txtNAME.Properties.BeginInit();
            this.lcMain.BeginInit();
            this.lcMain.SuspendLayout();
            this.imageCollection2.BeginInit();
            this.txtID.Properties.BeginInit();
            this.lgMain.BeginInit();
            this.liId.BeginInit();
            this.liName.BeginInit();
            this.liSave.BeginInit();
            this.liSaveNew.BeginInit();
            this.liCancel.BeginInit();
            ((ISupportInitialize)this.Err).BeginInit();
            base.SuspendLayout();
            this.txtNAME.Location          = new Point(60, 0x1f);
            this.txtNAME.Name              = "txtNAME";
            this.txtNAME.Size              = new Size(0x13f, 20);
            this.txtNAME.StyleController   = this.lcMain;
            this.txtNAME.TabIndex          = 3;
            this.txtNAME.EditValueChanged += new EventHandler(this.txtNAME_EditValueChanged);
            this.txtNAME.Leave            += new EventHandler(this.txtNAME_Leave);
            this.lcMain.Controls.Add(this.txtNAME);
            this.lcMain.Controls.Add(this.btnCancel);
            this.lcMain.Controls.Add(this.btnSaveNew);
            this.lcMain.Controls.Add(this.txtID);
            this.lcMain.Controls.Add(this.btnSave);
            this.lcMain.Dock                  = DockStyle.Fill;
            this.lcMain.Location              = new Point(0, 0);
            this.lcMain.Name                  = "lcMain";
            this.lcMain.Root                  = this.lgMain;
            this.lcMain.Size                  = new Size(0x182, 0x1c4);
            this.lcMain.TabIndex              = 0x26;
            this.lcMain.Text                  = "layoutControl1";
            this.btnCancel.ImageIndex         = 6;
            this.btnCancel.ImageList          = this.imageCollection2;
            this.btnCancel.Location           = new Point(60, 0x6b);
            this.btnCancel.Name               = "btnCancel";
            this.btnCancel.Size               = new Size(0x13f, 0x16);
            this.btnCancel.StyleController    = this.lcMain;
            this.btnCancel.TabIndex           = 0x24;
            this.btnCancel.Text               = "Bỏ qua";
            this.btnCancel.Click             += new EventHandler(this.btnCancel_Click);
            this.btnCancel.KeyDown           += new KeyEventHandler(this.btnCancel_KeyDown);
            this.imageCollection2.ImageStream = (ImageCollectionStreamer)manager.GetObject("imageCollection2.ImageStream");
            this.btnSaveNew.ImageIndex        = 0;
            this.btnSaveNew.ImageList         = this.imageCollection2;
            this.btnSaveNew.Location          = new Point(60, 0x51);
            this.btnSaveNew.Name              = "btnSaveNew";
            this.btnSaveNew.Size              = new Size(0x13f, 0x16);
            this.btnSaveNew.StyleController   = this.lcMain;
            item.Text = "Ctrl+Shift +S";
            tip.Items.Add(item);
            this.btnSaveNew.SuperTip     = tip;
            this.btnSaveNew.TabIndex     = 0x25;
            this.btnSaveNew.Text         = "Lưu && Th\x00eam";
            this.btnSaveNew.Click       += new EventHandler(this.btnSaveNew_Click);
            this.txtID.Location          = new Point(60, 7);
            this.txtID.Name              = "txtID";
            this.txtID.Size              = new Size(0x13f, 20);
            this.txtID.StyleController   = this.lcMain;
            this.txtID.TabIndex          = 1;
            this.txtID.EditValueChanged += new EventHandler(this.txtID_EditValueChanged);
            this.txtID.Leave            += new EventHandler(this.txtID_Leave);
            this.txtID.KeyDown          += new KeyEventHandler(this.txtID_KeyDown);
            this.btnSave.ImageIndex      = 0;
            this.btnSave.ImageList       = this.imageCollection2;
            this.btnSave.Location        = new Point(60, 0x37);
            this.btnSave.Name            = "btnSave";
            this.btnSave.Size            = new Size(0x13f, 0x16);
            this.btnSave.StyleController = this.lcMain;
            item2.Text = "Ctrl+S\r\n";
            tip2.Items.Add(item2);
            this.btnSave.SuperTip                   = tip2;
            this.btnSave.TabIndex                   = 0x23;
            this.btnSave.Text                       = "Lưu && Đ\x00f3ng";
            this.btnSave.Click                     += new EventHandler(this.btnSave_Click);
            this.btnSave.KeyDown                   += new KeyEventHandler(this.btnSave_KeyDown);
            this.lgMain.CustomizationFormText       = "lgMain";
            this.lgMain.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.lgMain.GroupBordersVisible         = false;
            this.lgMain.Items.AddRange(new BaseLayoutItem[] { this.liId, this.liName, this.liSave, this.liSaveNew, this.liCancel });
            this.lgMain.Location            = new Point(0, 0);
            this.lgMain.Name                = "lgMain";
            this.lgMain.Padding             = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5);
            this.lgMain.Size                = new Size(0x182, 0x1c4);
            this.lgMain.Spacing             = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lgMain.Text                = "lgMain";
            this.lgMain.TextVisible         = false;
            this.liId.Control               = this.txtID;
            this.liId.CustomizationFormText = "M\x00e3:";
            this.liId.Location              = new Point(0, 0);
            this.liId.Name      = "liId";
            this.liId.Size      = new Size(0x178, 0x18);
            this.liId.Text      = "M\x00e3:";
            this.liId.TextSize  = new Size(0x31, 13);
            this.liName.Control = this.txtNAME;
            this.liName.CustomizationFormText = "T\x00ean:";
            this.liName.Location = new Point(0, 0x18);
            this.liName.Name     = "liName";
            this.liName.Size     = new Size(0x178, 0x18);
            this.liName.Text     = "T\x00ean:";
            this.liName.TextSize = new Size(0x31, 13);
            this.liSave.Control  = this.btnSave;
            this.liSave.CustomizationFormText = "layoutControlItem1";
            this.liSave.Location   = new Point(0, 0x30);
            this.liSave.Name       = "liSave";
            this.liSave.Size       = new Size(0x178, 0x1a);
            this.liSave.Text       = "liSave";
            this.liSave.TextSize   = new Size(0x31, 13);
            this.liSaveNew.Control = this.btnSaveNew;
            this.liSaveNew.CustomizationFormText = "layoutControlItem2";
            this.liSaveNew.Location             = new Point(0, 0x4a);
            this.liSaveNew.Name                 = "liSaveNew";
            this.liSaveNew.Size                 = new Size(0x178, 0x1a);
            this.liSaveNew.Text                 = "liSaveNew";
            this.liSaveNew.TextSize             = new Size(0x31, 13);
            this.liCancel.Control               = this.btnCancel;
            this.liCancel.CustomizationFormText = "layoutControlItem3";
            this.liCancel.Location              = new Point(0, 100);
            this.liCancel.Name        = "liCancel";
            this.liCancel.Size        = new Size(0x178, 0x156);
            this.liCancel.Text        = "liCancel";
            this.liCancel.TextSize    = new Size(0x31, 13);
            this.Err.ContainerControl = this;
            base.AutoScaleDimensions  = new SizeF(6f, 13f);
            base.AutoScaleMode        = AutoScaleMode.Font;
            base.Controls.Add(this.lcMain);
            base.Name = "xucBaseAdd26";
            base.Size = new Size(0x182, 0x1c4);
            this.txtNAME.Properties.EndInit();
            this.lcMain.EndInit();
            this.lcMain.ResumeLayout(false);
            this.imageCollection2.EndInit();
            this.txtID.Properties.EndInit();
            this.lgMain.EndInit();
            this.liId.EndInit();
            this.liName.EndInit();
            this.liSave.EndInit();
            this.liSaveNew.EndInit();
            this.liCancel.EndInit();
            ((ISupportInitialize)this.Err).EndInit();
            base.ResumeLayout(false);
        }
Exemplo n.º 2
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucBaseAddH));
            SuperToolTip             tip     = new SuperToolTip();
            ToolTipItem  item  = new ToolTipItem();
            SuperToolTip tip2  = new SuperToolTip();
            ToolTipItem  item2 = new ToolTipItem();

            this.imageCollection2 = new DevExpress.Utils.ImageCollection(this.components);
            this.Err        = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
            this.btnSave    = new SimpleButton();
            this.btnCancel  = new SimpleButton();
            this.btnSaveNew = new SimpleButton();
            this.imageCollection2.BeginInit();
            ((ISupportInitialize)this.Err).BeginInit();
            base.SuspendLayout();
            this.imageCollection2.ImageStream = (ImageCollectionStreamer)manager.GetObject("imageCollection2.ImageStream");
            this.Err.ContainerControl         = this;
            this.btnSave.Anchor     = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnSave.ImageIndex = 0;
            this.btnSave.ImageList  = this.imageCollection2;
            this.btnSave.Location   = new Point(0x167, 0x1b6);
            this.btnSave.Name       = "btnSave";
            this.btnSave.Size       = new Size(0x5c, 0x1b);
            item.Text = "Ctrl+S\r\n";
            tip.Items.Add(item);
            this.btnSave.SuperTip      = tip;
            this.btnSave.TabIndex      = 0x23;
            this.btnSave.Text          = "Lưu && Đ\x00f3ng";
            this.btnSave.Click        += new EventHandler(this.btnSave_Click);
            this.btnSave.KeyDown      += new KeyEventHandler(this.btnSave_KeyDown);
            this.btnCancel.Anchor      = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnCancel.ImageIndex  = 6;
            this.btnCancel.ImageList   = this.imageCollection2;
            this.btnCancel.Location    = new Point(0x22e, 0x1b6);
            this.btnCancel.Name        = "btnCancel";
            this.btnCancel.Size        = new Size(0x5f, 0x1b);
            this.btnCancel.TabIndex    = 0x24;
            this.btnCancel.Text        = "Đ\x00f3ng";
            this.btnCancel.Click      += new EventHandler(this.btnCancel_Click);
            this.btnCancel.KeyDown    += new KeyEventHandler(this.btnCancel_KeyDown);
            this.btnSaveNew.Anchor     = AnchorStyles.Right | AnchorStyles.Bottom;
            this.btnSaveNew.ImageIndex = 0;
            this.btnSaveNew.ImageList  = this.imageCollection2;
            this.btnSaveNew.Location   = new Point(0x1c9, 0x1b6);
            this.btnSaveNew.Name       = "btnSaveNew";
            this.btnSaveNew.Size       = new Size(0x5f, 0x1b);
            item2.Text = "Ctrl+Shift +S";
            tip2.Items.Add(item2);
            this.btnSaveNew.SuperTip = tip2;
            this.btnSaveNew.TabIndex = 0x25;
            this.btnSaveNew.Text     = "Lưu && Th\x00eam";
            this.btnSaveNew.Click   += new EventHandler(this.btnSaveNew_Click);
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.Controls.Add(this.btnSaveNew);
            base.Controls.Add(this.btnSave);
            base.Controls.Add(this.btnCancel);
            base.Name = "xucBaseAddH";
            base.Size = new Size(0x2a9, 0x1db);
            this.imageCollection2.EndInit();
            ((ISupportInitialize)this.Err).EndInit();
            base.ResumeLayout(false);
        }
Exemplo n.º 3
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucBaseXAdd));
            SuperToolTip             tip     = new SuperToolTip();
            ToolTipItem  item  = new ToolTipItem();
            SuperToolTip tip2  = new SuperToolTip();
            ToolTipItem  item2 = new ToolTipItem();

            this.gcInfo           = new GroupControl();
            this.txtNAME          = new ComboBoxEdit();
            this.lblName          = new LabelControl();
            this.txtID            = new TextEdit();
            this.lblId            = new LabelControl();
            this.imageCollection2 = new DevExpress.Utils.ImageCollection(this.components);
            this.Err        = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
            this.btnSave    = new SimpleButton();
            this.btnCancel  = new SimpleButton();
            this.btnSaveNew = new SimpleButton();
            this.gcInfo.BeginInit();
            this.gcInfo.SuspendLayout();
            this.txtNAME.Properties.BeginInit();
            this.txtID.Properties.BeginInit();
            this.imageCollection2.BeginInit();
            ((ISupportInitialize)this.Err).BeginInit();
            base.SuspendLayout();
            this.gcInfo.Controls.Add(this.txtNAME);
            this.gcInfo.Controls.Add(this.lblName);
            this.gcInfo.Controls.Add(this.txtID);
            this.gcInfo.Controls.Add(this.lblId);
            this.gcInfo.Location = new Point(1, 1);
            this.gcInfo.Name     = "gcInfo";
            this.gcInfo.Size     = new Size(0x17f, 0x37);
            this.gcInfo.TabIndex = 2;
            this.gcInfo.Text     = "Th\x00f4ng tin bắt buộc";
            this.txtNAME.AllowHtmlTextInToolTip = DefaultBoolean.True;
            this.txtNAME.Location = new Point(0x9b, 0x1a);
            this.txtNAME.Name     = "txtNAME";
            this.txtNAME.Properties.DropDownRows   = 10;
            this.txtNAME.Properties.ImmediatePopup = true;
            this.txtNAME.Properties.PopupSizeable  = true;
            this.txtNAME.Size              = new Size(0xde, 20);
            this.txtNAME.TabIndex          = 3;
            this.txtNAME.EditValueChanged += new EventHandler(this.txtNAME_EditValueChanged);
            this.txtNAME.MouseClick       += new MouseEventHandler(this.txtNAME_MouseClick);
            this.txtNAME.Leave            += new EventHandler(this.txtNAME_Leave);
            this.lblName.Location          = new Point(0x7e, 30);
            this.lblName.Name              = "lblName";
            this.lblName.Size              = new Size(0x12, 13);
            this.lblName.TabIndex          = 2;
            this.lblName.Text              = "T\x00ean";
            this.txtID.Location            = new Point(0x1b, 0x1a);
            this.txtID.Name = "txtID";
            this.txtID.Properties.MaxLength = 20;
            this.txtID.Size                   = new Size(0x5d, 20);
            this.txtID.TabIndex               = 1;
            this.txtID.EditValueChanged      += new EventHandler(this.txtID_EditValueChanged);
            this.txtID.Leave                 += new EventHandler(this.txtID_Leave);
            this.txtID.KeyDown               += new KeyEventHandler(this.txtID_KeyDown);
            this.lblId.Location               = new Point(6, 0x1d);
            this.lblId.Name                   = "lblId";
            this.lblId.Size                   = new Size(14, 13);
            this.lblId.TabIndex               = 0;
            this.lblId.Text                   = "M\x00e3";
            this.imageCollection2.ImageStream = (ImageCollectionStreamer)manager.GetObject("imageCollection2.ImageStream");
            this.Err.ContainerControl         = this;
            this.btnSave.ImageIndex           = 0;
            this.btnSave.ImageList            = this.imageCollection2;
            this.btnSave.Location             = new Point(0x59, 0x4e);
            this.btnSave.Name                 = "btnSave";
            this.btnSave.Size                 = new Size(0x58, 0x1b);
            item.Text = "Ctrl+S\r\n";
            tip.Items.Add(item);
            this.btnSave.SuperTip      = tip;
            this.btnSave.TabIndex      = 0x23;
            this.btnSave.Text          = "Lưu && Đ\x00f3ng";
            this.btnSave.Visible       = false;
            this.btnSave.Click        += new EventHandler(this.btnSave_Click);
            this.btnSave.KeyDown      += new KeyEventHandler(this.btnSave_KeyDown);
            this.btnCancel.ImageIndex  = 6;
            this.btnCancel.ImageList   = this.imageCollection2;
            this.btnCancel.Location    = new Point(0x114, 0x4e);
            this.btnCancel.Name        = "btnCancel";
            this.btnCancel.Size        = new Size(0x5f, 0x1b);
            this.btnCancel.TabIndex    = 0x24;
            this.btnCancel.Text        = "Đ\x00f3ng";
            this.btnCancel.Click      += new EventHandler(this.btnCancel_Click);
            this.btnCancel.KeyDown    += new KeyEventHandler(this.btnCancel_KeyDown);
            this.btnSaveNew.ImageIndex = 0;
            this.btnSaveNew.ImageList  = this.imageCollection2;
            this.btnSaveNew.Location   = new Point(0xb7, 0x4e);
            this.btnSaveNew.Name       = "btnSaveNew";
            this.btnSaveNew.Size       = new Size(0x57, 0x1b);
            item2.Text = "Ctrl+Shift +S";
            tip2.Items.Add(item2);
            this.btnSaveNew.SuperTip = tip2;
            this.btnSaveNew.TabIndex = 0x25;
            this.btnSaveNew.Text     = "Lưu";
            this.btnSaveNew.Click   += new EventHandler(this.btnSaveNew_Click);
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.Controls.Add(this.btnSaveNew);
            base.Controls.Add(this.btnSave);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.gcInfo);
            this.DoubleBuffered = true;
            base.Name           = "xucBaseXAdd";
            base.Size           = new Size(0x182, 0x6c);
            this.gcInfo.EndInit();
            this.gcInfo.ResumeLayout(false);
            this.gcInfo.PerformLayout();
            this.txtNAME.Properties.EndInit();
            this.txtID.Properties.EndInit();
            this.imageCollection2.EndInit();
            ((ISupportInitialize)this.Err).EndInit();
            base.ResumeLayout(false);
        }