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.PopListItem popListItem8 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem9 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem10 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem11 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem12 = new Smobiler.Core.Controls.PopListItem(); this.popListMonth = new Smobiler.Core.Controls.PopList(); this.title1 = new SmoONE.UI.Layout.Title(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.pBack = new Smobiler.Core.Controls.Panel(); this.image1 = new Smobiler.Core.Controls.Image(); this.lblName = new Smobiler.Core.Controls.Label(); this.lblYear = new Smobiler.Core.Controls.Label(); this.label2 = new Smobiler.Core.Controls.Label(); this.label3 = new Smobiler.Core.Controls.Label(); this.btnMonth = new Smobiler.Core.Controls.Label(); this.label1 = new Smobiler.Core.Controls.Label(); this.lblDay = new Smobiler.Core.Controls.Label(); this.lblAll = new Smobiler.Core.Controls.Label(); this.gridATdata = new Smobiler.Core.Controls.ListView(); // // popListMonth // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "1"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "2"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "3"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "4"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "5"; popListItem6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem6.Text = "6"; popListItem7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem7.Text = "7"; popListItem8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem8.Text = "8"; popListItem9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem9.Text = "9"; popListItem10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem10.Text = "10"; popListItem11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem11.Text = "11"; popListItem12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem12.Text = "12"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5, popListItem6, popListItem7, popListItem8, popListItem9, popListItem10, popListItem11, popListItem12 }); popListGroup1.Title = "请选择月份"; popListGroup1.Value = null; this.popListMonth.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popListMonth.Name = "popListMonth"; this.popListMonth.Selected += new System.EventHandler(this.popListMonth_Selected); // // title1 // this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); this.title1.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.title1.Dock = System.Windows.Forms.DockStyle.Top; this.title1.Location = new System.Drawing.Point(111, 36); this.title1.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 50); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.pBack, this.gridATdata }); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 50); this.panel1.Name = "panel1"; this.panel1.Scrollable = true; this.panel1.Size = new System.Drawing.Size(300, 100); // // pBack // this.pBack.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.pBack.BorderColor = System.Drawing.Color.DodgerBlue; this.pBack.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image1, this.lblName, this.lblYear, this.label2, this.label3, this.btnMonth, this.label1, this.lblDay, this.lblAll }); this.pBack.Dock = System.Windows.Forms.DockStyle.Top; this.pBack.Name = "pBack"; this.pBack.Size = new System.Drawing.Size(300, 145); // // image1 // this.image1.BorderRadius = 30; this.image1.Location = new System.Drawing.Point(10, 10); this.image1.Name = "image1"; this.image1.ResourceID = "1"; this.image1.Size = new System.Drawing.Size(60, 60); this.image1.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover; // // lblName // this.lblName.FontSize = 18F; this.lblName.ForeColor = System.Drawing.Color.White; this.lblName.Location = new System.Drawing.Point(90, 25); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(200, 30); // // lblYear // this.lblYear.ForeColor = System.Drawing.Color.White; this.lblYear.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblYear.Location = new System.Drawing.Point(10, 75); this.lblYear.Name = "lblYear"; this.lblYear.Size = new System.Drawing.Size(60, 30); this.lblYear.Text = "2017年"; // // label2 // this.label2.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.label2.BorderColor = System.Drawing.Color.White; this.label2.ForeColor = System.Drawing.Color.White; this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label2.Location = new System.Drawing.Point(90, 75); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 30); this.label2.Text = "正常考勤"; // // label3 // this.label3.ForeColor = System.Drawing.Color.White; this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label3.Location = new System.Drawing.Point(190, 75); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(80, 30); this.label3.Text = "应签到"; // // btnMonth // this.btnMonth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(43)))), ((int)(((byte)(140)))), ((int)(((byte)(255))))); this.btnMonth.FontSize = 25F; this.btnMonth.ForeColor = System.Drawing.Color.White; this.btnMonth.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMonth.Location = new System.Drawing.Point(10, 105); this.btnMonth.Name = "btnMonth"; this.btnMonth.Size = new System.Drawing.Size(30, 30); this.btnMonth.Text = "2"; // // label1 // this.label1.FontSize = 20F; this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(40, 110); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(30, 30); this.label1.Text = "月"; // // lblDay // this.lblDay.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.lblDay.BorderColor = System.Drawing.Color.White; this.lblDay.ForeColor = System.Drawing.Color.White; this.lblDay.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblDay.Location = new System.Drawing.Point(90, 105); this.lblDay.Name = "lblDay"; this.lblDay.Size = new System.Drawing.Size(80, 30); this.lblDay.Text = "0天"; // // lblAll // this.lblAll.ForeColor = System.Drawing.Color.White; this.lblAll.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblAll.Location = new System.Drawing.Point(190, 105); this.lblAll.Name = "lblAll"; this.lblAll.Size = new System.Drawing.Size(80, 30); this.lblAll.Text = "0次"; // // gridATdata // this.gridATdata.BackColor = System.Drawing.Color.White; this.gridATdata.Dock = System.Windows.Forms.DockStyle.Top; this.gridATdata.FooterControlName = null; this.gridATdata.HeaderControlName = null; this.gridATdata.Location = new System.Drawing.Point(0, 145); this.gridATdata.Name = "gridATdata"; this.gridATdata.ShowSplitLine = true; this.gridATdata.Size = new System.Drawing.Size(300, 305); this.gridATdata.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridATdata.TemplateControlName = "frmAttendanceStatSelfLayout"; // // frmAttendanceStatSelf // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popListMonth }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.panel1 }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAttendanceStatSelf_KeyDown); this.Load += new System.EventHandler(this.frmAttendanceStatSelf_Load); this.Name = "frmAttendanceStatSelf"; }
private void InitializeComponent() { Smobiler.Core.Controls.PopListGroup popListGroup1 = new Smobiler.Core.Controls.PopListGroup(); Smobiler.Core.Controls.PopListGroup popListGroup2 = 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.PopListItem popListItem8 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem9 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem10 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem11 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem12 = new Smobiler.Core.Controls.PopListItem(); this.gridATdata = new Smobiler.Core.Controls.ListView(); this.popListYear = new Smobiler.Core.Controls.PopList(); this.popListMonth = new Smobiler.Core.Controls.PopList(); this.title1 = new SmoONE.UI.Layout.Title(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.btnYear = new Smobiler.Core.Controls.Button(); this.btnMonth = new Smobiler.Core.Controls.Button(); this.btnCheck = new Smobiler.Core.Controls.Button(); // // gridATdata // this.gridATdata.BackColor = System.Drawing.Color.White; this.gridATdata.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.gridATdata.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridATdata.Dock = System.Windows.Forms.DockStyle.Top; this.gridATdata.Location = new System.Drawing.Point(0, 85); this.gridATdata.Name = "gridATdata"; this.gridATdata.PageSize = 10; this.gridATdata.ShowSplitLine = true; this.gridATdata.Size = new System.Drawing.Size(300, 450); this.gridATdata.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.gridATdata.TemplateControlName = "frmAttendanceStatDayLayout"; // // popListYear // popListGroup1.Title = "请选择年份"; popListGroup1.Value = null; this.popListYear.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popListYear.Name = "popListYear"; this.popListYear.Selected += new System.EventHandler(this.popListYear_Selected); // // popListMonth // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "1"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "2"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "3"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "4"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "5"; popListItem6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem6.Text = "6"; popListItem7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem7.Text = "7"; popListItem8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem8.Text = "8"; popListItem9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem9.Text = "9"; popListItem10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem10.Text = "10"; popListItem11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem11.Text = "11"; popListItem12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem12.Text = "12"; popListGroup2.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5, popListItem6, popListItem7, popListItem8, popListItem9, popListItem10, popListItem11, popListItem12 }); popListGroup2.Title = "请选择月份"; popListGroup2.Value = null; this.popListMonth.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup2 }); this.popListMonth.Name = "popListMonth"; this.popListMonth.Selected += new System.EventHandler(this.popListMonth_Selected); // // title1 // this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); this.title1.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.title1.Dock = System.Windows.Forms.DockStyle.Top; this.title1.Location = new System.Drawing.Point(111, 36); this.title1.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.TitleText = "考勤"; // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnYear, this.btnMonth, this.btnCheck }); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 50); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 35); // // btnYear // this.btnYear.BackColor = System.Drawing.Color.White; this.btnYear.BorderRadius = 0; this.btnYear.FontSize = 12F; this.btnYear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnYear.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnYear.Name = "btnYear"; this.btnYear.Size = new System.Drawing.Size(145, 35); this.btnYear.Text = " ▼ 2017年"; this.btnYear.Press += new System.EventHandler(this.ButYear_Click); // // btnMonth // this.btnMonth.BackColor = System.Drawing.Color.White; this.btnMonth.BorderRadius = 0; this.btnMonth.FontSize = 12F; this.btnMonth.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnMonth.Location = new System.Drawing.Point(145, 0); this.btnMonth.Name = "btnMonth"; this.btnMonth.Size = new System.Drawing.Size(42, 35); this.btnMonth.Text = "2月▼"; this.btnMonth.Press += new System.EventHandler(this.ButMonth_Click); // // btnCheck // this.btnCheck.BackColor = System.Drawing.Color.White; this.btnCheck.BorderRadius = 0; this.btnCheck.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnCheck.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnCheck.Location = new System.Drawing.Point(187, 0); this.btnCheck.Name = "btnCheck"; this.btnCheck.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnCheck.Size = new System.Drawing.Size(113, 35); this.btnCheck.Text = ">"; this.btnCheck.Press += new System.EventHandler(this.ButCheck_Click); // // frmAttendanceStatSelfDay // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popListYear, this.popListMonth }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.panel1, this.gridATdata }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAttendanceStatSelfDay_KeyDown); this.Load += new System.EventHandler(this.frmAttendanceStatSelfDay_Load); this.Name = "frmAttendanceStatSelfDay"; }
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(); this.lblTitle = new Smobiler.Core.Controls.Label(); this.Camera1 = new Smobiler.Core.Controls.Camera(); this.popSex = new Smobiler.Core.Controls.PopList(); this.menuToolbar = new SMOWMS.UI.UserControl.MenuToolbar(); this.spContent = new Smobiler.Core.Controls.Panel(); this.plImage = new Smobiler.Core.Controls.Panel(); this.imgUser = new Smobiler.Core.Controls.ImageButton(); this.lblName = new Smobiler.Core.Controls.Label(); this.imgEdit = new Smobiler.Core.Controls.ImageButton(); this.plSex = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.btnSex = new Smobiler.Core.Controls.Button(); this.plAddress = new Smobiler.Core.Controls.Panel(); this.label5 = new Smobiler.Core.Controls.Label(); this.txtAddress = new Smobiler.Core.Controls.TextBox(); this.plBirthday = new Smobiler.Core.Controls.Panel(); this.label4 = new Smobiler.Core.Controls.Label(); this.dpkBirthday = new Smobiler.Core.Controls.DatePicker(); this.label6 = new Smobiler.Core.Controls.Label(); this.plUser = new Smobiler.Core.Controls.Panel(); this.label7 = new Smobiler.Core.Controls.Label(); this.lblID = new Smobiler.Core.Controls.Label(); this.plTel = new Smobiler.Core.Controls.Panel(); this.Label2 = new Smobiler.Core.Controls.Label(); this.lblPhone = new Smobiler.Core.Controls.Label(); this.plEmail = new Smobiler.Core.Controls.Panel(); this.label3 = new Smobiler.Core.Controls.Label(); this.lblEmail = new Smobiler.Core.Controls.Label(); this.btnMessage = new Smobiler.Core.Controls.Button(); this.btnExit = new Smobiler.Core.Controls.Button(); // // 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(107, 51); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(100, 40); this.lblTitle.Text = "个人信息"; // // Camera1 // this.Camera1.Name = "Camera1"; this.Camera1.ImageCaptured += new Smobiler.Core.Controls.CameraOnlineCallBackHandler(this.Camera1_ImageCaptured); // // popSex // 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"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2 }); popListGroup1.Title = "性别选择"; popListGroup1.Value = null; this.popSex.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popSex.Name = "popSex"; this.popSex.Selected += new System.EventHandler(this.popSex_Selected); // // menuToolbar // this.menuToolbar.BackColor = System.Drawing.Color.White; this.menuToolbar.Dock = System.Windows.Forms.DockStyle.Bottom; this.menuToolbar.Location = new System.Drawing.Point(64, 165); this.menuToolbar.Name = "menuToolbar"; this.menuToolbar.SelectedIndex = -1; this.menuToolbar.Size = new System.Drawing.Size(100, 50); // // spContent // this.spContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plImage, this.plSex, this.plAddress, this.plBirthday, this.label6, this.plUser, this.plTel, this.plEmail, this.btnMessage, this.btnExit }); this.spContent.Dock = System.Windows.Forms.DockStyle.Fill; this.spContent.Location = new System.Drawing.Point(0, 180); this.spContent.Name = "spContent"; this.spContent.Scrollable = true; this.spContent.Size = new System.Drawing.Size(300, 40); // // plImage // this.plImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))); this.plImage.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imgUser, this.lblName, this.imgEdit }); this.plImage.Name = "plImage"; this.plImage.Size = new System.Drawing.Size(300, 140); // // imgUser // this.imgUser.BorderRadius = 44; this.imgUser.Location = new System.Drawing.Point(106, 10); this.imgUser.Name = "imgUser"; this.imgUser.Size = new System.Drawing.Size(88, 88); this.imgUser.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Stretch; this.imgUser.Press += new System.EventHandler(this.ImgUser_Press); // // lblName // this.lblName.ForeColor = System.Drawing.Color.White; this.lblName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.lblName.Location = new System.Drawing.Point(106, 100); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(80, 31); // // imgEdit // this.imgEdit.IconColor = System.Drawing.Color.White; this.imgEdit.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.imgEdit.Location = new System.Drawing.Point(194, 100); this.imgEdit.Name = "imgEdit"; this.imgEdit.ResourceID = "pencil"; this.imgEdit.Size = new System.Drawing.Size(25, 25); this.imgEdit.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Stretch; this.imgEdit.Press += new System.EventHandler(this.Img_Press); // // plSex // this.plSex.BackColor = System.Drawing.Color.White; this.plSex.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.plSex.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plSex.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.btnSex }); this.plSex.Location = new System.Drawing.Point(0, 140); this.plSex.Name = "plSex"; this.plSex.Size = new System.Drawing.Size(300, 35); // // label1 // this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(80, 35); this.label1.Text = "性别"; // // btnSex // this.btnSex.BackColor = System.Drawing.Color.Transparent; this.btnSex.BorderRadius = 0; this.btnSex.ForeColor = System.Drawing.Color.Black; this.btnSex.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnSex.Location = new System.Drawing.Point(80, 0); this.btnSex.Name = "btnSex"; this.btnSex.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnSex.Size = new System.Drawing.Size(220, 35); this.btnSex.Text = "男 >"; this.btnSex.Press += new System.EventHandler(this.btnSex_Press); // // plAddress // this.plAddress.BackColor = System.Drawing.Color.White; this.plAddress.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plAddress.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plAddress.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label5, this.txtAddress }); this.plAddress.Location = new System.Drawing.Point(0, 175); this.plAddress.Name = "plAddress"; this.plAddress.Size = new System.Drawing.Size(300, 35); // // label5 // this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label5.Size = new System.Drawing.Size(80, 35); this.label5.Text = "地址"; // // txtAddress // this.txtAddress.BackColor = System.Drawing.Color.Transparent; this.txtAddress.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtAddress.Location = new System.Drawing.Point(80, 0); this.txtAddress.Name = "txtAddress"; this.txtAddress.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.txtAddress.Size = new System.Drawing.Size(220, 35); this.txtAddress.TouchLeave += new System.EventHandler(this.txtLocation_TouchLeave); // // plBirthday // this.plBirthday.BackColor = System.Drawing.Color.White; this.plBirthday.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plBirthday.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plBirthday.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label4, this.dpkBirthday }); this.plBirthday.Location = new System.Drawing.Point(0, 210); this.plBirthday.Name = "plBirthday"; this.plBirthday.Size = new System.Drawing.Size(300, 35); // // label4 // this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label4.Size = new System.Drawing.Size(80, 35); this.label4.Text = "出生日期"; // // dpkBirthday // this.dpkBirthday.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpkBirthday.Location = new System.Drawing.Point(80, 0); this.dpkBirthday.Name = "dpkBirthday"; this.dpkBirthday.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.dpkBirthday.Size = new System.Drawing.Size(220, 35); this.dpkBirthday.ValueChanged += new System.EventHandler(this.dpkBirthday_ValueChanged); // // label6 // this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label6.Location = new System.Drawing.Point(0, 245); this.label6.Name = "label6"; this.label6.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label6.Size = new System.Drawing.Size(300, 30); // // plUser // this.plUser.BackColor = System.Drawing.Color.White; this.plUser.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.plUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plUser.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label7, this.lblID }); this.plUser.Location = new System.Drawing.Point(0, 275); this.plUser.Name = "plUser"; this.plUser.Size = new System.Drawing.Size(300, 35); // // label7 // this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.label7.Name = "label7"; this.label7.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label7.Size = new System.Drawing.Size(80, 40); this.label7.Text = "账号"; // // lblID // this.lblID.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(144)))), ((int)(((byte)(145))))); this.lblID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblID.Location = new System.Drawing.Point(80, 0); this.lblID.Name = "lblID"; this.lblID.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.lblID.Size = new System.Drawing.Size(220, 40); // // plTel // this.plTel.BackColor = System.Drawing.Color.White; this.plTel.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plTel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plTel.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.Label2, this.lblPhone }); this.plTel.Location = new System.Drawing.Point(0, 310); this.plTel.Name = "plTel"; this.plTel.Size = new System.Drawing.Size(300, 35); // // Label2 // this.Label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.Label2.Name = "Label2"; this.Label2.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.Label2.Size = new System.Drawing.Size(80, 35); this.Label2.Text = "电话"; // // lblPhone // this.lblPhone.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(144)))), ((int)(((byte)(145))))); this.lblPhone.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblPhone.Location = new System.Drawing.Point(80, 0); this.lblPhone.Name = "lblPhone"; this.lblPhone.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.lblPhone.Size = new System.Drawing.Size(220, 40); // // plEmail // this.plEmail.BackColor = System.Drawing.Color.White; this.plEmail.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plEmail.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plEmail.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label3, this.lblEmail }); this.plEmail.Location = new System.Drawing.Point(0, 345); this.plEmail.Name = "plEmail"; this.plEmail.Size = new System.Drawing.Size(300, 35); // // label3 // this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(80, 40); this.label3.Text = "邮箱"; // // lblEmail // this.lblEmail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(144)))), ((int)(((byte)(145))))); this.lblEmail.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblEmail.Location = new System.Drawing.Point(80, 0); this.lblEmail.Name = "lblEmail"; this.lblEmail.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.lblEmail.Size = new System.Drawing.Size(220, 40); // // btnMessage // this.btnMessage.BackColor = System.Drawing.Color.White; this.btnMessage.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.btnMessage.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnMessage.BorderRadius = 0; this.btnMessage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(59)))), ((int)(((byte)(106))))); this.btnMessage.Location = new System.Drawing.Point(0, 400); this.btnMessage.Name = "btnMessage"; this.btnMessage.Size = new System.Drawing.Size(300, 40); this.btnMessage.Text = "修改"; this.btnMessage.Press += new System.EventHandler(this.btnMessage_Press); // // btnExit // this.btnExit.BackColor = System.Drawing.Color.White; this.btnExit.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnExit.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnExit.BorderRadius = 0; this.btnExit.ForeColor = System.Drawing.Color.Red; this.btnExit.Location = new System.Drawing.Point(0, 440); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(300, 40); this.btnExit.Text = "注销"; this.btnExit.Press += new System.EventHandler(this.btnExit_Press); // // frmMessage // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.Camera1, this.popSex }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.lblTitle, this.menuToolbar, this.spContent }); 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.frmMessage_KeyDown); this.Load += new System.EventHandler(this.frmMessage_Load); this.Name = "frmMessage"; }
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(); this.labelTitle = new Smobiler.Core.Controls.Label(); this.label2 = new Smobiler.Core.Controls.Label(); this.txtCode = new Smobiler.Core.Controls.TextBox(); this.btnScan = new Smobiler.Core.Controls.BarcodeScannerButton(); this.label3 = new Smobiler.Core.Controls.Label(); this.txtBAR008 = new Smobiler.Core.Controls.TextBox(); this.label4 = new Smobiler.Core.Controls.Label(); this.label5 = new Smobiler.Core.Controls.Label(); this.label6 = new Smobiler.Core.Controls.Label(); this.txtBAR007 = new Smobiler.Core.Controls.TextBox(); this.txtBRA020 = new Smobiler.Core.Controls.TextBox(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.btnSure = new Smobiler.Core.Controls.Button(); this.btnCancel = new Smobiler.Core.Controls.Button(); this.txtBAR004 = new Smobiler.Core.Controls.TextBox(); this.popListOne = new Smobiler.Core.Controls.PopList(); this.txtOrder = new Smobiler.Core.Controls.TextBox(); this.btnOrder = new Smobiler.Core.Controls.Button(); // // labelTitle // this.labelTitle.FontSize = 17F; this.labelTitle.ForeColor = System.Drawing.Color.White; this.labelTitle.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.labelTitle.Location = new System.Drawing.Point(94, 0); this.labelTitle.Name = "labelTitle"; this.labelTitle.Size = new System.Drawing.Size(130, 28); this.labelTitle.Text = "出库"; // // label2 // this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label2.BorderColor = System.Drawing.Color.DarkGray; this.label2.FontSize = 14F; this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label2.Location = new System.Drawing.Point(0, 28); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(49, 35); this.label2.Text = "条码 "; // // txtCode // this.txtCode.BackColor = System.Drawing.Color.Transparent; this.txtCode.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtCode.BorderColor = System.Drawing.Color.DarkGray; this.txtCode.FontSize = 14F; this.txtCode.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtCode.Location = new System.Drawing.Point(49, 28); this.txtCode.Name = "txtCode"; this.txtCode.Size = new System.Drawing.Size(199, 35); // // btnScan // this.btnScan.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnScan.BorderColor = System.Drawing.Color.DarkGray; this.btnScan.FontSize = 14F; this.btnScan.Location = new System.Drawing.Point(248, 33); this.btnScan.Name = "btnScan"; this.btnScan.ResourceID = "scan"; this.btnScan.Size = new System.Drawing.Size(52, 30); this.btnScan.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.btnScan_BarcodeScanned); // // label3 // this.label3.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label3.BorderColor = System.Drawing.Color.DarkGray; this.label3.FontSize = 14F; this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label3.Location = new System.Drawing.Point(0, 63); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(49, 35); this.label3.Text = "Lot ID "; // // txtBAR008 // this.txtBAR008.BackColor = System.Drawing.Color.Transparent; this.txtBAR008.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtBAR008.BorderColor = System.Drawing.Color.DarkGray; this.txtBAR008.FontSize = 14F; this.txtBAR008.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtBAR008.Location = new System.Drawing.Point(49, 63); this.txtBAR008.Name = "txtBAR008"; this.txtBAR008.Size = new System.Drawing.Size(251, 35); // // label4 // this.label4.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label4.BorderColor = System.Drawing.Color.DarkGray; this.label4.FontSize = 14F; this.label4.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label4.Location = new System.Drawing.Point(0, 98); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(49, 35); this.label4.Text = "规格 "; // // label5 // this.label5.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label5.BorderColor = System.Drawing.Color.DarkGray; this.label5.FontSize = 14F; this.label5.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label5.Location = new System.Drawing.Point(0, 133); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(49, 35); this.label5.Text = "轴号 "; // // label6 // this.label6.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.label6.BorderColor = System.Drawing.Color.DarkGray; this.label6.FontSize = 14F; this.label6.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label6.Location = new System.Drawing.Point(0, 168); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(49, 35); this.label6.Text = "数量 "; // // txtBAR007 // this.txtBAR007.BackColor = System.Drawing.Color.Transparent; this.txtBAR007.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtBAR007.BorderColor = System.Drawing.Color.DarkGray; this.txtBAR007.FontSize = 14F; this.txtBAR007.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtBAR007.Location = new System.Drawing.Point(49, 133); this.txtBAR007.Name = "txtBAR007"; this.txtBAR007.Size = new System.Drawing.Size(251, 35); // // txtBRA020 // this.txtBRA020.BackColor = System.Drawing.Color.Transparent; this.txtBRA020.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtBRA020.BorderColor = System.Drawing.Color.DarkGray; this.txtBRA020.FontSize = 14F; this.txtBRA020.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtBRA020.KeyboardType = Smobiler.Core.Controls.KeyboardType.Numeric; this.txtBRA020.Location = new System.Drawing.Point(49, 168); this.txtBRA020.Name = "txtBRA020"; this.txtBRA020.Size = new System.Drawing.Size(251, 35); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnSure, this.btnCancel }); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(27, 392); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 40); // // btnSure // this.btnSure.Border = new Smobiler.Core.Controls.Border(0F, 0F, 1F, 0F); this.btnSure.BorderColor = System.Drawing.Color.White; this.btnSure.BorderRadius = 0; this.btnSure.Dock = System.Windows.Forms.DockStyle.Left; this.btnSure.FontSize = 16F; this.btnSure.Location = new System.Drawing.Point(29, 7); this.btnSure.Name = "btnSure"; this.btnSure.Size = new System.Drawing.Size(150, 40); this.btnSure.Text = "确定"; this.btnSure.Press += new System.EventHandler(this.btnSure_Press); // // btnCancel // this.btnCancel.Border = new Smobiler.Core.Controls.Border(1F, 0F, 0F, 0F); this.btnCancel.BorderColor = System.Drawing.Color.White; this.btnCancel.BorderRadius = 0; this.btnCancel.Dock = System.Windows.Forms.DockStyle.Right; this.btnCancel.FontSize = 16F; this.btnCancel.Location = new System.Drawing.Point(147, 7); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(150, 40); this.btnCancel.Text = "取消"; this.btnCancel.Press += new System.EventHandler(this.btnCancel_Press); // // txtBAR004 // this.txtBAR004.BackColor = System.Drawing.Color.Transparent; this.txtBAR004.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtBAR004.BorderColor = System.Drawing.Color.DarkGray; this.txtBAR004.FontSize = 14F; this.txtBAR004.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtBAR004.Location = new System.Drawing.Point(49, 98); this.txtBAR004.Name = "txtBAR004"; this.txtBAR004.Size = new System.Drawing.Size(251, 35); // // popListOne // popListItem1.FontSize = 14F; popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "张三"; popListItem1.Value = "10"; popListItem2.FontSize = 14F; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "李四"; popListItem2.Value = "20"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2 }); popListGroup1.Value = null; this.popListOne.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popListOne.ItemFontSize = 14; this.popListOne.Name = "popListOne"; this.popListOne.Title = "订单号"; this.popListOne.Selected += new System.EventHandler(this.popListOne_Selected); // // txtOrder // this.txtOrder.BackColor = System.Drawing.Color.Transparent; this.txtOrder.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtOrder.BorderColor = System.Drawing.Color.DarkGray; this.txtOrder.FontSize = 14F; this.txtOrder.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtOrder.KeyboardType = Smobiler.Core.Controls.KeyboardType.Numeric; this.txtOrder.Location = new System.Drawing.Point(49, 203); this.txtOrder.Name = "txtOrder"; this.txtOrder.ReadOnly = true; this.txtOrder.Size = new System.Drawing.Size(251, 35); // // btnOrder // this.btnOrder.Border = new Smobiler.Core.Controls.Border(0F, 0F, 1F, 0F); this.btnOrder.BorderColor = System.Drawing.Color.White; this.btnOrder.BorderRadius = 0; this.btnOrder.FontSize = 16F; this.btnOrder.Location = new System.Drawing.Point(0, 203); this.btnOrder.Name = "btnOrder"; this.btnOrder.Size = new System.Drawing.Size(49, 35); this.btnOrder.Text = "订单号"; this.btnOrder.Press += new System.EventHandler(this.btnOrder_Press); // // SmobilerFormSto // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popListOne }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.labelTitle, this.label2, this.txtCode, this.btnScan, this.label3, this.txtBAR008, this.label4, this.label5, this.label6, this.txtBAR007, this.txtBRA020, this.panel1, this.txtBAR004, this.txtOrder, this.btnOrder }); this.Name = "SmobilerFormSto"; }
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(); this.gps1 = new Smobiler.Core.Controls.GPS(); this.popList1 = new Smobiler.Core.Controls.PopList(); this.title1 = new SmoONE.UI.Layout.Title(); this.pPost = new Smobiler.Core.Controls.Panel(); this.btnSave = new Smobiler.Core.Controls.Button(); this.btnDelete = new Smobiler.Core.Controls.Button(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.lblName = new Smobiler.Core.Controls.Label(); this.lblEndWork = new Smobiler.Core.Controls.Label(); this.lblPMStartWork = new Smobiler.Core.Controls.Label(); this.lblPMEndWork = new Smobiler.Core.Controls.Label(); this.lblDate1 = new Smobiler.Core.Controls.Label(); this.btnDate = new Smobiler.Core.Controls.Button(); this.btnDate2 = new Smobiler.Core.Controls.Button(); this.btnATMode = new Smobiler.Core.Controls.Button(); this.lblStartWork = new Smobiler.Core.Controls.Label(); this.txtName = new Smobiler.Core.Controls.TextBox(); this.lblException = new Smobiler.Core.Controls.Label(); this.btnUser = new Smobiler.Core.Controls.Button(); this.btnUser2 = new Smobiler.Core.Controls.Button(); this.lblAddress1 = new Smobiler.Core.Controls.Label(); this.lblAddress = new Smobiler.Core.Controls.Label(); this.btnAddress2 = new Smobiler.Core.Controls.Button(); this.txtADeviation = new Smobiler.Core.Controls.TextBox(); this.lblAllowableDeviation = new Smobiler.Core.Controls.Label(); this.btnAllowableDeviation2 = new Smobiler.Core.Controls.Label(); this.dpStartWork = new Smobiler.Core.Controls.DatePicker(); this.dpEndWork = new Smobiler.Core.Controls.DatePicker(); this.dpPMStartWork = new Smobiler.Core.Controls.DatePicker(); this.dpPMEndWork = new Smobiler.Core.Controls.DatePicker(); this.lblADeviation = new Smobiler.Core.Controls.Label(); this.dpAMStartWork = new Smobiler.Core.Controls.DatePicker(); this.dpAMEndWork = new Smobiler.Core.Controls.DatePicker(); // // gps1 // this.gps1.AmapKey = null; this.gps1.Name = "gps1"; this.gps1.GotLocation += new Smobiler.Core.Controls.GpsCallBackHandler(this.gps1_GotLocation); // // popList1 // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "300米"; popListItem1.Value = "300"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "500米"; popListItem2.Value = "500"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "800米"; popListItem3.Value = "800"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "1000米"; popListItem4.Value = "1000"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "自定义(300~5000)米"; popListItem5.Value = "definition"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5 }); popListGroup1.Value = null; this.popList1.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popList1.Name = "popList1"; // // title1 // this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); this.title1.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.title1.Dock = System.Windows.Forms.DockStyle.Top; this.title1.FontSize = 15F; this.title1.ForeColr = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.Location = new System.Drawing.Point(111, 36); this.title1.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.TitleText = "考勤"; // // pPost // this.pPost.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnSave, this.btnDelete }); this.pPost.Dock = System.Windows.Forms.DockStyle.Bottom; this.pPost.Flex = 10000; this.pPost.Location = new System.Drawing.Point(0, 529); this.pPost.Name = "pPost"; this.pPost.Size = new System.Drawing.Size(300, 50); // // btnSave // this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnSave.BorderRadius = 4; this.btnSave.FontSize = 17F; this.btnSave.Location = new System.Drawing.Point(10, 10); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(280, 35); this.btnSave.Text = "提交"; this.btnSave.Press += new System.EventHandler(this.btnSave_Click); // // btnDelete // this.btnDelete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(158)))), ((int)(((byte)(38))))); this.btnDelete.BorderRadius = 4; this.btnDelete.FontSize = 17F; this.btnDelete.Location = new System.Drawing.Point(156, 10); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(134, 35); this.btnDelete.Text = "删除"; this.btnDelete.Visible = false; this.btnDelete.Press += new System.EventHandler(this.btnDelete_Click); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.lblName, this.lblEndWork, this.lblPMStartWork, this.lblPMEndWork, this.lblDate1, this.btnDate, this.btnDate2, this.btnATMode, this.lblStartWork, this.txtName, this.lblException, this.btnUser, this.btnUser2, this.lblAddress1, this.lblAddress, this.btnAddress2, this.txtADeviation, this.lblAllowableDeviation, this.btnAllowableDeviation2, this.dpStartWork, this.dpEndWork, this.dpPMStartWork, this.dpPMEndWork, this.lblADeviation, this.dpAMStartWork, this.dpAMEndWork }); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Flex = 10000; this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Name = "panel1"; this.panel1.Scrollable = true; this.panel1.Size = new System.Drawing.Size(300, 20); // // lblName // this.lblName.BackColor = System.Drawing.Color.White; this.lblName.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.lblName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblName.Location = new System.Drawing.Point(0, 10); this.lblName.Name = "lblName"; this.lblName.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblName.Size = new System.Drawing.Size(125, 35); this.lblName.Text = "名称"; // // lblEndWork // this.lblEndWork.BackColor = System.Drawing.Color.White; this.lblEndWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblEndWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblEndWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblEndWork.Location = new System.Drawing.Point(0, 80); this.lblEndWork.Name = "lblEndWork"; this.lblEndWork.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblEndWork.Size = new System.Drawing.Size(100, 35); this.lblEndWork.Text = "下班时间"; // // lblPMStartWork // this.lblPMStartWork.BackColor = System.Drawing.Color.White; this.lblPMStartWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblPMStartWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblPMStartWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblPMStartWork.Location = new System.Drawing.Point(0, 115); this.lblPMStartWork.Name = "lblPMStartWork"; this.lblPMStartWork.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblPMStartWork.Size = new System.Drawing.Size(100, 35); this.lblPMStartWork.Text = "下午上班"; // // lblPMEndWork // this.lblPMEndWork.BackColor = System.Drawing.Color.White; this.lblPMEndWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblPMEndWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblPMEndWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblPMEndWork.Location = new System.Drawing.Point(0, 150); this.lblPMEndWork.Name = "lblPMEndWork"; this.lblPMEndWork.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblPMEndWork.Size = new System.Drawing.Size(100, 35); this.lblPMEndWork.Text = "下午下班"; // // lblDate1 // this.lblDate1.BackColor = System.Drawing.Color.White; this.lblDate1.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblDate1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblDate1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblDate1.Location = new System.Drawing.Point(0, 185); this.lblDate1.Name = "lblDate1"; this.lblDate1.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblDate1.Size = new System.Drawing.Size(100, 35); this.lblDate1.Text = "日期"; // // btnDate // this.btnDate.BackColor = System.Drawing.Color.White; this.btnDate.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnDate.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnDate.BorderRadius = 0; this.btnDate.FontSize = 12F; this.btnDate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnDate.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnDate.Location = new System.Drawing.Point(100, 185); this.btnDate.Name = "btnDate"; this.btnDate.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 2F, 0F); this.btnDate.Size = new System.Drawing.Size(175, 35); this.btnDate.Text = "工作日"; this.btnDate.Press += new System.EventHandler(this.btnDate_Click); // // btnDate2 // this.btnDate2.BackColor = System.Drawing.Color.White; this.btnDate2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnDate2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnDate2.BorderRadius = 0; this.btnDate2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnDate2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnDate2.Location = new System.Drawing.Point(275, 185); this.btnDate2.Name = "btnDate2"; this.btnDate2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnDate2.Size = new System.Drawing.Size(25, 35); this.btnDate2.Text = ">"; this.btnDate2.Press += new System.EventHandler(this.btnDate_Click); // // btnATMode // this.btnATMode.BackColor = System.Drawing.Color.White; this.btnATMode.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnATMode.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnATMode.BorderRadius = 0; this.btnATMode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.btnATMode.Location = new System.Drawing.Point(0, 220); this.btnATMode.Name = "btnATMode"; this.btnATMode.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 2F, 0F); this.btnATMode.Size = new System.Drawing.Size(300, 35); this.btnATMode.Text = "切换到一天两次上下班"; this.btnATMode.Press += new System.EventHandler(this.btnATMode_Click); // // lblStartWork // this.lblStartWork.BackColor = System.Drawing.Color.White; this.lblStartWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblStartWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblStartWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblStartWork.Location = new System.Drawing.Point(0, 45); this.lblStartWork.Name = "lblStartWork"; this.lblStartWork.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblStartWork.Size = new System.Drawing.Size(100, 35); this.lblStartWork.Text = "上班时间"; // // txtName // this.txtName.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.txtName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtName.FontSize = 12F; this.txtName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.txtName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtName.Location = new System.Drawing.Point(125, 10); this.txtName.Name = "txtName"; this.txtName.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.txtName.Size = new System.Drawing.Size(175, 35); this.txtName.WaterMarkText = "(必输)"; // // lblException // this.lblException.BackColor = System.Drawing.Color.White; this.lblException.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.lblException.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblException.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblException.Location = new System.Drawing.Point(0, 265); this.lblException.Name = "lblException"; this.lblException.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblException.Size = new System.Drawing.Size(125, 35); this.lblException.Text = "考勤成员"; // // btnUser // this.btnUser.BackColor = System.Drawing.Color.White; this.btnUser.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.btnUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnUser.BorderRadius = 0; this.btnUser.FontSize = 12F; this.btnUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnUser.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnUser.Location = new System.Drawing.Point(125, 265); this.btnUser.Name = "btnUser"; this.btnUser.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 2F, 0F); this.btnUser.Size = new System.Drawing.Size(150, 35); this.btnUser.Text = "0人"; this.btnUser.Press += new System.EventHandler(this.btnUser_Click); // // btnUser2 // this.btnUser2.BackColor = System.Drawing.Color.White; this.btnUser2.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.btnUser2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnUser2.BorderRadius = 0; this.btnUser2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnUser2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnUser2.Location = new System.Drawing.Point(275, 265); this.btnUser2.Name = "btnUser2"; this.btnUser2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnUser2.Size = new System.Drawing.Size(25, 35); this.btnUser2.Text = ">"; this.btnUser2.Press += new System.EventHandler(this.btnUser_Click); // // lblAddress1 // this.lblAddress1.BackColor = System.Drawing.Color.White; this.lblAddress1.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblAddress1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblAddress1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblAddress1.Location = new System.Drawing.Point(0, 300); this.lblAddress1.Name = "lblAddress1"; this.lblAddress1.Padding = new Smobiler.Core.Controls.Padding(4F, 5F, 0F, 0F); this.lblAddress1.Size = new System.Drawing.Size(125, 80); this.lblAddress1.Text = "考勤地点"; this.lblAddress1.VerticalAlignment = Smobiler.Core.Controls.VerticalAlignment.Top; // // lblAddress // this.lblAddress.BackColor = System.Drawing.Color.White; this.lblAddress.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblAddress.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblAddress.FontSize = 12F; this.lblAddress.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.lblAddress.Location = new System.Drawing.Point(125, 300); this.lblAddress.Name = "lblAddress"; this.lblAddress.Padding = new Smobiler.Core.Controls.Padding(0F, 5F, 2F, 0F); this.lblAddress.Size = new System.Drawing.Size(150, 80); this.lblAddress.VerticalAlignment = Smobiler.Core.Controls.VerticalAlignment.Top; // // btnAddress2 // this.btnAddress2.BackColor = System.Drawing.Color.White; this.btnAddress2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnAddress2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnAddress2.BorderRadius = 0; this.btnAddress2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnAddress2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnAddress2.Location = new System.Drawing.Point(275, 300); this.btnAddress2.Name = "btnAddress2"; this.btnAddress2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnAddress2.Size = new System.Drawing.Size(25, 80); this.btnAddress2.Text = ">"; this.btnAddress2.Press += new System.EventHandler(this.btnAddress1_Click); // // txtADeviation // this.txtADeviation.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.txtADeviation.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.txtADeviation.FontSize = 12F; this.txtADeviation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.txtADeviation.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.txtADeviation.KeyboardType = Smobiler.Core.Controls.KeyboardType.Numeric; this.txtADeviation.Location = new System.Drawing.Point(125, 380); this.txtADeviation.Name = "txtADeviation"; this.txtADeviation.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 2F, 0F); this.txtADeviation.Size = new System.Drawing.Size(150, 35); this.txtADeviation.Text = "300"; this.txtADeviation.TextChanged += new System.EventHandler(this.txtADeviation_TextChanged); // // lblAllowableDeviation // this.lblAllowableDeviation.BackColor = System.Drawing.Color.White; this.lblAllowableDeviation.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.lblAllowableDeviation.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblAllowableDeviation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblAllowableDeviation.Location = new System.Drawing.Point(0, 380); this.lblAllowableDeviation.Name = "lblAllowableDeviation"; this.lblAllowableDeviation.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.lblAllowableDeviation.Size = new System.Drawing.Size(125, 35); this.lblAllowableDeviation.Text = "允许偏差"; // // btnAllowableDeviation2 // this.btnAllowableDeviation2.BackColor = System.Drawing.Color.White; this.btnAllowableDeviation2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.btnAllowableDeviation2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.btnAllowableDeviation2.FontSize = 12F; this.btnAllowableDeviation2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnAllowableDeviation2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnAllowableDeviation2.Location = new System.Drawing.Point(275, 380); this.btnAllowableDeviation2.Name = "btnAllowableDeviation2"; this.btnAllowableDeviation2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnAllowableDeviation2.Size = new System.Drawing.Size(25, 35); this.btnAllowableDeviation2.Text = "米"; // // dpStartWork // this.dpStartWork.BackColor = System.Drawing.Color.White; this.dpStartWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpStartWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpStartWork.FontSize = 12F; this.dpStartWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpStartWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpStartWork.Location = new System.Drawing.Point(100, 45); this.dpStartWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpStartWork.Name = "dpStartWork"; this.dpStartWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpStartWork.Size = new System.Drawing.Size(200, 35); this.dpStartWork.ValueChanged += new System.EventHandler(this.dpStartWork_DatePicked); // // dpEndWork // this.dpEndWork.BackColor = System.Drawing.Color.White; this.dpEndWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpEndWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpEndWork.FontSize = 12F; this.dpEndWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpEndWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpEndWork.Location = new System.Drawing.Point(100, 80); this.dpEndWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpEndWork.Name = "dpEndWork"; this.dpEndWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpEndWork.Size = new System.Drawing.Size(200, 35); this.dpEndWork.ValueChanged += new System.EventHandler(this.dpEndWork_DatePicked); // // dpPMStartWork // this.dpPMStartWork.BackColor = System.Drawing.Color.White; this.dpPMStartWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpPMStartWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpPMStartWork.FontSize = 12F; this.dpPMStartWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpPMStartWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpPMStartWork.Location = new System.Drawing.Point(100, 115); this.dpPMStartWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpPMStartWork.Name = "dpPMStartWork"; this.dpPMStartWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpPMStartWork.Size = new System.Drawing.Size(200, 35); this.dpPMStartWork.ValueChanged += new System.EventHandler(this.dpPMStartWork_DatePicked); // // dpPMEndWork // this.dpPMEndWork.BackColor = System.Drawing.Color.White; this.dpPMEndWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpPMEndWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpPMEndWork.FontSize = 12F; this.dpPMEndWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpPMEndWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpPMEndWork.Location = new System.Drawing.Point(100, 150); this.dpPMEndWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpPMEndWork.Name = "dpPMEndWork"; this.dpPMEndWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpPMEndWork.Size = new System.Drawing.Size(200, 35); this.dpPMEndWork.ValueChanged += new System.EventHandler(this.dpPMEndWork_DatePicked); // // lblADeviation // this.lblADeviation.FontSize = 12F; this.lblADeviation.ForeColor = System.Drawing.Color.Red; this.lblADeviation.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.lblADeviation.Location = new System.Drawing.Point(0, 415); this.lblADeviation.Name = "lblADeviation"; this.lblADeviation.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.lblADeviation.Size = new System.Drawing.Size(300, 20); this.lblADeviation.Text = "偏差值300-5000米"; this.lblADeviation.ZIndex = 1; // // dpAMStartWork // this.dpAMStartWork.BackColor = System.Drawing.Color.White; this.dpAMStartWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpAMStartWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpAMStartWork.FontSize = 12F; this.dpAMStartWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpAMStartWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpAMStartWork.Location = new System.Drawing.Point(100, 45); this.dpAMStartWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpAMStartWork.Name = "dpAMStartWork"; this.dpAMStartWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpAMStartWork.Size = new System.Drawing.Size(200, 35); this.dpAMStartWork.ValueChanged += new System.EventHandler(this.dpAMStartWork_DatePicked); // // dpAMEndWork // this.dpAMEndWork.BackColor = System.Drawing.Color.White; this.dpAMEndWork.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.dpAMEndWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.dpAMEndWork.FontSize = 12F; this.dpAMEndWork.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.dpAMEndWork.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.dpAMEndWork.Location = new System.Drawing.Point(100, 80); this.dpAMEndWork.Mode = Smobiler.Core.Controls.DatePickerMode.Time; this.dpAMEndWork.Name = "dpAMEndWork"; this.dpAMEndWork.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 30F, 0F); this.dpAMEndWork.Size = new System.Drawing.Size(200, 35); this.dpAMEndWork.ValueChanged += new System.EventHandler(this.dpAMEndWork_DatePicked); // // frmAttendanceCreate // this.BackColor = System.Drawing.Color.Transparent; this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.gps1, this.popList1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.pPost, this.panel1 }); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAttendanceCreate_KeyDown); this.Load += new System.EventHandler(this.frmAttendanceCreate_Load); this.Name = "frmAttendanceCreate"; }
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.PopListItem popListItem8 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem9 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem10 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListGroup popListGroup2 = new Smobiler.Core.Controls.PopListGroup(); Smobiler.Core.Controls.PopListItem popListItem11 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem12 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem13 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem14 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem15 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem16 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem17 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem18 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem19 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem20 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem21 = new Smobiler.Core.Controls.PopListItem(); Smobiler.Core.Controls.PopListItem popListItem22 = new Smobiler.Core.Controls.PopListItem(); this.btnYear = new Smobiler.Core.Controls.Button(); this.lblYear = new Smobiler.Core.Controls.Label(); this.BtnMonth = new Smobiler.Core.Controls.Button(); this.lblMonth = new Smobiler.Core.Controls.Label(); this.popListYear = new Smobiler.Core.Controls.PopList(); this.popListMonth = new Smobiler.Core.Controls.PopList(); this.lblID = new Smobiler.Core.Controls.Label(); this.label8 = new Smobiler.Core.Controls.Label(); this.label1 = new Smobiler.Core.Controls.Label(); this.label2 = 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.label6 = new Smobiler.Core.Controls.Label(); this.label7 = new Smobiler.Core.Controls.Label(); this.label9 = new Smobiler.Core.Controls.Label(); this.progress1 = new Smobiler.Core.Controls.Progress(); this.proMSInTime = new Smobiler.Core.Controls.Progress(); this.proMSCLate = new Smobiler.Core.Controls.Progress(); this.proMSLEarly = new Smobiler.Core.Controls.Progress(); this.proMSNoSign = new Smobiler.Core.Controls.Progress(); this.btnATInTime = new Smobiler.Core.Controls.Button(); this.btnATLate = new Smobiler.Core.Controls.Button(); this.btnLEarly = new Smobiler.Core.Controls.Button(); this.btnATNoSign = new Smobiler.Core.Controls.Button(); this.btnMSAllCount = new Smobiler.Core.Controls.Button(); this.btnMSInTimeCount = new Smobiler.Core.Controls.Button(); this.btnMSLEarlyCount = new Smobiler.Core.Controls.Button(); this.btnMSCLateCount = new Smobiler.Core.Controls.Button(); this.btnMSNoSignCount = new Smobiler.Core.Controls.Button(); this.label11 = new Smobiler.Core.Controls.Label(); this.btnATAbsentCount = new Smobiler.Core.Controls.Button(); this.btnATAbsent = new Smobiler.Core.Controls.Button(); this.proATAbsent = new Smobiler.Core.Controls.Progress(); this.label12 = new Smobiler.Core.Controls.Label(); this.title1 = new SmoONE.UI.Layout.Title(); // // btnYear // this.btnYear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnYear.BorderRadius = 0; this.btnYear.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnYear.Location = new System.Drawing.Point(0, 50); this.btnYear.Name = "btnYear"; this.btnYear.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F); this.btnYear.Size = new System.Drawing.Size(145, 35); this.btnYear.Text = "2017"; // // lblYear // this.lblYear.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.lblYear.ForeColor = System.Drawing.Color.White; this.lblYear.Location = new System.Drawing.Point(145, 50); this.lblYear.Name = "lblYear"; this.lblYear.Size = new System.Drawing.Size(19, 35); this.lblYear.Text = "年"; // // BtnMonth // this.BtnMonth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.BtnMonth.BorderRadius = 0; this.BtnMonth.Location = new System.Drawing.Point(164, 50); this.BtnMonth.Name = "BtnMonth"; this.BtnMonth.Size = new System.Drawing.Size(20, 35); this.BtnMonth.Text = "2"; // // lblMonth // this.lblMonth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.lblMonth.ForeColor = System.Drawing.Color.White; this.lblMonth.Location = new System.Drawing.Point(184, 50); this.lblMonth.Name = "lblMonth"; this.lblMonth.Size = new System.Drawing.Size(116, 35); this.lblMonth.Text = "月 "; // // popListYear // popListItem1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem1.Text = "2008"; popListItem2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem2.Text = "2009"; popListItem3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem3.Text = "2010"; popListItem4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem4.Text = "2011"; popListItem5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem5.Text = "2012"; popListItem6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem6.Text = "2013"; popListItem7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem7.Text = "2014"; popListItem8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem8.Text = "2015"; popListItem9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem9.Text = "2016"; popListItem10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem10.Text = "2017"; popListGroup1.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem1, popListItem2, popListItem3, popListItem4, popListItem5, popListItem6, popListItem7, popListItem8, popListItem9, popListItem10 }); popListGroup1.Title = "请选择年份"; popListGroup1.Value = null; this.popListYear.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup1 }); this.popListYear.Name = "popListYear"; this.popListYear.Selected += new System.EventHandler(this.popListYear_Selected); // // popListMonth // popListItem11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem11.Text = "1"; popListItem12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem12.Text = "2"; popListItem13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem13.Text = "3"; popListItem14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem14.Text = "4"; popListItem15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem15.Text = "5"; popListItem16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem16.Text = "6"; popListItem17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem17.Text = "7"; popListItem18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem18.Text = "8"; popListItem19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem19.Text = "9"; popListItem20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem20.Text = "0"; popListItem21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem21.Text = "11"; popListItem22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); popListItem22.Text = "12"; popListGroup2.Items.AddRange(new Smobiler.Core.Controls.PopListItem[] { popListItem11, popListItem12, popListItem13, popListItem14, popListItem15, popListItem16, popListItem17, popListItem18, popListItem19, popListItem20, popListItem21, popListItem22 }); popListGroup2.Title = "请选择月份"; popListGroup2.Value = null; this.popListMonth.Groups.AddRange(new Smobiler.Core.Controls.PopListGroup[] { popListGroup2 }); this.popListMonth.Name = "popListMonth"; this.popListMonth.Selected += new System.EventHandler(this.popListMonth_Selected); // // lblID // this.lblID.DataMember = "AT_TypeID"; this.lblID.DisplayMember = "Dep_Name"; this.lblID.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.lblID.Location = new System.Drawing.Point(0, 85); this.lblID.Name = "lblID"; this.lblID.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.lblID.Size = new System.Drawing.Size(150, 35); this.lblID.Text = "应签到"; this.lblID.ZIndex = 2; // // label8 // this.label8.BackColor = System.Drawing.Color.White; this.label8.DataMember = "WorkDate1"; this.label8.DisplayMember = "WorkDate1"; this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label8.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label8.Location = new System.Drawing.Point(0, 85); this.label8.Name = "label8"; this.label8.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label8.Size = new System.Drawing.Size(300, 40); this.label8.ZIndex = 1; // // label1 // this.label1.DataMember = "AT_TypeID"; this.label1.DisplayMember = "Dep_Name"; this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.label1.Location = new System.Drawing.Point(0, 125); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(150, 35); this.label1.Text = "准时"; this.label1.ZIndex = 7; // // label2 // this.label2.BackColor = System.Drawing.Color.White; this.label2.DataMember = "WorkDate1"; this.label2.DisplayMember = "WorkDate1"; this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label2.Location = new System.Drawing.Point(0, 125); this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label2.Size = new System.Drawing.Size(300, 40); this.label2.ZIndex = 6; // // label3 // this.label3.DataMember = "AT_TypeID"; this.label3.DisplayMember = "Dep_Name"; this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.label3.Location = new System.Drawing.Point(0, 165); this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(150, 35); this.label3.Text = "迟到"; this.label3.ZIndex = 12; // // label4 // this.label4.BackColor = System.Drawing.Color.White; this.label4.DataMember = "WorkDate1"; this.label4.DisplayMember = "WorkDate1"; this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label4.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label4.Location = new System.Drawing.Point(0, 165); this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label4.Size = new System.Drawing.Size(300, 40); this.label4.ZIndex = 11; // // label5 // this.label5.DataMember = "AT_TypeID"; this.label5.DisplayMember = "Dep_Name"; this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.label5.Location = new System.Drawing.Point(0, 205); this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label5.Size = new System.Drawing.Size(150, 35); this.label5.Text = "早退"; this.label5.ZIndex = 17; // // label6 // this.label6.BackColor = System.Drawing.Color.White; this.label6.DataMember = "WorkDate1"; this.label6.DisplayMember = "WorkDate1"; this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label6.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label6.Location = new System.Drawing.Point(0, 205); this.label6.Name = "label6"; this.label6.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label6.Size = new System.Drawing.Size(300, 40); this.label6.ZIndex = 16; // // label7 // this.label7.DataMember = "AT_TypeID"; this.label7.DisplayMember = "Dep_Name"; this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.label7.Location = new System.Drawing.Point(0, 245); this.label7.Name = "label7"; this.label7.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label7.Size = new System.Drawing.Size(150, 35); this.label7.Text = "未签到"; this.label7.ZIndex = 22; // // label9 // this.label9.BackColor = System.Drawing.Color.White; this.label9.DataMember = "WorkDate1"; this.label9.DisplayMember = "WorkDate1"; this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label9.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label9.Location = new System.Drawing.Point(0, 245); this.label9.Name = "label9"; this.label9.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label9.Size = new System.Drawing.Size(300, 40); this.label9.ZIndex = 21; // // progress1 // this.progress1.Location = new System.Drawing.Point(10, 115); this.progress1.Name = "progress1"; this.progress1.Size = new System.Drawing.Size(260, 5); this.progress1.TrackColor = System.Drawing.Color.LightGray; this.progress1.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.progress1.ZIndex = 5; // // proMSInTime // this.proMSInTime.Location = new System.Drawing.Point(10, 155); this.proMSInTime.Name = "proMSInTime"; this.proMSInTime.Size = new System.Drawing.Size(260, 5); this.proMSInTime.TrackColor = System.Drawing.Color.LightGray; this.proMSInTime.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(187)))), ((int)(((byte)(91))))); this.proMSInTime.ZIndex = 10; // // proMSCLate // this.proMSCLate.Location = new System.Drawing.Point(10, 195); this.proMSCLate.Name = "proMSCLate"; this.proMSCLate.Size = new System.Drawing.Size(260, 5); this.proMSCLate.TrackColor = System.Drawing.Color.LightGray; this.proMSCLate.ValueColor = System.Drawing.Color.Yellow; this.proMSCLate.ZIndex = 15; // // proMSLEarly // this.proMSLEarly.Location = new System.Drawing.Point(10, 235); this.proMSLEarly.Name = "proMSLEarly"; this.proMSLEarly.Size = new System.Drawing.Size(260, 5); this.proMSLEarly.TrackColor = System.Drawing.Color.LightGray; this.proMSLEarly.ValueColor = System.Drawing.Color.Orange; this.proMSLEarly.ZIndex = 20; // // proMSNoSign // this.proMSNoSign.Location = new System.Drawing.Point(10, 275); this.proMSNoSign.Name = "proMSNoSign"; this.proMSNoSign.Size = new System.Drawing.Size(260, 5); this.proMSNoSign.TrackColor = System.Drawing.Color.LightGray; this.proMSNoSign.ValueColor = System.Drawing.Color.Red; this.proMSNoSign.ZIndex = 25; // // btnATInTime // this.btnATInTime.BackColor = System.Drawing.Color.White; this.btnATInTime.BorderRadius = 0; this.btnATInTime.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnATInTime.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnATInTime.Location = new System.Drawing.Point(270, 125); this.btnATInTime.Name = "btnATInTime"; this.btnATInTime.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnATInTime.Size = new System.Drawing.Size(30, 30); this.btnATInTime.Text = ">"; this.btnATInTime.ZIndex = 9; this.btnATInTime.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnATLate // this.btnATLate.BackColor = System.Drawing.Color.White; this.btnATLate.BorderRadius = 0; this.btnATLate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnATLate.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnATLate.Location = new System.Drawing.Point(270, 165); this.btnATLate.Name = "btnATLate"; this.btnATLate.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnATLate.Size = new System.Drawing.Size(30, 30); this.btnATLate.Text = ">"; this.btnATLate.ZIndex = 14; this.btnATLate.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnLEarly // this.btnLEarly.BackColor = System.Drawing.Color.White; this.btnLEarly.BorderRadius = 0; this.btnLEarly.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnLEarly.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnLEarly.Location = new System.Drawing.Point(270, 205); this.btnLEarly.Name = "btnLEarly"; this.btnLEarly.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnLEarly.Size = new System.Drawing.Size(30, 30); this.btnLEarly.Text = ">"; this.btnLEarly.ZIndex = 19; this.btnLEarly.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnATNoSign // this.btnATNoSign.BackColor = System.Drawing.Color.White; this.btnATNoSign.BorderRadius = 0; this.btnATNoSign.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnATNoSign.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnATNoSign.Location = new System.Drawing.Point(270, 245); this.btnATNoSign.Name = "btnATNoSign"; this.btnATNoSign.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnATNoSign.Size = new System.Drawing.Size(30, 30); this.btnATNoSign.Text = ">"; this.btnATNoSign.ZIndex = 24; this.btnATNoSign.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnMSAllCount // this.btnMSAllCount.BackColor = System.Drawing.Color.White; this.btnMSAllCount.BorderRadius = 0; this.btnMSAllCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnMSAllCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMSAllCount.Location = new System.Drawing.Point(80, 85); this.btnMSAllCount.Name = "btnMSAllCount"; this.btnMSAllCount.Size = new System.Drawing.Size(190, 30); this.btnMSAllCount.Text = "0人"; this.btnMSAllCount.ZIndex = 3; // // btnMSInTimeCount // this.btnMSInTimeCount.BackColor = System.Drawing.Color.White; this.btnMSInTimeCount.BorderRadius = 0; this.btnMSInTimeCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnMSInTimeCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMSInTimeCount.Location = new System.Drawing.Point(80, 125); this.btnMSInTimeCount.Name = "btnMSInTimeCount"; this.btnMSInTimeCount.Size = new System.Drawing.Size(190, 30); this.btnMSInTimeCount.Text = "0人"; this.btnMSInTimeCount.ZIndex = 8; this.btnMSInTimeCount.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnMSLEarlyCount // this.btnMSLEarlyCount.BackColor = System.Drawing.Color.White; this.btnMSLEarlyCount.BorderRadius = 0; this.btnMSLEarlyCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnMSLEarlyCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMSLEarlyCount.Location = new System.Drawing.Point(80, 205); this.btnMSLEarlyCount.Name = "btnMSLEarlyCount"; this.btnMSLEarlyCount.Size = new System.Drawing.Size(190, 30); this.btnMSLEarlyCount.Text = "0人"; this.btnMSLEarlyCount.ZIndex = 18; this.btnMSLEarlyCount.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnMSCLateCount // this.btnMSCLateCount.BackColor = System.Drawing.Color.White; this.btnMSCLateCount.BorderRadius = 0; this.btnMSCLateCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnMSCLateCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMSCLateCount.Location = new System.Drawing.Point(80, 165); this.btnMSCLateCount.Name = "btnMSCLateCount"; this.btnMSCLateCount.Size = new System.Drawing.Size(190, 30); this.btnMSCLateCount.Text = "0人"; this.btnMSCLateCount.ZIndex = 13; this.btnMSCLateCount.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnMSNoSignCount // this.btnMSNoSignCount.BackColor = System.Drawing.Color.White; this.btnMSNoSignCount.BorderRadius = 0; this.btnMSNoSignCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnMSNoSignCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnMSNoSignCount.Location = new System.Drawing.Point(80, 245); this.btnMSNoSignCount.Name = "btnMSNoSignCount"; this.btnMSNoSignCount.Size = new System.Drawing.Size(190, 30); this.btnMSNoSignCount.Text = "0人"; this.btnMSNoSignCount.ZIndex = 23; this.btnMSNoSignCount.Press += new System.EventHandler(this.btnATTypeSign_Click); // // label11 // this.label11.DataMember = "AT_TypeID"; this.label11.DisplayMember = "Dep_Name"; this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.label11.Location = new System.Drawing.Point(0, 285); this.label11.Name = "label11"; this.label11.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.label11.Size = new System.Drawing.Size(150, 35); this.label11.Text = "全天旷工"; this.label11.ZIndex = 27; // // btnATAbsentCount // this.btnATAbsentCount.BackColor = System.Drawing.Color.White; this.btnATAbsentCount.BorderRadius = 0; this.btnATAbsentCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.btnATAbsentCount.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnATAbsentCount.Location = new System.Drawing.Point(80, 285); this.btnATAbsentCount.Name = "btnATAbsentCount"; this.btnATAbsentCount.Size = new System.Drawing.Size(190, 30); this.btnATAbsentCount.Text = "0人"; this.btnATAbsentCount.ZIndex = 28; this.btnATAbsentCount.Press += new System.EventHandler(this.btnATTypeSign_Click); // // btnATAbsent // this.btnATAbsent.BackColor = System.Drawing.Color.White; this.btnATAbsent.BorderRadius = 0; this.btnATAbsent.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45))))); this.btnATAbsent.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnATAbsent.Location = new System.Drawing.Point(270, 285); this.btnATAbsent.Name = "btnATAbsent"; this.btnATAbsent.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.btnATAbsent.Size = new System.Drawing.Size(30, 30); this.btnATAbsent.Text = ">"; this.btnATAbsent.ZIndex = 29; this.btnATAbsent.Press += new System.EventHandler(this.btnATTypeSign_Click); // // proATAbsent // this.proATAbsent.Location = new System.Drawing.Point(10, 318); this.proATAbsent.Name = "proATAbsent"; this.proATAbsent.Size = new System.Drawing.Size(260, 5); this.proATAbsent.TrackColor = System.Drawing.Color.LightGray; this.proATAbsent.ValueColor = System.Drawing.Color.Red; this.proATAbsent.ZIndex = 30; // // label12 // this.label12.BackColor = System.Drawing.Color.White; this.label12.DataMember = "WorkDate1"; this.label12.DisplayMember = "WorkDate1"; this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.label12.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label12.Location = new System.Drawing.Point(0, 285); this.label12.Name = "label12"; this.label12.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 10F, 0F); this.label12.Size = new System.Drawing.Size(300, 40); this.label12.ZIndex = 26; // // title1 // this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); this.title1.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.title1.Dock = System.Windows.Forms.DockStyle.Top; this.title1.FontSize = 15F; this.title1.ForeColr = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.Location = new System.Drawing.Point(111, 36); this.title1.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.TitleText = "考勤统计"; // // frmAttendanceStatMonth // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.popListYear, this.popListMonth }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.btnYear, this.lblYear, this.BtnMonth, this.lblMonth, this.label8, this.lblID, this.btnMSAllCount, this.progress1, this.label2, this.label1, this.btnMSInTimeCount, this.btnATInTime, this.proMSInTime, this.label4, this.label3, this.btnMSCLateCount, this.btnATLate, this.proMSCLate, this.label6, this.label5, this.btnMSLEarlyCount, this.btnLEarly, this.proMSLEarly, this.label9, this.label7, this.btnMSNoSignCount, this.btnATNoSign, this.proMSNoSign, this.label12, this.label11, this.btnATAbsentCount, this.btnATAbsent, this.proATAbsent, this.title1 }); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAttendanceStatMonth_KeyDown); this.Load += new System.EventHandler(this.frmAttendanceStatMonth_Load); this.Name = "frmAttendanceStatMonth"; }
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.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"; }