private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; this.toolBar.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar.ItemCount = 5; toolBarItem1.IconID = "cangku"; toolBarItem1.Name = "仓库"; toolBarItem1.SelectIconID = "cangku_sel"; toolBarItem1.Text = "仓库"; toolBarItem2.IconID = "dingdan"; toolBarItem2.Name = "订单"; toolBarItem2.SelectIconID = "dingdan_sel"; toolBarItem2.Text = "订单"; toolBarItem3.IconID = "shuju"; toolBarItem3.Name = "主数据"; toolBarItem3.SelectIconID = "shuju_sel"; toolBarItem3.Text = "主数据"; toolBarItem4.IconID = "tongji"; toolBarItem4.Name = "统计"; toolBarItem4.SelectIconID = "tongji_sel"; toolBarItem4.Text = "统计"; toolBarItem5.IconID = "shezhi"; toolBarItem5.Name = "设置"; toolBarItem5.SelectIconID = "shezhi_sel"; toolBarItem5.Text = "设置"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4, toolBarItem5 }); this.toolBar.Location = new System.Drawing.Point(114, 25); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(100, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // MenuToolbar // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.toolBar }); this.Size = new System.Drawing.Size(0, 50); this.Name = "MenuToolbar"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); this.button1 = new Smobiler.Core.Controls.Button(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // button1 // this.button1.Location = new System.Drawing.Point(182, 150); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(100, 30); this.button1.Text = "button1"; // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; toolBarItem1.IconID = "底部导航条/功能2"; toolBarItem1.MessageText = "3"; toolBarItem1.Name = "functional"; toolBarItem1.SelectIconColor = System.Drawing.Color.Silver; toolBarItem1.SelectIconID = "底部导航条/功能"; toolBarItem2.IconID = "底部导航条/me"; toolBarItem2.Name = "My"; toolBarItem2.SelectIconColor = System.Drawing.Color.Silver; toolBarItem2.SelectIconID = "底部导航条/me2"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(192, 459); this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectedIndex = 0; this.toolBar1.Size = new System.Drawing.Size(100, 48); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // MyPage // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.button1, this.toolBar1 }); this.Load += new System.EventHandler(this.MyPage_Load); this.Name = "MyPage"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // toolBar1 // toolBarItem1.IconID = "home"; toolBarItem1.Name = "Home"; toolBarItem1.SelectIconID = "home_focus"; toolBarItem1.Text = "首页"; toolBarItem2.IconID = "canyin"; toolBarItem2.Name = "OrderFood"; toolBarItem2.SelectIconID = "canyin"; toolBarItem2.Text = "报餐"; toolBarItem3.IconID = "liebiao"; toolBarItem3.Name = "MyMeal"; toolBarItem3.SelectIconID = "liebiao"; toolBarItem3.Text = "我的菜单"; toolBarItem4.IconID = "company"; toolBarItem4.Name = "Mine"; toolBarItem4.SelectIconID = "company_focus"; toolBarItem4.Text = "我的"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4 }); this.toolBar1.Location = new System.Drawing.Point(117, 436); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); // // TabbarControl // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.toolBar1 }); this.Name = "TabbarControl"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Flex = 1; this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.Size = new System.Drawing.Size(0, 300); this.tabPageView1.PageIndexChanged += new System.EventHandler(this.tabPageView1_PageIndexChanged); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; this.toolBar.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar.ItemCount = 5; toolBarItem1.IconID = "cangku"; toolBarItem1.Name = "仓库"; toolBarItem1.SelectIconColor = System.Drawing.Color.DarkGray; toolBarItem1.SelectIconID = "cangku_sel"; toolBarItem1.Text = "仓库"; toolBarItem2.IconID = "dingdan"; toolBarItem2.Name = "订单"; toolBarItem2.SelectIconID = "dingdan_sel"; toolBarItem2.Text = "订单"; toolBarItem3.IconID = "shuju"; toolBarItem3.Name = "主数据"; toolBarItem3.SelectIconID = "shuju_sel"; toolBarItem3.Text = "主数据"; toolBarItem4.IconID = "tongji"; toolBarItem4.Name = "统计"; toolBarItem4.SelectIconID = "tongji_sel"; toolBarItem4.Text = "统计"; toolBarItem5.IconID = "shezhi"; toolBarItem5.Name = "设置"; toolBarItem5.SelectIconID = "shezhi_sel"; toolBarItem5.Text = "设置"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4, toolBarItem5 }); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(0, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // demoTabToolbar // this.ActionButton.Enabled = true; actionButtonItem1.ResourceID = "arrow-left"; actionButtonItem1.Text = "返回"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1 }); this.ActionButton.OffsetY = 62; this.BackColor = System.Drawing.Color.Transparent; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageView1, this.toolBar }); this.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.demoTabToolbar_ActionButtonPress); this.Load += new System.EventHandler(this.demoTabToolbar_Load); this.Name = "demoTabToolbar"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ListMenuViewGroup listMenuViewGroup2 = new Smobiler.Core.Controls.ListMenuViewGroup(); Smobiler.Core.Controls.ListMenuViewItem listMenuViewItem3 = new Smobiler.Core.Controls.ListMenuViewItem(); Smobiler.Core.Controls.ListMenuViewGroup listMenuViewGroup1 = new Smobiler.Core.Controls.ListMenuViewGroup(); Smobiler.Core.Controls.ListMenuViewItem listMenuViewItem1 = new Smobiler.Core.Controls.ListMenuViewItem(); Smobiler.Core.Controls.ListMenuViewItem listMenuViewItem2 = new Smobiler.Core.Controls.ListMenuViewItem(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.photoimage = new Smobiler.Core.Controls.Image(); this.namelabel = new Smobiler.Core.Controls.Label(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.listMenuView2 = new Smobiler.Core.Controls.ListMenuView(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.listMenuView1 = new Smobiler.Core.Controls.ListMenuView(); // // panel3 // this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.toolBar1, this.photoimage, this.namelabel, this.panel1, this.panel2 }); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(53, 87); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(300, 100); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.SeaShell; this.toolBar1.ForeColor = System.Drawing.Color.DimGray; toolBarItem1.IconColor = System.Drawing.Color.Transparent; toolBarItem1.IconID = "首页1"; toolBarItem1.Name = "menu"; toolBarItem1.SelectIconColor = System.Drawing.Color.Transparent; toolBarItem1.SelectIconID = "首页1"; toolBarItem1.Text = "主页"; toolBarItem2.IconColor = System.Drawing.Color.Transparent; toolBarItem2.IconID = "工人"; toolBarItem2.Name = "me"; toolBarItem2.SelectIconColor = System.Drawing.Color.Transparent; toolBarItem2.SelectIconID = "工人"; toolBarItem2.Text = "我"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.ItemWidth = 40; this.toolBar1.Location = new System.Drawing.Point(135, 490); this.toolBar1.MessageForeColor = System.Drawing.Color.White; this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectedIndex = 1; this.toolBar1.SelectForeColor = System.Drawing.Color.OrangeRed; this.toolBar1.Size = new System.Drawing.Size(100, 35); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // photoimage // this.photoimage.BorderRadius = 90; this.photoimage.DisplayMember = "img"; this.photoimage.Location = new System.Drawing.Point(109, 37); this.photoimage.Name = "photoimage"; this.photoimage.Size = new System.Drawing.Size(70, 70); this.photoimage.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover; // // namelabel // this.namelabel.Bold = true; this.namelabel.FontSize = 20F; this.namelabel.ForeColor = System.Drawing.Color.DimGray; this.namelabel.Location = new System.Drawing.Point(138, 107); this.namelabel.Name = "namelabel"; this.namelabel.Size = new System.Drawing.Size(74, 35); // // panel2 // this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listMenuView2 }); this.panel2.Location = new System.Drawing.Point(0, 184); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(300, 88); // // listMenuView2 // this.listMenuView2.Dock = System.Windows.Forms.DockStyle.Fill; this.listMenuView2.GroupBackColor = System.Drawing.Color.Transparent; this.listMenuView2.GroupFontSize = 14; this.listMenuView2.GroupForeColor = System.Drawing.Color.DimGray; listMenuViewGroup2.IconBorderRadius = 0; listMenuViewItem3.Content = "退出登录"; listMenuViewItem3.Icon = "叉"; listMenuViewItem3.IconColor = System.Drawing.Color.Transparent; listMenuViewItem3.Name = "exit"; listMenuViewGroup2.Items.AddRange(new Smobiler.Core.Controls.ListMenuViewItem[] { listMenuViewItem3 }); listMenuViewGroup2.ShowTitle = true; listMenuViewGroup2.Title = "设置"; this.listMenuView2.Groups.AddRange(new Smobiler.Core.Controls.ListMenuViewGroup[] { listMenuViewGroup2 }); this.listMenuView2.MenuItemHeight = 38; this.listMenuView2.Name = "listMenuView2"; this.listMenuView2.Size = new System.Drawing.Size(300, 59); this.listMenuView2.TextForeColor = System.Drawing.Color.DimGray; this.listMenuView2.ItemPress += new Smobiler.Core.Controls.ListMenuViewItemPressEventHandler(this.listMenuView2_ItemPress); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listMenuView1 }); this.panel1.Location = new System.Drawing.Point(0, 272); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 119); // // listMenuView1 // this.listMenuView1.Dock = System.Windows.Forms.DockStyle.Fill; this.listMenuView1.GroupBackColor = System.Drawing.Color.Transparent; this.listMenuView1.GroupFontSize = 14; this.listMenuView1.GroupForeColor = System.Drawing.Color.DimGray; listMenuViewGroup1.IconBorderRadius = 0; listMenuViewItem1.Content = " 上位机"; listMenuViewItem1.Icon = "机器人1"; listMenuViewItem1.IconColor = System.Drawing.Color.Transparent; listMenuViewItem1.Name = "serial"; listMenuViewItem2.Content = " 帮助"; listMenuViewItem2.Icon = "帮助"; listMenuViewItem2.IconColor = System.Drawing.Color.Transparent; listMenuViewItem2.Name = "help"; listMenuViewGroup1.Items.AddRange(new Smobiler.Core.Controls.ListMenuViewItem[] { listMenuViewItem1, listMenuViewItem2 }); listMenuViewGroup1.ShowTitle = true; listMenuViewGroup1.Title = "辅助功能"; this.listMenuView1.Groups.AddRange(new Smobiler.Core.Controls.ListMenuViewGroup[] { listMenuViewGroup1 }); this.listMenuView1.MenuItemHeight = 38; this.listMenuView1.Name = "listMenuView1"; this.listMenuView1.Size = new System.Drawing.Size(300, 102); this.listMenuView1.TextForeColor = System.Drawing.Color.DimGray; this.listMenuView1.ItemPress += new Smobiler.Core.Controls.ListMenuViewItemPressEventHandler(this.listMenuView1_ItemPress); // // myForm // this.BackgroundImage = "3.jpg"; this.BackgroundImageSizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel3 }); this.Load += new System.EventHandler(this.myForm_Load); this.Name = "myForm"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); this.iconMenuData = new Smobiler.Core.Controls.IconMenuView(); this.plTabBar = new Smobiler.Core.Controls.Panel(); this.plShenPi = new Smobiler.Core.Controls.Panel(); this.image2 = new Smobiler.Core.Controls.Image(); this.label1 = new Smobiler.Core.Controls.Label(); this.plFaQi = new Smobiler.Core.Controls.Panel(); this.image3 = new Smobiler.Core.Controls.Image(); this.label2 = new Smobiler.Core.Controls.Label(); this.plChaoSong = new Smobiler.Core.Controls.Panel(); this.image4 = new Smobiler.Core.Controls.Image(); this.label3 = new Smobiler.Core.Controls.Label(); this.menuTitle1 = new SmoONE.UI.Layout.MenuTitle(); this.spContent = new Smobiler.Core.Controls.Panel(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // iconMenuData // this.iconMenuData.ImageSizeMode = Smobiler.Core.Controls.ImageSizeMode.Default; this.iconMenuData.Location = new System.Drawing.Point(0, 70); this.iconMenuData.Name = "iconMenuData"; this.iconMenuData.Size = new System.Drawing.Size(300, 400); this.iconMenuData.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuData_ItemPress); // // plTabBar // this.plTabBar.BackColor = System.Drawing.Color.White; this.plTabBar.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plShenPi, this.plFaQi, this.plChaoSong }); this.plTabBar.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.plTabBar.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plTabBar.Name = "plTabBar"; this.plTabBar.Size = new System.Drawing.Size(300, 60); // // plShenPi // this.plShenPi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plShenPi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image2, this.label1 }); this.plShenPi.Flex = 1; this.plShenPi.Name = "plShenPi"; this.plShenPi.Size = new System.Drawing.Size(0, 0); this.plShenPi.Touchable = true; this.plShenPi.Press += new System.EventHandler(this.plShenPi_Press); // // image2 // this.image2.Location = new System.Drawing.Point(5, 15); this.image2.Name = "image2"; this.image2.ResourceID = "shenpi"; this.image2.Size = new System.Drawing.Size(30, 30); // // label1 // this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Location = new System.Drawing.Point(35, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 34); this.label1.Text = "待我审批"; // // plFaQi // this.plFaQi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plFaQi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image3, this.label2 }); this.plFaQi.Flex = 1; this.plFaQi.Name = "plFaQi"; this.plFaQi.Size = new System.Drawing.Size(0, 0); this.plFaQi.Touchable = true; this.plFaQi.Press += new System.EventHandler(this.plFaQi_Press); // // image3 // this.image3.Location = new System.Drawing.Point(5, 15); this.image3.Name = "image3"; this.image3.ResourceID = "wofaqi"; this.image3.Size = new System.Drawing.Size(30, 30); // // label2 // this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label2.Location = new System.Drawing.Point(35, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 34); this.label2.Text = "我发起的"; // // plChaoSong // this.plChaoSong.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image4, this.label3 }); this.plChaoSong.Flex = 1; this.plChaoSong.Name = "plChaoSong"; this.plChaoSong.Size = new System.Drawing.Size(0, 0); this.plChaoSong.Touchable = true; this.plChaoSong.Press += new System.EventHandler(this.plChaoSong_Press); // // image4 // this.image4.Location = new System.Drawing.Point(5, 15); this.image4.Name = "image4"; this.image4.ResourceID = "chaosong"; this.image4.Size = new System.Drawing.Size(30, 30); // // label3 // this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label3.Location = new System.Drawing.Point(35, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(65, 34); this.label3.Text = "抄送我的"; // // menuTitle1 // this.menuTitle1.Dock = System.Windows.Forms.DockStyle.Top; this.menuTitle1.Location = new System.Drawing.Point(100, 230); this.menuTitle1.Name = "menuTitle1"; this.menuTitle1.Size = new System.Drawing.Size(100, 50); this.menuTitle1.TitleText = "工作"; // // spContent // this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.iconMenuData, this.plTabBar }); this.spContent.Dock = System.Windows.Forms.DockStyle.Fill; this.spContent.Location = new System.Drawing.Point(74, 112); this.spContent.Name = "spContent"; this.spContent.Size = new System.Drawing.Size(100, 30); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; this.toolBar1.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar1.Dock = System.Windows.Forms.DockStyle.Bottom; toolBarItem1.IconID = "work2"; toolBarItem1.Name = "Work"; toolBarItem1.SelectIconID = "work2"; toolBarItem2.IconID = "me"; toolBarItem2.Name = "Me"; toolBarItem2.SelectIconID = "me"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(91, 373); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // frmWork // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.menuTitle1, this.spContent, this.toolBar1 }); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmWork_KeyDown); this.Load += new System.EventHandler(this.frmWork_Load); this.Name = "frmWork"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); this.title_defult = new Smobiler.Core.Controls.Title(); this.listView1 = new Smobiler.Core.Controls.ListView(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // title_defult // this.title_defult.BackColor = System.Drawing.Color.DodgerBlue; this.title_defult.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.title_defult.Location = new System.Drawing.Point(108, 58); this.title_defult.Name = "title_defult"; this.title_defult.ResourceID = "align-justify"; this.title_defult.Size = new System.Drawing.Size(100, 30); this.title_defult.Text = "新闻界面"; this.title_defult.ImagePress += new System.EventHandler(this.title_defult_ImagePress); // // listView1 // this.listView1.Location = new System.Drawing.Point(0, 30); this.listView1.Name = "listView1"; this.listView1.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.listView1.PageSizeTextSize = 11F; this.listView1.ShowSplitLine = true; this.listView1.Size = new System.Drawing.Size(300, 482); this.listView1.TemplateControlName = "Template_News"; // // toolBar1 // toolBarItem1.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem1.IconID = "ios-paper"; toolBarItem1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem1.Name = "News"; toolBarItem1.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem1.SelectIconID = "ios-paper"; toolBarItem1.Text = "新闻"; toolBarItem2.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem2.IconID = "bar-chart"; toolBarItem2.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem2.Name = "Hots"; toolBarItem2.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem2.SelectIconID = "bar-chart"; toolBarItem2.Text = "热搜"; toolBarItem3.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem3.IconID = "th-large"; toolBarItem3.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem3.Name = "Types"; toolBarItem3.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem3.SelectIconID = "th-large"; toolBarItem3.Text = "分类"; toolBarItem4.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem4.IconID = "ios-home"; toolBarItem4.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem4.Name = "Mine"; toolBarItem4.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem4.SelectIconID = "ios-home"; toolBarItem4.Text = "我"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4 }); this.toolBar1.ItemWidth = 25; this.toolBar1.Location = new System.Drawing.Point(46, 571); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 73); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // Form_Defult // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title_defult, this.listView1, this.toolBar1 }); this.DrawerName = "Template_Sides"; this.DrawerWidth = 200; this.Name = "Form_Defult"; this.Size = new System.Drawing.Size(300, 600); this.Load += new System.EventHandler(this.Form_Defult_Load); this.Name = "Form_Defult"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); this.cameraPortrait = new Smobiler.Core.Controls.Camera(); this.popSex = new Smobiler.Core.Controls.PopList(); this.plPortrait = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.imgPortrait = new Smobiler.Core.Controls.Image(); this.cameraButton1 = new Smobiler.Core.Controls.CameraButton(); this.plName = new Smobiler.Core.Controls.Panel(); this.label2 = new Smobiler.Core.Controls.Label(); this.btnName = new Smobiler.Core.Controls.Button(); this.btnName1 = new Smobiler.Core.Controls.Button(); this.plSex = new Smobiler.Core.Controls.Panel(); this.label3 = new Smobiler.Core.Controls.Label(); this.btnSex = new Smobiler.Core.Controls.Button(); this.btnSex1 = new Smobiler.Core.Controls.Button(); this.plBirthday = new Smobiler.Core.Controls.Panel(); this.label4 = new Smobiler.Core.Controls.Label(); this.dpkBirthday = new Smobiler.Core.Controls.DatePicker(); this.plEmail = new Smobiler.Core.Controls.Panel(); this.label5 = new Smobiler.Core.Controls.Label(); this.btnEmail = new Smobiler.Core.Controls.Button(); this.btnEmail1 = new Smobiler.Core.Controls.Button(); this.btnPwd = new Smobiler.Core.Controls.Button(); this.btnExit = new Smobiler.Core.Controls.Button(); this.menuTitle1 = new SmoONE.UI.Layout.MenuTitle(); this.spContent = new Smobiler.Core.Controls.Panel(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); // // cameraPortrait // this.cameraPortrait.Name = "cameraPortrait"; this.cameraPortrait.ImageCaptured += new Smobiler.Core.Controls.CameraOnlineCallBackHandler(this.cameraPortrait_ImageCaptured); // // popSex // this.popSex.Name = "popSex"; this.popSex.Selected += new System.EventHandler(this.popSex_Selected); // // plPortrait // this.plPortrait.BackColor = System.Drawing.Color.White; this.plPortrait.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F); this.plPortrait.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plPortrait.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.imgPortrait, this.cameraButton1 }); this.plPortrait.Name = "plPortrait"; this.plPortrait.Size = new System.Drawing.Size(300, 45); // // label1 // this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.ForeColor = System.Drawing.Color.Gray; this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(265, 45); this.label1.Text = "头像"; // // imgPortrait // this.imgPortrait.BorderRadius = 20; this.imgPortrait.Location = new System.Drawing.Point(224, 0); this.imgPortrait.Name = "imgPortrait"; this.imgPortrait.Size = new System.Drawing.Size(40, 40); this.imgPortrait.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover; this.imgPortrait.Visible = false; this.imgPortrait.Zooming = true; // // cameraButton1 // this.cameraButton1.AllowEdit = true; this.cameraButton1.DataMember = null; this.cameraButton1.DisplayFormat = null; this.cameraButton1.DisplayMember = null; this.cameraButton1.ImageBorderRadius = 18; this.cameraButton1.Location = new System.Drawing.Point(254, 4); this.cameraButton1.Name = "cameraButton1"; this.cameraButton1.ResourceID = "Camera"; this.cameraButton1.Size = new System.Drawing.Size(36, 36); this.cameraButton1.ImageCaptured += new Smobiler.Core.Controls.CameraOnlineCallBackHandler(this.cameraPortrait_ImageCaptured); // // plName // this.plName.BackColor = System.Drawing.Color.White; this.plName.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.plName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plName.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label2, this.btnName, this.btnName1 }); this.plName.Location = new System.Drawing.Point(0, 45); this.plName.Name = "plName"; this.plName.Size = new System.Drawing.Size(300, 45); // // label2 // this.label2.ForeColor = System.Drawing.Color.Gray; this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label2.Size = new System.Drawing.Size(265, 20); this.label2.Text = "昵称"; // // btnName // this.btnName.BackColor = System.Drawing.Color.Transparent; this.btnName.BorderRadius = 0; this.btnName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.btnName.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Left; this.btnName.Location = new System.Drawing.Point(0, 20); this.btnName.Name = "btnName"; this.btnName.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.btnName.Size = new System.Drawing.Size(265, 25); this.btnName.Press += new System.EventHandler(this.btnName_Press); // // btnName1 // this.btnName1.BackColor = System.Drawing.Color.Transparent; this.btnName1.BorderRadius = 0; this.btnName1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnName1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnName1.Location = new System.Drawing.Point(265, 0); this.btnName1.Name = "btnName1"; this.btnName1.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnName1.Size = new System.Drawing.Size(35, 45); this.btnName1.Text = ">"; this.btnName1.Press += new System.EventHandler(this.btnName_Press); // // plSex // this.plSex.BackColor = System.Drawing.Color.White; this.plSex.Border = new Smobiler.Core.Controls.Border(0F, 0F, 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.label3, this.btnSex, this.btnSex1 }); this.plSex.Location = new System.Drawing.Point(0, 90); this.plSex.Name = "plSex"; this.plSex.Size = new System.Drawing.Size(300, 45); // // label3 // this.label3.ForeColor = System.Drawing.Color.Gray; this.label3.Name = "label3"; this.label3.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label3.Size = new System.Drawing.Size(265, 20); this.label3.Text = "性别"; // // btnSex // this.btnSex.BackColor = System.Drawing.Color.Transparent; this.btnSex.BorderRadius = 0; this.btnSex.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.btnSex.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Left; this.btnSex.Location = new System.Drawing.Point(0, 20); this.btnSex.Name = "btnSex"; this.btnSex.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.btnSex.Size = new System.Drawing.Size(265, 25); this.btnSex.Press += new System.EventHandler(this.btnSex_Press); // // btnSex1 // this.btnSex1.BackColor = System.Drawing.Color.Transparent; this.btnSex1.BorderRadius = 0; this.btnSex1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnSex1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnSex1.Location = new System.Drawing.Point(265, 0); this.btnSex1.Name = "btnSex1"; this.btnSex1.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnSex1.Size = new System.Drawing.Size(35, 45); this.btnSex1.Text = ">"; this.btnSex1.Press += new System.EventHandler(this.btnSex_Press); // // 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, 135); this.plBirthday.Name = "plBirthday"; this.plBirthday.Size = new System.Drawing.Size(300, 45); // // label4 // this.label4.ForeColor = System.Drawing.Color.Gray; this.label4.Name = "label4"; this.label4.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label4.Size = new System.Drawing.Size(300, 20); this.label4.Text = "生日"; // // dpkBirthday // this.dpkBirthday.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.dpkBirthday.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Left; this.dpkBirthday.Location = new System.Drawing.Point(0, 20); this.dpkBirthday.Name = "dpkBirthday"; this.dpkBirthday.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 4F, 0F); this.dpkBirthday.Size = new System.Drawing.Size(300, 25); this.dpkBirthday.Value = new System.DateTime(2017, 8, 10, 14, 32, 56, 666); this.dpkBirthday.ValueChanged += new System.EventHandler(this.dpkBirthday_DateChanged); // // 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.label5, this.btnEmail, this.btnEmail1 }); this.plEmail.Location = new System.Drawing.Point(0, 180); this.plEmail.Name = "plEmail"; this.plEmail.Size = new System.Drawing.Size(300, 45); // // label5 // this.label5.ForeColor = System.Drawing.Color.Gray; this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label5.Size = new System.Drawing.Size(265, 20); this.label5.Text = "邮件"; // // btnEmail // this.btnEmail.BackColor = System.Drawing.Color.Transparent; this.btnEmail.BorderRadius = 0; this.btnEmail.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.btnEmail.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Left; this.btnEmail.Location = new System.Drawing.Point(0, 20); this.btnEmail.Name = "btnEmail"; this.btnEmail.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.btnEmail.Size = new System.Drawing.Size(265, 25); this.btnEmail.Press += new System.EventHandler(this.btnEmail_Press); // // btnEmail1 // this.btnEmail1.BackColor = System.Drawing.Color.Transparent; this.btnEmail1.BorderRadius = 0; this.btnEmail1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99))))); this.btnEmail1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.btnEmail1.Location = new System.Drawing.Point(265, 0); this.btnEmail1.Name = "btnEmail1"; this.btnEmail1.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F); this.btnEmail1.Size = new System.Drawing.Size(35, 45); this.btnEmail1.Text = ">"; this.btnEmail1.Press += new System.EventHandler(this.btnEmail_Press); // // btnPwd // this.btnPwd.BackColor = System.Drawing.Color.White; this.btnPwd.BorderColor = System.Drawing.Color.LightGray; this.btnPwd.BorderRadius = 0; this.btnPwd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.btnPwd.Location = new System.Drawing.Point(0, 235); this.btnPwd.Name = "btnPwd"; this.btnPwd.Size = new System.Drawing.Size(300, 35); this.btnPwd.Text = "密码修改"; this.btnPwd.Press += new System.EventHandler(this.btnPwd_Press); // // btnExit // this.btnExit.BackColor = System.Drawing.Color.White; this.btnExit.BorderRadius = 0; this.btnExit.ForeColor = System.Drawing.Color.Red; this.btnExit.Location = new System.Drawing.Point(0, 280); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(300, 35); this.btnExit.Text = "退出登录"; this.btnExit.Press += new System.EventHandler(this.btnExit_Press); // // menuTitle1 // this.menuTitle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); this.menuTitle1.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.menuTitle1.Dock = System.Windows.Forms.DockStyle.Top; this.menuTitle1.Location = new System.Drawing.Point(75, 67); this.menuTitle1.Name = "menuTitle1"; this.menuTitle1.Size = new System.Drawing.Size(100, 50); this.menuTitle1.TemplateData = null; this.menuTitle1.TemplateItem = null; this.menuTitle1.TitleText = "我的"; // // spContent // this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plPortrait, this.plName, this.plSex, this.plBirthday, this.plEmail, this.btnPwd, this.btnExit }); this.spContent.Dock = System.Windows.Forms.DockStyle.Fill; this.spContent.Location = new System.Drawing.Point(138, 123); this.spContent.Margin = new Smobiler.Core.Controls.Margin(0F, 10F, 0F, 0F); this.spContent.Name = "spContent"; this.spContent.Scrollable = true; this.spContent.Size = new System.Drawing.Size(100, 30); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; toolBarItem3.IconID = "work"; toolBarItem3.Name = "Work"; toolBarItem3.SelectIconID = "work"; toolBarItem4.IconID = "me2"; toolBarItem4.Name = "Me"; toolBarItem4.SelectIconID = "me2"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem3, toolBarItem4 }); this.toolBar.Location = new System.Drawing.Point(98, 285); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(100, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // frmUser // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.cameraPortrait, this.popSex }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.menuTitle1, this.spContent, this.toolBar }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmUser_KeyDown); this.Load += new System.EventHandler(this.frmUser_Load); this.Name = "frmUser"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); this.title1 = new Smobiler.Core.Controls.Title(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.spContent = new Smobiler.Core.Controls.Panel(); this.iconMenuData = new Smobiler.Core.Controls.IconMenuView(); this.plTabBar = new Smobiler.Core.Controls.Panel(); this.plShenPi = new Smobiler.Core.Controls.Panel(); this.imgbtnShenPi = new Smobiler.Core.Controls.ImageButton(); this.plFaQi = new Smobiler.Core.Controls.Panel(); this.image3 = new Smobiler.Core.Controls.Image(); this.label2 = new Smobiler.Core.Controls.Label(); this.plChaoSong = new Smobiler.Core.Controls.Panel(); this.image4 = new Smobiler.Core.Controls.Image(); this.label3 = new Smobiler.Core.Controls.Label(); this.swipeView1 = new Smobiler.Core.Controls.SwipeView(); // // title1 // this.title1.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.title1.Name = "title1"; this.title1.Padding = new Smobiler.Core.Controls.Padding(10F, 0F, 0F, 0F); this.title1.ResourceID = "list-ul"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.Text = "工作"; this.title1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; this.toolBar1.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); toolBarItem1.IconID = "work2"; toolBarItem1.MessageText = "2"; toolBarItem1.Name = "Work"; toolBarItem1.SelectIconID = "work2"; toolBarItem2.IconID = "me"; toolBarItem2.Name = "Me"; toolBarItem2.SelectIconID = "me"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(91, 373); this.toolBar1.MessageFontSize = 10; this.toolBar1.MessageForeColor = System.Drawing.Color.White; this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // spContent // this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.iconMenuData, this.plTabBar }); this.spContent.Dock = System.Windows.Forms.DockStyle.Fill; this.spContent.Location = new System.Drawing.Point(74, 112); this.spContent.Name = "spContent"; this.spContent.Scrollable = true; this.spContent.Size = new System.Drawing.Size(100, 30); // // iconMenuData // this.iconMenuData.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.iconMenuData.Location = new System.Drawing.Point(0, 70); this.iconMenuData.MenuItemHeight = 75; this.iconMenuData.Name = "iconMenuData"; this.iconMenuData.Size = new System.Drawing.Size(300, 300); this.iconMenuData.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuData_ItemPress); // // plTabBar // this.plTabBar.BackColor = System.Drawing.Color.White; this.plTabBar.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.plShenPi, this.plFaQi, this.plChaoSong }); this.plTabBar.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.plTabBar.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.plTabBar.Name = "plTabBar"; this.plTabBar.Size = new System.Drawing.Size(300, 60); // // plShenPi // this.plShenPi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plShenPi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.imgbtnShenPi }); this.plShenPi.Flex = 1; this.plShenPi.Name = "plShenPi"; this.plShenPi.Size = new System.Drawing.Size(0, 0); this.plShenPi.Touchable = true; this.plShenPi.Press += new System.EventHandler(this.plShenPi_Press); // // imgbtnShenPi // this.imgbtnShenPi.DataMember = null; this.imgbtnShenPi.DisplayFormat = null; this.imgbtnShenPi.DisplayMember = null; this.imgbtnShenPi.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.imgbtnShenPi.ImageDirection = Smobiler.Core.Controls.Direction.Left; this.imgbtnShenPi.ImgTextRatio = new Smobiler.Core.Controls.Ratio(3, 7); this.imgbtnShenPi.Location = new System.Drawing.Point(5, 15); this.imgbtnShenPi.Name = "imgbtnShenPi"; this.imgbtnShenPi.ResourceID = "shenpi"; this.imgbtnShenPi.Size = new System.Drawing.Size(90, 30); this.imgbtnShenPi.Text = "待我审批"; this.imgbtnShenPi.Press += new System.EventHandler(this.plShenPi_Press); // // plFaQi // this.plFaQi.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.plFaQi.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image3, this.label2 }); this.plFaQi.Flex = 1; this.plFaQi.Name = "plFaQi"; this.plFaQi.Size = new System.Drawing.Size(0, 0); this.plFaQi.Touchable = true; this.plFaQi.Press += new System.EventHandler(this.plFaQi_Press); // // image3 // this.image3.Location = new System.Drawing.Point(5, 17); this.image3.Name = "image3"; this.image3.ResourceID = "wofaqi"; this.image3.Size = new System.Drawing.Size(20, 25); // // label2 // this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label2.Location = new System.Drawing.Point(25, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(75, 34); this.label2.Text = "我发起的"; // // plChaoSong // this.plChaoSong.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image4, this.label3 }); this.plChaoSong.Flex = 1; this.plChaoSong.Name = "plChaoSong"; this.plChaoSong.Size = new System.Drawing.Size(0, 0); this.plChaoSong.Touchable = true; this.plChaoSong.Press += new System.EventHandler(this.plChaoSong_Press); // // image4 // this.image4.Location = new System.Drawing.Point(5, 17); this.image4.Name = "image4"; this.image4.ResourceID = "chaosong"; this.image4.Size = new System.Drawing.Size(20, 25); // // label3 // this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label3.Location = new System.Drawing.Point(25, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(75, 34); this.label3.Text = "抄送我的"; // // swipeView1 // this.swipeView1.Name = "swipeView1"; this.swipeView1.Size = new System.Drawing.Size(0, 0); // // frmWork // this.ActionButton.AutoInactive = false; this.ActionButton.Enabled = true; this.ActionButton.ImageSize = 24; actionButtonItem1.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(206)))), ((int)(((byte)(248))))); actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem1.ResourceID = "action1"; actionButtonItem1.Text = "请假"; actionButtonItem1.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); actionButtonItem2.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(231)))), ((int)(((byte)(171))))); actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem2.ResourceID = "action2"; actionButtonItem2.Text = "消费明细"; actionButtonItem2.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); actionButtonItem3.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(195)))), ((int)(((byte)(154))))); actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Image; actionButtonItem3.ResourceID = "action3"; actionButtonItem3.Text = "报销"; actionButtonItem3.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(152)))), ((int)(((byte)(219))))); this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3 }); this.ActionButton.MainButton.ButtonCorlor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(187)))), ((int)(((byte)(255))))); this.ActionButton.OffsetY = 50; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.toolBar1, this.spContent }); this.DrawerName = "SmoONE.UI.Layout.LeftPage"; this.DrawerWidth = 260; this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmWork_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmWork_ActionButtonPress); this.Load += new System.EventHandler(this.frmWork_Load); this.Name = "frmWork"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem7 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem8 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem9 = new Smobiler.Core.Controls.ToolBarItem(); this.label1 = new Smobiler.Core.Controls.Label(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.user_Picture = new Smobiler.Core.Controls.Image(); this.user_Name = new Smobiler.Core.Controls.Label(); this.user_Phone = new Smobiler.Core.Controls.Label(); this.btn_JiFen = new Smobiler.Core.Controls.ImageButton(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.imageButton2 = new Smobiler.Core.Controls.ImageButton(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.label2 = new Smobiler.Core.Controls.Label(); this.btn_SetUp = new Smobiler.Core.Controls.ImageButton(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.imgbtn_address = new Smobiler.Core.Controls.ImageButton(); this.label3 = new Smobiler.Core.Controls.Label(); // // label1 // this.label1.Bold = true; this.label1.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted; this.label1.FontSize = 20F; this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(300, 35); this.label1.Text = "我的"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.user_Picture, this.user_Name, this.user_Phone, this.btn_JiFen, this.imageButton1, this.imageButton2 }); this.panel1.Location = new System.Drawing.Point(0, 35); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 183); // // user_Picture // this.user_Picture.BorderRadius = 100; this.user_Picture.Location = new System.Drawing.Point(18, 29); this.user_Picture.Name = "user_Picture"; this.user_Picture.ResourceID = "user"; this.user_Picture.Size = new System.Drawing.Size(60, 60); this.user_Picture.SizeMode = Smobiler.Core.Controls.ImageSizeMode.Default; // // user_Name // this.user_Name.FontSize = 18F; this.user_Name.ForeColor = System.Drawing.Color.White; this.user_Name.Location = new System.Drawing.Point(87, 22); this.user_Name.Name = "user_Name"; this.user_Name.Size = new System.Drawing.Size(100, 35); this.user_Name.Text = "Cui Jie"; // // user_Phone // this.user_Phone.FontSize = 18F; this.user_Phone.ForeColor = System.Drawing.Color.White; this.user_Phone.Location = new System.Drawing.Point(87, 57); this.user_Phone.Name = "user_Phone"; this.user_Phone.Size = new System.Drawing.Size(100, 35); this.user_Phone.Text = "159****4167"; // // btn_JiFen // this.btn_JiFen.ForeColor = System.Drawing.Color.White; this.btn_JiFen.Location = new System.Drawing.Point(42, 123); this.btn_JiFen.Name = "btn_JiFen"; this.btn_JiFen.Size = new System.Drawing.Size(35, 35); this.btn_JiFen.Text = "1171积分"; this.btn_JiFen.Press += new System.EventHandler(this.btn_JiFen_Press); // // imageButton1 // this.imageButton1.ForeColor = System.Drawing.Color.White; this.imageButton1.Location = new System.Drawing.Point(130, 123); this.imageButton1.Name = "imageButton1"; this.imageButton1.Size = new System.Drawing.Size(35, 35); this.imageButton1.Text = "2 优惠券"; // // imageButton2 // this.imageButton2.ForeColor = System.Drawing.Color.White; this.imageButton2.Location = new System.Drawing.Point(212, 118); this.imageButton2.Name = "imageButton2"; this.imageButton2.Size = new System.Drawing.Size(58, 50); this.imageButton2.Text = "¥168 钱包·充值"; this.imageButton2.Press += new System.EventHandler(this.imageButton2_Press); // // toolBar1 // toolBarItem7.IconID = "home"; toolBarItem7.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem7.Name = "Home"; toolBarItem7.SelectIconColor = System.Drawing.Color.Red; toolBarItem7.SelectIconID = "home"; toolBarItem7.Text = "主页"; toolBarItem8.IconID = "file-text-o"; toolBarItem8.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem8.Name = "Order"; toolBarItem8.SelectIconColor = System.Drawing.Color.Red; toolBarItem8.SelectIconID = "file-text-o"; toolBarItem8.Text = "订单"; toolBarItem9.IconID = "user"; toolBarItem9.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem9.Name = "My"; toolBarItem9.SelectIconColor = System.Drawing.Color.Red; toolBarItem9.SelectIconID = "user"; toolBarItem9.Text = "我的"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem7, toolBarItem8, toolBarItem9 }); this.toolBar1.ItemWidth = 40; this.toolBar1.Location = new System.Drawing.Point(162, 459); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // panel2 // this.panel2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.panel2.BorderColor = System.Drawing.Color.LightGray; this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label2, this.btn_SetUp }); this.panel2.Location = new System.Drawing.Point(0, 218); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(300, 62); // // label2 // this.label2.FontSize = 20F; this.label2.Location = new System.Drawing.Point(11, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 35); this.label2.Text = "设置"; // // btn_SetUp // this.btn_SetUp.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.btn_SetUp.Location = new System.Drawing.Point(241, 16); this.btn_SetUp.Name = "btn_SetUp"; this.btn_SetUp.ResourceID = "angle-right"; this.btn_SetUp.Size = new System.Drawing.Size(35, 35); this.btn_SetUp.Press += new System.EventHandler(this.btn_SetUp_Press); // // panel3 // this.panel3.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.panel3.BorderColor = System.Drawing.Color.LightGray; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label3, this.imgbtn_address }); this.panel3.Location = new System.Drawing.Point(0, 280); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(300, 62); // // imgbtn_address // this.imgbtn_address.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.imgbtn_address.Location = new System.Drawing.Point(241, 17); this.imgbtn_address.Name = "imgbtn_address"; this.imgbtn_address.ResourceID = "angle-right"; this.imgbtn_address.Size = new System.Drawing.Size(35, 35); // // label3 // this.label3.FontSize = 20F; this.label3.Location = new System.Drawing.Point(10, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(100, 35); this.label3.Text = "收货地址"; // // SmobilerMyForm // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.panel1, this.toolBar1, this.panel2, this.panel3 }); this.Load += new System.EventHandler(this.SmobilerMyForm_Load); this.Name = "SmobilerMyForm"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); this.title1 = new Smobiler.Core.Controls.Title(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.btn_stop = new Smobiler.Core.Controls.Button(); this.btn_start = new Smobiler.Core.Controls.Button(); // // title1 // this.title1.BackColor = System.Drawing.Color.DodgerBlue; this.title1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.title1.Location = new System.Drawing.Point(16, 0); this.title1.Name = "title1"; this.title1.ResourceID = "align-justify"; this.title1.Size = new System.Drawing.Size(100, 30); this.title1.Text = "热搜"; this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress); // // toolBar1 // toolBarItem1.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem1.IconID = "ios-paper"; toolBarItem1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem1.Name = "News"; toolBarItem1.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem1.SelectIconID = "ios-paper"; toolBarItem1.Text = "新闻"; toolBarItem2.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem2.IconID = "bar-chart"; toolBarItem2.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem2.Name = "Hots"; toolBarItem2.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem2.SelectIconID = "bar-chart"; toolBarItem2.Text = "热搜"; toolBarItem3.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem3.IconID = "th-large"; toolBarItem3.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem3.Name = "Types"; toolBarItem3.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem3.SelectIconID = "th-large"; toolBarItem3.Text = "分类"; toolBarItem4.IconColor = System.Drawing.Color.LightSkyBlue; toolBarItem4.IconID = "ios-home"; toolBarItem4.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem4.Name = "Mine"; toolBarItem4.SelectIconColor = System.Drawing.Color.DodgerBlue; toolBarItem4.SelectIconID = "ios-home"; toolBarItem4.Text = "我"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4 }); this.toolBar1.ItemWidth = 25; this.toolBar1.Location = new System.Drawing.Point(46, 571); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 46); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // btn_stop // this.btn_stop.BorderRadius = 30; this.btn_stop.Location = new System.Drawing.Point(240, 450); this.btn_stop.Name = "btn_stop"; this.btn_stop.Size = new System.Drawing.Size(50, 50); this.btn_stop.Text = "闭嘴"; this.btn_stop.Press += new System.EventHandler(this.btn_stop_Press); // // btn_start // this.btn_start.BorderRadius = 30; this.btn_start.Location = new System.Drawing.Point(240, 386); this.btn_start.Name = "btn_start"; this.btn_start.Size = new System.Drawing.Size(50, 50); this.btn_start.Text = "苏喂"; this.btn_start.Press += new System.EventHandler(this.btn_start_Press); // // Form_Hots // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.toolBar1, this.btn_stop, this.btn_start }); this.DrawerName = "Template_Sides_Hot"; this.Size = new System.Drawing.Size(300, 600); this.Load += new System.EventHandler(this.Form_Hots_Load); this.Name = "Form_Hots"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem(); Smobiler.Core.Controls.ActionButtonItem actionButtonItem4 = new Smobiler.Core.Controls.ActionButtonItem(); this.toolBar = new Smobiler.Core.Controls.ToolBar(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); // // toolBar // this.toolBar.BackColor = System.Drawing.Color.White; this.toolBar.Border = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F); this.toolBar.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.toolBar.ItemCount = 5; toolBarItem1.IconID = "cangku"; toolBarItem1.Name = "仓库"; toolBarItem1.SelectIconID = "cangku_sel"; toolBarItem1.Text = "仓库"; toolBarItem2.IconID = "dingdan"; toolBarItem2.Name = "订单"; toolBarItem2.SelectIconID = "dingdan_sel"; toolBarItem2.Text = "订单"; toolBarItem3.IconID = "shuju"; toolBarItem3.Name = "主数据"; toolBarItem3.SelectIconID = "shuju_sel"; toolBarItem3.Text = "主数据"; toolBarItem4.IconID = "tongji"; toolBarItem4.Name = "统计"; toolBarItem4.SelectIconID = "tongji_sel"; toolBarItem4.Text = "统计"; toolBarItem5.IconID = "shezhi"; toolBarItem5.Name = "设置"; toolBarItem5.SelectIconID = "shezhi_sel"; toolBarItem5.Text = "设置"; this.toolBar.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4, toolBarItem5 }); this.toolBar.Location = new System.Drawing.Point(114, 25); this.toolBar.Name = "toolBar"; this.toolBar.Size = new System.Drawing.Size(100, 50); this.toolBar.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar_ToolbarItemClick); // // tabPageView1 // this.tabPageView1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabPageView1.Location = new System.Drawing.Point(80, 88); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.ScrollEnabled = false; this.tabPageView1.Size = new System.Drawing.Size(300, 300); this.tabPageView1.PageIndexChanged += new System.EventHandler(this.tabPageView1_PageIndexChanged); // // frmToolBarMenu // actionButtonItem1.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem1.Text = "资产采购新增"; actionButtonItem2.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem2.Text = "资产销售新增"; actionButtonItem3.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem3.Text = "耗材采购新增"; actionButtonItem4.ImageType = Smobiler.Core.Controls.ActionButtonImageType.Text; actionButtonItem4.Text = "耗材销售新增"; this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] { actionButtonItem1, actionButtonItem2, actionButtonItem3, actionButtonItem4 }); this.ActionButton.OffsetY = 50; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.toolBar, this.tabPageView1 }); this.Statusbar = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))))); this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmToolBarMenu_KeyDown); this.ActionButtonPress += new Smobiler.Core.Controls.ActionButtonPressEventHandler(this.frmToolBarMenu_ActionButtonPress); this.Load += new System.EventHandler(this.frmToolBarMenu_Load); this.Name = "frmToolBarMenu"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.MenuLeftBtn = new Smobiler.Core.Controls.ImageButton(); this.button1 = new Smobiler.Core.Controls.Button(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.gridView1 = new Smobiler.Core.Controls.GridView(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.MenuLeftBtn, this.button1 }); this.panel1.ItemAlign = Smobiler.Core.Controls.LayoutItemAlign.Center; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(400, 45); // // label1 // this.label1.BackColor = System.Drawing.Color.SkyBlue; this.label1.FontSize = 18F; this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Name = "label1"; this.label1.SelfAlign = Smobiler.Core.Controls.LayoutSelfAlign.Center; this.label1.Size = new System.Drawing.Size(300, 50); this.label1.Text = "发起问卷"; // // MenuLeftBtn // this.MenuLeftBtn.Name = "MenuLeftBtn"; this.MenuLeftBtn.ResourceID = "MenuLeft.png"; this.MenuLeftBtn.ResourcePath = "..\\..\\Source\\Images\\LoginBackGround\\"; this.MenuLeftBtn.Size = new System.Drawing.Size(45, 45); this.MenuLeftBtn.Press += new System.EventHandler(this.imageButton1_Press); // // button1 // this.button1.Location = new System.Drawing.Point(205, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(54, 30); this.button1.Text = "返回"; this.button1.Press += new System.EventHandler(this.button1_Press); // // panel2 // this.panel2.BackColor = System.Drawing.Color.LightGray; this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.gridView1 }); this.panel2.Location = new System.Drawing.Point(0, 45); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(334, 407); // // gridView1 // this.gridView1.BackColor = System.Drawing.Color.White; this.gridView1.BorderColor = System.Drawing.Color.Transparent; this.gridView1.BorderRadius = 3; this.gridView1.ColumnNum = 2; this.gridView1.GridLineColor = System.Drawing.Color.Transparent; this.gridView1.Location = new System.Drawing.Point(0, 19); this.gridView1.Name = "gridView1"; this.gridView1.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.gridView1.PageSizeTextSize = 11F; this.gridView1.SelfAlign = Smobiler.Core.Controls.LayoutSelfAlign.Center; this.gridView1.ShowGridLine = true; this.gridView1.Size = new System.Drawing.Size(300, 368); this.gridView1.TemplateControlName = "InitiatingQuestionnaireControl"; // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; toolBarItem3.IconID = "底部导航条/功能"; toolBarItem3.MessageText = "3"; toolBarItem3.Name = "functional"; toolBarItem3.SelectIconColor = System.Drawing.Color.Silver; toolBarItem3.SelectIconID = "底部导航条/功能2"; toolBarItem4.IconID = "底部导航条/me"; toolBarItem4.Name = "My"; toolBarItem4.SelectIconColor = System.Drawing.Color.Silver; toolBarItem4.SelectIconID = "底部导航条/me2"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem3, toolBarItem4 }); this.toolBar1.Location = new System.Drawing.Point(192, 459); this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectedIndex = 0; this.toolBar1.Size = new System.Drawing.Size(100, 48); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // InitiatingQuestionnaire // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel1, this.panel2, this.toolBar1 }); this.Load += new System.EventHandler(this.InitiatingQuestionnaire_Load); this.Name = "InitiatingQuestionnaire"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.MenuLeftBtn = new Smobiler.Core.Controls.ImageButton(); this.button1 = new Smobiler.Core.Controls.Button(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.iconMenuData = new Smobiler.Core.Controls.IconMenuView(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.barcodeScanner1 = new Smobiler.Core.Controls.BarcodeScanner(); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.MenuLeftBtn, this.button1 }); this.panel1.ItemAlign = Smobiler.Core.Controls.LayoutItemAlign.Center; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(400, 45); // // label1 // this.label1.BackColor = System.Drawing.Color.SkyBlue; this.label1.FontSize = 18F; this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Name = "label1"; this.label1.SelfAlign = Smobiler.Core.Controls.LayoutSelfAlign.Center; this.label1.Size = new System.Drawing.Size(300, 50); this.label1.Text = "主页"; // // MenuLeftBtn // this.MenuLeftBtn.Name = "MenuLeftBtn"; this.MenuLeftBtn.ResourceID = "MenuLeft.png"; this.MenuLeftBtn.ResourcePath = "..\\..\\Source\\Images\\LoginBackGround\\"; this.MenuLeftBtn.Size = new System.Drawing.Size(45, 45); this.MenuLeftBtn.Press += new System.EventHandler(this.imageButton1_Press); // // button1 // this.button1.Location = new System.Drawing.Point(200, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(58, 30); this.button1.Text = "扫一扫"; this.button1.Press += new System.EventHandler(this.button1_Press); // // panel2 // this.panel2.BackColor = System.Drawing.Color.LightGray; this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.iconMenuData }); this.panel2.Location = new System.Drawing.Point(0, 45); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(306, 407); // // iconMenuData // this.iconMenuData.Border = new Smobiler.Core.Controls.Border(1F); this.iconMenuData.ColumnNum = 3; this.iconMenuData.Location = new System.Drawing.Point(0, 18); this.iconMenuData.Name = "iconMenuData"; this.iconMenuData.Size = new System.Drawing.Size(300, 368); this.iconMenuData.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuView1_ItemPress); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; toolBarItem1.IconID = "底部导航条/功能"; toolBarItem1.MessageText = "3"; toolBarItem1.Name = "functional"; toolBarItem1.SelectIconColor = System.Drawing.Color.Silver; toolBarItem1.SelectIconID = "底部导航条/功能2"; toolBarItem2.IconID = "底部导航条/me"; toolBarItem2.Name = "My"; toolBarItem2.SelectIconColor = System.Drawing.Color.Silver; toolBarItem2.SelectIconID = "底部导航条/me2"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(192, 459); this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectedIndex = 0; this.toolBar1.Size = new System.Drawing.Size(100, 48); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // barcodeScanner1 // this.barcodeScanner1.Name = "barcodeScanner1"; this.barcodeScanner1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScanner1_BarcodeScanned); // // MainPage // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.barcodeScanner1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel1, this.panel2, this.toolBar1 }); this.DrawerName = "MenuLeft"; this.Load += new System.EventHandler(this.MainPage_Load); this.Name = "MainPage"; }
private void InitializeComponent() { Smobiler.Core.Controls.IconMenuViewGroup iconMenuViewGroup1 = new Smobiler.Core.Controls.IconMenuViewGroup(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem1 = new Smobiler.Core.Controls.IconMenuViewItem(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem2 = new Smobiler.Core.Controls.IconMenuViewItem(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem3 = new Smobiler.Core.Controls.IconMenuViewItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.IconMenuViewGroup iconMenuViewGroup2 = new Smobiler.Core.Controls.IconMenuViewGroup(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem4 = new Smobiler.Core.Controls.IconMenuViewItem(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem5 = new Smobiler.Core.Controls.IconMenuViewItem(); Smobiler.Core.Controls.IconMenuViewItem iconMenuViewItem6 = new Smobiler.Core.Controls.IconMenuViewItem(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.iconMenuView1 = new Smobiler.Core.Controls.IconMenuView(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.iconMenuView2 = new Smobiler.Core.Controls.IconMenuView(); this.pageView1 = new Smobiler.Core.Controls.PageView(); // // panel1 // this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.iconMenuView1, this.toolBar1, this.imageButton1, this.iconMenuView2, this.pageView1 }); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(148, 33); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(300, 100); // // iconMenuView1 // this.iconMenuView1.BackColor = System.Drawing.Color.Transparent; this.iconMenuView1.ColumnNum = 3; this.iconMenuView1.ForeColor = System.Drawing.Color.DimGray; this.iconMenuView1.GroupBackColor = System.Drawing.Color.Transparent; this.iconMenuView1.GroupForeColor = System.Drawing.Color.DimGray; iconMenuViewGroup1.FontSize = 0F; iconMenuViewGroup1.IconBorderRadius = 0; iconMenuViewGroup1.ItemHeight = 0; iconMenuViewItem1.Icon = "摄氏度"; iconMenuViewItem1.ID = "摄氏度"; iconMenuViewItem1.Text = "温湿度"; iconMenuViewItem2.Icon = "提醒"; iconMenuViewItem2.ID = "提醒"; iconMenuViewItem2.Text = "历史报警情况"; iconMenuViewItem3.Icon = "提示"; iconMenuViewItem3.ID = "提示"; iconMenuViewItem3.Text = "当前设定阈值"; iconMenuViewGroup1.Items.AddRange(new Smobiler.Core.Controls.IconMenuViewItem[] { iconMenuViewItem1, iconMenuViewItem2, iconMenuViewItem3 }); iconMenuViewGroup1.ShowTitle = true; iconMenuViewGroup1.Text = "温湿度"; this.iconMenuView1.Groups.AddRange(new Smobiler.Core.Controls.IconMenuViewGroup[] { iconMenuViewGroup1 }); this.iconMenuView1.ItemWidth = 47; this.iconMenuView1.Location = new System.Drawing.Point(0, 263); this.iconMenuView1.MenuItemHeight = 50; this.iconMenuView1.MessageForeColor = System.Drawing.Color.White; this.iconMenuView1.Name = "iconMenuView1"; this.iconMenuView1.Size = new System.Drawing.Size(300, 87); this.iconMenuView1.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuView1_ItemPress); // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.SeaShell; this.toolBar1.ForeColor = System.Drawing.Color.DimGray; toolBarItem1.IconColor = System.Drawing.Color.Transparent; toolBarItem1.IconID = "首页1"; toolBarItem1.Name = "menu"; toolBarItem1.SelectIconColor = System.Drawing.Color.Transparent; toolBarItem1.SelectIconID = "首页1"; toolBarItem1.Text = "主页"; toolBarItem2.IconColor = System.Drawing.Color.Transparent; toolBarItem2.IconID = "工人"; toolBarItem2.Name = "me"; toolBarItem2.SelectIconColor = System.Drawing.Color.Transparent; toolBarItem2.SelectIconID = "工人"; toolBarItem2.Text = "我"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.ItemWidth = 40; this.toolBar1.Location = new System.Drawing.Point(105, 474); this.toolBar1.MessageForeColor = System.Drawing.Color.White; this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectedIndex = 0; this.toolBar1.SelectForeColor = System.Drawing.Color.OrangeRed; this.toolBar1.Size = new System.Drawing.Size(100, 35); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // imageButton1 // this.imageButton1.Location = new System.Drawing.Point(16, 37); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "Arrow - Left"; this.imageButton1.Size = new System.Drawing.Size(40, 40); this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // iconMenuView2 // this.iconMenuView2.BackColor = System.Drawing.Color.Transparent; this.iconMenuView2.ColumnNum = 3; this.iconMenuView2.ForeColor = System.Drawing.Color.DimGray; this.iconMenuView2.GroupBackColor = System.Drawing.Color.Transparent; this.iconMenuView2.GroupForeColor = System.Drawing.Color.DimGray; iconMenuViewGroup2.FontSize = 0F; iconMenuViewGroup2.IconBorderRadius = 0; iconMenuViewGroup2.ItemHeight = 0; iconMenuViewItem4.Icon = "水"; iconMenuViewItem4.ID = "水"; iconMenuViewItem4.Text = "当前水位和等级"; iconMenuViewItem5.Icon = "提醒"; iconMenuViewItem5.ID = "提醒"; iconMenuViewItem5.Text = "历史报警情况"; iconMenuViewItem6.Icon = "提示"; iconMenuViewItem6.ID = "提示"; iconMenuViewItem6.Text = "当前设定阈值"; iconMenuViewGroup2.Items.AddRange(new Smobiler.Core.Controls.IconMenuViewItem[] { iconMenuViewItem4, iconMenuViewItem5, iconMenuViewItem6 }); iconMenuViewGroup2.ShowTitle = true; iconMenuViewGroup2.Text = "水位"; this.iconMenuView2.Groups.AddRange(new Smobiler.Core.Controls.IconMenuViewGroup[] { iconMenuViewGroup2 }); this.iconMenuView2.ItemWidth = 47; this.iconMenuView2.Location = new System.Drawing.Point(0, 350); this.iconMenuView2.MenuItemHeight = 50; this.iconMenuView2.MessageForeColor = System.Drawing.Color.White; this.iconMenuView2.Name = "iconMenuView2"; this.iconMenuView2.Size = new System.Drawing.Size(300, 87); this.iconMenuView2.ItemPress += new Smobiler.Core.Controls.IconMenuViewItemPressClickHandler(this.iconMenuView2_ItemPress); // // pageView1 // this.pageView1.BorderRadius = 6; this.pageView1.IsLoop = true; this.pageView1.Location = new System.Drawing.Point(0, 85); this.pageView1.Name = "pageView1"; this.pageView1.Size = new System.Drawing.Size(300, 150); // // mainForm // this.BackgroundImage = "3.jpg"; this.BackgroundImageSizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel1 }); this.Load += new System.EventHandler(this.mainForm_Load); this.Name = "mainForm"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); this.title1 = new SmoONE.UI.Layout.Title(); this.segmentedControl1 = new Smobiler.Core.Controls.SegmentedControl(); this.listContact = new Smobiler.Core.Controls.ListView(); this.listGroup = new Smobiler.Core.Controls.ListView(); this.pAdd = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.lblAdd = new Smobiler.Core.Controls.Label(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.im1 = new Smobiler.Plugins.RongIM.IM(); // // 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.Name = "title1"; this.title1.Size = new System.Drawing.Size(100, 50); this.title1.TitleText = "IM"; // // segmentedControl1 // this.segmentedControl1.Items = new string[] { "联系人", "群组" }; this.segmentedControl1.Location = new System.Drawing.Point(0, 50); this.segmentedControl1.Name = "segmentedControl1"; this.segmentedControl1.SegmentedBorderRadius = 0; this.segmentedControl1.SelectedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.segmentedControl1.SelectedColor = System.Drawing.Color.White; this.segmentedControl1.Size = new System.Drawing.Size(300, 35); this.segmentedControl1.UnSelectedBackColor = System.Drawing.Color.White; this.segmentedControl1.UnSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.segmentedControl1.SelectedIndexChanged += new System.EventHandler(this.segmentedControl1_SelectedIndexChanged); // // listContact // this.listContact.BackColor = System.Drawing.Color.White; this.listContact.Name = "listContact"; this.listContact.PageSize = 8; this.listContact.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.listContact.PageSizeTextSize = 11F; this.listContact.ShowSplitLine = true; this.listContact.Size = new System.Drawing.Size(300, 355); this.listContact.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.listContact.TemplateControlName = "frmUserLayout1"; // // listGroup // this.listGroup.BackColor = System.Drawing.Color.White; this.listGroup.Name = "listGroup"; this.listGroup.PageSize = 8; this.listGroup.PageSizeTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145))))); this.listGroup.PageSizeTextSize = 11F; this.listGroup.ShowSplitLine = true; this.listGroup.Size = new System.Drawing.Size(300, 355); this.listGroup.SplitLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.listGroup.TemplateControlName = "frmGroupLayout"; // // pAdd // this.pAdd.BackColor = System.Drawing.Color.White; this.pAdd.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.pAdd.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.pAdd.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.lblAdd }); this.pAdd.Direction = Smobiler.Core.Controls.LayoutDirection.Row; this.pAdd.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.pAdd.Location = new System.Drawing.Point(0, 85); this.pAdd.Name = "pAdd"; this.pAdd.Size = new System.Drawing.Size(300, 35); this.pAdd.Touchable = true; this.pAdd.Press += new System.EventHandler(this.pAdd_Press); // // label1 // this.label1.Bold = true; this.label1.FontSize = 30F; this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F); this.label1.Size = new System.Drawing.Size(30, 0); this.label1.Text = "+"; // // lblAdd // this.lblAdd.Flex = 1; this.lblAdd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44))))); this.lblAdd.Name = "lblAdd"; this.lblAdd.Size = new System.Drawing.Size(0, 0); this.lblAdd.Text = "添加联系人"; // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.White; toolBarItem1.IconID = "lianxiren"; toolBarItem1.Name = "contact"; toolBarItem1.SelectIconID = "lianxiren"; toolBarItem2.IconID = "xiaoxi"; toolBarItem2.Name = "msg"; toolBarItem2.SelectIconID = "xiaoxi"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2 }); this.toolBar1.Location = new System.Drawing.Point(0, 457); this.toolBar1.Name = "toolBar1"; this.toolBar1.SelectBackColor = System.Drawing.Color.White; this.toolBar1.SelectedIndex = 0; this.toolBar1.SelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))); this.toolBar1.Size = new System.Drawing.Size(100, 50); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.Location = new System.Drawing.Point(0, 120); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.Size = new System.Drawing.Size(300, 330); this.tabPageView1.PageIndexChanged += new System.EventHandler(this.tabPageView1_PageIndexChanged); // // im1 // this.im1.Name = "im1"; this.im1.LoadUserInfo += new Smobiler.Plugins.RongIM.IMLoadUserInfoHandler(this.im1_LoadUserInfo); this.im1.LoadGroupInfo += new Smobiler.Plugins.RongIM.IMLoadGroupInfoHandler(this.im1_LoadGroupInfo); this.im1.LoadGroupMembers += new Smobiler.Plugins.RongIM.IMLoadGroupMembersHandler(this.im1_LoadGroupMembers); this.im1.TokenExpired += new Smobiler.Plugins.RongIM.IMTokenExpiredHandler(this.im1_TokenExpired); // // frmConcent // this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] { this.im1 }); this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.segmentedControl1, this.pAdd, this.toolBar1, this.tabPageView1 }); this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait; this.Load += new System.EventHandler(this.frmConcent_Load); this.Name = "frmConcent"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem7 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem8 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem9 = new Smobiler.Core.Controls.ToolBarItem(); this.tab_orderlist = new Smobiler.Core.Controls.TabPageView(); this.tabPageControl1 = new Smobiler.Core.Controls.TabPageControl(); this.tabPageView1 = new Smobiler.Core.Controls.TabPageView(); this.tabPageControl3 = new Smobiler.Core.Controls.TabPageControl(); this.listView1 = new Smobiler.Core.Controls.ListView(); this.tabPageControl4 = new Smobiler.Core.Controls.TabPageControl(); this.listView4 = new Smobiler.Core.Controls.ListView(); this.tabPageControl5 = new Smobiler.Core.Controls.TabPageControl(); this.listView5 = new Smobiler.Core.Controls.ListView(); this.tabPageControl6 = new Smobiler.Core.Controls.TabPageControl(); this.listView6 = new Smobiler.Core.Controls.ListView(); this.tabPageControl2 = new Smobiler.Core.Controls.TabPageControl(); this.tabPageView2 = new Smobiler.Core.Controls.TabPageView(); this.tabPageControl7 = new Smobiler.Core.Controls.TabPageControl(); this.listView2 = new Smobiler.Core.Controls.ListView(); this.tabPageControl8 = new Smobiler.Core.Controls.TabPageControl(); this.listView3 = new Smobiler.Core.Controls.ListView(); this.tabPageControl9 = new Smobiler.Core.Controls.TabPageControl(); this.listView7 = new Smobiler.Core.Controls.ListView(); this.tabPageControl10 = new Smobiler.Core.Controls.TabPageControl(); this.listView8 = new Smobiler.Core.Controls.ListView(); this.label1 = new Smobiler.Core.Controls.Label(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); // // tab_orderlist // this.tab_orderlist.BackColor = System.Drawing.Color.WhiteSmoke; this.tab_orderlist.BorderColor = System.Drawing.Color.WhiteSmoke; this.tab_orderlist.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted; this.tab_orderlist.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageControl1, this.tabPageControl2 }); this.tab_orderlist.Layout = Smobiler.Core.Controls.LayoutPosition.Relative; this.tab_orderlist.Location = new System.Drawing.Point(0, 36); this.tab_orderlist.Name = "tab_orderlist"; this.tab_orderlist.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tab_orderlist.Size = new System.Drawing.Size(300, 522); this.tab_orderlist.Titles = new string[] { "堂食订单", "外卖订单" }; this.tab_orderlist.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.Red, 13F, System.Drawing.Color.Red, 2); this.tab_orderlist.TitleWidth = 150; this.tab_orderlist.PageIndexChanged += new System.EventHandler(this.tab_orderlist_PageIndexChanged); // // tabPageControl1 // this.tabPageControl1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageView1 }); this.tabPageControl1.Name = "tabPageControl1"; // // tabPageView1 // this.tabPageView1.BackColor = System.Drawing.Color.White; this.tabPageView1.BorderColor = System.Drawing.Color.White; this.tabPageView1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageControl3, this.tabPageControl4, this.tabPageControl5, this.tabPageControl6 }); this.tabPageView1.Location = new System.Drawing.Point(0, 1); this.tabPageView1.Name = "tabPageView1"; this.tabPageView1.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tabPageView1.Size = new System.Drawing.Size(300, 534); this.tabPageView1.Titles = new string[] { "全部", "待付款", "已完成", "已取消" }; this.tabPageView1.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.Red, 13F, System.Drawing.Color.Red, 2); // // tabPageControl3 // this.tabPageControl3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView1 }); this.tabPageControl3.Name = "tabPageControl3"; // // listView1 // this.listView1.Flex = 1; this.listView1.Location = new System.Drawing.Point(0, 23); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(300, 398); this.listView1.TemplateControlName = "OrderShowListControl"; // // tabPageControl4 // this.tabPageControl4.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView4 }); this.tabPageControl4.Name = "tabPageControl4"; // // listView4 // this.listView4.Flex = 1; this.listView4.Name = "listView4"; this.listView4.Size = new System.Drawing.Size(300, 521); this.listView4.TemplateControlName = "OrderShowListControl"; // // tabPageControl5 // this.tabPageControl5.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView5 }); this.tabPageControl5.Name = "tabPageControl5"; // // listView5 // this.listView5.Flex = 1; this.listView5.Location = new System.Drawing.Point(0, 14); this.listView5.Name = "listView5"; this.listView5.Size = new System.Drawing.Size(300, 513); this.listView5.TemplateControlName = "OrderShowListControl"; // // tabPageControl6 // this.tabPageControl6.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView6 }); this.tabPageControl6.Name = "tabPageControl6"; // // listView6 // this.listView6.Flex = 1; this.listView6.Name = "listView6"; this.listView6.Size = new System.Drawing.Size(300, 513); this.listView6.TemplateControlName = "OrderShowListControl"; // // tabPageControl2 // this.tabPageControl2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageView2 }); this.tabPageControl2.Name = "tabPageControl2"; // // tabPageView2 // this.tabPageView2.BackColor = System.Drawing.Color.White; this.tabPageView2.BorderColor = System.Drawing.Color.White; this.tabPageView2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tabPageControl7, this.tabPageControl8, this.tabPageControl9, this.tabPageControl10 }); this.tabPageView2.Location = new System.Drawing.Point(0, 1); this.tabPageView2.Name = "tabPageView2"; this.tabPageView2.PageIndicator = Smobiler.Core.Controls.TabPageIndicator.Title; this.tabPageView2.Size = new System.Drawing.Size(300, 520); this.tabPageView2.Titles = new string[] { "全部", "待付款", "待收取", "已完成" }; this.tabPageView2.TitleStyle = new Smobiler.Core.Controls.TabPageViewTitleStyle(System.Drawing.Color.White, System.Drawing.Color.Black, System.Drawing.Color.Red, 13F, System.Drawing.Color.Red, 2); // // tabPageControl7 // this.tabPageControl7.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView2 }); this.tabPageControl7.Name = "tabPageControl7"; // // listView2 // this.listView2.Location = new System.Drawing.Point(0, 20); this.listView2.Name = "listView2"; this.listView2.Size = new System.Drawing.Size(300, 401); this.listView2.TemplateControlName = "OrderShowListControl"; // // tabPageControl8 // this.tabPageControl8.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView3 }); this.tabPageControl8.Name = "tabPageControl8"; // // listView3 // this.listView3.Location = new System.Drawing.Point(0, 24); this.listView3.Name = "listView3"; this.listView3.Size = new System.Drawing.Size(300, 498); this.listView3.TemplateControlName = "OrderShowListControl"; // // tabPageControl9 // this.tabPageControl9.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView7 }); this.tabPageControl9.Name = "tabPageControl9"; // // listView7 // this.listView7.Location = new System.Drawing.Point(0, 24); this.listView7.Name = "listView7"; this.listView7.Size = new System.Drawing.Size(300, 496); this.listView7.TemplateControlName = "OrderShowListControl"; // // tabPageControl10 // this.tabPageControl10.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.listView8 }); this.tabPageControl10.Name = "tabPageControl10"; // // listView8 // this.listView8.Location = new System.Drawing.Point(0, 24); this.listView8.Name = "listView8"; this.listView8.Size = new System.Drawing.Size(300, 497); this.listView8.TemplateControlName = "OrderShowListControl"; // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.Bold = true; this.label1.FontSize = 20F; this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(300, 36); this.label1.Text = "订单"; // // toolBar1 // toolBarItem7.IconID = "home"; toolBarItem7.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem7.Name = "Home"; toolBarItem7.SelectIconColor = System.Drawing.Color.Red; toolBarItem7.SelectIconID = "home"; toolBarItem7.Text = "首页"; toolBarItem8.IconID = "file-text-o"; toolBarItem8.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem8.Name = "Order"; toolBarItem8.SelectIconColor = System.Drawing.Color.Red; toolBarItem8.SelectIconID = "file-text-o"; toolBarItem8.Text = "订单"; toolBarItem9.IconID = "user"; toolBarItem9.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem9.Name = "My"; toolBarItem9.SelectIconColor = System.Drawing.Color.Red; toolBarItem9.SelectIconID = "user"; toolBarItem9.Text = "我的"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem7, toolBarItem8, toolBarItem9 }); this.toolBar1.Location = new System.Drawing.Point(214, 469); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(300, 42); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick_1); // // OrderListForm // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tab_orderlist, this.label1, this.toolBar1 }); this.IOSBottomHidden = true; this.Load += new System.EventHandler(this.OrderListForm_Load); this.Name = "OrderListForm"; }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(demoToolBar)); Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem2 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem3 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem6 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem7 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem8 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem9 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem10 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem11 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem12 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem13 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem14 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem15 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem16 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem17 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem18 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem19 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem20 = new Smobiler.Core.Controls.ToolBarItem(); this.title1 = new Smobiler.Core.Controls.Title(); this.panel10 = new Smobiler.Core.Controls.Panel(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.labContent = new Smobiler.Core.Controls.Label(); this.labTitle = new Smobiler.Core.Controls.Label(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.label5 = new Smobiler.Core.Controls.Label(); this.toolBar2 = new Smobiler.Core.Controls.ToolBar(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.label6 = new Smobiler.Core.Controls.Label(); this.toolBar3 = new Smobiler.Core.Controls.ToolBar(); this.panel4 = new Smobiler.Core.Controls.Panel(); this.label1 = new Smobiler.Core.Controls.Label(); this.toolBar4 = new Smobiler.Core.Controls.ToolBar(); this.panel5 = new Smobiler.Core.Controls.Panel(); this.label2 = new Smobiler.Core.Controls.Label(); this.toolBar5 = new Smobiler.Core.Controls.ToolBar(); // // title1 // this.title1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; this.title1.Name = "title1"; this.title1.ResourceID = "angle-left"; this.title1.Size = new System.Drawing.Size(300, 30); this.title1.Text = "ToolBar"; this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress); // // panel10 // this.panel10.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel1, this.panel2, this.panel3, this.panel4, this.panel5 }); this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; this.panel10.Location = new System.Drawing.Point(0, 30); this.panel10.Name = "panel10"; this.panel10.Scrollable = true; this.panel10.Size = new System.Drawing.Size(300, 970); // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Border = new Smobiler.Core.Controls.Border(1F); this.panel1.BorderColor = System.Drawing.Color.Silver; this.panel1.BorderRadius = 5; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.labContent, this.labTitle, this.toolBar1 }); this.panel1.Location = new System.Drawing.Point(5, 9); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(290, 224); // // labContent // this.labContent.BackColor = System.Drawing.Color.WhiteSmoke; this.labContent.Location = new System.Drawing.Point(0, 26); this.labContent.Name = "labContent"; this.labContent.Padding = new Smobiler.Core.Controls.Padding(5F); this.labContent.Size = new System.Drawing.Size(290, 148); this.labContent.Text = resources.GetString("labContent.Text"); // // labTitle // this.labTitle.BackColor = System.Drawing.Color.WhiteSmoke; this.labTitle.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F); this.labTitle.BorderColor = System.Drawing.Color.DarkSeaGreen; this.labTitle.FontSize = 16F; this.labTitle.Name = "labTitle"; this.labTitle.Padding = new Smobiler.Core.Controls.Padding(5F); this.labTitle.Size = new System.Drawing.Size(290, 25); this.labTitle.Text = "ToolBar控件"; // // toolBar1 // toolBarItem1.IconID = "logon"; toolBarItem1.SelectIconID = "logon"; toolBarItem1.Text = "1"; toolBarItem2.IconID = "logon"; toolBarItem2.SelectIconID = "logon"; toolBarItem2.Text = "2"; toolBarItem3.IconID = "logon"; toolBarItem3.SelectIconID = "logon"; toolBarItem3.Text = "3"; toolBarItem4.IconID = "logon"; toolBarItem4.SelectIconID = "logon"; toolBarItem4.Text = "4"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1, toolBarItem2, toolBarItem3, toolBarItem4 }); this.toolBar1.Location = new System.Drawing.Point(73, 101); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 50); // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Border = new Smobiler.Core.Controls.Border(1F); this.panel2.BorderColor = System.Drawing.Color.Silver; this.panel2.BorderRadius = 5; this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label5, this.toolBar2 }); this.panel2.Location = new System.Drawing.Point(5, 245); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(290, 100); // // label5 // this.label5.BackColor = System.Drawing.Color.WhiteSmoke; this.label5.Name = "label5"; this.label5.Padding = new Smobiler.Core.Controls.Padding(5F); this.label5.Size = new System.Drawing.Size(290, 50); this.label5.Text = "FontSize、ForeColor、SelectBackColor、SelectForeColor设置工具栏字体与颜色的不同样式"; // // toolBar2 // this.toolBar2.FontSize = 16F; this.toolBar2.ForeColor = System.Drawing.Color.Silver; toolBarItem5.IconID = "logon"; toolBarItem5.SelectIconID = "logon"; toolBarItem5.Text = "1"; toolBarItem6.IconID = "logon"; toolBarItem6.SelectIconID = "logon"; toolBarItem6.Text = "2"; toolBarItem7.IconID = "logon"; toolBarItem7.SelectIconID = "logon"; toolBarItem7.Text = "3"; toolBarItem8.IconID = "logon"; toolBarItem8.SelectIconID = "logon"; toolBarItem8.Text = "4"; this.toolBar2.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem5, toolBarItem6, toolBarItem7, toolBarItem8 }); this.toolBar2.Location = new System.Drawing.Point(73, 101); this.toolBar2.Name = "toolBar2"; this.toolBar2.SelectBackColor = System.Drawing.Color.ForestGreen; this.toolBar2.SelectForeColor = System.Drawing.Color.DimGray; this.toolBar2.Size = new System.Drawing.Size(100, 50); // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; this.panel3.Border = new Smobiler.Core.Controls.Border(1F); this.panel3.BorderColor = System.Drawing.Color.Silver; this.panel3.BorderRadius = 5; this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label6, this.toolBar3 }); this.panel3.Location = new System.Drawing.Point(5, 357); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(290, 100); // // label6 // this.label6.BackColor = System.Drawing.Color.WhiteSmoke; this.label6.Name = "label6"; this.label6.Padding = new Smobiler.Core.Controls.Padding(5F); this.label6.Size = new System.Drawing.Size(290, 50); this.label6.Text = "ItemCount、ItemWidth、SelectedIndex设置工具栏的不同样式"; // // toolBar3 // this.toolBar3.FontSize = 16F; this.toolBar3.ForeColor = System.Drawing.Color.Silver; this.toolBar3.ItemCount = 2; toolBarItem9.IconID = "logon"; toolBarItem9.SelectIconID = "logon"; toolBarItem9.Text = "1"; toolBarItem10.IconID = "logon"; toolBarItem10.SelectIconID = "logon"; toolBarItem10.Text = "2"; toolBarItem11.IconID = "logon"; toolBarItem11.SelectIconID = "logon"; toolBarItem11.Text = "3"; toolBarItem12.IconID = "logon"; toolBarItem12.SelectIconID = "logon"; toolBarItem12.Text = "4"; this.toolBar3.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem9, toolBarItem10, toolBarItem11, toolBarItem12 }); this.toolBar3.ItemWidth = 35; this.toolBar3.Location = new System.Drawing.Point(73, 101); this.toolBar3.Name = "toolBar3"; this.toolBar3.SelectBackColor = System.Drawing.Color.ForestGreen; this.toolBar3.SelectedIndex = 1; this.toolBar3.SelectForeColor = System.Drawing.Color.DimGray; this.toolBar3.Size = new System.Drawing.Size(100, 50); // // panel4 // this.panel4.BackColor = System.Drawing.Color.White; this.panel4.Border = new Smobiler.Core.Controls.Border(1F); this.panel4.BorderColor = System.Drawing.Color.Silver; this.panel4.BorderRadius = 5; this.panel4.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.toolBar4 }); this.panel4.Location = new System.Drawing.Point(5, 469); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(290, 100); // // label1 // this.label1.BackColor = System.Drawing.Color.WhiteSmoke; this.label1.Name = "label1"; this.label1.Padding = new Smobiler.Core.Controls.Padding(5F); this.label1.Size = new System.Drawing.Size(290, 50); this.label1.Text = "MessageBackColor、MessageFontSize、MessageForeColor、MessageWidth设置消息框样式"; // // toolBar4 // toolBarItem13.IconID = "logon"; toolBarItem13.MessageText = "1"; toolBarItem13.SelectIconID = "logon"; toolBarItem13.Text = "1"; toolBarItem14.IconID = "logon"; toolBarItem14.MessageText = "2"; toolBarItem14.SelectIconID = "logon"; toolBarItem14.Text = "2"; toolBarItem15.IconID = "logon"; toolBarItem15.MessageText = "3"; toolBarItem15.SelectIconID = "logon"; toolBarItem15.Text = "3"; toolBarItem16.IconID = "logon"; toolBarItem16.MessageText = "4"; toolBarItem16.SelectIconID = "logon"; toolBarItem16.Text = "4"; this.toolBar4.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem13, toolBarItem14, toolBarItem15, toolBarItem16 }); this.toolBar4.Location = new System.Drawing.Point(73, 101); this.toolBar4.Name = "toolBar4"; this.toolBar4.Size = new System.Drawing.Size(100, 50); // // panel5 // this.panel5.BackColor = System.Drawing.Color.White; this.panel5.Border = new Smobiler.Core.Controls.Border(1F); this.panel5.BorderColor = System.Drawing.Color.Silver; this.panel5.BorderRadius = 5; this.panel5.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label2, this.toolBar5 }); this.panel5.Location = new System.Drawing.Point(5, 579); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(290, 100); // // label2 // this.label2.BackColor = System.Drawing.Color.WhiteSmoke; this.label2.Name = "label2"; this.label2.Padding = new Smobiler.Core.Controls.Padding(5F); this.label2.Size = new System.Drawing.Size(290, 50); this.label2.Text = "ToolbarItemClick在工具栏点击时发生"; // // toolBar5 // toolBarItem17.IconID = "logon"; toolBarItem17.MessageText = "1"; toolBarItem17.Name = "1"; toolBarItem17.SelectIconID = "logon"; toolBarItem17.Text = "1"; toolBarItem18.IconID = "logon"; toolBarItem18.MessageText = "2"; toolBarItem18.Name = "2"; toolBarItem18.SelectIconID = "logon"; toolBarItem18.Text = "2"; toolBarItem19.IconID = "logon"; toolBarItem19.MessageText = "3"; toolBarItem19.Name = "3"; toolBarItem19.SelectIconID = "logon"; toolBarItem19.Text = "3"; toolBarItem20.IconID = "logon"; toolBarItem20.MessageText = "4"; toolBarItem20.Name = "4"; toolBarItem20.SelectIconID = "logon"; toolBarItem20.Text = "4"; this.toolBar5.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem17, toolBarItem18, toolBarItem19, toolBarItem20 }); this.toolBar5.Location = new System.Drawing.Point(73, 101); this.toolBar5.Name = "toolBar5"; this.toolBar5.Size = new System.Drawing.Size(100, 50); this.toolBar5.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar5_ToolbarItemClick); // // demoToolBar // this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.title1, this.panel10 }); this.Size = new System.Drawing.Size(300, 1000); this.Name = "demoToolBar"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem1 = new Smobiler.Core.Controls.ToolBarItem(); this.panel1 = new Smobiler.Core.Controls.Panel(); this.image1 = new Smobiler.Core.Controls.Image(); this.label2 = new Smobiler.Core.Controls.Label(); this.barcodeScannerButton1 = new Smobiler.Core.Controls.BarcodeScannerButton(); this.label3 = new Smobiler.Core.Controls.Label(); this.line1 = new Smobiler.Core.Controls.Line(); this.label1 = new Smobiler.Core.Controls.Label(); this.fontIcon2 = new Smobiler.Core.Controls.FontIcon(); this.panel2 = new Smobiler.Core.Controls.Panel(); this.button4 = new Smobiler.Core.Controls.Button(); this.button1 = new Smobiler.Core.Controls.Button(); this.button3 = new Smobiler.Core.Controls.Button(); this.button2 = new Smobiler.Core.Controls.Button(); this.button5 = new Smobiler.Core.Controls.Button(); this.button9 = new Smobiler.Core.Controls.Button(); this.line2 = new Smobiler.Core.Controls.Line(); this.line3 = new Smobiler.Core.Controls.Line(); this.textBox1 = new Smobiler.Core.Controls.TextBox(); this.panel3 = new Smobiler.Core.Controls.Panel(); this.panel4 = new Smobiler.Core.Controls.Panel(); this.tob_buy = new Smobiler.Core.Controls.ToolBar(); this.lan_num = new Smobiler.Core.Controls.Label(); this.panel5 = new Smobiler.Core.Controls.Panel(); this.button6 = new Smobiler.Core.Controls.Button(); this.button7 = new Smobiler.Core.Controls.Button(); this.button8 = new Smobiler.Core.Controls.Button(); this.button10 = new Smobiler.Core.Controls.Button(); this.listView1 = new Smobiler.Core.Controls.ListView(); // // panel1 // this.panel1.BorderColor = System.Drawing.Color.White; this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.image1, this.label2, this.barcodeScannerButton1, this.label3, this.line1 }); this.panel1.Location = new System.Drawing.Point(0, 45); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(355, 57); // // image1 // this.image1.Location = new System.Drawing.Point(15, 9); this.image1.Name = "image1"; this.image1.ResourceID = "4"; this.image1.Size = new System.Drawing.Size(35, 35); // // label2 // this.label2.Bold = true; this.label2.FontSize = 20F; this.label2.Location = new System.Drawing.Point(59, 11); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 35); // // barcodeScannerButton1 // this.barcodeScannerButton1.Location = new System.Drawing.Point(317, 12); this.barcodeScannerButton1.Name = "barcodeScannerButton1"; this.barcodeScannerButton1.ResourceID = "BarcodeScanner"; this.barcodeScannerButton1.Size = new System.Drawing.Size(35, 35); this.barcodeScannerButton1.BarcodeScanned += new Smobiler.Core.Controls.BarcodeScannerCallBackHandler(this.barcodeScannerButton1_BarcodeScanned); this.barcodeScannerButton1.Press += new System.EventHandler(this.barcodeScannerButton1_Press); // // label3 // this.label3.FontSize = 14F; this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right; this.label3.Location = new System.Drawing.Point(281, 11); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(35, 35); this.label3.Text = "扫码"; // // line1 // this.line1.BackColor = System.Drawing.SystemColors.ButtonFace; this.line1.BorderColor = System.Drawing.SystemColors.ButtonFace; this.line1.Location = new System.Drawing.Point(2, 56); this.line1.Name = "line1"; this.line1.Size = new System.Drawing.Size(351, 1); // // label1 // this.label1.FontSize = 18F; this.label1.Location = new System.Drawing.Point(28, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(119, 22); this.label1.Text = "堂食点餐"; // // fontIcon2 // this.fontIcon2.Location = new System.Drawing.Point(0, 12); this.fontIcon2.Name = "fontIcon2"; this.fontIcon2.ResourceID = "md-arrow-back"; this.fontIcon2.Size = new System.Drawing.Size(24, 22); // // panel2 // this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.button4, this.button1, this.button3, this.button2, this.button5, this.button9 }); this.panel2.Location = new System.Drawing.Point(0, 154); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(101, 315); // // button4 // this.button4.BindDisplayValueGone = true; this.button4.Location = new System.Drawing.Point(181, 166); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(101, 78); this.button4.Text = "精品推荐"; // // button1 // this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(0, 0); // // button3 // this.button3.BackColor = System.Drawing.SystemColors.InactiveBorder; this.button3.BindDisplayValueGone = true; this.button3.FontSize = 16F; this.button3.ForeColor = System.Drawing.Color.Black; this.button3.Location = new System.Drawing.Point(0, 79); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(101, 78); this.button3.Text = "人气热卖"; this.button3.Press += new System.EventHandler(this.button3_Press_1); // // button2 // this.button2.BackColor = System.Drawing.Color.WhiteSmoke; this.button2.BindDisplayValueGone = true; this.button2.FontSize = 16F; this.button2.ForeColor = System.Drawing.Color.Black; this.button2.Location = new System.Drawing.Point(0, 157); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(101, 78); this.button2.Text = "精品套餐"; // // button5 // this.button5.BackColor = System.Drawing.Color.WhiteSmoke; this.button5.BindDisplayValueGone = true; this.button5.FontSize = 16F; this.button5.ForeColor = System.Drawing.Color.Black; this.button5.Location = new System.Drawing.Point(0, 236); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(101, 78); this.button5.Text = "所有菜单"; // // button9 // this.button9.BackColor = System.Drawing.SystemColors.InactiveBorder; this.button9.BindDisplayValueGone = true; this.button9.FontSize = 16F; this.button9.ForeColor = System.Drawing.Color.Black; this.button9.Name = "button9"; this.button9.Size = new System.Drawing.Size(101, 78); this.button9.Text = "精品推荐"; this.button9.Press += new System.EventHandler(this.button9_Press_1); // // line2 // this.line2.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.line2.BorderColor = System.Drawing.SystemColors.ButtonHighlight; this.line2.Location = new System.Drawing.Point(0, 35); this.line2.Name = "line2"; this.line2.Size = new System.Drawing.Size(355, 0); // // line3 // this.line3.BackColor = System.Drawing.SystemColors.ButtonFace; this.line3.BorderColor = System.Drawing.SystemColors.ButtonFace; this.line3.Location = new System.Drawing.Point(0, 39); this.line3.Name = "line3"; this.line3.Size = new System.Drawing.Size(355, 1); // // textBox1 // this.textBox1.Border = new Smobiler.Core.Controls.Border(1F); this.textBox1.BorderColor = System.Drawing.Color.Silver; this.textBox1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.textBox1.Location = new System.Drawing.Point(52, 112); this.textBox1.Name = "textBox1"; this.textBox1.ReturnKeyType = Smobiler.Core.Controls.ReturnKeyType.Search; this.textBox1.SelectOnFocus = true; this.textBox1.Size = new System.Drawing.Size(263, 29); this.textBox1.WaterMarkText = "请输入搜索内容"; // // panel3 // this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel4, this.panel5 }); this.panel3.Location = new System.Drawing.Point(0, 469); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(351, 81); // // panel4 // this.panel4.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.tob_buy, this.lan_num }); this.panel4.Location = new System.Drawing.Point(0, 1); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(199, 80); // // tob_buy // this.tob_buy.Dock = System.Windows.Forms.DockStyle.None; toolBarItem1.IconID = "cart-plus"; toolBarItem1.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem1.MessageText = "numeric1"; toolBarItem1.Name = "Buy"; toolBarItem1.SelectIconID = "cart-plus"; this.tob_buy.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem1 }); this.tob_buy.Location = new System.Drawing.Point(18, 13); this.tob_buy.Name = "tob_buy"; this.tob_buy.Size = new System.Drawing.Size(55, 51); // // lan_num // this.lan_num.Location = new System.Drawing.Point(78, 20); this.lan_num.Name = "lan_num"; this.lan_num.Size = new System.Drawing.Size(100, 35); this.lan_num.Text = "label4"; // // panel5 // this.panel5.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.button6, this.button7, this.button8 }); this.panel5.Location = new System.Drawing.Point(199, 1); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(152, 81); // // button6 // this.button6.BackColor = System.Drawing.Color.Gray; this.button6.FontSize = 14F; this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(152, 81); this.button6.Text = "请点餐"; // // button7 // this.button7.BackColor = System.Drawing.Color.Gray; this.button7.FontSize = 14F; this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(152, 81); this.button7.Text = "请点餐"; // // button8 // this.button8.BackColor = System.Drawing.Color.Red; this.button8.FontSize = 14F; this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(152, 81); this.button8.Text = "去结算"; this.button8.Press += new System.EventHandler(this.button8_Press); // // button10 // this.button10.BackColor = System.Drawing.Color.White; this.button10.BorderColor = System.Drawing.Color.Silver; this.button10.ForeColor = System.Drawing.Color.Black; this.button10.Location = new System.Drawing.Point(52, 113); this.button10.Name = "button10"; this.button10.Size = new System.Drawing.Size(53, 27); this.button10.Text = "搜索"; this.button10.Press += new System.EventHandler(this.button10_Press); // // listView1 // this.listView1.Location = new System.Drawing.Point(101, 154); this.listView1.Name = "listView1"; this.listView1.ShowSplitLine = true; this.listView1.Size = new System.Drawing.Size(250, 315); this.listView1.TemplateControlName = "ListViewControl"; // // CommonForm // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.panel1, this.label1, this.fontIcon2, this.panel2, this.listView1, this.line2, this.line3, this.textBox1, this.panel3, this.button10 }); this.Size = new System.Drawing.Size(355, 550); this.Load += new System.EventHandler(this.CommonForm_Load); this.Name = "CommonForm"; }
private void InitializeComponent() { Smobiler.Core.Controls.ToolBarItem toolBarItem4 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem5 = new Smobiler.Core.Controls.ToolBarItem(); Smobiler.Core.Controls.ToolBarItem toolBarItem6 = new Smobiler.Core.Controls.ToolBarItem(); this.label1 = new Smobiler.Core.Controls.Label(); this.image1 = new Smobiler.Core.Controls.Image(); this.restaurant_Name = new Smobiler.Core.Controls.Label(); this.Dobusiness_Time = new Smobiler.Core.Controls.Label(); this.State = new Smobiler.Core.Controls.Button(); this.Address = new Smobiler.Core.Controls.Label(); this.Phone = new Smobiler.Core.Controls.Label(); this.pageView1 = new Smobiler.Core.Controls.PageView(); this.imageButton1 = new Smobiler.Core.Controls.ImageButton(); this.ShiTang = new Smobiler.Core.Controls.ImageButton(); this.canting = new Smobiler.Core.Controls.ImageButton(); this.jifen = new Smobiler.Core.Controls.ImageButton(); this.youhui = new Smobiler.Core.Controls.ImageButton(); this.phoneButton1 = new Smobiler.Core.Controls.PhoneButton(); this.line1 = new Smobiler.Core.Controls.Line(); this.toolBar1 = new Smobiler.Core.Controls.ToolBar(); this.image2 = new Smobiler.Core.Controls.Image(); // // label1 // this.label1.Bold = true; this.label1.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted; this.label1.FontSize = 20F; this.label1.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center; this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(300, 35); this.label1.Text = "首页"; // // image1 // this.image1.Location = new System.Drawing.Point(10, 45); this.image1.Name = "image1"; this.image1.ResourceID = "u123"; this.image1.Size = new System.Drawing.Size(45, 45); // // restaurant_Name // this.restaurant_Name.FontSize = 16F; this.restaurant_Name.Location = new System.Drawing.Point(62, 45); this.restaurant_Name.Name = "restaurant_Name"; this.restaurant_Name.Size = new System.Drawing.Size(136, 25); this.restaurant_Name.Text = "某某餐厅石佛营店"; // // Dobusiness_Time // this.Dobusiness_Time.ForeColor = System.Drawing.Color.Gray; this.Dobusiness_Time.Location = new System.Drawing.Point(62, 63); this.Dobusiness_Time.Name = "Dobusiness_Time"; this.Dobusiness_Time.Size = new System.Drawing.Size(100, 35); this.Dobusiness_Time.Text = "10:00-23:00"; // // State // this.State.BackColor = System.Drawing.Color.LimeGreen; this.State.FontSize = 14F; this.State.Location = new System.Drawing.Point(237, 50); this.State.Name = "State"; this.State.Size = new System.Drawing.Size(50, 20); this.State.Text = "营业中"; // // Address // this.Address.FontSize = 12F; this.Address.ForeColor = System.Drawing.Color.Gray; this.Address.Location = new System.Drawing.Point(62, 90); this.Address.Name = "Address"; this.Address.Size = new System.Drawing.Size(127, 16); this.Address.Text = "北京市朝阳区石佛营路x号"; // // Phone // this.Phone.ForeColor = System.Drawing.Color.Gray; this.Phone.Location = new System.Drawing.Point(224, 78); this.Phone.Name = "Phone"; this.Phone.Size = new System.Drawing.Size(76, 35); this.Phone.Text = "15951364167"; // // pageView1 // this.pageView1.Interval = 2; this.pageView1.IsLoop = true; this.pageView1.Location = new System.Drawing.Point(0, 113); this.pageView1.Name = "pageView1"; this.pageView1.Size = new System.Drawing.Size(300, 127); // // imageButton1 // this.imageButton1.Border = new Smobiler.Core.Controls.Border(1F, 0F, 1F, 1F); this.imageButton1.BorderColor = System.Drawing.Color.LightGray; this.imageButton1.Location = new System.Drawing.Point(0, 240); this.imageButton1.Name = "imageButton1"; this.imageButton1.ResourceID = "wm"; this.imageButton1.Size = new System.Drawing.Size(149, 115); this.imageButton1.Text = "外卖点餐"; this.imageButton1.Press += new System.EventHandler(this.imageButton1_Press); // // ShiTang // this.ShiTang.Border = new Smobiler.Core.Controls.Border(0F, 0F, 1F, 1F); this.ShiTang.BorderColor = System.Drawing.Color.LightGray; this.ShiTang.Location = new System.Drawing.Point(149, 240); this.ShiTang.Name = "ShiTang"; this.ShiTang.ResourceID = "dc"; this.ShiTang.Size = new System.Drawing.Size(151, 115); this.ShiTang.Text = "食堂点餐"; this.ShiTang.Press += new System.EventHandler(this.ShiTang_Press); // // canting // this.canting.Location = new System.Drawing.Point(0, 355); this.canting.Name = "canting"; this.canting.ResourceID = "ct1"; this.canting.Size = new System.Drawing.Size(102, 101); this.canting.Text = "餐厅信息"; this.canting.Press += new System.EventHandler(this.canting_Press); // // jifen // this.jifen.Location = new System.Drawing.Point(102, 355); this.jifen.Name = "jifen"; this.jifen.ResourceID = "jf"; this.jifen.Size = new System.Drawing.Size(104, 101); this.jifen.Text = "积分商城"; this.jifen.Press += new System.EventHandler(this.jifen_Press); // // youhui // this.youhui.Location = new System.Drawing.Point(206, 355); this.youhui.Name = "youhui"; this.youhui.ResourceID = "yhq"; this.youhui.Size = new System.Drawing.Size(94, 101); this.youhui.Text = "优惠券"; // // phoneButton1 // this.phoneButton1.Location = new System.Drawing.Point(208, 85); this.phoneButton1.Name = "phoneButton1"; this.phoneButton1.PhoneNumber = "15951364167"; this.phoneButton1.ResourceID = "4"; this.phoneButton1.Size = new System.Drawing.Size(20, 20); // // line1 // this.line1.BackColor = System.Drawing.Color.LightGray; this.line1.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted; this.line1.Location = new System.Drawing.Point(0, 456); this.line1.Name = "line1"; this.line1.Size = new System.Drawing.Size(300, 1); // // toolBar1 // toolBarItem4.IconID = "home"; toolBarItem4.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem4.Name = "Home"; toolBarItem4.SelectIconColor = System.Drawing.Color.Red; toolBarItem4.SelectIconID = "home"; toolBarItem4.Text = "主页"; toolBarItem5.IconID = "file-text-o"; toolBarItem5.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem5.Name = "Order"; toolBarItem5.SelectIconColor = System.Drawing.Color.Red; toolBarItem5.SelectIconID = "file-text-o"; toolBarItem5.Text = "订单"; toolBarItem6.IconID = "user"; toolBarItem6.ImageType = Smobiler.Core.Controls.ImageEx.ImageStyle.FontIcon; toolBarItem6.Name = "My"; toolBarItem6.SelectIconColor = System.Drawing.Color.Red; toolBarItem6.SelectIconID = "user"; toolBarItem6.Text = "我的"; this.toolBar1.Items.AddRange(new Smobiler.Core.Controls.ToolBarItem[] { toolBarItem4, toolBarItem5, toolBarItem6 }); this.toolBar1.ItemWidth = 40; this.toolBar1.Location = new System.Drawing.Point(162, 459); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(100, 42); this.toolBar1.ToolbarItemClick += new Smobiler.Core.Controls.ToolbarItemClickEventHandler(this.toolBar1_ToolbarItemClick); // // image2 // this.image2.Location = new System.Drawing.Point(48, 89); this.image2.Name = "image2"; this.image2.ResourceID = "dz"; this.image2.Size = new System.Drawing.Size(16, 16); // // SmobilerFirst // this.BackColor = System.Drawing.Color.White; this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] { this.label1, this.image1, this.restaurant_Name, this.Dobusiness_Time, this.State, this.Address, this.Phone, this.pageView1, this.imageButton1, this.ShiTang, this.canting, this.jifen, this.youhui, this.phoneButton1, this.line1, this.toolBar1, this.image2 }); this.DrawerPosition = Smobiler.Core.Controls.DrawerPosition.Right; this.Load += new System.EventHandler(this.SmobilerFirst_Load); this.Name = "SmobilerFirst"; }