private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.plContent = new Smobiler.Core.Controls.Panel(); this.Label8 = new Smobiler.Core.Controls.Label(); this.label1 = new Smobiler.Core.Controls.Label(); this.label3 = new Smobiler.Core.Controls.Label(); this.label4 = new Smobiler.Core.Controls.Label(); this.label5 = new Smobiler.Core.Controls.Label(); this.lblTID = new Smobiler.Core.Controls.Label(); this.lblRealId = new Smobiler.Core.Controls.Label(); this.lblName = new Smobiler.Core.Controls.Label(); this.lblPMan = new Smobiler.Core.Controls.Label(); this.lblStatus = new Smobiler.Core.Controls.Label(); this.lvSORow = new Smobiler.Core.Controls.ListView(); this.Title1 = new SMOWMS.UI.UserControl.Title(); this.label2 = new Smobiler.Core.Controls.Label(); this.lblCustomer = new Smobiler.Core.Controls.Label(); // // plContent // this.plContent.BackColor = System.Drawing.Color.White; this.plContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Label8, this.label1, this.label3, this.label4, this.label5, this.lblTID, this.lblRealId, this.lblName, this.lblPMan, this.lblStatus, this.label2, this.lblCustomer }); this.plContent.Dock = System.Windows.Forms.DockStyle.Top; this.plContent.Location = new System.Drawing.Point(0, 40); this.plContent.Name = "plContent"; this.plContent.Size = new System.Drawing.Size(300, 180); // // Label8 // this.Label8.BackColor = System.Drawing.Color.White; this.Label8.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.Label8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.Label8.Name = "Label8"; this.Label8.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.Label8.Size = new System.Drawing.Size(100, 30); this.Label8.Text = "销售单编号"; // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label1.Location = new System.Drawing.Point(0, 30); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "实际编号"; // // label3 // this.label3.BackColor = System.Drawing.Color.White; this.label3.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label3.Location = new System.Drawing.Point(0, 60); this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(100, 30); this.label3.Text = "名称"; // // label4 // this.label4.BackColor = System.Drawing.Color.White; this.label4.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label4.Location = new System.Drawing.Point(0, 90); this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label4.Size = new System.Drawing.Size(100, 30); this.label4.Text = "销售人"; // // label5 // this.label5.BackColor = System.Drawing.Color.White; this.label5.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label5.Location = new System.Drawing.Point(0, 150); this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label5.Size = new System.Drawing.Size(100, 30); this.label5.Text = "状态"; // // lblTID // this.lblTID.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblTID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblTID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblTID.Location = new System.Drawing.Point(100, 0); this.lblTID.Name = "lblTID"; this.lblTID.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblTID.Size = new System.Drawing.Size(200, 30); this.lblTID.Text = "销售单编号"; // // lblRealId // this.lblRealId.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblRealId.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblRealId.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblRealId.Location = new System.Drawing.Point(100, 30); this.lblRealId.Name = "lblRealId"; this.lblRealId.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblRealId.Size = new System.Drawing.Size(200, 30); this.lblRealId.Text = "实际编号"; // // lblName // this.lblName.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblName.Location = new System.Drawing.Point(100, 60); this.lblName.Name = "lblName"; this.lblName.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblName.Size = new System.Drawing.Size(200, 30); this.lblName.Text = "名称"; // // lblPMan // this.lblPMan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblPMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblPMan.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblPMan.Location = new System.Drawing.Point(100, 90); this.lblPMan.Name = "lblPMan"; this.lblPMan.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblPMan.Size = new System.Drawing.Size(200, 30); this.lblPMan.Text = "销售人"; // // lblStatus // this.lblStatus.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblStatus.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblStatus.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblStatus.Location = new System.Drawing.Point(100, 150); this.lblStatus.Name = "lblStatus"; this.lblStatus.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblStatus.Size = new System.Drawing.Size(200, 30); this.lblStatus.Text = "状态"; // // lvSORow // this.lvSORow.BackColor = System.Drawing.Color.White; this.lvSORow.Dock = System.Windows.Forms.DockStyle.Fill; this.lvSORow.Location = new System.Drawing.Point(0, 190); this.lvSORow.Name = "lvSORow"; this.lvSORow.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.lvSORow.PageSizeTextSize = 11F; this.lvSORow.ShowSplitLine = true; this.lvSORow.Size = new System.Drawing.Size(300, 310); this.lvSORow.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lvSORow.TemplateControlName = "frmAssSOResultLayout"; // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产销售"; // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label2.Location = new System.Drawing.Point(0, 120); this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label2.Size = new System.Drawing.Size(100, 30); this.label2.Text = "客户"; // // lblCustomer // this.lblCustomer.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblCustomer.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblCustomer.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblCustomer.Location = new System.Drawing.Point(100, 120); this.lblCustomer.Name = "lblCustomer"; this.lblCustomer.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblCustomer.Size = new System.Drawing.Size(200, 30); this.lblCustomer.Text = "客户"; // // frmAssSalesOrderResult // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "出库"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "退库"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plContent, this.lvSORow }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssSalesOrderResult_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssSalesOrderResult_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssSalesOrderResult_Load); this.Name = "frmAssSalesOrderResult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Flex = 1; this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.Size = new System.Drawing.Size(0, 300); this.tabPageView1.PageIndexChanged += new System.EventHandler(this.tabPageView1_PageIndexChanged); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; this.toolBar.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar.ItemCount = 5; toolBarItem1.IconID = "cangku"; toolBarItem1.Name = "仓库"; toolBarItem1.SelectIconColor = System.Drawing.Color.DarkGray; toolBarItem1.SelectIconID = "cangku_sel"; toolBarItem1.Text = "仓库"; toolBarItem2.IconID = "dingdan"; toolBarItem2.Name = "订单"; toolBarItem2.SelectIconID = "dingdan_sel"; toolBarItem2.Text = "订单"; toolBarItem3.IconID = "shuju"; toolBarItem3.Name = "主数据"; toolBarItem3.SelectIconID = "shuju_sel"; toolBarItem3.Text = "主数据"; toolBarItem4.IconID = "tongji"; toolBarItem4.Name = "统计"; toolBarItem4.SelectIconID = "tongji_sel"; toolBarItem4.Text = "统计"; toolBarItem5.IconID = "shezhi"; toolBarItem5.Name = "设置"; toolBarItem5.SelectIconID = "shezhi_sel"; toolBarItem5.Text = "设置"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4, toolBarItem5 }); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(0, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // demoTabToolbar // this.ActionButton.Enabled = true; actionButtonItem1.ResourceID = "arrow-left"; actionButtonItem1.Text = "返回"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1 }); this.ActionButton.OffsetY = 62; this.BackColor = System.Drawing.Color.Transparent; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageView1, this.toolBar }); this.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.demoTabToolbar_ActionButtonPress); this.Load += new System.EventHandler(this.demoTabToolbar_Load); this.Name = "demoTabToolbar"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); this.Title1 = new SMOWMS.UI.UserControl.Title(); this.listView = new Smobiler.Core.Controls.ListView(); this.plButton = new Smobiler.Core.Controls.Panel(); this.ibEdit = new Smobiler.Core.Controls.ImageButton(); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(124)))), ((int)(((byte)(246))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产盘点单列表"; // // listView // this.listView.BackColor = System.Drawing.Color.White; this.listView.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.listView.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.listView.Dock = System.Windows.Forms.DockStyle.Fill; this.listView.Location = new System.Drawing.Point(0, 40); this.listView.Name = "listView"; this.listView.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.listView.PageSizeTextSize = 11F; this.listView.ShowSplitLine = true; this.listView.Size = new System.Drawing.Size(300, 300); this.listView.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.listView.TemplateControlName = "frmAssInventoryLayout"; // // plButton // this.plButton.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.ibEdit }); this.plButton.Dock = System.Windows.Forms.DockStyle.Top; this.plButton.Location = new System.Drawing.Point(0, 40); this.plButton.Name = "plButton"; this.plButton.Size = new System.Drawing.Size(300, 60); // // ibEdit // this.ibEdit.FontSize = 14F; this.ibEdit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(124)))), ((int)(((byte)(246))))); this.ibEdit.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(124)))), ((int)(((byte)(246))))); this.ibEdit.ImageDirection = Smobiler.Core.Controls.Direction.Left; this.ibEdit.ImgTextRatio = new Smobiler.Core.Controls.Ratio(2, 8); this.ibEdit.Margin = new Smobiler.Core.Controls.Margin(0F, 12F, 0F, 250F); this.ibEdit.Name = "ibEdit"; this.ibEdit.ResourceID = "icon-add"; this.ibEdit.Size = new System.Drawing.Size(142, 36); this.ibEdit.Text = "新增盘点单"; this.ibEdit.Press += new System.EventHandler(this.ibEdit_Press); // // frmAssInventory // this.ActionButton.ButtonSpacing = 12; actionButtonItem1.ResourceID = "pencil"; actionButtonItem1.Text = "新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1 }); this.ActionButton.ItemSize = 45; this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plButton, this.listView }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(124)))), ((int)(((byte)(246)))))); this.Load += new System.EventHandler(this.frmAssInventory_Load); this.Name = "frmAssInventory"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); this.title1 = new SMOWMS.UI.UserControl.Title(); this.plContent = new Smobiler.Core.Controls.Panel(); this.plSearch = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.txtName = new Smobiler.Core.Controls.TextBox(); this.lvCumtomer = new Smobiler.Core.Controls.ListView(); // // title1 // this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.title1.Dock = System.Windows.Forms.DockStyle.Top; this.title1.FontSize = 15F; this.title1.ForeColor = System.Drawing.Color.White; this.title1.Location = new System.Drawing.Point(30, 89); this.title1.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 40); this.title1.TitleText = "客户列表"; // // plContent // this.plContent.BackColor = System.Drawing.Color.White; this.plContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plSearch, this.lvCumtomer }); this.plContent.Dock = System.Windows.Forms.DockStyle.Fill; this.plContent.Location = new System.Drawing.Point(0, 116); this.plContent.Name = "plContent"; this.plContent.Size = new System.Drawing.Size(300, 100); // // plSearch // this.plSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.plSearch.BorderRadius = 4; this.plSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon1, this.txtName }); this.plSearch.Location = new System.Drawing.Point(10, 8); this.plSearch.Name = "plSearch"; this.plSearch.Size = new System.Drawing.Size(280, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 2); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(16, 16); // // txtName // this.txtName.BackColor = System.Drawing.Color.Transparent; this.txtName.Location = new System.Drawing.Point(40, 0); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(230, 20); this.txtName.WaterMarkText = "单位名称、联系人、电话、地址"; this.txtName.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged); // // lvCumtomer // this.lvCumtomer.Dock = System.Windows.Forms.DockStyle.Fill; this.lvCumtomer.Location = new System.Drawing.Point(0, 54); this.lvCumtomer.Margin = new Smobiler.Core.Controls.Margin(0F, 35F, 0F, 0F); this.lvCumtomer.Name = "lvCumtomer"; this.lvCumtomer.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.lvCumtomer.PageSizeTextSize = 11F; this.lvCumtomer.ShowSplitLine = true; this.lvCumtomer.Size = new System.Drawing.Size(300, 300); this.lvCumtomer.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); // // frmCustomer // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "客户新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.plContent }); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmCustomer_ActionButtonPress); this.Load += new System.EventHandler(this.frmCustomer_Load); this.Name = "frmCustomer"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); this.lblTitle = new Smobiler.Core.Controls.Label(); this.plContent = new Smobiler.Core.Controls.Panel(); this.scType = new Smobiler.Core.Controls.SegmentedControl(); this.plAllData = new Smobiler.Core.Controls.Panel(); this.plSNType = new Smobiler.Core.Controls.Panel(); this.btnAss = new Smobiler.Core.Controls.Button(); this.btnCon = new Smobiler.Core.Controls.Button(); this.menuToolbar = new SMOWMS.UI.UserControl.MenuToolbar(); // // lblTitle // this.lblTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top; this.lblTitle.FontSize = 15F; this.lblTitle.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblTitle.Location = new System.Drawing.Point(80, 0); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(100, 35); this.lblTitle.Text = "订单"; // // plContent // this.plContent.BackColor = System.Drawing.Color.White; this.plContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.scType, this.plAllData }); this.plContent.Dock = System.Windows.Forms.DockStyle.Fill; this.plContent.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plContent.Location = new System.Drawing.Point(0, 80); this.plContent.Name = "plContent"; this.plContent.Size = new System.Drawing.Size(300, 100); // // scType // this.scType.Items = new string[] { "采购订单", "销售订单" }; this.scType.Name = "scType"; this.scType.SegmentedBorderRadius = 0; this.scType.SelectedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(140)))), ((int)(((byte)(255))))); this.scType.SelectedColor = System.Drawing.Color.White; this.scType.Size = new System.Drawing.Size(0, 35); this.scType.UnSelectedBackColor = System.Drawing.Color.White; this.scType.UnSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(140)))), ((int)(((byte)(255))))); this.scType.SelectedIndexChanged += new System.EventHandler(this.scType_SelectedIndexChanged); // // plAllData // this.plAllData.BackColor = System.Drawing.Color.White; this.plAllData.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plSNType }); this.plAllData.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.plAllData.Flex = 1; this.plAllData.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plAllData.Name = "plAllData"; this.plAllData.Size = new System.Drawing.Size(0, 100); // // plSNType // this.plSNType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plSNType.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnAss, this.btnCon }); this.plSNType.Name = "plSNType"; this.plSNType.Size = new System.Drawing.Size(40, 0); // // btnAss // this.btnAss.BackColor = System.Drawing.Color.White; this.btnAss.BorderRadius = 0; this.btnAss.ForeColor = System.Drawing.Color.Black; this.btnAss.Name = "btnAss"; this.btnAss.Size = new System.Drawing.Size(40, 35); this.btnAss.Text = "资产"; this.btnAss.Press += new System.EventHandler(this.btnAss_Press); // // btnCon // this.btnCon.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnCon.BorderRadius = 0; this.btnCon.ForeColor = System.Drawing.Color.DarkGray; this.btnCon.Location = new System.Drawing.Point(0, 35); this.btnCon.Name = "btnCon"; this.btnCon.Size = new System.Drawing.Size(40, 35); this.btnCon.Text = "耗材"; this.btnCon.Press += new System.EventHandler(this.btnCon_Press); // // menuToolbar // this.menuToolbar.BackColor = System.Drawing.Color.White; this.menuToolbar.Dock = System.Windows.Forms.DockStyle.Bottom; this.menuToolbar.Location = new System.Drawing.Point(143, 282); this.menuToolbar.Name = "menuToolbar"; this.menuToolbar.SelectedIndex = -1; this.menuToolbar.Size = new System.Drawing.Size(100, 50); // // frmOrder // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产采购新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "资产销售新增"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "耗材采购新增"; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "耗材销售新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3, actionButtonItem4 }); this.ActionButton.OffsetY = 50; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.lblTitle, this.menuToolbar, this.plContent }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmOrder_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmOrder_ActionButtonPress); this.Load += new System.EventHandler(this.frmOrder_Load); this.Name = "frmOrder"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem5 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem6 = new Smobiler.Core.Controls.ActionButtonItem(); this.plSearch = new Smobiler.Core.Controls.Panel(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.txtNote = new Smobiler.Core.Controls.TextBox(); this.gridAssRows = new Smobiler.Core.Controls.GridView(); this.tpSearch = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.popType = new Smobiler.Core.Controls.PopList(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); this.posPrinter1 = new Smobiler.Device.PosPrinter(); this.Title1 = new SMOWMS.UI.UserControl.Title(); // // plSearch // this.plSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imageButton1, this.panel1 }); this.plSearch.Dock = System.Windows.Forms.DockStyle.Top; this.plSearch.Location = new System.Drawing.Point(0, 97); this.plSearch.Name = "plSearch"; this.plSearch.Size = new System.Drawing.Size(300, 45); // // imageButton1 // this.imageButton1.BackColor = System.Drawing.Color.White; this.imageButton1.Location = new System.Drawing.Point(15, 8); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "scan"; this.imageButton1.Size = new System.Drawing.Size(28, 28); this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel1.BorderRadius = 4; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon1, this.txtNote }); this.panel1.Location = new System.Drawing.Point(50, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(250, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 2); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(16, 16); // // txtNote // this.txtNote.BackColor = System.Drawing.Color.Transparent; this.txtNote.Location = new System.Drawing.Point(40, 0); this.txtNote.Name = "txtNote"; this.txtNote.Size = new System.Drawing.Size(200, 20); this.txtNote.WaterMarkText = "请输入模板名称或模板编号"; this.txtNote.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtNote.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // gridAssRows // this.gridAssRows.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridAssRows.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridAssRows.Dock = System.Windows.Forms.DockStyle.Fill; this.gridAssRows.Name = "gridAssRows"; this.gridAssRows.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridAssRows.PageSizeTextSize = 11F; this.gridAssRows.Size = new System.Drawing.Size(0, 0); this.gridAssRows.TemplateControlName = "frmAssTemplateLayout"; // // tpSearch // this.tpSearch.BackColor = System.Drawing.Color.White; this.tpSearch.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.tpSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.tpSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1 }); this.tpSearch.Dock = System.Windows.Forms.DockStyle.Top; this.tpSearch.Location = new System.Drawing.Point(250, 55); this.tpSearch.Name = "tpSearch"; this.tpSearch.Size = new System.Drawing.Size(40, 30); this.tpSearch.Touchable = true; this.tpSearch.Press += new System.EventHandler(this.tpSearch_Press); // // label1 // this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label1.Location = new System.Drawing.Point(200, 0); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "类别选择▼"; // // popType // this.popType.Name = "popType"; this.popType.Title = "类型选择"; this.popType.Selected += new System.EventHandler(this.popType_Selected); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; this.r2000Scanner1.BarcodeDataCaptured += new Smobiler.Device.R2000BarcodeScanEventHandler(this.r2000Scanner1_BarcodeDataCaptured); this.r2000Scanner1.RFIDDataCaptured += new Smobiler.Device.R2000RFIDScanEventHandler(this.r2000Scanner1_RFIDDataCaptured); // // posPrinter1 // this.posPrinter1.Name = "posPrinter1"; // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产模板列表"; // // frmAssTemplate // this.ActionButton.Enabled = true; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "添加"; actionButtonItem5.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem5.Text = "复制"; actionButtonItem6.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem6.Text = "打印标签"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem4, actionButtonItem5, actionButtonItem6 }); this.BackColor = System.Drawing.Color.White; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popType, this.barcodeScanner1, this.r2000Scanner1, this.posPrinter1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plSearch, this.tpSearch, this.gridAssRows }); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssTemplate_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssTemplate_Load); this.Name = "frmAssTemplate"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); this.title1 = new Smobiler.Core.Controls.Title(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.spContent = new Smobiler.Core.Controls.Panel(); this.iconMenuData = new Smobiler.Core.Controls.IconMenuView(); this.plTabBar = new Smobiler.Core.Controls.Panel(); this.plShenPi = new Smobiler.Core.Controls.Panel(); this.imgbtnShenPi = new Smobiler.Core.Controls.ImageButton(); this.plFaQi = new Smobiler.Core.Controls.Panel(); this.image3 = new Smobiler.Core.Controls.Image(); this.label2 = new Smobiler.Core.Controls.Label(); this.plChaoSong = new Smobiler.Core.Controls.Panel(); this.image4 = new Smobiler.Core.Controls.Image(); this.label3 = new Smobiler.Core.Controls.Label(); this.swipeView1 = new Smobiler.Core.Controls.SwipeView(); // // title1 // this.title1.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.title1.Name = "title1"; this.title1.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.title1.ResourceID = "list-ul"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.Text = "工作"; this.title1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; this.toolBar1.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); toolBarItem1.IconID = "work2"; toolBarItem1.MessageText = "2"; toolBarItem1.Name = "Work"; toolBarItem1.SelectIconID = "work2"; toolBarItem2.IconID = "me"; toolBarItem2.Name = "Me"; toolBarItem2.SelectIconID = "me"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(91, 373); this.toolBar1.MessageFontSize = 10; this.toolBar1.MessageForeColor = System.Drawing.Color.White; this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // spContent // this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.iconMenuData, this.plTabBar }); this.spContent.Dock = System.Windows.Forms.DockStyle.Fill; this.spContent.Location = new System.Drawing.Point(74, 112); this.spContent.Name = "spContent"; this.spContent.Scrollable = true; this.spContent.Size = new System.Drawing.Size(100, 30); // // iconMenuData // this.iconMenuData.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.iconMenuData.Location = new System.Drawing.Point(0, 70); this.iconMenuData.MenuItemHeight = 75; this.iconMenuData.Name = "iconMenuData"; this.iconMenuData.Size = new System.Drawing.Size(300, 300); this.iconMenuData.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuData_ItemPress); // // plTabBar // this.plTabBar.BackColor = System.Drawing.Color.White; this.plTabBar.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plShenPi, this.plFaQi, this.plChaoSong }); this.plTabBar.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.plTabBar.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plTabBar.Name = "plTabBar"; this.plTabBar.Size = new System.Drawing.Size(300, 60); // // plShenPi // this.plShenPi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plShenPi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imgbtnShenPi }); this.plShenPi.Flex = 1; this.plShenPi.Name = "plShenPi"; this.plShenPi.Size = new System.Drawing.Size(0, 0); this.plShenPi.Touchable = true; this.plShenPi.Press += new System.EventHandler(this.plShenPi_Press); // // imgbtnShenPi // this.imgbtnShenPi.DataMember = null; this.imgbtnShenPi.DisplayFormat = null; this.imgbtnShenPi.DisplayMember = null; this.imgbtnShenPi.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.imgbtnShenPi.ImageDirection = Smobiler.Core.Controls.Direction.Left; this.imgbtnShenPi.ImgTextRatio = new Smobiler.Core.Controls.Ratio(3, 7); this.imgbtnShenPi.Location = new System.Drawing.Point(5, 15); this.imgbtnShenPi.Name = "imgbtnShenPi"; this.imgbtnShenPi.ResourceID = "shenpi"; this.imgbtnShenPi.Size = new System.Drawing.Size(90, 30); this.imgbtnShenPi.Text = "待我审批"; this.imgbtnShenPi.Press += new System.EventHandler(this.plShenPi_Press); // // plFaQi // this.plFaQi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plFaQi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image3, this.label2 }); this.plFaQi.Flex = 1; this.plFaQi.Name = "plFaQi"; this.plFaQi.Size = new System.Drawing.Size(0, 0); this.plFaQi.Touchable = true; this.plFaQi.Press += new System.EventHandler(this.plFaQi_Press); // // image3 // this.image3.Location = new System.Drawing.Point(5, 17); this.image3.Name = "image3"; this.image3.ResourceID = "wofaqi"; this.image3.Size = new System.Drawing.Size(20, 25); // // label2 // this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label2.Location = new System.Drawing.Point(25, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(75, 34); this.label2.Text = "我发起的"; // // plChaoSong // this.plChaoSong.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image4, this.label3 }); this.plChaoSong.Flex = 1; this.plChaoSong.Name = "plChaoSong"; this.plChaoSong.Size = new System.Drawing.Size(0, 0); this.plChaoSong.Touchable = true; this.plChaoSong.Press += new System.EventHandler(this.plChaoSong_Press); // // image4 // this.image4.Location = new System.Drawing.Point(5, 17); this.image4.Name = "image4"; this.image4.ResourceID = "chaosong"; this.image4.Size = new System.Drawing.Size(20, 25); // // label3 // this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label3.Location = new System.Drawing.Point(25, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(75, 34); this.label3.Text = "抄送我的"; // // swipeView1 // this.swipeView1.Name = "swipeView1"; this.swipeView1.Size = new System.Drawing.Size(0, 0); // // frmWork // this.ActionButton.AutoInactive = false; this.ActionButton.Enabled = true; this.ActionButton.ImageSize = 24; actionButtonItem1.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(206)))), ((int)(((byte)(248))))); actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem1.ResourceID = "action1"; actionButtonItem1.Text = "请假"; actionButtonItem1.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); actionButtonItem2.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(231)))), ((int)(((byte)(171))))); actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem2.ResourceID = "action2"; actionButtonItem2.Text = "消费明细"; actionButtonItem2.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); actionButtonItem3.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(195)))), ((int)(((byte)(154))))); actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem3.ResourceID = "action3"; actionButtonItem3.Text = "报销"; actionButtonItem3.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3 }); this.ActionButton.MainButton.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(187)))), ((int)(((byte)(255))))); this.ActionButton.OffsetY = 50; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.toolBar1, this.spContent }); this.DrawerName = "SmoONE.UI.Layout.LeftPage"; this.DrawerWidth = 260; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmWork_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmWork_ActionButtonPress); this.Load += new System.EventHandler(this.frmWork_Load); this.Name = "frmWork"; }
private void InitializeComponent() { Smobiler.Core.Controls.PopListGroup popListGroup1 = new Smobiler.Core.Controls.PopListGroup(); Smobiler.Core.Controls.PopListItem popListItem1 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem2 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem3 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem4 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem5 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem6 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem7 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem5 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem6 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem7 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem8 = new Smobiler.Core.Controls.ActionButtonItem(); this.txtFactor = new Smobiler.Core.Controls.TextBox(); this.fiSearch = new Smobiler.Core.Controls.FontIcon(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); this.Title1 = new SMOSEC.UI.UserControl.MenuTitle(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.fontIcon3 = new Smobiler.Core.Controls.FontIcon(); this.txtSnOrName = new Smobiler.Core.Controls.TextBox(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.posPrinter1 = new Smobiler.Device.PosPrinter(); this.popType = new Smobiler.Core.Controls.PopList(); this.popStatus = new Smobiler.Core.Controls.PopList(); this.popDep = new Smobiler.Core.Controls.PopList(); this.plSearch = new Smobiler.Core.Controls.Panel(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.txtNote = new Smobiler.Core.Controls.TextBox(); this.tpSearch = new Smobiler.Core.Controls.Panel(); this.btnType = new Smobiler.Core.Controls.Button(); this.btnDep = new Smobiler.Core.Controls.Button(); this.btnStatus = new Smobiler.Core.Controls.Button(); this.gridAssRows = new Smobiler.Core.Controls.GridView(); // // txtFactor // this.txtFactor.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtFactor.Name = "txtFactor"; this.txtFactor.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.txtFactor.Size = new System.Drawing.Size(183, 40); this.txtFactor.WaterMarkText = "请输入资产名称或资产条码"; // // fiSearch // this.fiSearch.BackColor = System.Drawing.Color.White; this.fiSearch.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.fiSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.fiSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.fiSearch.Location = new System.Drawing.Point(183, 0); this.fiSearch.Name = "fiSearch"; this.fiSearch.ResourceID = "search"; this.fiSearch.Size = new System.Drawing.Size(40, 40); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; this.r2000Scanner1.BarcodeDataCaptured += new Smobiler.Device.R2000BarcodeScanEventHandler(this.r2000Scanner1_BarcodeDataCaptured); this.r2000Scanner1.RFIDDataCaptured += new Smobiler.Device.R2000RFIDScanEventHandler(this.r2000Scanner1_RFIDDataCaptured); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel3 }); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.Black; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产列表"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel3.BorderRadius = 4; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon3, this.txtSnOrName }); this.panel3.Location = new System.Drawing.Point(50, 52); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(250, 20); // // fontIcon3 // this.fontIcon3.ForeColor = System.Drawing.Color.Silver; this.fontIcon3.Location = new System.Drawing.Point(10, 2); this.fontIcon3.Name = "fontIcon3"; this.fontIcon3.ResourceID = "search"; this.fontIcon3.Size = new System.Drawing.Size(16, 16); // // txtSnOrName // this.txtSnOrName.BackColor = System.Drawing.Color.Transparent; this.txtSnOrName.Location = new System.Drawing.Point(40, 0); this.txtSnOrName.Name = "txtSnOrName"; this.txtSnOrName.Size = new System.Drawing.Size(200, 20); this.txtSnOrName.WaterMarkText = "请输入资产名称或资产条码"; this.txtSnOrName.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtSnOrName.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // posPrinter1 // this.posPrinter1.Name = "posPrinter1"; // // popType // this.popType.Name = "popType"; this.popType.Title = "类型选择"; this.popType.Selected += new System.EventHandler(this.popType_Selected); // // popStatus // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "全部"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "闲置"; popListItem2.Value = "0"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "调拨中"; popListItem3.Value = "1"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "使用中"; popListItem4.Value = "2"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "维修中"; popListItem5.Value = "3"; popListItem6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem6.Text = "报废"; popListItem6.Value = "4"; popListItem7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem7.Text = "借用中"; popListItem7.Value = "5"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5, popListItem6, popListItem7 }); popListGroup1.Value = null; this.popStatus.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popStatus.Name = "popStatus"; this.popStatus.Title = "资产状态"; this.popStatus.Selected += new System.EventHandler(this.popStatus_Selected); // // popDep // this.popDep.Name = "popDep"; this.popDep.Title = "部门选择"; this.popDep.Selected += new System.EventHandler(this.popDep_Selected); // // plSearch // this.plSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imageButton1, this.panel1 }); this.plSearch.Dock = System.Windows.Forms.DockStyle.Top; this.plSearch.Location = new System.Drawing.Point(0, 95); this.plSearch.Name = "plSearch"; this.plSearch.Size = new System.Drawing.Size(300, 45); // // imageButton1 // this.imageButton1.BackColor = System.Drawing.Color.White; this.imageButton1.Location = new System.Drawing.Point(15, 8); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "scan"; this.imageButton1.Size = new System.Drawing.Size(28, 28); this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel1.BorderRadius = 4; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon1, this.txtNote }); this.panel1.Location = new System.Drawing.Point(50, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(250, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 2); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(16, 16); // // txtNote // this.txtNote.BackColor = System.Drawing.Color.Transparent; this.txtNote.Location = new System.Drawing.Point(40, 0); this.txtNote.Name = "txtNote"; this.txtNote.Size = new System.Drawing.Size(200, 20); this.txtNote.WaterMarkText = "请输入资产名称或资产条码"; this.txtNote.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtNote.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // tpSearch // this.tpSearch.BackColor = System.Drawing.Color.White; this.tpSearch.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.tpSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.tpSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnType, this.btnDep, this.btnStatus }); this.tpSearch.Dock = System.Windows.Forms.DockStyle.Top; this.tpSearch.Location = new System.Drawing.Point(250, 55); this.tpSearch.Name = "tpSearch"; this.tpSearch.Size = new System.Drawing.Size(40, 30); // // btnType // this.btnType.BackColor = System.Drawing.Color.White; this.btnType.BorderRadius = 0; this.btnType.ForeColor = System.Drawing.Color.Black; this.btnType.Location = new System.Drawing.Point(200, 0); this.btnType.Name = "btnType"; this.btnType.Size = new System.Drawing.Size(100, 30); this.btnType.Text = "类别选择▼"; this.btnType.Press += new System.EventHandler(this.btnType_Press); // // btnDep // this.btnDep.BackColor = System.Drawing.Color.White; this.btnDep.BorderRadius = 0; this.btnDep.ForeColor = System.Drawing.Color.Black; this.btnDep.Name = "btnDep"; this.btnDep.Size = new System.Drawing.Size(100, 30); this.btnDep.Text = "部门选择▼"; this.btnDep.Press += new System.EventHandler(this.btnDep_Press); // // btnStatus // this.btnStatus.BackColor = System.Drawing.Color.White; this.btnStatus.BorderRadius = 0; this.btnStatus.ForeColor = System.Drawing.Color.Black; this.btnStatus.Location = new System.Drawing.Point(100, 0); this.btnStatus.Name = "btnStatus"; this.btnStatus.Size = new System.Drawing.Size(100, 30); this.btnStatus.Text = "资产状态▼"; this.btnStatus.Press += new System.EventHandler(this.btnStatus_Press); // // gridAssRows // this.gridAssRows.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridAssRows.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridAssRows.Dock = System.Windows.Forms.DockStyle.Fill; this.gridAssRows.Flex = 1; this.gridAssRows.Name = "gridAssRows"; this.gridAssRows.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridAssRows.PageSizeTextSize = 11F; this.gridAssRows.Size = new System.Drawing.Size(0, 0); this.gridAssRows.TemplateControlName = "frmAssetsExLayout"; // // frmAssets // this.ActionButton.ButtonSpacing = 12; this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.ResourceID = ""; actionButtonItem2.Text = "资产复制"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "资产领用"; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "资产借用"; actionButtonItem5.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem5.Text = "维修登记"; actionButtonItem6.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem6.Text = "资产报废"; actionButtonItem7.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem7.Text = "资产调拨"; actionButtonItem8.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem8.Text = "资产打印"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3, actionButtonItem4, actionButtonItem5, actionButtonItem6, actionButtonItem7, actionButtonItem8 }); this.ActionButton.ItemSize = 45; this.BackColor = System.Drawing.Color.White; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.r2000Scanner1, this.barcodeScanner1, this.posPrinter1, this.popType, this.popStatus, this.popDep }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plSearch, this.tpSearch, this.gridAssRows }); this.DrawerName = "LeftMenu"; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssets_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssets_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssets_Load); this.Name = "frmAssets"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; this.toolBar.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar.ItemCount = 5; toolBarItem1.IconID = "cangku"; toolBarItem1.Name = "仓库"; toolBarItem1.SelectIconID = "cangku_sel"; toolBarItem1.Text = "仓库"; toolBarItem2.IconID = "dingdan"; toolBarItem2.Name = "订单"; toolBarItem2.SelectIconID = "dingdan_sel"; toolBarItem2.Text = "订单"; toolBarItem3.IconID = "shuju"; toolBarItem3.Name = "主数据"; toolBarItem3.SelectIconID = "shuju_sel"; toolBarItem3.Text = "主数据"; toolBarItem4.IconID = "tongji"; toolBarItem4.Name = "统计"; toolBarItem4.SelectIconID = "tongji_sel"; toolBarItem4.Text = "统计"; toolBarItem5.IconID = "shezhi"; toolBarItem5.Name = "设置"; toolBarItem5.SelectIconID = "shezhi_sel"; toolBarItem5.Text = "设置"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4, toolBarItem5 }); this.toolBar.Location = new System.Drawing.Point(114, 25); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(100, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // tabPageView1 // this.tabPageView1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabPageView1.Location = new System.Drawing.Point(80, 88); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.ScrollEnabled = false; this.tabPageView1.Size = new System.Drawing.Size(300, 300); this.tabPageView1.PageIndexChanged += new System.EventHandler(this.tabPageView1_PageIndexChanged); // // frmToolBarMenu // actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产采购新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "资产销售新增"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "耗材采购新增"; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "耗材销售新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3, actionButtonItem4 }); this.ActionButton.OffsetY = 50; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.toolBar, this.tabPageView1 }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmToolBarMenu_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmToolBarMenu_ActionButtonPress); this.Load += new System.EventHandler(this.frmToolBarMenu_Load); this.Name = "frmToolBarMenu"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); this.Title1 = new SMOSEC.UI.UserControl.MenuTitle(); this.btnAdd = new Smobiler.Core.Controls.Button(); this.listView = new Smobiler.Core.Controls.ListView(); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.Black; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产盘点单列表"; // // btnAdd // this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnAdd.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnAdd.BorderRadius = 4; this.btnAdd.Dock = System.Windows.Forms.DockStyle.Top; this.btnAdd.FontSize = 15F; this.btnAdd.Location = new System.Drawing.Point(0, 39); this.btnAdd.Margin = new Smobiler.Core.Controls.Margin(10F, 10F, 10F, 0F); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(280, 35); this.btnAdd.Text = "新增"; this.btnAdd.Press += new System.EventHandler(this.btnAdd_Press); // // listView // this.listView.BackColor = System.Drawing.Color.White; this.listView.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.listView.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.listView.Dock = System.Windows.Forms.DockStyle.Fill; this.listView.Location = new System.Drawing.Point(0, 40); this.listView.Margin = new Smobiler.Core.Controls.Margin(0F, 20F, 0F, 0F); this.listView.Name = "listView"; this.listView.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.listView.PageSizeTextSize = 11F; this.listView.Size = new System.Drawing.Size(300, 300); this.listView.TemplateControlName = "frmAssInventoryLayout"; // // frmAssInventory // this.ActionButton.ButtonSpacing = 12; actionButtonItem1.ResourceID = "pencil"; actionButtonItem1.Text = "新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1 }); this.ActionButton.ItemSize = 45; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.btnAdd, this.listView }); this.DrawerName = "LeftMenu"; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssInventory_KeyDown); this.Load += new System.EventHandler(this.frmAssInventory_Load); this.Name = "frmAssInventory"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.Label8 = new Smobiler.Core.Controls.Label(); this.txtName = new Smobiler.Core.Controls.TextBox(); this.label1 = new Smobiler.Core.Controls.Label(); this.txtHandleMan = new Smobiler.Core.Controls.TextBox(); this.label2 = new Smobiler.Core.Controls.Label(); this.txtCount = new Smobiler.Core.Controls.TextBox(); this.label3 = new Smobiler.Core.Controls.Label(); this.txtLocatin = new Smobiler.Core.Controls.TextBox(); this.label4 = new Smobiler.Core.Controls.Label(); this.txtDep = new Smobiler.Core.Controls.TextBox(); this.label5 = new Smobiler.Core.Controls.Label(); this.txtType = new Smobiler.Core.Controls.TextBox(); this.image2 = new Smobiler.Core.Controls.Image(); this.label6 = new Smobiler.Core.Controls.Label(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.image1 = new Smobiler.Core.Controls.Image(); this.label7 = new Smobiler.Core.Controls.Label(); this.image3 = new Smobiler.Core.Controls.Image(); this.label9 = new Smobiler.Core.Controls.Label(); this.image4 = new Smobiler.Core.Controls.Image(); this.label10 = new Smobiler.Core.Controls.Label(); this.Title1 = new SMOSEC.UI.UserControl.Title(); this.plButton = new Smobiler.Core.Controls.Panel(); this.panelScan = new Smobiler.Core.Controls.Panel(); this.image5 = new Smobiler.Core.Controls.Image(); this.label11 = new Smobiler.Core.Controls.Label(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Label8, this.txtName, this.label1, this.txtHandleMan, this.label2, this.txtCount, this.label3, this.txtLocatin, this.label4, this.txtDep, this.label5, this.txtType }); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 180); // // Label8 // this.Label8.BackColor = System.Drawing.Color.White; this.Label8.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.Label8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.Label8.Name = "Label8"; this.Label8.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.Label8.Size = new System.Drawing.Size(100, 30); this.Label8.Text = "盘点表"; // // txtName // this.txtName.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtName.Location = new System.Drawing.Point(100, 0); this.txtName.Name = "txtName"; this.txtName.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtName.ReadOnly = true; this.txtName.Size = new System.Drawing.Size(200, 30); this.txtName.WaterMarkText = "(选填)"; // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label1.Location = new System.Drawing.Point(0, 30); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "盘点人"; // // txtHandleMan // this.txtHandleMan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtHandleMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtHandleMan.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtHandleMan.Location = new System.Drawing.Point(100, 30); this.txtHandleMan.Name = "txtHandleMan"; this.txtHandleMan.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtHandleMan.ReadOnly = true; this.txtHandleMan.Size = new System.Drawing.Size(200, 30); this.txtHandleMan.WaterMarkText = "(选填)"; // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label2.Location = new System.Drawing.Point(0, 150); this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label2.Size = new System.Drawing.Size(100, 30); this.label2.Text = "需盘点总数"; // // txtCount // this.txtCount.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtCount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtCount.Location = new System.Drawing.Point(100, 150); this.txtCount.Name = "txtCount"; this.txtCount.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtCount.ReadOnly = true; this.txtCount.Size = new System.Drawing.Size(200, 30); this.txtCount.WaterMarkText = "(选填)"; // // label3 // this.label3.BackColor = System.Drawing.Color.White; this.label3.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label3.Location = new System.Drawing.Point(0, 60); this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(100, 30); this.label3.Text = "区域"; // // txtLocatin // this.txtLocatin.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtLocatin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtLocatin.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtLocatin.Location = new System.Drawing.Point(100, 60); this.txtLocatin.Name = "txtLocatin"; this.txtLocatin.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtLocatin.ReadOnly = true; this.txtLocatin.Size = new System.Drawing.Size(200, 30); this.txtLocatin.WaterMarkText = "(选填)"; // // label4 // this.label4.BackColor = System.Drawing.Color.White; this.label4.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label4.Location = new System.Drawing.Point(0, 90); this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label4.Size = new System.Drawing.Size(100, 30); this.label4.Text = "部门"; // // txtDep // this.txtDep.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtDep.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtDep.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtDep.Location = new System.Drawing.Point(100, 90); this.txtDep.Name = "txtDep"; this.txtDep.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtDep.ReadOnly = true; this.txtDep.Size = new System.Drawing.Size(200, 30); this.txtDep.WaterMarkText = "(选填)"; // // label5 // this.label5.BackColor = System.Drawing.Color.White; this.label5.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label5.Location = new System.Drawing.Point(0, 120); this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label5.Size = new System.Drawing.Size(100, 30); this.label5.Text = "类型"; // // txtType // this.txtType.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtType.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtType.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtType.Location = new System.Drawing.Point(100, 120); this.txtType.Name = "txtType"; this.txtType.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.txtType.ReadOnly = true; this.txtType.Size = new System.Drawing.Size(200, 30); this.txtType.WaterMarkText = "(选填)"; // // image2 // this.image2.Location = new System.Drawing.Point(1, 1); this.image2.Name = "image2"; this.image2.ResourceID = "scan"; this.image2.Size = new System.Drawing.Size(30, 26); // // label6 // this.label6.Location = new System.Drawing.Point(38, 2); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(84, 25); this.label6.Text = "扫码添加"; // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // image1 // this.image1.Location = new System.Drawing.Point(1, 1); this.image1.Name = "image1"; this.image1.ResourceID = "scan"; this.image1.Size = new System.Drawing.Size(30, 26); // // label7 // this.label7.Location = new System.Drawing.Point(38, 2); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(84, 25); this.label7.Text = "扫码添加"; // // image3 // this.image3.Location = new System.Drawing.Point(1, 1); this.image3.Name = "image3"; this.image3.ResourceID = "scan"; this.image3.Size = new System.Drawing.Size(30, 26); // // label9 // this.label9.Location = new System.Drawing.Point(38, 2); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(84, 25); this.label9.Text = "扫码添加"; // // image4 // this.image4.Location = new System.Drawing.Point(1, 1); this.image4.Name = "image4"; this.image4.ResourceID = "scan"; this.image4.Size = new System.Drawing.Size(30, 26); // // label10 // this.label10.Location = new System.Drawing.Point(38, 2); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(84, 25); this.label10.Text = "扫码添加"; // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产盘点"; // // plButton // this.plButton.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panelScan }); this.plButton.Dock = System.Windows.Forms.DockStyle.Top; this.plButton.Location = new System.Drawing.Point(0, 279); this.plButton.Name = "plButton"; this.plButton.Size = new System.Drawing.Size(300, 28); // // panelScan // this.panelScan.BackColor = System.Drawing.Color.White; this.panelScan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.panelScan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.panelScan.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image5, this.label11 }); this.panelScan.Name = "panelScan"; this.panelScan.Size = new System.Drawing.Size(124, 28); this.panelScan.Touchable = true; this.panelScan.Press += new System.EventHandler(this.panelScan_Press); // // image5 // this.image5.Location = new System.Drawing.Point(1, 1); this.image5.Name = "image5"; this.image5.ResourceID = "scan"; this.image5.Size = new System.Drawing.Size(30, 26); // // label11 // this.label11.Location = new System.Drawing.Point(38, 2); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(84, 25); this.label11.Text = "扫码添加"; // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabPageView1.Location = new System.Drawing.Point(0, 248); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tabPageView1.Size = new System.Drawing.Size(300, 252); this.tabPageView1.Titles = new string[] { "待盘点", "已盘点" }; this.tabPageView1.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 13F, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 2); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; this.r2000Scanner1.RFIDDataCaptured += new Smobiler.Device.R2000RFIDScanEventHandler(this.r2000Scanner1_RFIDDataCaptured); // // frmAssInventoryResult // this.ActionButton.ButtonSpacing = 12; this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "上传结果"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "盘点结束"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.ActionButton.ItemSize = 45; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.barcodeScanner1, this.r2000Scanner1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.panel1, this.plButton, this.tabPageView1 }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssInventoryResult_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssInventoryResult_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssInventoryResult_Load); this.Name = "frmAssInventoryResult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.bsSL = new Smobiler.Core.Controls.BarcodeScanner(); this.plTitle = new Smobiler.Core.Controls.Panel(); this.plBack = new Smobiler.Core.Controls.Panel(); this.Image1 = new Smobiler.Core.Controls.Image(); this.label5 = new Smobiler.Core.Controls.Label(); this.plSave = new Smobiler.Core.Controls.Panel(); this.label7 = new Smobiler.Core.Controls.Label(); this.plContent = new Smobiler.Core.Controls.Panel(); this.plButton = new Smobiler.Core.Controls.Panel(); this.plAction = new Smobiler.Core.Controls.Panel(); this.imgAction = new Smobiler.Core.Controls.Image(); this.lblAction = new Smobiler.Core.Controls.Label(); this.plScan = new Smobiler.Core.Controls.Panel(); this.image2 = new Smobiler.Core.Controls.Image(); this.label8 = new Smobiler.Core.Controls.Label(); this.plText = new Smobiler.Core.Controls.Panel(); this.lblName = new Smobiler.Core.Controls.Label(); this.label1 = new Smobiler.Core.Controls.Label(); this.lblHandleMan = new Smobiler.Core.Controls.Label(); this.label3 = new Smobiler.Core.Controls.Label(); this.lblWareHouse = new Smobiler.Core.Controls.Label(); this.label4 = new Smobiler.Core.Controls.Label(); this.lblST = new Smobiler.Core.Controls.Label(); this.label6 = new Smobiler.Core.Controls.Label(); this.lblSL = new Smobiler.Core.Controls.Label(); this.lblCount = new Smobiler.Core.Controls.Label(); this.label2 = new Smobiler.Core.Controls.Label(); this.lblCreateManName = new Smobiler.Core.Controls.Label(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); // // bsSL // this.bsSL.Name = "bsSL"; this.bsSL.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // plTitle // this.plTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.plTitle.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plBack, this.label5, this.plSave }); this.plTitle.Dock = System.Windows.Forms.DockStyle.Top; this.plTitle.Name = "plTitle"; this.plTitle.Size = new System.Drawing.Size(300, 40); // // plBack // this.plBack.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Image1 }); this.plBack.Location = new System.Drawing.Point(10, 0); this.plBack.Name = "plBack"; this.plBack.Size = new System.Drawing.Size(40, 40); this.plBack.Touchable = true; this.plBack.TouchOpacity = 100; this.plBack.Press += new System.EventHandler(this.plBack_Press); // // Image1 // this.Image1.Name = "Image1"; this.Image1.ResourceID = "back"; this.Image1.Size = new System.Drawing.Size(40, 40); // // label5 // this.label5.FontSize = 15F; this.label5.ForeColor = System.Drawing.Color.White; this.label5.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label5.Location = new System.Drawing.Point(50, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(200, 40); this.label5.Text = "盘点单"; // // plSave // this.plSave.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label7 }); this.plSave.Location = new System.Drawing.Point(250, 0); this.plSave.Name = "plSave"; this.plSave.Size = new System.Drawing.Size(40, 40); this.plSave.Touchable = true; this.plSave.TouchOpacity = 100; this.plSave.Press += new System.EventHandler(this.plSave_Press); // // label7 // this.label7.FontSize = 15F; this.label7.ForeColor = System.Drawing.Color.White; this.label7.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(40, 40); this.label7.Text = "保存"; // // plContent // this.plContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plButton, this.plText, this.tabPageView1 }); this.plContent.Dock = System.Windows.Forms.DockStyle.Fill; this.plContent.Location = new System.Drawing.Point(0, 233); this.plContent.Name = "plContent"; this.plContent.Size = new System.Drawing.Size(300, 100); // // plButton // this.plButton.BackColor = System.Drawing.Color.White; this.plButton.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plButton.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plAction, this.plScan }); this.plButton.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.plButton.Dock = System.Windows.Forms.DockStyle.Top; this.plButton.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plButton.Location = new System.Drawing.Point(0, 270); this.plButton.Name = "plButton"; this.plButton.Size = new System.Drawing.Size(300, 50); // // plAction // this.plAction.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imgAction, this.lblAction }); this.plAction.Flex = 1; this.plAction.Name = "plAction"; this.plAction.Size = new System.Drawing.Size(0, 0); this.plAction.Touchable = true; this.plAction.TouchOpacity = 100; this.plAction.Press += new System.EventHandler(this.plAction_Press); // // imgAction // this.imgAction.Location = new System.Drawing.Point(14, 12); this.imgAction.Name = "imgAction"; this.imgAction.ResourceID = "icon-start"; this.imgAction.Size = new System.Drawing.Size(25, 25); // // lblAction // this.lblAction.Location = new System.Drawing.Point(60, 12); this.lblAction.Name = "lblAction"; this.lblAction.Size = new System.Drawing.Size(90, 25); this.lblAction.Text = "开始盘点"; // // plScan // this.plScan.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image2, this.label8 }); this.plScan.Flex = 1; this.plScan.Name = "plScan"; this.plScan.Size = new System.Drawing.Size(0, 0); this.plScan.Touchable = true; this.plScan.TouchOpacity = 100; this.plScan.Press += new System.EventHandler(this.plScan_Press); // // image2 // this.image2.Location = new System.Drawing.Point(14, 12); this.image2.Name = "image2"; this.image2.ResourceID = "icon-scan"; this.image2.Size = new System.Drawing.Size(25, 25); // // label8 // this.label8.Location = new System.Drawing.Point(60, 12); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(90, 25); this.label8.Text = "耗材扫描"; // // plText // this.plText.BackColor = System.Drawing.Color.White; this.plText.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.lblName, this.label1, this.lblHandleMan, this.label3, this.lblWareHouse, this.label4, this.lblST, this.label6, this.lblSL, this.lblCount, this.label2, this.lblCreateManName }); this.plText.Dock = System.Windows.Forms.DockStyle.Top; this.plText.Location = new System.Drawing.Point(0, 40); this.plText.Name = "plText"; this.plText.Size = new System.Drawing.Size(300, 113); // // lblName // this.lblName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblName.Location = new System.Drawing.Point(50, 8); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(100, 18); // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label1.FontSize = 11F; this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.label1.Location = new System.Drawing.Point(50, 30); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(51, 15); this.label1.Text = "盘点人:"; // // lblHandleMan // this.lblHandleMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblHandleMan.FontSize = 11F; this.lblHandleMan.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.lblHandleMan.Location = new System.Drawing.Point(100, 30); this.lblHandleMan.Name = "lblHandleMan"; this.lblHandleMan.Size = new System.Drawing.Size(51, 15); // // label3 // this.label3.BackColor = System.Drawing.Color.White; this.label3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label3.FontSize = 11F; this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.label3.Location = new System.Drawing.Point(50, 45); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(51, 15); this.label3.Text = "仓库:"; // // lblWareHouse // this.lblWareHouse.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblWareHouse.FontSize = 11F; this.lblWareHouse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.lblWareHouse.Location = new System.Drawing.Point(100, 45); this.lblWareHouse.Name = "lblWareHouse"; this.lblWareHouse.Size = new System.Drawing.Size(51, 15); // // label4 // this.label4.BackColor = System.Drawing.Color.White; this.label4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label4.FontSize = 11F; this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.label4.Location = new System.Drawing.Point(50, 60); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(51, 15); this.label4.Text = "存储类型:"; // // lblST // this.lblST.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblST.FontSize = 11F; this.lblST.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.lblST.Location = new System.Drawing.Point(100, 60); this.lblST.Name = "lblST"; this.lblST.Size = new System.Drawing.Size(51, 15); // // label6 // this.label6.BackColor = System.Drawing.Color.White; this.label6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label6.FontSize = 11F; this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.label6.Location = new System.Drawing.Point(50, 75); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(51, 15); this.label6.Text = "库位:"; // // lblSL // this.lblSL.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblSL.FontSize = 11F; this.lblSL.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.lblSL.Location = new System.Drawing.Point(100, 75); this.lblSL.Name = "lblSL"; this.lblSL.Size = new System.Drawing.Size(51, 15); // // lblCount // this.lblCount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblCount.FontSize = 11F; this.lblCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.lblCount.Location = new System.Drawing.Point(110, 90); this.lblCount.Name = "lblCount"; this.lblCount.Size = new System.Drawing.Size(40, 15); // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label2.FontSize = 11F; this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(141))))); this.label2.Location = new System.Drawing.Point(50, 90); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(61, 15); this.label2.Text = "需盘点种数:"; // // lblCreateManName // this.lblCreateManName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(117)))), ((int)(((byte)(199)))), ((int)(((byte)(245))))); this.lblCreateManName.BorderRadius = 13; this.lblCreateManName.DataMember = "CREATEUSERNAME"; this.lblCreateManName.DisplayMember = "CREATEUSERNAME"; this.lblCreateManName.ForeColor = System.Drawing.Color.White; this.lblCreateManName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblCreateManName.Location = new System.Drawing.Point(14, 12); this.lblCreateManName.Name = "lblCreateManName"; this.lblCreateManName.Size = new System.Drawing.Size(25, 26); // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabPageView1.Location = new System.Drawing.Point(0, 248); this.tabPageView1.Margin = new Smobiler.Core.Controls.Margin(0F, 10F, 0F, 0F); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tabPageView1.Size = new System.Drawing.Size(300, 252); this.tabPageView1.Titles = new string[] { "待盘点", "已盘点" }; this.tabPageView1.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 13F, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 2); // // frmConInventoryResult // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "上传结果"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "盘点结束"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.bsSL }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plTitle, this.plContent }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.Load += new System.EventHandler(this.frmConInventoryResult_Load); this.Name = "frmConInventoryResult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.txtFactor = new Smobiler.Core.Controls.TextBox(); this.fiSearch = new Smobiler.Core.Controls.FontIcon(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); this.Title1 = new SMOWMS.UI.UserControl.Title(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.fontIcon3 = new Smobiler.Core.Controls.FontIcon(); this.txtSnOrName = new Smobiler.Core.Controls.TextBox(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.posPrinter1 = new Smobiler.Device.PosPrinter(); this.plSearch = new Smobiler.Core.Controls.Panel(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.txtNote = new Smobiler.Core.Controls.TextBox(); this.tpSearch = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.gridAssRows = new Smobiler.Core.Controls.GridView(); this.popType = new Smobiler.Core.Controls.PopList(); // // txtFactor // this.txtFactor.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtFactor.Name = "txtFactor"; this.txtFactor.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.txtFactor.Size = new System.Drawing.Size(183, 40); this.txtFactor.WaterMarkText = "请输入资产名称或资产条码"; // // fiSearch // this.fiSearch.BackColor = System.Drawing.Color.White; this.fiSearch.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.fiSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.fiSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.fiSearch.Location = new System.Drawing.Point(183, 0); this.fiSearch.Name = "fiSearch"; this.fiSearch.ResourceID = "search"; this.fiSearch.Size = new System.Drawing.Size(40, 40); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; this.r2000Scanner1.BarcodeDataCaptured += new Smobiler.Device.R2000BarcodeScanEventHandler(this.r2000Scanner1_BarcodeDataCaptured); this.r2000Scanner1.RFIDDataCaptured += new Smobiler.Device.R2000RFIDScanEventHandler(this.r2000Scanner1_RFIDDataCaptured); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel3 }); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产列表"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel3.BorderRadius = 4; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon3, this.txtSnOrName }); this.panel3.Location = new System.Drawing.Point(50, 52); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(250, 20); // // fontIcon3 // this.fontIcon3.ForeColor = System.Drawing.Color.Silver; this.fontIcon3.Location = new System.Drawing.Point(10, 2); this.fontIcon3.Name = "fontIcon3"; this.fontIcon3.ResourceID = "search"; this.fontIcon3.Size = new System.Drawing.Size(16, 16); // // txtSnOrName // this.txtSnOrName.BackColor = System.Drawing.Color.Transparent; this.txtSnOrName.Location = new System.Drawing.Point(40, 0); this.txtSnOrName.Name = "txtSnOrName"; this.txtSnOrName.Size = new System.Drawing.Size(200, 20); this.txtSnOrName.WaterMarkText = "请输入资产名称或资产条码"; this.txtSnOrName.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtSnOrName.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // posPrinter1 // this.posPrinter1.Name = "posPrinter1"; // // plSearch // this.plSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imageButton1, this.panel1 }); this.plSearch.Dock = System.Windows.Forms.DockStyle.Top; this.plSearch.Location = new System.Drawing.Point(0, 97); this.plSearch.Name = "plSearch"; this.plSearch.Size = new System.Drawing.Size(300, 45); // // imageButton1 // this.imageButton1.BackColor = System.Drawing.Color.White; this.imageButton1.Location = new System.Drawing.Point(15, 8); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "scan"; this.imageButton1.Size = new System.Drawing.Size(28, 28); this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel1.BorderRadius = 4; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon1, this.txtNote }); this.panel1.Location = new System.Drawing.Point(50, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(250, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 2); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(16, 16); // // txtNote // this.txtNote.BackColor = System.Drawing.Color.Transparent; this.txtNote.Location = new System.Drawing.Point(40, 0); this.txtNote.Name = "txtNote"; this.txtNote.Size = new System.Drawing.Size(200, 20); this.txtNote.WaterMarkText = "请输入资产名称或资产条码"; this.txtNote.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtNote.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // tpSearch // this.tpSearch.BackColor = System.Drawing.Color.White; this.tpSearch.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.tpSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.tpSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1 }); this.tpSearch.Dock = System.Windows.Forms.DockStyle.Top; this.tpSearch.Location = new System.Drawing.Point(250, 55); this.tpSearch.Name = "tpSearch"; this.tpSearch.Size = new System.Drawing.Size(40, 30); this.tpSearch.Touchable = true; this.tpSearch.Press += new System.EventHandler(this.tpSearch_Press); // // label1 // this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label1.Location = new System.Drawing.Point(200, 0); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "类别选择▼"; // // gridAssRows // this.gridAssRows.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridAssRows.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridAssRows.Dock = System.Windows.Forms.DockStyle.Fill; this.gridAssRows.Name = "gridAssRows"; this.gridAssRows.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridAssRows.PageSizeTextSize = 11F; this.gridAssRows.Size = new System.Drawing.Size(0, 0); this.gridAssRows.TemplateControlName = "frmAssetsExLayout"; // // popType // this.popType.Name = "popType"; this.popType.Title = "类型选择"; this.popType.Selected += new System.EventHandler(this.popType_Selected); // // frmAssets // this.ActionButton.ButtonSpacing = 12; this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产调拨"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "资产打印"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.ActionButton.ItemSize = 45; this.BackColor = System.Drawing.Color.White; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.r2000Scanner1, this.barcodeScanner1, this.posPrinter1, this.popType }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plSearch, this.tpSearch, this.gridAssRows }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(124)))), ((int)(((byte)(246)))))); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssets_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssets_Load); this.Name = "frmAssets"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.plContent = new Smobiler.Core.Controls.Panel(); this.plRealID = new Smobiler.Core.Controls.Panel(); this.label2 = new Smobiler.Core.Controls.Label(); this.lblRealID = new Smobiler.Core.Controls.Label(); this.plName = new Smobiler.Core.Controls.Panel(); this.Label7 = new Smobiler.Core.Controls.Label(); this.lblName = new Smobiler.Core.Controls.Label(); this.lvData = new Smobiler.Core.Controls.ListView(); this.Title1 = new SMOWMS.UI.UserControl.Title(); this.plVendor = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.lblVendor = new Smobiler.Core.Controls.Label(); this.plMan = new Smobiler.Core.Controls.Panel(); this.label4 = new Smobiler.Core.Controls.Label(); this.lblDealMan = new Smobiler.Core.Controls.Label(); // // plContent // this.plContent.BackColor = System.Drawing.Color.White; this.plContent.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plContent.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plRealID, this.plName, this.plVendor, this.plMan }); this.plContent.Dock = System.Windows.Forms.DockStyle.Top; this.plContent.Location = new System.Drawing.Point(0, 40); this.plContent.Name = "plContent"; this.plContent.Size = new System.Drawing.Size(300, 120); // // plRealID // this.plRealID.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label2, this.lblRealID }); this.plRealID.Name = "plRealID"; this.plRealID.Size = new System.Drawing.Size(300, 30); // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label2.Size = new System.Drawing.Size(100, 30); this.label2.Text = "²É¹ºµ¥±àºÅ"; // // lblRealID // this.lblRealID.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblRealID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblRealID.Location = new System.Drawing.Point(100, 0); this.lblRealID.Name = "lblRealID"; this.lblRealID.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblRealID.Size = new System.Drawing.Size(200, 30); // // plName // this.plName.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.plName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plName.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Label7, this.lblName }); this.plName.Location = new System.Drawing.Point(0, 30); this.plName.Name = "plName"; this.plName.Size = new System.Drawing.Size(300, 30); // // Label7 // this.Label7.BackColor = System.Drawing.Color.White; this.Label7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.Label7.Name = "Label7"; this.Label7.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.Label7.Size = new System.Drawing.Size(100, 30); this.Label7.Text = "²É¹ºµ¥Ãû³Æ"; // // lblName // this.lblName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblName.Location = new System.Drawing.Point(100, 0); this.lblName.Name = "lblName"; this.lblName.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblName.Size = new System.Drawing.Size(200, 30); // // lvData // this.lvData.BackColor = System.Drawing.Color.White; this.lvData.Dock = System.Windows.Forms.DockStyle.Fill; this.lvData.Location = new System.Drawing.Point(0, 30); this.lvData.Name = "lvData"; this.lvData.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.lvData.PageSizeTextSize = 11F; this.lvData.ShowSplitLine = true; this.lvData.Size = new System.Drawing.Size(300, 300); this.lvData.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lvData.TemplateControlName = "frmConPurResultLayout"; // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "ºÄ²Ä²É¹º"; // // plVendor // this.plVendor.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.plVendor.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plVendor.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.lblVendor }); this.plVendor.Location = new System.Drawing.Point(0, 60); this.plVendor.Name = "plVendor"; this.plVendor.Size = new System.Drawing.Size(300, 30); // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "¹©»õÉÌ"; // // lblVendor // this.lblVendor.BackColor = System.Drawing.Color.White; this.lblVendor.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblVendor.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblVendor.Location = new System.Drawing.Point(100, 0); this.lblVendor.Name = "lblVendor"; this.lblVendor.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblVendor.Size = new System.Drawing.Size(200, 30); // // plMan // this.plMan.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.plMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plMan.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label4, this.lblDealMan }); this.plMan.Location = new System.Drawing.Point(0, 90); this.plMan.Name = "plMan"; this.plMan.Size = new System.Drawing.Size(300, 30); // // label4 // this.label4.BackColor = System.Drawing.Color.White; this.label4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label4.Size = new System.Drawing.Size(100, 30); this.label4.Text = "²É¹ºÈË"; // // lblDealMan // this.lblDealMan.BackColor = System.Drawing.Color.White; this.lblDealMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblDealMan.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblDealMan.Location = new System.Drawing.Point(100, 0); this.lblDealMan.Name = "lblDealMan"; this.lblDealMan.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblDealMan.Size = new System.Drawing.Size(200, 30); // // frmConPurchaseResult // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "ºÄ²ÄÈë¿â"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "ºÄ²ÄÍË¿â"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plContent, this.lvData }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmConPurchaseResult_ActionButtonPress); this.Load += new System.EventHandler(this.frmConPurChaseResult_Load); this.Name = "frmConPurchaseResult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); this.Title1 = new SMOSEC.UI.UserControl.Title(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.Label8 = new Smobiler.Core.Controls.Label(); this.lblName = new Smobiler.Core.Controls.Label(); this.label1 = new Smobiler.Core.Controls.Label(); this.lblHandleMan = new Smobiler.Core.Controls.Label(); this.label2 = new Smobiler.Core.Controls.Label(); this.lblCount = new Smobiler.Core.Controls.Label(); this.label3 = new Smobiler.Core.Controls.Label(); this.lblLocatin = new Smobiler.Core.Controls.Label(); this.panelScan = new Smobiler.Core.Controls.Panel(); this.image5 = new Smobiler.Core.Controls.Image(); this.label11 = new Smobiler.Core.Controls.Label(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.White; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "耗材盘点"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Label8, this.lblName, this.label1, this.lblHandleMan, this.label2, this.lblCount, this.label3, this.lblLocatin }); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 120); // // Label8 // this.Label8.BackColor = System.Drawing.Color.White; this.Label8.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.Label8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.Label8.Name = "Label8"; this.Label8.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.Label8.Size = new System.Drawing.Size(100, 30); this.Label8.Text = "盘点名称"; // // lblName // this.lblName.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblName.Location = new System.Drawing.Point(100, 0); this.lblName.Name = "lblName"; this.lblName.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblName.Size = new System.Drawing.Size(200, 30); // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label1.Location = new System.Drawing.Point(0, 30); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "盘点人"; // // lblHandleMan // this.lblHandleMan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblHandleMan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblHandleMan.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblHandleMan.Location = new System.Drawing.Point(100, 30); this.lblHandleMan.Name = "lblHandleMan"; this.lblHandleMan.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblHandleMan.Size = new System.Drawing.Size(200, 30); // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label2.Location = new System.Drawing.Point(0, 90); this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label2.Size = new System.Drawing.Size(100, 30); this.label2.Text = "需盘点种数"; // // lblCount // this.lblCount.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblCount.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblCount.Location = new System.Drawing.Point(100, 90); this.lblCount.Name = "lblCount"; this.lblCount.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblCount.Size = new System.Drawing.Size(200, 30); // // label3 // this.label3.BackColor = System.Drawing.Color.White; this.label3.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.label3.Location = new System.Drawing.Point(0, 60); this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(100, 30); this.label3.Text = "区域"; // // lblLocatin // this.lblLocatin.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblLocatin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblLocatin.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblLocatin.Location = new System.Drawing.Point(100, 60); this.lblLocatin.Name = "lblLocatin"; this.lblLocatin.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.lblLocatin.Size = new System.Drawing.Size(200, 30); // // panelScan // this.panelScan.BackColor = System.Drawing.Color.White; this.panelScan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.panelScan.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.panelScan.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image5, this.label11 }); this.panelScan.Dock = System.Windows.Forms.DockStyle.Top; this.panelScan.Location = new System.Drawing.Point(5, 0); this.panelScan.Name = "panelScan"; this.panelScan.Size = new System.Drawing.Size(124, 28); this.panelScan.Touchable = true; this.panelScan.Press += new System.EventHandler(this.panelScan_Press); // // image5 // this.image5.Location = new System.Drawing.Point(1, 1); this.image5.Name = "image5"; this.image5.ResourceID = "scan"; this.image5.Size = new System.Drawing.Size(30, 26); // // label11 // this.label11.Location = new System.Drawing.Point(38, 2); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(84, 25); this.label11.Text = "扫码添加"; // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabPageView1.Location = new System.Drawing.Point(0, 248); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tabPageView1.Size = new System.Drawing.Size(300, 252); this.tabPageView1.Titles = new string[] { "待盘点", "已盘点" }; this.tabPageView1.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 13F, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), 2); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // frmConInventoryResult // this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "上传结果"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "盘点结束"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2 }); this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.barcodeScanner1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.panel1, this.panelScan, this.tabPageView1 }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmConInventoryResult_ActionButtonPress); this.Load += new System.EventHandler(this.frmConInventoryResult_Load); this.Name = "frmConInventoryResult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem5 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem6 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem7 = new Smobiler.Core.Controls.ActionButtonItem(); this.popCurrentUser = new Smobiler.Core.Controls.PopList(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); this.Title1 = new SMOSEC.UI.UserControl.MenuTitle(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.fontIcon2 = new Smobiler.Core.Controls.FontIcon(); this.textBox1 = new Smobiler.Core.Controls.TextBox(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.fontIcon3 = new Smobiler.Core.Controls.FontIcon(); this.txtSnOrName = new Smobiler.Core.Controls.TextBox(); this.ImgBtnForSN = new Smobiler.Core.Controls.ImageButton(); this.gridAssRows = new Smobiler.Core.Controls.GridView(); // // popCurrentUser // this.popCurrentUser.Name = "popCurrentUser"; this.popCurrentUser.Selected += new System.EventHandler(this.popCurrentUser_Selected); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; this.r2000Scanner1.BarcodeDataCaptured += new Smobiler.Device.R2000BarcodeScanEventHandler(this.r2000Scanner1_BarcodeDataCaptured); this.r2000Scanner1.RFIDDataCaptured += new Smobiler.Device.R2000RFIDScanEventHandler(this.r2000Scanner1_RFIDDataCaptured); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.Black; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TitleText = "资产列表"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel2.BorderRadius = 8; this.panel2.Location = new System.Drawing.Point(70, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(230, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 0); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(20, 20); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // fontIcon2 // this.fontIcon2.ForeColor = System.Drawing.Color.Silver; this.fontIcon2.Location = new System.Drawing.Point(10, 0); this.fontIcon2.Name = "fontIcon2"; this.fontIcon2.ResourceID = "search"; this.fontIcon2.Size = new System.Drawing.Size(20, 20); // // textBox1 // this.textBox1.BackColor = System.Drawing.Color.Transparent; this.textBox1.Location = new System.Drawing.Point(49, 0); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(170, 20); this.textBox1.WaterMarkText = "请输入资产名称或资产条码"; this.textBox1.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.textBox1.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel3.BorderRadius = 4; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon3, this.txtSnOrName }); this.panel3.Location = new System.Drawing.Point(50, 52); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(250, 20); // // fontIcon3 // this.fontIcon3.ForeColor = System.Drawing.Color.Silver; this.fontIcon3.Location = new System.Drawing.Point(10, 2); this.fontIcon3.Name = "fontIcon3"; this.fontIcon3.ResourceID = "search"; this.fontIcon3.Size = new System.Drawing.Size(16, 16); // // txtSnOrName // this.txtSnOrName.BackColor = System.Drawing.Color.Transparent; this.txtSnOrName.Location = new System.Drawing.Point(40, 0); this.txtSnOrName.Name = "txtSnOrName"; this.txtSnOrName.Size = new System.Drawing.Size(200, 20); this.txtSnOrName.WaterMarkText = "请输入资产名称或资产条码"; this.txtSnOrName.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtSnOrName.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // ImgBtnForSN // this.ImgBtnForSN.BackColor = System.Drawing.Color.White; this.ImgBtnForSN.Location = new System.Drawing.Point(15, 48); this.ImgBtnForSN.Name = "ImgBtnForSN"; this.ImgBtnForSN.ResourceID = "scan"; this.ImgBtnForSN.Size = new System.Drawing.Size(28, 28); this.ImgBtnForSN.Press += new System.EventHandler(this.ImgBtnForAssId_Press); // // gridAssRows // this.gridAssRows.BackColor = System.Drawing.Color.White; this.gridAssRows.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridAssRows.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridAssRows.Location = new System.Drawing.Point(0, 85); this.gridAssRows.Name = "gridAssRows"; this.gridAssRows.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridAssRows.PageSizeTextSize = 11F; this.gridAssRows.Size = new System.Drawing.Size(300, 425); this.gridAssRows.TemplateControlName = "frmAssetsExLayout"; // // frmAssets // this.ActionButton.ButtonSpacing = 12; this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.ResourceID = ""; actionButtonItem2.Text = "资产复制"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "资产领用"; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "资产借用"; actionButtonItem5.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem5.Text = "维修登记"; actionButtonItem6.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem6.Text = "资产报废"; actionButtonItem7.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem7.Text = "资产调拨"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3, actionButtonItem4, actionButtonItem5, actionButtonItem6, actionButtonItem7 }); this.ActionButton.ItemSize = 45; this.BackColor = System.Drawing.Color.White; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popCurrentUser, this.r2000Scanner1, this.barcodeScanner1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.panel3, this.ImgBtnForSN, this.gridAssRows }); this.DrawerName = "LeftMenu"; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssets_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssets_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssets_Load); this.Name = "frmAssets"; }
private void InitializeComponent() { Smobiler.Core.Controls.PopListGroup popListGroup1 = new Smobiler.Core.Controls.PopListGroup(); Smobiler.Core.Controls.PopListItem popListItem1 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem2 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem3 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem4 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem5 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem6 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem7 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); this.txtFactor = new Smobiler.Core.Controls.TextBox(); this.fiSearch = new Smobiler.Core.Controls.FontIcon(); this.r2000Scanner1 = new Smobiler.Device.R2000Scanner(); this.fontIcon3 = new Smobiler.Core.Controls.FontIcon(); this.txtSnOrName = new Smobiler.Core.Controls.TextBox(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); this.posPrinter1 = new Smobiler.Device.PosPrinter(); this.popType = new Smobiler.Core.Controls.PopList(); this.popStatus = new Smobiler.Core.Controls.PopList(); this.popDep = new Smobiler.Core.Controls.PopList(); this.plSearch = new Smobiler.Core.Controls.Panel(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.fontIcon1 = new Smobiler.Core.Controls.FontIcon(); this.txtNote = new Smobiler.Core.Controls.TextBox(); this.imageButton2 = new Smobiler.Core.Controls.ImageButton(); this.panelScan1 = new Smobiler.Core.Controls.Panel(); this.image1 = new Smobiler.Core.Controls.Image(); this.label10 = new Smobiler.Core.Controls.Label(); this.panelScan2 = new Smobiler.Core.Controls.Panel(); this.image2 = new Smobiler.Core.Controls.Image(); this.label20 = new Smobiler.Core.Controls.Label(); this.tpSearch = new Smobiler.Core.Controls.Panel(); this.btnDep = new Smobiler.Core.Controls.Button(); this.btnStatus = new Smobiler.Core.Controls.Button(); this.btnType = new Smobiler.Core.Controls.Button(); this.btnPro = new Smobiler.Core.Controls.Button(); this.btnPayman = new Smobiler.Core.Controls.Button(); this.btnUseman = new Smobiler.Core.Controls.Button(); this.Label1 = new Smobiler.Core.Controls.Label(); this.imageButton3 = new Smobiler.Core.Controls.ImageButton(); this.imageButton4 = new Smobiler.Core.Controls.ImageButton(); this.popPro = new Smobiler.Core.Controls.PopList(); this.gridAssRows = new Smobiler.Core.Controls.GridView(); this.popPayman = new Smobiler.Core.Controls.PopList(); this.popUseman = new Smobiler.Core.Controls.PopList(); this.panel4 = new Smobiler.Core.Controls.Panel(); this.pre_page = new Smobiler.Core.Controls.Button(); this.next_page = new Smobiler.Core.Controls.Button(); this.Title1 = new SMOSEC.UI.UserControl.MenuTitle(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.barcodeScanner3 = new Smobiler.Core.Controls.BarcodeScanner(); this.barcodeScanner4 = new Smobiler.Core.Controls.BarcodeScanner(); // // txtFactor // this.txtFactor.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtFactor.Name = "txtFactor"; this.txtFactor.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.txtFactor.Size = new System.Drawing.Size(183, 40); this.txtFactor.WaterMarkText = "请输入资产唯一号或资产条码"; // // fiSearch // this.fiSearch.BackColor = System.Drawing.Color.White; this.fiSearch.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.fiSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.fiSearch.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.fiSearch.Location = new System.Drawing.Point(183, 0); this.fiSearch.Name = "fiSearch"; this.fiSearch.ResourceID = "search"; this.fiSearch.Size = new System.Drawing.Size(40, 40); // // r2000Scanner1 // this.r2000Scanner1.Name = "r2000Scanner1"; // // fontIcon3 // this.fontIcon3.ForeColor = System.Drawing.Color.Silver; this.fontIcon3.Location = new System.Drawing.Point(10, 2); this.fontIcon3.Name = "fontIcon3"; this.fontIcon3.ResourceID = "search"; this.fontIcon3.Size = new System.Drawing.Size(16, 16); // // txtSnOrName // this.txtSnOrName.BackColor = System.Drawing.Color.Transparent; this.txtSnOrName.Location = new System.Drawing.Point(40, 0); this.txtSnOrName.Name = "txtSnOrName"; this.txtSnOrName.Size = new System.Drawing.Size(200, 20); this.txtSnOrName.WaterMarkText = "请输入唯一号或资产条码"; this.txtSnOrName.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtSnOrName.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // posPrinter1 // this.posPrinter1.Name = "posPrinter1"; // // popType // this.popType.Name = "popType"; this.popType.Title = "类型选择"; this.popType.Selected += new System.EventHandler(this.popType_Selected); // // popStatus // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "全部"; popListItem1.Value = "-1"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "在用"; popListItem2.Value = "0"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "闲置"; popListItem3.Value = "1"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "送测"; popListItem4.Value = "2"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "外借"; popListItem5.Value = "3"; popListItem6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem6.Text = "损坏"; popListItem6.Value = "4"; popListItem7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem7.Text = "未知"; popListItem7.Value = "5"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5, popListItem6, popListItem7 }); popListGroup1.Value = null; this.popStatus.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popStatus.Name = "popStatus"; this.popStatus.Title = "资产状态"; this.popStatus.Selected += new System.EventHandler(this.popStatus_Selected); // // popDep // this.popDep.Name = "popDep"; this.popDep.Title = "机房选择"; this.popDep.Selected += new System.EventHandler(this.popDep_Selected); // // plSearch // this.plSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imageButton1, this.panel1, this.imageButton2 }); this.plSearch.Dock = System.Windows.Forms.DockStyle.Top; this.plSearch.Location = new System.Drawing.Point(0, 95); this.plSearch.Name = "plSearch"; this.plSearch.Size = new System.Drawing.Size(300, 45); // // imageButton1 // this.imageButton1.BackColor = System.Drawing.Color.White; this.imageButton1.Location = new System.Drawing.Point(15, 8); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "scan"; this.imageButton1.Size = new System.Drawing.Size(28, 28); this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel1.BorderRadius = 4; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon1, this.txtNote }); this.panel1.Location = new System.Drawing.Point(50, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 20); // // fontIcon1 // this.fontIcon1.ForeColor = System.Drawing.Color.Silver; this.fontIcon1.Location = new System.Drawing.Point(10, 2); this.fontIcon1.Name = "fontIcon1"; this.fontIcon1.ResourceID = "search"; this.fontIcon1.Size = new System.Drawing.Size(16, 16); // // txtNote // this.txtNote.BackColor = System.Drawing.Color.Transparent; this.txtNote.Location = new System.Drawing.Point(40, 0); this.txtNote.Name = "txtNote"; this.txtNote.Size = new System.Drawing.Size(150, 20); this.txtNote.WaterMarkText = "请输入唯一号或资产条码"; this.txtNote.WaterMarkTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.txtNote.TextChanged += new System.EventHandler(this.txtFactor_TextChanged); // // imageButton2 // this.imageButton2.BackColor = System.Drawing.Color.White; this.imageButton2.IconColor = System.Drawing.Color.Gray; this.imageButton2.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.imageButton2.Location = new System.Drawing.Point(260, 8); this.imageButton2.Name = "imageButton2"; this.imageButton2.ResourceID = "refresh"; this.imageButton2.ResourcePath = ""; this.imageButton2.Size = new System.Drawing.Size(28, 28); this.imageButton2.Press += new System.EventHandler(this.imageButton2_Press); // // panelScan1 // this.panelScan1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image1, this.label10 }); this.panelScan1.Location = new System.Drawing.Point(15, 40); this.panelScan1.Name = "panelScan1"; this.panelScan1.Size = new System.Drawing.Size(120, 28); this.panelScan1.Touchable = true; this.panelScan1.Press += new System.EventHandler(this.imageButton1_Press); // // image1 // this.image1.Location = new System.Drawing.Point(1, 1); this.image1.Name = "image1"; this.image1.ResourceID = "scan"; this.image1.Size = new System.Drawing.Size(28, 28); // // label10 // this.label10.Location = new System.Drawing.Point(38, 2); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(80, 25); this.label10.Text = "扫描机房"; // // panelScan2 // this.panelScan2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image2, this.label20 }); this.panelScan2.Location = new System.Drawing.Point(165, 40); this.panelScan2.Name = "panelScan2"; this.panelScan2.Size = new System.Drawing.Size(120, 28); this.panelScan2.Touchable = true; this.panelScan2.Press += new System.EventHandler(this.imageButton1_Press); // // image2 // this.image2.Location = new System.Drawing.Point(1, 1); this.image2.Name = "image2"; this.image2.ResourceID = "scan"; this.image2.Size = new System.Drawing.Size(28, 28); // // label20 // this.label20.Location = new System.Drawing.Point(38, 2); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(80, 25); this.label20.Text = "扫描挂账人"; // // tpSearch // this.tpSearch.BackColor = System.Drawing.Color.White; this.tpSearch.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.tpSearch.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.tpSearch.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnDep, this.btnStatus, this.btnType, this.btnPro, this.btnPayman, this.btnUseman, this.Label1, this.imageButton3, this.imageButton4 }); this.tpSearch.Dock = System.Windows.Forms.DockStyle.Top; this.tpSearch.Location = new System.Drawing.Point(250, 55); this.tpSearch.Name = "tpSearch"; this.tpSearch.Size = new System.Drawing.Size(300, 60); // // btnDep // this.btnDep.BackColor = System.Drawing.Color.White; this.btnDep.BorderRadius = 0; this.btnDep.FontSize = 11F; this.btnDep.ForeColor = System.Drawing.Color.Black; this.btnDep.Location = new System.Drawing.Point(10, 30); this.btnDep.Name = "btnDep"; this.btnDep.Size = new System.Drawing.Size(70, 30); this.btnDep.Text = "机房选择▼"; this.btnDep.Press += new System.EventHandler(this.btnDep_Press); // // btnStatus // this.btnStatus.BackColor = System.Drawing.Color.White; this.btnStatus.BorderRadius = 0; this.btnStatus.FontSize = 11F; this.btnStatus.ForeColor = System.Drawing.Color.Black; this.btnStatus.Location = new System.Drawing.Point(80, 0); this.btnStatus.Name = "btnStatus"; this.btnStatus.Size = new System.Drawing.Size(70, 30); this.btnStatus.Text = "资产状态▼"; this.btnStatus.Press += new System.EventHandler(this.btnStatus_Press); // // btnType // this.btnType.BackColor = System.Drawing.Color.White; this.btnType.BorderRadius = 0; this.btnType.FontSize = 11F; this.btnType.ForeColor = System.Drawing.Color.Black; this.btnType.Location = new System.Drawing.Point(150, 0); this.btnType.Name = "btnType"; this.btnType.Size = new System.Drawing.Size(70, 30); this.btnType.Text = "类别选择▼"; this.btnType.Press += new System.EventHandler(this.btnType_Press); // // btnPro // this.btnPro.BackColor = System.Drawing.Color.White; this.btnPro.BorderRadius = 0; this.btnPro.FontSize = 11F; this.btnPro.ForeColor = System.Drawing.Color.Black; this.btnPro.Location = new System.Drawing.Point(10, 0); this.btnPro.Name = "btnPro"; this.btnPro.Size = new System.Drawing.Size(70, 30); this.btnPro.Text = "项目选择▼"; this.btnPro.Press += new System.EventHandler(this.btnPro_Press); // // btnPayman // this.btnPayman.BackColor = System.Drawing.Color.White; this.btnPayman.BorderRadius = 0; this.btnPayman.FontSize = 11F; this.btnPayman.ForeColor = System.Drawing.Color.Black; this.btnPayman.Location = new System.Drawing.Point(110, 30); this.btnPayman.Name = "btnPayman"; this.btnPayman.Size = new System.Drawing.Size(70, 30); this.btnPayman.Text = "挂账人▼"; this.btnPayman.Press += new System.EventHandler(this.btnPayman_Press); // // btnUseman // this.btnUseman.BackColor = System.Drawing.Color.White; this.btnUseman.BorderRadius = 0; this.btnUseman.FontSize = 11F; this.btnUseman.ForeColor = System.Drawing.Color.Black; this.btnUseman.Location = new System.Drawing.Point(220, 0); this.btnUseman.Name = "btnUseman"; this.btnUseman.Size = new System.Drawing.Size(70, 30); this.btnUseman.Text = "使用人▼"; this.btnUseman.Press += new System.EventHandler(this.btnUseman_Press); // // Label1 // this.Label1.BackColor = System.Drawing.Color.White; this.Label1.FontSize = 11F; this.Label1.Location = new System.Drawing.Point(220, 30); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(70, 35); // // imageButton3 // this.imageButton3.BackColor = System.Drawing.Color.White; this.imageButton3.Location = new System.Drawing.Point(80, 30); this.imageButton3.Name = "imageButton3"; this.imageButton3.ResourceID = "scan"; this.imageButton3.Size = new System.Drawing.Size(28, 28); this.imageButton3.Press += new System.EventHandler(this.imageButton3_Press); // // imageButton4 // this.imageButton4.BackColor = System.Drawing.Color.White; this.imageButton4.Location = new System.Drawing.Point(180, 30); this.imageButton4.Name = "imageButton4"; this.imageButton4.ResourceID = "scan"; this.imageButton4.Size = new System.Drawing.Size(28, 28); this.imageButton4.Press += new System.EventHandler(this.imageButton4_Press); // // popPro // this.popPro.Name = "popPro"; this.popPro.Title = "项目选择"; this.popPro.Selected += new System.EventHandler(this.popPro_Selected); // // gridAssRows // this.gridAssRows.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridAssRows.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridAssRows.Dock = System.Windows.Forms.DockStyle.Fill; this.gridAssRows.Flex = 1; this.gridAssRows.Name = "gridAssRows"; this.gridAssRows.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridAssRows.PageSizeTextSize = 11F; this.gridAssRows.Size = new System.Drawing.Size(300, 300); this.gridAssRows.TemplateControlName = "frmAssetsExLayout"; // // popPayman // this.popPayman.Name = "popPayman"; this.popPayman.Title = "挂账人选择"; this.popPayman.Selected += new System.EventHandler(this.popPayman_Selected); // // popUseman // this.popUseman.Name = "popUseman"; this.popUseman.Title = "使用人选择"; this.popUseman.Selected += new System.EventHandler(this.popUseman_Selected); // // panel4 // this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.panel4.BorderRadius = 4; this.panel4.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.pre_page, this.next_page }); this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(300, 30); // // pre_page // this.pre_page.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.pre_page.ForeColor = System.Drawing.Color.Black; this.pre_page.Location = new System.Drawing.Point(50, 5); this.pre_page.Name = "pre_page"; this.pre_page.Size = new System.Drawing.Size(40, 20); this.pre_page.Text = "上一页"; this.pre_page.Press += new System.EventHandler(this.pre_page_Press); // // next_page // this.next_page.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(181)))), ((int)(((byte)(183))))); this.next_page.ForeColor = System.Drawing.Color.Black; this.next_page.Location = new System.Drawing.Point(160, 5); this.next_page.Name = "next_page"; this.next_page.Size = new System.Drawing.Size(40, 20); this.next_page.Text = "下一页"; this.next_page.Press += new System.EventHandler(this.next_page_Press); // // Title1 // this.Title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.Title1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel3 }); this.Title1.Dock = System.Windows.Forms.DockStyle.Top; this.Title1.FontSize = 15F; this.Title1.ForeColor = System.Drawing.Color.Black; this.Title1.Name = "Title1"; this.Title1.Size = new System.Drawing.Size(300, 40); this.Title1.TemplateData = null; this.Title1.TemplateItem = null; this.Title1.TitleText = "资产列表"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.panel3.BorderRadius = 4; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.fontIcon3, this.txtSnOrName }); this.panel3.Location = new System.Drawing.Point(50, 52); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(250, 20); // // barcodeScanner3 // this.barcodeScanner3.Name = "barcodeScanner3"; this.barcodeScanner3.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner3_BarcodeScanned); // // barcodeScanner4 // this.barcodeScanner4.Name = "barcodeScanner4"; this.barcodeScanner4.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner4_BarcodeScanned); // // frmAssets // this.ActionButton.ButtonSpacing = 12; this.ActionButton.Enabled = true; actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "资产借用"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "维修登记"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3 }); this.ActionButton.ItemSize = 45; this.BackColor = System.Drawing.Color.White; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.r2000Scanner1, this.barcodeScanner1, this.posPrinter1, this.popType, this.popStatus, this.popDep, this.popPro, this.popPayman, this.popUseman, this.barcodeScanner3, this.barcodeScanner4 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Title1, this.plSearch, this.tpSearch, this.gridAssRows, this.panel4 }); this.DrawerName = "LeftMenu"; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAssets_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmAssets_ActionButtonPress); this.Load += new System.EventHandler(this.frmAssets_Load); this.Name = "frmAssets"; }