/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDanhSachNhaCungCap)); this.img = new DevExpress.Utils.ImageCollection(this.components); this.bm = new DevExpress.XtraBars.BarManager(this.components); this.bar2 = new DevExpress.XtraBars.Bar(); this.bbiXem = new DevExpress.XtraBars.BarButtonItem(); this.bbiSua = new DevExpress.XtraBars.BarButtonItem(); this.bbiXoa = new DevExpress.XtraBars.BarButtonItem(); this.bbiChon = new DevExpress.XtraBars.BarButtonItem(); this.bbiDong = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.gcList = new DevExpress.XtraGrid.GridControl(); this.danhSachNhaCungCapBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsDanhSachNhaCungCap = new Phan_Mem_Quan_Ly_In_Tem.DS.dsDanhSachNhaCungCap(); this.gbList = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colNhaCungCap = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTenTiem = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDiaChi = new DevExpress.XtraGrid.Columns.GridColumn(); this.colChon = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptChon = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.danhSachNhaCungCapBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDanhSachNhaCungCap)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptChon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); this.SuspendLayout(); // // img // this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream"))); this.img.Images.SetKeyName(0, "abort.png"); this.img.Images.SetKeyName(1, "about.png"); this.img.Images.SetKeyName(2, "accept.png"); this.img.Images.SetKeyName(3, "add.png"); this.img.Images.SetKeyName(4, "application.png"); this.img.Images.SetKeyName(5, "apply.png"); this.img.Images.SetKeyName(6, "attention.png"); this.img.Images.SetKeyName(7, "back.png"); this.img.Images.SetKeyName(8, "cancel.png"); this.img.Images.SetKeyName(9, "circulation.png"); this.img.Images.SetKeyName(10, "close.png"); this.img.Images.SetKeyName(11, "create.png"); this.img.Images.SetKeyName(12, "cut.png"); this.img.Images.SetKeyName(13, "danger.png"); this.img.Images.SetKeyName(14, "delete.png"); this.img.Images.SetKeyName(15, "down.png"); this.img.Images.SetKeyName(16, "erase.png"); this.img.Images.SetKeyName(17, "error.png"); this.img.Images.SetKeyName(18, "forward.png"); this.img.Images.SetKeyName(19, "help.png"); this.img.Images.SetKeyName(20, "info.png"); this.img.Images.SetKeyName(21, "information.png"); this.img.Images.SetKeyName(22, "logout.png"); this.img.Images.SetKeyName(23, "minus.png"); this.img.Images.SetKeyName(24, "move.png"); this.img.Images.SetKeyName(25, "next.png"); this.img.Images.SetKeyName(26, "no entry.png"); this.img.Images.SetKeyName(27, "no.png"); this.img.Images.SetKeyName(28, "OK.png"); this.img.Images.SetKeyName(29, "options.png"); this.img.Images.SetKeyName(30, "plus.png"); this.img.Images.SetKeyName(31, "previous.png"); this.img.Images.SetKeyName(32, "problem.png"); this.img.Images.SetKeyName(33, "question.png"); this.img.Images.SetKeyName(34, "redo.png"); this.img.Images.SetKeyName(35, "refresh.png"); this.img.Images.SetKeyName(36, "remove.png"); this.img.Images.SetKeyName(37, "renew.png"); this.img.Images.SetKeyName(38, "repeat.png"); this.img.Images.SetKeyName(39, "run.png"); this.img.Images.SetKeyName(40, "save.png"); this.img.Images.SetKeyName(41, "search.png"); this.img.Images.SetKeyName(42, "settings.png"); this.img.Images.SetKeyName(43, "stop.png"); this.img.Images.SetKeyName(44, "switch.png"); this.img.Images.SetKeyName(45, "sync.png"); this.img.Images.SetKeyName(46, "system.png"); this.img.Images.SetKeyName(47, "turn off.png"); this.img.Images.SetKeyName(48, "undo.png"); this.img.Images.SetKeyName(49, "up.png"); this.img.Images.SetKeyName(50, "update.png"); this.img.Images.SetKeyName(51, "view.png"); this.img.Images.SetKeyName(52, "warning.png"); this.img.Images.SetKeyName(53, "yes.png"); // // bm // this.bm.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar2}); this.bm.DockControls.Add(this.barDockControlTop); this.bm.DockControls.Add(this.barDockControlBottom); this.bm.DockControls.Add(this.barDockControlLeft); this.bm.DockControls.Add(this.barDockControlRight); this.bm.Form = this; this.bm.Images = this.img; this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.bbiXem, this.bbiSua, this.bbiXoa, this.bbiDong, this.bbiChon}); this.bm.LargeImages = this.img; this.bm.MainMenu = this.bar2; this.bm.MaxItemId = 13; // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.FloatLocation = new System.Drawing.Point(49, 160); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.bbiXem, true), new DevExpress.XtraBars.LinkPersistInfo(this.bbiSua), new DevExpress.XtraBars.LinkPersistInfo(this.bbiXoa), new DevExpress.XtraBars.LinkPersistInfo(this.bbiChon), new DevExpress.XtraBars.LinkPersistInfo(this.bbiDong)}); this.bar2.OptionsBar.AllowDelete = true; this.bar2.OptionsBar.DrawSizeGrip = true; this.bar2.Text = "Main menu"; // // bbiXem // this.bbiXem.Caption = "Xem"; this.bbiXem.Id = 0; this.bbiXem.ImageIndex = 35; this.bbiXem.Name = "bbiXem"; this.bbiXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiXem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXem_ItemClick); // // bbiSua // this.bbiSua.Caption = "Sửa"; this.bbiSua.Id = 1; this.bbiSua.ImageIndex = 29; this.bbiSua.Name = "bbiSua"; this.bbiSua.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiSua.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // bbiXoa // this.bbiXoa.Caption = "Xóa"; this.bbiXoa.Id = 2; this.bbiXoa.ImageIndex = 16; this.bbiXoa.Name = "bbiXoa"; this.bbiXoa.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiXoa.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // bbiChon // this.bbiChon.Caption = "Chọn"; this.bbiChon.Id = 12; this.bbiChon.ImageIndex = 5; this.bbiChon.Name = "bbiChon"; this.bbiChon.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiChon.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiChon_ItemClick); // // bbiDong // this.bbiDong.Caption = "Đóng"; this.bbiDong.Id = 6; this.bbiDong.ImageIndex = 10; this.bbiDong.Name = "bbiDong"; this.bbiDong.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.bbiDong.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDong_ItemClick); // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(566, 24); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 428); this.barDockControlBottom.Size = new System.Drawing.Size(566, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 404); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(566, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 404); // // layoutControl1 // this.layoutControl1.Controls.Add(this.gcList); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 24); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(566, 404); this.layoutControl1.TabIndex = 4; this.layoutControl1.Text = "layoutControl1"; // // gcList // this.gcList.Cursor = System.Windows.Forms.Cursors.Default; this.gcList.DataSource = this.danhSachNhaCungCapBindingSource; this.gcList.Location = new System.Drawing.Point(2, 2); this.gcList.MainView = this.gbList; this.gcList.MenuManager = this.bm; this.gcList.Name = "gcList"; this.gcList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptChon}); this.gcList.Size = new System.Drawing.Size(562, 400); this.gcList.TabIndex = 4; this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gbList}); // // danhSachNhaCungCapBindingSource // this.danhSachNhaCungCapBindingSource.DataMember = "DanhSachNhaCungCap"; this.danhSachNhaCungCapBindingSource.DataSource = this.dsDanhSachNhaCungCap; // // dsDanhSachNhaCungCap // this.dsDanhSachNhaCungCap.DataSetName = "dsDanhSachNhaCungCap"; this.dsDanhSachNhaCungCap.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gbList // this.gbList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colNhaCungCap, this.colTenTiem, this.colDiaChi, this.colChon}); this.gbList.GridControl = this.gcList; this.gbList.GroupPanelText = "Kéo cột và thả vào đây để nhóm dữ liệu"; this.gbList.IndicatorWidth = 40; this.gbList.Name = "gbList"; this.gbList.OptionsView.ColumnAutoWidth = false; this.gbList.OptionsView.ShowAutoFilterRow = true; this.gbList.OptionsView.ShowFooter = true; this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator); // // colNhaCungCap // this.colNhaCungCap.AppearanceHeader.Options.UseTextOptions = true; this.colNhaCungCap.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNhaCungCap.Caption = "Nhà Cung Cấp"; this.colNhaCungCap.FieldName = "NhaCungCap"; this.colNhaCungCap.Name = "colNhaCungCap"; this.colNhaCungCap.OptionsColumn.ReadOnly = true; this.colNhaCungCap.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colNhaCungCap.Visible = true; this.colNhaCungCap.VisibleIndex = 1; this.colNhaCungCap.Width = 89; // // colTenTiem // this.colTenTiem.AppearanceHeader.Options.UseTextOptions = true; this.colTenTiem.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTenTiem.Caption = "Tên Tiệm"; this.colTenTiem.FieldName = "TenTiem"; this.colTenTiem.Name = "colTenTiem"; this.colTenTiem.OptionsColumn.ReadOnly = true; this.colTenTiem.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTenTiem.Visible = true; this.colTenTiem.VisibleIndex = 2; // // colDiaChi // this.colDiaChi.AppearanceHeader.Options.UseTextOptions = true; this.colDiaChi.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDiaChi.Caption = "Địa Chỉ"; this.colDiaChi.FieldName = "DiaChi"; this.colDiaChi.Name = "colDiaChi"; this.colDiaChi.OptionsColumn.ReadOnly = true; this.colDiaChi.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colDiaChi.Visible = true; this.colDiaChi.VisibleIndex = 3; // // colChon // this.colChon.AppearanceHeader.Options.UseTextOptions = true; this.colChon.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colChon.Caption = "Chọn"; this.colChon.ColumnEdit = this.rptChon; this.colChon.Name = "colChon"; this.colChon.OptionsColumn.ReadOnly = true; this.colChon.Visible = true; this.colChon.VisibleIndex = 0; // // rptChon // this.rptChon.AutoHeight = false; this.rptChon.Caption = "Chọn"; this.rptChon.Name = "rptChon"; this.rptChon.NullText = "Chọn"; this.rptChon.Click += new System.EventHandler(this.rptChon_Click); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(566, 404); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gcList; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(566, 404); this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // frmDanhSachNhaCungCap // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(566, 428); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmDanhSachNhaCungCap"; this.Text = "Danh Sách Nhà Cung Cấp"; this.Load += new System.EventHandler(this.DanhSachKhachHang_Load); ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.danhSachNhaCungCapBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDanhSachNhaCungCap)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptChon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemHyperLinkEdit1 }); this.gridControl1.Size = new System.Drawing.Size(696, 422); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); this.gridControl1.MouseLeave += new System.EventHandler(this.gridControl1_MouseLeave); // // gridView1 // this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.gridView1_MouseMove); // // repositoryItemHyperLinkEdit1 // this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; // // oleDbInsertCommand1 // // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(696, 422); this.Controls.Add(this.gridControl1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 初始化列, /// </summary> public void InitColumns() { //需要隐藏列时在这写代码 hideColumn("S1"); hideColumn("S2"); hideColumn("S3"); hideColumn("picImage"); picview = new DevExpress.XtraGrid.Columns.GridColumn(); picview.Caption = "查看"; picview.Visible = true; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Caption = "查看"; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; this.repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click); this.picview.Caption = "查看图片"; this.picview.ColumnEdit = this.repositoryItemHyperLinkEdit1; this.picview.VisibleIndex = 3; picview.FieldName = "S1"; gridView1.Columns.Add(picview); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); gridView1.Columns.Add(picview); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colTrademark = new DevExpress.XtraGrid.Columns.GridColumn(); this.colHyperlink = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemHyperLinkEdit1 }); this.gridControl1.Size = new System.Drawing.Size(696, 422); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colTrademark, this.colHyperlink }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gridView1_MouseDown); // // colTrademark // this.colTrademark.Caption = "Trademark"; this.colTrademark.FieldName = "Trademark"; this.colTrademark.Name = "colTrademark"; this.colTrademark.Visible = true; this.colTrademark.VisibleIndex = 1; // // colHyperlink // this.colHyperlink.Caption = "Hyperlink"; this.colHyperlink.ColumnEdit = this.repositoryItemHyperLinkEdit1; this.colHyperlink.FieldName = "Hyperlink"; this.colHyperlink.Name = "colHyperlink"; this.colHyperlink.OptionsColumn.AllowEdit = false; this.colHyperlink.Visible = true; this.colHyperlink.VisibleIndex = 0; // // repositoryItemHyperLinkEdit1 // this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(696, 422); this.Controls.Add(this.gridControl1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 初始化列, /// </summary> public void InitColumns() { //需要隐藏列时在这写代码 DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit linkEdit = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); linkEdit.SingleClick = true; linkEdit.Click += new EventHandler(linkEdit_Click); DevExpress.XtraEditors.Repository.RepositoryItem colEditState; List<DicType> dicList = new List<DicType>(); dicList.Add(new DicType("0", "未注册")); dicList.Add(new DicType("1", "已注册")); colEditState = new LookUpDicType(dicList); gridView1.Columns["c1"].Caption = "查看"; gridView1.Columns["c1"].ColumnEdit = linkEdit; gridView1.Columns["device_serial"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_type"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_model"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_expire"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_desc"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_state"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_state"].ColumnEdit = colEditState; gridView1.Columns["device_made_date"].OptionsColumn.AllowEdit = false; gridView1.Columns["software_version"].OptionsColumn.AllowEdit = false; gridView1.Columns["system_version"].OptionsColumn.AllowEdit = false; gridView1.Columns["last_modify"].OptionsColumn.AllowEdit = false; gridView1.Columns["device_owner"].OptionsColumn.AllowEdit = false; gridView1.Columns["phone_number"].OptionsColumn.AllowEdit = false; gridView1.Columns["sim_id"].OptionsColumn.AllowEdit = false; hideColumn("carrier_id"); hideColumn("c2"); hideColumn("c3"); }
/// <summary> /// 初始化列, /// </summary> public void InitColumns() { //需要隐藏列时在这写代码 for (int i = 0; i < gridView1.Columns.Count; i++) { gridView1.Columns[i].Caption = AttributeHelper.GetDisplayName(typeof(PJ_gypdxldxxtt), gridView1.Columns[i].FieldName); } picview = new DevExpress.XtraGrid.Columns.GridColumn(); picview.Caption = "单线系统图"; picview.Visible = true; //picview.MaxWidth = 300; //picview.MinWidth = 300; //gridControl1.RepositoryItems.Add(imageEdit1); //picview.ColumnEdit = imageEdit1; //DevExpress.XtraEditors.Repository.RepositoryItem //this.picview.VisibleIndex =1; //picview.FieldName = "Image"; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Caption = "查看"; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; this.repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click); this.picview.Caption = "单线系统图"; this.picview.ColumnEdit = this.repositoryItemHyperLinkEdit1; this.picview.VisibleIndex = 1; picview.FieldName = "Image"; gridView1.Columns.Add(picview); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); gridView1.Columns.Add(picview); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); //hideColumn("OrgName"); hideColumn("OrgCode"); hideColumn("S1"); hideColumn("S2"); hideColumn("S3"); hideColumn("BigData"); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_RibbonMenu)); DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup(); this.ribbon = new KTibiaX.UI.Controls.CustomRibbon(); this.applicationMenu1 = new DevExpress.XtraBars.Ribbon.ApplicationMenu(this.components); this.btnStartClient = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuConfiguration = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuMinimize = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuRestore = new DevExpress.XtraBars.BarButtonItem(); this.btnStatusBar = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuHelp = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuAbout = new DevExpress.XtraBars.BarButtonItem(); this.btnMenuClose = new DevExpress.XtraBars.BarButtonItem(); this.DockController1 = new DevExpress.XtraBars.BarAndDockingController(this.components); this.imgSmallRibbon = new DevExpress.Utils.ImageCollection(this.components); this.btnLight = new DevExpress.XtraBars.BarButtonItem(); this.btnSpeed = new DevExpress.XtraBars.BarButtonItem(); this.btnBattleList = new DevExpress.XtraBars.BarButtonItem(); this.btnMapSpy = new DevExpress.XtraBars.BarButtonItem(); this.btnOutfit = new DevExpress.XtraBars.BarButtonItem(); this.btnAlerts = new DevExpress.XtraBars.BarButtonItem(); this.btnTrade = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem8 = new DevExpress.XtraBars.BarButtonItem(); this.btnEater = new DevExpress.XtraBars.BarButtonItem(); this.btnFisher = new DevExpress.XtraBars.BarButtonItem(); this.btnHealer = new DevExpress.XtraBars.BarButtonItem(); this.btnRuneMaker = new DevExpress.XtraBars.BarButtonItem(); this.btnAmmoMaker = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem14 = new DevExpress.XtraBars.BarButtonItem(); this.btnAntiMove = new DevExpress.XtraBars.BarButtonItem(); this.btnTrainer = new DevExpress.XtraBars.BarButtonItem(); this.btnSpellCaster = new DevExpress.XtraBars.BarButtonItem(); this.btnCavebot = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem19 = new DevExpress.XtraBars.BarButtonItem(); this.btnScript = new DevExpress.XtraBars.BarButtonItem(); this.btnHuntTools = new DevExpress.XtraBars.BarButtonItem(); this.btnStatistics = new DevExpress.XtraBars.BarButtonItem(); this.btnAutoLooter = new DevExpress.XtraBars.BarButtonItem(); this.btnFluidDrinker = new DevExpress.XtraBars.BarButtonItem(); this.btnRuneShooter = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem26 = new DevExpress.XtraBars.BarButtonItem(); this.btnAddress = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem28 = new DevExpress.XtraBars.BarButtonItem(); this.ribbonGalleryBarItem1 = new DevExpress.XtraBars.RibbonGalleryBarItem(); this.lblConnection = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem(); this.lblVersion = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem4 = new DevExpress.XtraBars.BarStaticItem(); this.lblPlayer = new DevExpress.XtraBars.BarStaticItem(); this.barStaticItem6 = new DevExpress.XtraBars.BarStaticItem(); this.lstFormSkin = new DevExpress.XtraBars.BarLinkContainerItem(); this.lstMenuSkin = new DevExpress.XtraBars.BarLinkContainerItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem9 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem29 = new DevExpress.XtraBars.BarButtonItem(); this.btnBRLang = new DevExpress.XtraBars.BarButtonItem(); this.btnUSLang = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem31 = new DevExpress.XtraBars.BarButtonItem(); this.btnZoom = new DevExpress.XtraBars.BarSubItem(); this.btnClientZoom = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemZoomTrackBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemZoomTrackBar(); this.barEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemHyperLinkEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.btnMapReader = new DevExpress.XtraBars.BarButtonItem(); this.btnPacketListener = new DevExpress.XtraBars.BarButtonItem(); this.btnTestes = new DevExpress.XtraBars.BarButtonItem(); this.btnRestaker = new DevExpress.XtraBars.BarButtonItem(); this.btnCripto = new DevExpress.XtraBars.BarButtonItem(); this.btnBPReader = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem(); this.btnOutput = new DevExpress.XtraBars.BarCheckItem(); this.lblServerInfo = new DevExpress.XtraBars.BarStaticItem(); this.lblPlayerInfo = new DevExpress.XtraBars.BarStaticItem(); this.imgLargRibbon = new DevExpress.Utils.ImageCollection(this.components); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.GroupPlayer = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.GroupBattleList = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPage3 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup15 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.rbConfig = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.pnConfigGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.rbDev = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup21 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup22 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup23 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.rbHelp = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup20 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.DefaultLook = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.TMLogin = new System.Windows.Forms.Timer(this.components); this.TryIcon = new System.Windows.Forms.NotifyIcon(this.components); this.pnHost = new KTibiaX.UI.Controls.HostPanel(); this.pnLogo = new DevExpress.XtraEditors.PictureEdit(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockOutputPanel = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.outputView1 = new KTibiaX.Windows.Features.Controls.OutputView(); this.TMFeatures = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DockController1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgSmallRibbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemZoomTrackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgLargRibbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.pnHost.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnLogo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockOutputPanel.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); this.SuspendLayout(); // // ribbon // this.ribbon.ApplicationButtonDropDownControl = this.applicationMenu1; this.ribbon.ApplicationCaption = "KTibiaX® Advanced 2009"; this.ribbon.ApplicationIcon = ((System.Drawing.Bitmap)(resources.GetObject("ribbon.ApplicationIcon"))); this.ribbon.Controller = this.DockController1; this.ribbon.Images = this.imgSmallRibbon; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.btnLight, this.btnSpeed, this.btnBattleList, this.btnMapSpy, this.btnOutfit, this.btnAlerts, this.btnTrade, this.barButtonItem8, this.btnEater, this.btnFisher, this.btnHealer, this.btnRuneMaker, this.btnAmmoMaker, this.barButtonItem14, this.btnAntiMove, this.btnTrainer, this.btnSpellCaster, this.btnCavebot, this.barButtonItem19, this.btnScript, this.btnHuntTools, this.btnStatistics, this.btnAutoLooter, this.btnFluidDrinker, this.btnRuneShooter, this.barButtonItem26, this.btnAddress, this.barButtonItem28, this.ribbonGalleryBarItem1, this.lblConnection, this.barStaticItem2, this.lblVersion, this.barStaticItem4, this.lblPlayer, this.barStaticItem6, this.lstFormSkin, this.lstMenuSkin, this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barButtonItem9, this.barButtonItem29, this.btnBRLang, this.btnUSLang, this.barButtonItem31, this.btnMenuConfiguration, this.btnMenuMinimize, this.btnMenuRestore, this.btnMenuHelp, this.btnMenuAbout, this.btnMenuClose, this.btnStatusBar, this.btnZoom, this.btnClientZoom, this.barEditItem2, this.barButtonItem5, this.btnMapReader, this.btnPacketListener, this.btnTestes, this.btnRestaker, this.btnCripto, this.btnBPReader, this.barButtonItem6, this.btnStartClient, this.btnOutput, this.lblServerInfo, this.lblPlayerInfo}); this.ribbon.LargeImages = this.imgLargRibbon; this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); this.ribbon.MaxItemId = 77; this.ribbon.Name = "ribbon"; this.ribbon.PageHeaderItemLinks.Add(this.barEditItem2); this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1, this.ribbonPage2, this.ribbonPage3, this.rbConfig, this.rbDev, this.rbHelp}); this.ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemHyperLinkEdit1, this.repositoryItemZoomTrackBar1, this.repositoryItemHyperLinkEdit2}); this.ribbon.SelectedPage = this.rbDev; this.ribbon.ShowCategoryInCaption = false; this.ribbon.Size = new System.Drawing.Size(816, 148); this.ribbon.StatusBar = this.ribbonStatusBar1; this.ribbon.Toolbar.ItemLinks.Add(this.lblServerInfo, true); this.ribbon.Toolbar.ItemLinks.Add(this.lblPlayerInfo); this.ribbon.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ribbon_MouseClick); this.ribbon.MinimizedChanged += new System.EventHandler(this.ribbon_MinimizedChanged); this.ribbon.MouseEnter += new System.EventHandler(this.ribbon_MouseEnter); this.ribbon.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ribbon_MouseMove); this.ribbon.MouseLeave += new System.EventHandler(this.ribbon_MouseLeave); // // applicationMenu1 // this.applicationMenu1.BottomPaneControlContainer = null; this.applicationMenu1.ItemLinks.Add(this.btnStartClient); this.applicationMenu1.ItemLinks.Add(this.btnMenuConfiguration, true); this.applicationMenu1.ItemLinks.Add(this.btnMenuMinimize); this.applicationMenu1.ItemLinks.Add(this.btnMenuRestore); this.applicationMenu1.ItemLinks.Add(this.btnStatusBar); this.applicationMenu1.ItemLinks.Add(this.btnMenuHelp, true); this.applicationMenu1.ItemLinks.Add(this.btnMenuAbout); this.applicationMenu1.ItemLinks.Add(this.btnMenuClose, true); this.applicationMenu1.MenuDrawMode = DevExpress.XtraBars.MenuDrawMode.LargeImagesTextDescription; this.applicationMenu1.Name = "applicationMenu1"; this.applicationMenu1.Ribbon = this.ribbon; this.applicationMenu1.RightPaneControlContainer = null; // // btnStartClient // this.btnStartClient.Caption = "Open Tibia Client"; this.btnStartClient.Description = "Statup a tibia client to be hosted by this application."; this.btnStartClient.Id = 72; this.btnStartClient.LargeImageIndex = 68; this.btnStartClient.Name = "btnStartClient"; this.btnStartClient.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnStartClient_ItemClick); // // btnMenuConfiguration // this.btnMenuConfiguration.Caption = "Configuration"; this.btnMenuConfiguration.Description = "Information about system configuration and user preferences."; this.btnMenuConfiguration.Id = 51; this.btnMenuConfiguration.LargeImageIndex = 63; this.btnMenuConfiguration.Name = "btnMenuConfiguration"; // // btnMenuMinimize // this.btnMenuMinimize.Caption = "Minimize Tray"; this.btnMenuMinimize.Description = "Hide tibia window on system tray."; this.btnMenuMinimize.Id = 52; this.btnMenuMinimize.LargeImageIndex = 79; this.btnMenuMinimize.Name = "btnMenuMinimize"; // // btnMenuRestore // this.btnMenuRestore.Caption = "Restore Tibia"; this.btnMenuRestore.Description = "Remove tibia window of system tray."; this.btnMenuRestore.Enabled = false; this.btnMenuRestore.Id = 53; this.btnMenuRestore.LargeImageIndex = 78; this.btnMenuRestore.Name = "btnMenuRestore"; // // btnStatusBar // this.btnStatusBar.Caption = "Stop All Macros"; this.btnStatusBar.Description = "Stop all current macros."; this.btnStatusBar.Id = 57; this.btnStatusBar.LargeImageIndex = 84; this.btnStatusBar.Name = "btnStatusBar"; // // btnMenuHelp // this.btnMenuHelp.Caption = "Help && Support"; this.btnMenuHelp.Description = "Get help and support from KTibiaX."; this.btnMenuHelp.Id = 54; this.btnMenuHelp.LargeImageIndex = 66; this.btnMenuHelp.Name = "btnMenuHelp"; // // btnMenuAbout // this.btnMenuAbout.Caption = "About KTibiaX"; this.btnMenuAbout.Description = "Information about KTibiaX."; this.btnMenuAbout.Id = 55; this.btnMenuAbout.LargeImageIndex = 67; this.btnMenuAbout.Name = "btnMenuAbout"; // // btnMenuClose // this.btnMenuClose.Caption = "Close KTibiaX"; this.btnMenuClose.Description = "Cose KTibiaX and Tibia."; this.btnMenuClose.Id = 56; this.btnMenuClose.LargeImageIndex = 77; this.btnMenuClose.Name = "btnMenuClose"; // // DockController1 // this.DockController1.AppearancesRibbon.FormCaption.Options.UseTextOptions = true; this.DockController1.AppearancesRibbon.FormCaption.TextOptions.WordWrap = DevExpress.Utils.WordWrap.NoWrap; this.DockController1.AppearancesRibbon.Item.ForeColor = System.Drawing.Color.DimGray; this.DockController1.AppearancesRibbon.Item.Options.UseForeColor = true; this.DockController1.AppearancesRibbon.Item.Options.UseTextOptions = true; this.DockController1.AppearancesRibbon.Item.TextOptions.WordWrap = DevExpress.Utils.WordWrap.NoWrap; this.DockController1.AppearancesRibbon.ItemDisabled.Options.UseTextOptions = true; this.DockController1.AppearancesRibbon.ItemDisabled.TextOptions.WordWrap = DevExpress.Utils.WordWrap.NoWrap; this.DockController1.AppearancesRibbon.PageGroupCaption.Options.UseTextOptions = true; this.DockController1.AppearancesRibbon.PageGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.DockController1.AppearancesRibbon.PageGroupCaption.TextOptions.WordWrap = DevExpress.Utils.WordWrap.NoWrap; this.DockController1.AppearancesRibbon.PageHeader.Options.UseTextOptions = true; this.DockController1.AppearancesRibbon.PageHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.NoWrap; this.DockController1.PropertiesBar.AllowLinkLighting = false; // // imgSmallRibbon // this.imgSmallRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgSmallRibbon.ImageStream"))); // // btnLight // this.btnLight.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnLight.Caption = " Setup Light "; this.btnLight.Id = 0; this.btnLight.LargeImageIndex = 98; this.btnLight.Name = "btnLight"; this.btnLight.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLight_ItemClick); // // btnSpeed // this.btnSpeed.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnSpeed.Caption = " Setup Speed "; this.btnSpeed.Id = 1; this.btnSpeed.LargeImageIndex = 8; this.btnSpeed.Name = "btnSpeed"; this.btnSpeed.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSpeed_ItemClick); // // btnBattleList // this.btnBattleList.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnBattleList.Caption = " Spy Battle List "; this.btnBattleList.Id = 2; this.btnBattleList.LargeImageIndex = 61; this.btnBattleList.Name = "btnBattleList"; this.btnBattleList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnBattleList_ItemClick); // // btnMapSpy // this.btnMapSpy.Caption = " Spy Floor "; this.btnMapSpy.Enabled = false; this.btnMapSpy.Id = 3; this.btnMapSpy.LargeImageIndex = 20; this.btnMapSpy.Name = "btnMapSpy"; // // btnOutfit // this.btnOutfit.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnOutfit.Caption = " Outfit Changer "; this.btnOutfit.Id = 4; this.btnOutfit.LargeImageIndex = 60; this.btnOutfit.Name = "btnOutfit"; this.btnOutfit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnOutfit_ItemClick); // // btnAlerts // this.btnAlerts.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnAlerts.Caption = " Player Alerts "; this.btnAlerts.Enabled = false; this.btnAlerts.Id = 5; this.btnAlerts.LargeImageIndex = 31; this.btnAlerts.Name = "btnAlerts"; // // btnTrade // this.btnTrade.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnTrade.Caption = " Trade Helper "; this.btnTrade.Id = 6; this.btnTrade.LargeImageIndex = 57; this.btnTrade.Name = "btnTrade"; this.btnTrade.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnTrade_ItemClick); // // barButtonItem8 // this.barButtonItem8.Caption = " Search Character "; this.barButtonItem8.Enabled = false; this.barButtonItem8.Id = 7; this.barButtonItem8.LargeImageIndex = 47; this.barButtonItem8.Name = "barButtonItem8"; // // btnEater // this.btnEater.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnEater.Caption = " Auto Eater "; this.btnEater.Id = 8; this.btnEater.LargeImageIndex = 11; this.btnEater.Name = "btnEater"; // // btnFisher // this.btnFisher.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnFisher.Caption = " Auto Fisher "; this.btnFisher.Id = 9; this.btnFisher.LargeImageIndex = 9; this.btnFisher.Name = "btnFisher"; // // btnHealer // this.btnHealer.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnHealer.Caption = " Auto Healer "; this.btnHealer.Id = 10; this.btnHealer.LargeImageIndex = 52; this.btnHealer.Name = "btnHealer"; // // btnRuneMaker // this.btnRuneMaker.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnRuneMaker.Caption = " Rune Maker "; this.btnRuneMaker.Id = 11; this.btnRuneMaker.LargeImageIndex = 83; this.btnRuneMaker.Name = "btnRuneMaker"; // // btnAmmoMaker // this.btnAmmoMaker.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnAmmoMaker.Caption = " Ammo Maker "; this.btnAmmoMaker.Id = 12; this.btnAmmoMaker.LargeImageIndex = 21; this.btnAmmoMaker.Name = "btnAmmoMaker"; // // barButtonItem14 // this.barButtonItem14.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.barButtonItem14.Caption = " Auto Reply "; this.barButtonItem14.Id = 14; this.barButtonItem14.LargeImageIndex = 27; this.barButtonItem14.Name = "barButtonItem14"; // // btnAntiMove // this.btnAntiMove.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnAntiMove.Caption = " AFK Anti-Move "; this.btnAntiMove.Id = 15; this.btnAntiMove.LargeImageIndex = 2; this.btnAntiMove.Name = "btnAntiMove"; // // btnTrainer // this.btnTrainer.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnTrainer.Caption = " Trainer Helper "; this.btnTrainer.Id = 16; this.btnTrainer.LargeImageIndex = 34; this.btnTrainer.Name = "btnTrainer"; // // btnSpellCaster // this.btnSpellCaster.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.btnSpellCaster.Caption = " Spell Caster "; this.btnSpellCaster.Id = 17; this.btnSpellCaster.LargeImageIndex = 18; this.btnSpellCaster.Name = "btnSpellCaster"; // // btnCavebot // this.btnCavebot.Caption = " Cave Bot "; this.btnCavebot.Id = 18; this.btnCavebot.LargeImageIndex = 35; this.btnCavebot.Name = "btnCavebot"; this.btnCavebot.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnCavebot_ItemClick); // // barButtonItem19 // this.barButtonItem19.Caption = " Spell Bot "; this.barButtonItem19.Id = 19; this.barButtonItem19.LargeImageIndex = 93; this.barButtonItem19.Name = "barButtonItem19"; // // btnScript // this.btnScript.Caption = " My Scripts "; this.btnScript.Id = 21; this.btnScript.LargeImageIndex = 96; this.btnScript.Name = "btnScript"; this.btnScript.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnScript_ItemClick); // // btnHuntTools // this.btnHuntTools.Caption = " Hunt Tools "; this.btnHuntTools.Id = 22; this.btnHuntTools.LargeImageIndex = 59; this.btnHuntTools.Name = "btnHuntTools"; // // btnStatistics // this.btnStatistics.Caption = " Hunt Statistics "; this.btnStatistics.Id = 23; this.btnStatistics.LargeImageIndex = 82; this.btnStatistics.Name = "btnStatistics"; // // btnAutoLooter // this.btnAutoLooter.Caption = " Auto Looter "; this.btnAutoLooter.Id = 24; this.btnAutoLooter.LargeImageIndex = 95; this.btnAutoLooter.Name = "btnAutoLooter"; // // btnFluidDrinker // this.btnFluidDrinker.Caption = " Potion Drinker "; this.btnFluidDrinker.Id = 25; this.btnFluidDrinker.LargeImageIndex = 92; this.btnFluidDrinker.Name = "btnFluidDrinker"; // // btnRuneShooter // this.btnRuneShooter.Caption = " Rune Shooter "; this.btnRuneShooter.Id = 26; this.btnRuneShooter.LargeImageIndex = 16; this.btnRuneShooter.Name = "btnRuneShooter"; // // barButtonItem26 // this.barButtonItem26.Caption = " Preferences "; this.barButtonItem26.Id = 27; this.barButtonItem26.LargeImageIndex = 12; this.barButtonItem26.Name = "barButtonItem26"; // // btnAddress // this.btnAddress.Caption = " Memory Address "; this.btnAddress.Id = 28; this.btnAddress.LargeImageIndex = 86; this.btnAddress.Name = "btnAddress"; this.btnAddress.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnAddress_ItemClick); // // barButtonItem28 // this.barButtonItem28.Caption = " Global Hot Keys"; this.barButtonItem28.Id = 29; this.barButtonItem28.LargeImageIndex = 48; this.barButtonItem28.Name = "barButtonItem28"; // // ribbonGalleryBarItem1 // this.ribbonGalleryBarItem1.Caption = " Global Skin "; // // // this.ribbonGalleryBarItem1.Gallery.AllowHoverImages = true; this.ribbonGalleryBarItem1.Gallery.Appearance.ItemCaption.Options.UseFont = true; this.ribbonGalleryBarItem1.Gallery.Appearance.ItemCaption.Options.UseTextOptions = true; this.ribbonGalleryBarItem1.Gallery.Appearance.ItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.ribbonGalleryBarItem1.Gallery.FixedHoverImageSize = false; galleryItemGroup1.Caption = "Main Skins"; this.ribbonGalleryBarItem1.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] { galleryItemGroup1}); this.ribbonGalleryBarItem1.Gallery.ImageSize = new System.Drawing.Size(32, 17); this.ribbonGalleryBarItem1.Gallery.ItemImageLocation = DevExpress.Utils.Locations.Top; this.ribbonGalleryBarItem1.Gallery.RowCount = 4; this.ribbonGalleryBarItem1.Id = 32; this.ribbonGalleryBarItem1.Name = "ribbonGalleryBarItem1"; // // lblConnection // this.lblConnection.Enabled = false; this.lblConnection.Id = 33; this.lblConnection.Name = "lblConnection"; this.lblConnection.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem2 // this.barStaticItem2.Caption = "Connection:"; this.barStaticItem2.Enabled = false; this.barStaticItem2.Id = 34; this.barStaticItem2.Name = "barStaticItem2"; this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near; // // lblVersion // this.lblVersion.Enabled = false; this.lblVersion.Id = 35; this.lblVersion.Name = "lblVersion"; this.lblVersion.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem4 // this.barStaticItem4.Caption = "Version:"; this.barStaticItem4.Enabled = false; this.barStaticItem4.Id = 36; this.barStaticItem4.Name = "barStaticItem4"; this.barStaticItem4.TextAlignment = System.Drawing.StringAlignment.Near; // // lblPlayer // this.lblPlayer.Caption = " "; this.lblPlayer.Enabled = false; this.lblPlayer.Id = 38; this.lblPlayer.Name = "lblPlayer"; this.lblPlayer.TextAlignment = System.Drawing.StringAlignment.Near; // // barStaticItem6 // this.barStaticItem6.Caption = "Player:"; this.barStaticItem6.Enabled = false; this.barStaticItem6.Id = 39; this.barStaticItem6.Name = "barStaticItem6"; this.barStaticItem6.TextAlignment = System.Drawing.StringAlignment.Near; // // lstFormSkin // this.lstFormSkin.Caption = " Forms Skin"; this.lstFormSkin.Id = 40; this.lstFormSkin.LargeImageIndex = 32; this.lstFormSkin.Name = "lstFormSkin"; // // lstMenuSkin // this.lstMenuSkin.Caption = "Menu Skin"; this.lstMenuSkin.Id = 41; this.lstMenuSkin.LargeImageIndex = 36; this.lstMenuSkin.Name = "lstMenuSkin"; // // barButtonItem1 // this.barButtonItem1.Caption = " Get Help "; this.barButtonItem1.Id = 42; this.barButtonItem1.LargeImageIndex = 66; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = " About KTibiaX "; this.barButtonItem2.Id = 43; this.barButtonItem2.LargeImageIndex = 67; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItem3 // this.barButtonItem3.Caption = " Send Feedback "; this.barButtonItem3.Id = 44; this.barButtonItem3.LargeImageIndex = 69; this.barButtonItem3.Name = "barButtonItem3"; // // barButtonItem4 // this.barButtonItem4.Caption = " Send Bug Report "; this.barButtonItem4.Id = 45; this.barButtonItem4.LargeImageIndex = 68; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItem9 // this.barButtonItem9.Caption = " Beta Tester\'s "; this.barButtonItem9.Id = 46; this.barButtonItem9.LargeImageIndex = 73; this.barButtonItem9.Name = "barButtonItem9"; // // barButtonItem29 // this.barButtonItem29.Caption = " Help && Suport "; this.barButtonItem29.Id = 47; this.barButtonItem29.LargeImageIndex = 66; this.barButtonItem29.Name = "barButtonItem29"; // // btnBRLang // this.btnBRLang.Caption = "Minimize Menus"; this.btnBRLang.Id = 48; this.btnBRLang.ImageIndex = 20; this.btnBRLang.LargeImageIndex = 63; this.btnBRLang.Name = "btnBRLang"; // // btnUSLang // this.btnUSLang.Caption = "Restore Menus"; this.btnUSLang.Id = 49; this.btnUSLang.ImageIndex = 19; this.btnUSLang.LargeImageIndex = 76; this.btnUSLang.Name = "btnUSLang"; // // barButtonItem31 // this.barButtonItem31.Caption = "barButtonItem31"; this.barButtonItem31.Id = 50; this.barButtonItem31.Name = "barButtonItem31"; // // btnZoom // this.btnZoom.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.btnZoom.Caption = "100%"; this.btnZoom.Id = 60; this.btnZoom.Name = "btnZoom"; // // btnClientZoom // this.btnClientZoom.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Right; this.btnClientZoom.Edit = this.repositoryItemZoomTrackBar1; this.btnClientZoom.EditValue = 100; this.btnClientZoom.Id = 61; this.btnClientZoom.Name = "btnClientZoom"; this.btnClientZoom.Width = 100; // // repositoryItemZoomTrackBar1 // this.repositoryItemZoomTrackBar1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemZoomTrackBar1.LargeChange = 50; this.repositoryItemZoomTrackBar1.Maximum = 200; this.repositoryItemZoomTrackBar1.Name = "repositoryItemZoomTrackBar1"; this.repositoryItemZoomTrackBar1.ScrollThumbStyle = DevExpress.XtraEditors.Repository.ScrollThumbStyle.ArrowDownRight; this.repositoryItemZoomTrackBar1.SmallChange = 50; // // barEditItem2 // this.barEditItem2.Edit = this.repositoryItemHyperLinkEdit2; this.barEditItem2.EditValue = "keyrox.net"; this.barEditItem2.Id = 62; this.barEditItem2.Name = "barEditItem2"; this.barEditItem2.Width = 65; // // repositoryItemHyperLinkEdit2 // this.repositoryItemHyperLinkEdit2.Appearance.BackColor = System.Drawing.Color.Transparent; this.repositoryItemHyperLinkEdit2.Appearance.Options.UseBackColor = true; this.repositoryItemHyperLinkEdit2.AutoHeight = false; this.repositoryItemHyperLinkEdit2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemHyperLinkEdit2.LinkColor = System.Drawing.Color.Gray; this.repositoryItemHyperLinkEdit2.Name = "repositoryItemHyperLinkEdit2"; // // barButtonItem5 // this.barButtonItem5.Id = 63; this.barButtonItem5.ImageIndex = 18; this.barButtonItem5.Name = "barButtonItem5"; this.barButtonItem5.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // btnMapReader // this.btnMapReader.Caption = " Map Reader "; this.btnMapReader.Id = 64; this.btnMapReader.LargeImageIndex = 85; this.btnMapReader.Name = "btnMapReader"; this.btnMapReader.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnMapReader_ItemClick); // // btnPacketListener // this.btnPacketListener.Caption = " Packet Listener "; this.btnPacketListener.Id = 65; this.btnPacketListener.LargeImageIndex = 86; this.btnPacketListener.Name = "btnPacketListener"; this.btnPacketListener.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnPacketListener_ItemClick); // // btnTestes // this.btnTestes.Caption = " Test Feature "; this.btnTestes.Id = 67; this.btnTestes.LargeImageIndex = 68; this.btnTestes.Name = "btnTestes"; // // btnRestaker // this.btnRestaker.Caption = " Item Restacker "; this.btnRestaker.Id = 68; this.btnRestaker.LargeImageIndex = 91; this.btnRestaker.Name = "btnRestaker"; // // btnCripto // this.btnCripto.Caption = " Cripto Utility "; this.btnCripto.Id = 69; this.btnCripto.LargeImageIndex = 97; this.btnCripto.Name = "btnCripto"; // // btnBPReader // this.btnBPReader.Caption = " BP Reader "; this.btnBPReader.Id = 70; this.btnBPReader.LargeImageIndex = 81; this.btnBPReader.Name = "btnBPReader"; this.btnBPReader.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnBPReader_ItemClick); // // barButtonItem6 // this.barButtonItem6.Caption = " World Map "; this.barButtonItem6.Enabled = false; this.barButtonItem6.Id = 71; this.barButtonItem6.LargeImageIndex = 85; this.barButtonItem6.Name = "barButtonItem6"; // // btnOutput // this.btnOutput.Caption = "Output Viewew"; this.btnOutput.Id = 74; this.btnOutput.LargeImageIndex = 49; this.btnOutput.Name = "btnOutput"; this.btnOutput.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.btnOutput_CheckedChanged); // // lblServerInfo // this.lblServerInfo.Id = 75; this.lblServerInfo.ImageIndex = 22; this.lblServerInfo.Name = "lblServerInfo"; this.lblServerInfo.TextAlignment = System.Drawing.StringAlignment.Near; // // lblPlayerInfo // this.lblPlayerInfo.Id = 76; this.lblPlayerInfo.ImageIndex = 35; this.lblPlayerInfo.Name = "lblPlayerInfo"; this.lblPlayerInfo.TextAlignment = System.Drawing.StringAlignment.Near; // // imgLargRibbon // this.imgLargRibbon.ImageSize = new System.Drawing.Size(32, 32); this.imgLargRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgLargRibbon.ImageStream"))); // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.GroupPlayer, this.GroupBattleList, this.ribbonPageGroup4, this.ribbonPageGroup3, this.ribbonPageGroup5}); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Player Cheats"; // // GroupPlayer // this.GroupPlayer.AllowMinimize = false; this.GroupPlayer.ItemLinks.Add(this.btnLight); this.GroupPlayer.ItemLinks.Add(this.btnSpeed, true); this.GroupPlayer.Name = "GroupPlayer"; this.GroupPlayer.Text = "Player"; // // GroupBattleList // this.GroupBattleList.ItemLinks.Add(this.btnBattleList); this.GroupBattleList.ItemLinks.Add(this.btnOutfit, true); this.GroupBattleList.Name = "GroupBattleList"; this.GroupBattleList.Text = "Battle List"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.btnAlerts); this.ribbonPageGroup4.ItemLinks.Add(this.btnTrade, true); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.Text = " Watcher "; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.btnMapSpy); this.ribbonPageGroup3.ItemLinks.Add(this.barButtonItem6, true); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.Text = "Map"; // // ribbonPageGroup5 // this.ribbonPageGroup5.ItemLinks.Add(this.barButtonItem8); this.ribbonPageGroup5.Name = "ribbonPageGroup5"; this.ribbonPageGroup5.Text = "Web"; // // ribbonPage2 // this.ribbonPage2.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup6, this.ribbonPageGroup7, this.ribbonPageGroup8, this.ribbonPageGroup9, this.ribbonPageGroup10}); this.ribbonPage2.Name = "ribbonPage2"; this.ribbonPage2.Text = "Trainner Tools"; // // ribbonPageGroup6 // this.ribbonPageGroup6.ItemLinks.Add(this.btnEater); this.ribbonPageGroup6.ItemLinks.Add(this.btnSpellCaster, true); this.ribbonPageGroup6.ItemLinks.Add(this.btnFisher, true); this.ribbonPageGroup6.Name = "ribbonPageGroup6"; this.ribbonPageGroup6.Text = "Mana Tools"; // // ribbonPageGroup7 // this.ribbonPageGroup7.ItemLinks.Add(this.btnHealer); this.ribbonPageGroup7.Name = "ribbonPageGroup7"; this.ribbonPageGroup7.Text = "Healer"; // // ribbonPageGroup8 // this.ribbonPageGroup8.ItemLinks.Add(this.btnRuneMaker); this.ribbonPageGroup8.ItemLinks.Add(this.btnAmmoMaker, true); this.ribbonPageGroup8.Name = "ribbonPageGroup8"; this.ribbonPageGroup8.Text = "Makers"; // // ribbonPageGroup9 // this.ribbonPageGroup9.ItemLinks.Add(this.barButtonItem14); this.ribbonPageGroup9.ItemLinks.Add(this.btnAntiMove, true); this.ribbonPageGroup9.Name = "ribbonPageGroup9"; this.ribbonPageGroup9.Text = "AFK"; // // ribbonPageGroup10 // this.ribbonPageGroup10.ItemLinks.Add(this.btnTrainer); this.ribbonPageGroup10.Name = "ribbonPageGroup10"; this.ribbonPageGroup10.Text = "Helpers"; // // ribbonPage3 // this.ribbonPage3.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup11, this.ribbonPageGroup12, this.ribbonPageGroup15, this.ribbonPageGroup13, this.ribbonPageGroup14}); this.ribbonPage3.Name = "ribbonPage3"; this.ribbonPage3.Text = "Hunt Options"; // // ribbonPageGroup11 // this.ribbonPageGroup11.ItemLinks.Add(this.btnCavebot); this.ribbonPageGroup11.ItemLinks.Add(this.barButtonItem19, true); this.ribbonPageGroup11.Name = "ribbonPageGroup11"; this.ribbonPageGroup11.Text = "Bots"; // // ribbonPageGroup12 // this.ribbonPageGroup12.ItemLinks.Add(this.btnScript); this.ribbonPageGroup12.Name = "ribbonPageGroup12"; this.ribbonPageGroup12.Text = "Scripts"; // // ribbonPageGroup15 // this.ribbonPageGroup15.ItemLinks.Add(this.btnAutoLooter, true); this.ribbonPageGroup15.ItemLinks.Add(this.btnFluidDrinker, true); this.ribbonPageGroup15.ItemLinks.Add(this.btnRestaker, true); this.ribbonPageGroup15.Name = "ribbonPageGroup15"; this.ribbonPageGroup15.Text = "Runes"; // // ribbonPageGroup13 // this.ribbonPageGroup13.ItemLinks.Add(this.btnHuntTools); this.ribbonPageGroup13.ItemLinks.Add(this.btnRuneShooter, true); this.ribbonPageGroup13.Name = "ribbonPageGroup13"; this.ribbonPageGroup13.Text = "Tools"; // // ribbonPageGroup14 // this.ribbonPageGroup14.ItemLinks.Add(this.btnStatistics); this.ribbonPageGroup14.Name = "ribbonPageGroup14"; this.ribbonPageGroup14.Text = " Loot"; // // rbConfig // this.rbConfig.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.pnConfigGroup, this.ribbonPageGroup18, this.ribbonPageGroup19}); this.rbConfig.Name = "rbConfig"; this.rbConfig.Text = "Configuration"; // // pnConfigGroup // this.pnConfigGroup.ItemLinks.Add(this.barButtonItem26); this.pnConfigGroup.ItemLinks.Add(this.btnAddress, true); this.pnConfigGroup.ItemLinks.Add(this.btnOutput, true); this.pnConfigGroup.Name = "pnConfigGroup"; this.pnConfigGroup.Text = "Config"; // // ribbonPageGroup18 // this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem28); this.ribbonPageGroup18.Name = "ribbonPageGroup18"; this.ribbonPageGroup18.Text = "Auto"; // // ribbonPageGroup19 // this.ribbonPageGroup19.ItemLinks.Add(this.ribbonGalleryBarItem1); this.ribbonPageGroup19.ItemLinks.Add(this.lstFormSkin, true); this.ribbonPageGroup19.ItemLinks.Add(this.lstMenuSkin); this.ribbonPageGroup19.Name = "ribbonPageGroup19"; this.ribbonPageGroup19.Text = " Customization "; // // rbDev // this.rbDev.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup21, this.ribbonPageGroup22, this.ribbonPageGroup23}); this.rbDev.Name = "rbDev"; this.rbDev.Text = "Development"; // // ribbonPageGroup21 // this.ribbonPageGroup21.ItemLinks.Add(this.btnMapReader); this.ribbonPageGroup21.ItemLinks.Add(this.btnBPReader, true); this.ribbonPageGroup21.Name = "ribbonPageGroup21"; this.ribbonPageGroup21.Text = "Map"; // // ribbonPageGroup22 // this.ribbonPageGroup22.ItemLinks.Add(this.btnPacketListener); this.ribbonPageGroup22.ItemLinks.Add(this.btnCripto, true); this.ribbonPageGroup22.Name = "ribbonPageGroup22"; this.ribbonPageGroup22.Text = "Connection"; // // ribbonPageGroup23 // this.ribbonPageGroup23.ItemLinks.Add(this.btnTestes); this.ribbonPageGroup23.Name = "ribbonPageGroup23"; this.ribbonPageGroup23.Text = "Testes"; // // rbHelp // this.rbHelp.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup17, this.ribbonPageGroup20}); this.rbHelp.Name = "rbHelp"; this.rbHelp.Text = "Help"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem2); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.Text = "Information"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem3); this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem4, true); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.Text = "ribbonPageGroup2"; // // ribbonPageGroup17 // this.ribbonPageGroup17.ItemLinks.Add(this.barButtonItem9); this.ribbonPageGroup17.Name = "ribbonPageGroup17"; this.ribbonPageGroup17.Text = "Beta"; // // ribbonPageGroup20 // this.ribbonPageGroup20.ItemLinks.Add(this.barButtonItem29); this.ribbonPageGroup20.Name = "ribbonPageGroup20"; this.ribbonPageGroup20.Text = " Help"; // // repositoryItemHyperLinkEdit1 // this.repositoryItemHyperLinkEdit1.Appearance.BackColor = System.Drawing.Color.Transparent; this.repositoryItemHyperLinkEdit1.Appearance.BackColor2 = System.Drawing.Color.Transparent; this.repositoryItemHyperLinkEdit1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.repositoryItemHyperLinkEdit1.Appearance.Options.UseBackColor = true; this.repositoryItemHyperLinkEdit1.Appearance.Options.UseFont = true; this.repositoryItemHyperLinkEdit1.Appearance.Options.UseTextOptions = true; this.repositoryItemHyperLinkEdit1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.repositoryItemHyperLinkEdit1.Caption = "TProgramming"; this.repositoryItemHyperLinkEdit1.LinkColor = System.Drawing.Color.GhostWhite; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; // // ribbonStatusBar1 // this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 639); this.ribbonStatusBar1.Name = "ribbonStatusBar1"; this.ribbonStatusBar1.Ribbon = this.ribbon; this.ribbonStatusBar1.Size = new System.Drawing.Size(816, 23); // // DefaultLook // this.DefaultLook.LookAndFeel.SkinName = "Black"; // // ribbonPageGroup16 // this.ribbonPageGroup16.Name = "ribbonPageGroup16"; this.ribbonPageGroup16.Text = "Web"; // // TMLogin // this.TMLogin.Tick += new System.EventHandler(this.TMLogin_Tick); // // TryIcon // this.TryIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.TryIcon.BalloonTipText = "Welcome to KTibiaX"; this.TryIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("TryIcon.Icon"))); // // pnHost // this.pnHost.AppCreated = false; this.pnHost.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.pnHost.CommandLine = null; this.pnHost.Controls.Add(this.pnLogo); this.pnHost.CurrentProcess = null; this.pnHost.Dock = System.Windows.Forms.DockStyle.Fill; this.pnHost.Location = new System.Drawing.Point(0, 148); this.pnHost.Name = "pnHost"; this.pnHost.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2); this.pnHost.Size = new System.Drawing.Size(816, 491); this.pnHost.TabIndex = 1; // // pnLogo // this.pnLogo.EditValue = global::KTibiaX.ImgTitles.tibia_dark_small2; this.pnLogo.Location = new System.Drawing.Point(656, 390); this.pnLogo.Name = "pnLogo"; this.pnLogo.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.pnLogo.Properties.Appearance.Options.UseBackColor = true; this.pnLogo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnLogo.Properties.PictureAlignment = System.Drawing.ContentAlignment.BottomRight; this.pnLogo.Properties.ShowMenu = false; this.pnLogo.Size = new System.Drawing.Size(185, 161); this.pnLogo.TabIndex = 4; // // dockManager1 // this.dockManager1.Controller = this.DockController1; this.dockManager1.Form = this; this.dockManager1.HiddenPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockOutputPanel}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl"}); // // dockOutputPanel // this.dockOutputPanel.Controls.Add(this.dockPanel1_Container); this.dockOutputPanel.Dock = DevExpress.XtraBars.Docking.DockingStyle.Float; this.dockOutputPanel.FloatLocation = new System.Drawing.Point(773, 474); this.dockOutputPanel.FloatSize = new System.Drawing.Size(260, 134); this.dockOutputPanel.FloatVertical = true; this.dockOutputPanel.ID = new System.Guid("2d5d370b-e8b6-466b-b344-d6abba8f7c8c"); this.dockOutputPanel.Location = new System.Drawing.Point(-32768, -32768); this.dockOutputPanel.Name = "dockOutputPanel"; this.dockOutputPanel.OriginalSize = new System.Drawing.Size(0, 0); this.dockOutputPanel.SavedIndex = 0; this.dockOutputPanel.Size = new System.Drawing.Size(260, 134); this.dockOutputPanel.Text = "Output"; this.dockOutputPanel.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Hidden; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.outputView1); this.dockPanel1_Container.Location = new System.Drawing.Point(2, 28); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(256, 104); this.dockPanel1_Container.TabIndex = 0; // // outputView1 // this.outputView1.Dock = System.Windows.Forms.DockStyle.Fill; this.outputView1.Location = new System.Drawing.Point(0, 0); this.outputView1.Name = "outputView1"; this.outputView1.Size = new System.Drawing.Size(256, 104); this.outputView1.TabIndex = 0; // // TMFeatures // this.TMFeatures.Interval = 1000; this.TMFeatures.Tick += new System.EventHandler(this.TMFeatures_Tick); // // frm_RibbonMenu // this.ClientSize = new System.Drawing.Size(816, 662); this.Controls.Add(this.pnHost); this.Controls.Add(this.ribbon); this.Controls.Add(this.ribbonStatusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "frm_RibbonMenu"; this.Ribbon = this.ribbon; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StatusBar = this.ribbonStatusBar1; this.Text = "KTibiaX® Advanced 2009"; this.Load += new System.EventHandler(this.frm_RibbonMenu_Load); this.SizeChanged += new System.EventHandler(this.frm_RibbonMenu_SizeChanged); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frm_Main_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.applicationMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DockController1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgSmallRibbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemZoomTrackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgLargRibbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); this.pnHost.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnLogo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockOutputPanel.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 初始化列, /// </summary> public void InitColumns() { //需要隐藏列时在这写代码 hideColumn("ParentID"); hideColumn("gzrjID"); hideColumn("BigData"); //picview = new DevExpress.XtraGrid.Columns.GridColumn(); //picview.Caption = "查看"; //picview.Visible = true; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Caption = "查看"; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; this.repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click); this.gridView1.Columns["Image"].Caption = "查看网络图"; this.gridView1.Columns["Image"].ColumnEdit = this.repositoryItemHyperLinkEdit1; this.gridView1.Columns["Image"].VisibleIndex = 3; this.gridView1.Columns["Image"].FieldName = "Image"; ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.usersbindingSource = new System.Windows.Forms.BindingSource(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.gridSplitContainer1 = new DevExpress.XtraGrid.GridSplitContainer(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridUserListView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colConsolidate = new DevExpress.XtraGrid.Columns.GridColumn(); this.repConsolidate = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.colDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.repDelete = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.colUsername = new DevExpress.XtraGrid.Columns.GridColumn(); this.colFirstName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLastName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colIsActive = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLastLogin = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAllowedAccounts = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAllowedStores = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAllowedGroups = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnAddNewUser = new DevExpress.XtraEditors.SimpleButton(); this.brnRefresh = new DevExpress.XtraEditors.SimpleButton(); this.txtFilterUserName = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); ((System.ComponentModel.ISupportInitialize)(this.usersbindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).BeginInit(); this.gridSplitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridUserListView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repConsolidate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repDelete)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFilterUserName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); this.SuspendLayout(); // // usersbindingSource // this.usersbindingSource.DataSource = typeof(HCMIS.Security.UserManagement.ViewModels.UserViewModel); // // layoutControl1 // this.layoutControl1.Controls.Add(this.gridSplitContainer1); this.layoutControl1.Controls.Add(this.btnAddNewUser); this.layoutControl1.Controls.Add(this.brnRefresh); this.layoutControl1.Controls.Add(this.txtFilterUserName); this.layoutControl1.Controls.Add(this.labelControl1); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem3}); this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(284, 175, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1035, 544); this.layoutControl1.TabIndex = 9; this.layoutControl1.Text = "layoutControl1"; // // gridSplitContainer1 // this.gridSplitContainer1.Grid = this.gridControl1; this.gridSplitContainer1.Location = new System.Drawing.Point(12, 38); this.gridSplitContainer1.Name = "gridSplitContainer1"; this.gridSplitContainer1.Panel1.Controls.Add(this.gridControl1); this.gridSplitContainer1.Size = new System.Drawing.Size(1011, 468); this.gridSplitContainer1.TabIndex = 17; // // gridControl1 // this.gridControl1.DataSource = this.usersbindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridUserListView; this.gridControl1.Name = "gridControl1"; this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemHyperLinkEdit1, this.repDelete, this.repConsolidate}); this.gridControl1.Size = new System.Drawing.Size(1011, 468); this.gridControl1.TabIndex = 5; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridUserListView}); // // gridUserListView // this.gridUserListView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colConsolidate, this.colDelete, this.gridColumn1, this.colUsername, this.colFirstName, this.colLastName, this.colIsActive, this.colLastLogin, this.colAllowedAccounts, this.colAllowedStores, this.colAllowedGroups, this.gridColumn2}); this.gridUserListView.GridControl = this.gridControl1; this.gridUserListView.Name = "gridUserListView"; this.gridUserListView.OptionsView.ShowAutoFilterRow = true; this.gridUserListView.OptionsView.ShowGroupPanel = false; // // colConsolidate // this.colConsolidate.Caption = "Consolidate"; this.colConsolidate.ColumnEdit = this.repConsolidate; this.colConsolidate.Name = "colConsolidate"; this.colConsolidate.Width = 50; // // repConsolidate // this.repConsolidate.AutoHeight = false; this.repConsolidate.Caption = "Consolidate"; this.repConsolidate.Name = "repConsolidate"; this.repConsolidate.NullText = "Consolidate"; this.repConsolidate.NullValuePrompt = "Consolidate"; this.repConsolidate.Click += new System.EventHandler(this.repConsolidate_Click); // // colDelete // this.colDelete.Caption = "Delete"; this.colDelete.ColumnEdit = this.repDelete; this.colDelete.Name = "colDelete"; this.colDelete.Width = 50; // // repDelete // this.repDelete.AutoHeight = false; this.repDelete.Caption = "Delete"; this.repDelete.Name = "repDelete"; this.repDelete.NullText = "Delete"; this.repDelete.NullValuePrompt = "Delete"; this.repDelete.Click += new System.EventHandler(this.repDelete_Click); // // gridColumn1 // this.gridColumn1.AppearanceCell.Options.UseTextOptions = true; this.gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.gridColumn1.Caption = "Action"; this.gridColumn1.ColumnEdit = this.repositoryItemHyperLinkEdit1; this.gridColumn1.FieldName = "UserID"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsFilter.AllowAutoFilter = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 50; // // repositoryItemHyperLinkEdit1 // this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.repositoryItemHyperLinkEdit1.Caption = "View Detail"; this.repositoryItemHyperLinkEdit1.HideSelection = false; this.repositoryItemHyperLinkEdit1.ImageAlignment = DevExpress.Utils.HorzAlignment.Default; this.repositoryItemHyperLinkEdit1.LinkColor = System.Drawing.Color.Blue; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; this.repositoryItemHyperLinkEdit1.SingleClick = true; this.repositoryItemHyperLinkEdit1.StartKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None); this.repositoryItemHyperLinkEdit1.Click += new System.EventHandler(this.repositoryItemHyperLinkEdit1_Click); // // colUsername // this.colUsername.Caption = "User Name"; this.colUsername.FieldName = "Username"; this.colUsername.Name = "colUsername"; this.colUsername.OptionsColumn.AllowEdit = false; this.colUsername.Visible = true; this.colUsername.VisibleIndex = 1; this.colUsername.Width = 137; // // colFirstName // this.colFirstName.FieldName = "FirstName"; this.colFirstName.Name = "colFirstName"; this.colFirstName.OptionsColumn.AllowEdit = false; this.colFirstName.Visible = true; this.colFirstName.VisibleIndex = 2; this.colFirstName.Width = 137; // // colLastName // this.colLastName.FieldName = "LastName"; this.colLastName.Name = "colLastName"; this.colLastName.OptionsColumn.AllowEdit = false; this.colLastName.OptionsFilter.AllowAutoFilter = false; this.colLastName.Visible = true; this.colLastName.VisibleIndex = 3; this.colLastName.Width = 137; // // colIsActive // this.colIsActive.FieldName = "IsActive"; this.colIsActive.Name = "colIsActive"; this.colIsActive.OptionsColumn.AllowEdit = false; this.colIsActive.OptionsFilter.AllowAutoFilter = false; this.colIsActive.Visible = true; this.colIsActive.VisibleIndex = 4; this.colIsActive.Width = 137; // // colLastLogin // this.colLastLogin.DisplayFormat.FormatString = "dd-MMM-yyyy hh:MM ss tt"; this.colLastLogin.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.colLastLogin.FieldName = "LastLogin"; this.colLastLogin.Name = "colLastLogin"; this.colLastLogin.OptionsColumn.AllowEdit = false; this.colLastLogin.OptionsFilter.AllowAutoFilter = false; this.colLastLogin.Visible = true; this.colLastLogin.VisibleIndex = 6; this.colLastLogin.Width = 158; // // colAllowedAccounts // this.colAllowedAccounts.AppearanceCell.Options.UseTextOptions = true; this.colAllowedAccounts.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.colAllowedAccounts.FieldName = "AllowedAccounts"; this.colAllowedAccounts.Name = "colAllowedAccounts"; this.colAllowedAccounts.OptionsColumn.AllowEdit = false; this.colAllowedAccounts.OptionsColumn.ReadOnly = true; this.colAllowedAccounts.OptionsFilter.AllowAutoFilter = false; // // colAllowedStores // this.colAllowedStores.AppearanceCell.Options.UseTextOptions = true; this.colAllowedStores.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.colAllowedStores.FieldName = "AllowedStores"; this.colAllowedStores.Name = "colAllowedStores"; this.colAllowedStores.OptionsColumn.AllowEdit = false; this.colAllowedStores.OptionsColumn.ReadOnly = true; this.colAllowedStores.OptionsFilter.AllowAutoFilter = false; // // colAllowedGroups // this.colAllowedGroups.AppearanceCell.Options.UseTextOptions = true; this.colAllowedGroups.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.colAllowedGroups.FieldName = "AllowedGroups"; this.colAllowedGroups.Name = "colAllowedGroups"; this.colAllowedGroups.OptionsColumn.AllowEdit = false; this.colAllowedGroups.OptionsColumn.ReadOnly = true; this.colAllowedGroups.OptionsFilter.AllowAutoFilter = false; // // gridColumn2 // this.gridColumn2.Caption = "Created Date"; this.gridColumn2.DisplayFormat.FormatString = "d"; this.gridColumn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn2.FieldName = "CreatedDate"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 5; this.gridColumn2.Width = 137; // // btnAddNewUser // this.btnAddNewUser.Image = global::HCMIS.Security.UserManagement.Properties.Resources.AddNewTab; this.btnAddNewUser.Location = new System.Drawing.Point(874, 510); this.btnAddNewUser.Name = "btnAddNewUser"; this.btnAddNewUser.Size = new System.Drawing.Size(77, 22); this.btnAddNewUser.StyleController = this.layoutControl1; this.btnAddNewUser.TabIndex = 7; this.btnAddNewUser.Text = "Add User "; this.btnAddNewUser.Click += new System.EventHandler(this.BtnAddNewUserClick); // // brnRefresh // this.brnRefresh.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Refresh_16x16; this.brnRefresh.Location = new System.Drawing.Point(955, 510); this.brnRefresh.Name = "brnRefresh"; this.brnRefresh.Size = new System.Drawing.Size(68, 22); this.brnRefresh.StyleController = this.layoutControl1; this.brnRefresh.TabIndex = 8; this.brnRefresh.Text = "Refresh"; this.brnRefresh.Click += new System.EventHandler(this.BrnRefreshClick); // // txtFilterUserName // this.txtFilterUserName.EditValue = global::HCMIS.Security.UserManagement.Properties.Resources.SUCCESS_MESSAGE; this.txtFilterUserName.Location = new System.Drawing.Point(185, 12); this.txtFilterUserName.Name = "txtFilterUserName"; this.txtFilterUserName.Properties.NullText = "Username ,FirstName"; this.txtFilterUserName.Properties.ValidateOnEnterKey = true; this.txtFilterUserName.Size = new System.Drawing.Size(230, 20); this.txtFilterUserName.StyleController = this.layoutControl1; this.txtFilterUserName.TabIndex = 10; this.txtFilterUserName.EditValueChanged += new System.EventHandler(this.txtFilterUserName_EditValueChanged); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(22, 12); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(36, 13); this.labelControl1.StyleController = this.layoutControl1; this.labelControl1.TabIndex = 11; this.labelControl1.Text = "Search "; // // layoutControlItem3 // this.layoutControlItem3.Control = this.labelControl1; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(10, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(40, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.emptySpaceItem3, this.layoutControlItem2, this.layoutControlItem4, this.layoutControlItem5, this.emptySpaceItem1, this.emptySpaceItem4}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(1035, 544); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gridSplitContainer1; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 26); this.layoutControlItem1.MinSize = new System.Drawing.Size(50, 25); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(1015, 472); this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(407, 0); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(608, 26); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtFilterUserName; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.MaxSize = new System.Drawing.Size(407, 26); this.layoutControlItem2.MinSize = new System.Drawing.Size(407, 26); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(407, 26); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "Search By User Name or First Name"; this.layoutControlItem2.TextSize = new System.Drawing.Size(170, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.btnAddNewUser; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(862, 498); this.layoutControlItem4.MaxSize = new System.Drawing.Size(81, 26); this.layoutControlItem4.MinSize = new System.Drawing.Size(81, 26); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(81, 26); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // layoutControlItem5 // this.layoutControlItem5.Control = this.brnRefresh; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(943, 498); this.layoutControlItem5.MaxSize = new System.Drawing.Size(72, 26); this.layoutControlItem5.MinSize = new System.Drawing.Size(72, 26); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(72, 26); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(181, 498); this.emptySpaceItem1.MinSize = new System.Drawing.Size(104, 24); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(681, 26); this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 498); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(181, 26); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // UsersListView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1035, 544); this.Controls.Add(this.layoutControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "UsersListView"; this.Text = "Users"; ((System.ComponentModel.ISupportInitialize)(this.usersbindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).EndInit(); this.gridSplitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridUserListView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repConsolidate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repDelete)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFilterUserName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); this.ResumeLayout(false); }