Exemplo n.º 1
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem1 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem2 = new Smobiler.Core.Controls.TextTabBarItem();
     this.GridView1   = new Smobiler.Core.Controls.GridView();
     this.add         = new Smobiler.Core.Controls.ToolbarItem();
     this.SX          = new Smobiler.Core.Controls.ToolbarItem();
     this.add1        = new Smobiler.Core.Controls.ToolbarItem();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     this.KPI         = new Smobiler.Core.Controls.ToolbarItem();
     //
     // GridView1
     //
     this.GridView1.AllowSlip      = true;
     this.GridView1.Layout         = "frmWorkDLayout";
     this.GridView1.Location       = new System.Drawing.Point(0, 58);
     this.GridView1.Name           = "GridView1";
     this.GridView1.ShowGridLines  = false;
     this.GridView1.Size           = new System.Drawing.Size(500, 172);
     this.GridView1.TabIndex       = 9;
     this.GridView1.CellClick     += new Smobiler.Core.Controls.GridViewCellClickEventHandler(this.GridView1_CellClick);
     this.GridView1.UpSlippling   += new System.EventHandler(this.GridView1_UpSlippling);
     this.GridView1.DownSlippling += new System.EventHandler(this.GridView1_DownSlippling);
     //
     // add
     //
     this.add.IconID       = "!\\ue148043146223";
     this.add.Name         = "add";
     this.add.SelectIconID = "!\\ue148043146223";
     this.add.Text         = "新增";
     //
     // SX
     //
     this.SX.IconID       = "!\\ue88b043146223";
     this.SX.Name         = "SX";
     this.SX.SelectIconID = "!\\ue88b043146223";
     this.SX.Text         = "筛选";
     //
     // add1
     //
     this.add1.IconID       = "add";
     this.add1.Name         = "add1";
     this.add1.SelectIconID = "add";
     this.add1.Text         = "日志转工单";
     this.add1.Visible      = false;
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "我创建的";
     textTabBarItem1.Value         = "WDCreate";
     textTabBarItem2.Text          = "我审批的";
     textTabBarItem2.Value         = "WDCheck";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(450, 35);
     this.TextTabBar1.TabIndex        = 13;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // KPI
     //
     this.KPI.IconID       = "!\\ue640043146223";
     this.KPI.Name         = "KPI";
     this.KPI.SelectIconID = "!\\ue640043146223";
     this.KPI.Text         = "绩效";
     //
     // frmWorkDMain
     //
     this.AllowSlip = true;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.GridView1,
         this.TextTabBar1
     });
     this.ScreenOrientation = Smobiler.Core.ScreenOrientation.Landscape;
     this.Size           = new System.Drawing.Size(500, 230);
     this.StatusBarStyle = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle     = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText      = "工单";
     this.Toolbar.AddRange(new Smobiler.Core.Controls.ToolbarItem[] {
         this.add,
         this.add1,
         this.SX,
         this.KPI
     });
     this.ToolbarStyle      = new Smobiler.Core.ToolBarSytle(Smobiler.Core.ToolbarSelectStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))));
     this.Load             += new System.EventHandler(this.frmWorkDocumentMain_Load);
     this.ToolbarItemClick += new Smobiler.Core.ToolbarItemClickEventHandler(this.frmWorkDocumentMain_ToolbarItemClick);
     this.LeftSlipping     += new System.EventHandler(this.frmWorkDocumentMain_LeftSlipping);
     this.RightSlipping    += new System.EventHandler(this.frmWorkDocumentMain_RightSlipping);
     this.TitleImageClick  += new System.EventHandler(this.MobileForm_TitleImageClick);
     this.KeyDown          += new Smobiler.Core.KeyDownEventHandler(this.MobileForm_KeyDown);
     this.Name              = "frmWorkDMain";
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem       textTabBarItem1       = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem       textTabBarItem2       = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.GaugeViewAxisLine    gaugeViewAxisLine1    = new Smobiler.Core.Controls.GaugeViewAxisLine();
     Smobiler.Core.Controls.GaugeViewAxisLine    gaugeViewAxisLine2    = new Smobiler.Core.Controls.GaugeViewAxisLine();
     Smobiler.Core.Controls.GaugeViewAxisLine    gaugeViewAxisLine3    = new Smobiler.Core.Controls.GaugeViewAxisLine();
     Smobiler.Core.Controls.TableViewLabelColumn tableViewLabelColumn1 = new Smobiler.Core.Controls.TableViewLabelColumn();
     Smobiler.Core.Controls.TableViewImageColumn tableViewImageColumn1 = new Smobiler.Core.Controls.TableViewImageColumn();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     this.GaugeView1  = new Smobiler.Core.Controls.GaugeView();
     this.Label1      = new Smobiler.Core.Controls.Label();
     this.TableView1  = new Smobiler.Core.Controls.TableView();
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "业务人天";
     textTabBarItem1.Value         = "kpiyw";
     textTabBarItem2.Text          = "其他人天";
     textTabBarItem2.Value         = "kpiother";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(250, 35);
     this.TextTabBar1.TabIndex        = 2;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // GaugeView1
     //
     gaugeViewAxisLine1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     gaugeViewAxisLine1.SplitNumRate = 0.3F;
     gaugeViewAxisLine2.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     gaugeViewAxisLine2.SplitNumRate = 0.7F;
     gaugeViewAxisLine3.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     gaugeViewAxisLine3.SplitNumRate = 1F;
     this.GaugeView1.AxisLines.AddRange(new Smobiler.Core.Controls.GaugeViewAxisLine[] {
         gaugeViewAxisLine1,
         gaugeViewAxisLine2,
         gaugeViewAxisLine3
     });
     this.GaugeView1.AxisLineWidth   = 10F;
     this.GaugeView1.Location        = new System.Drawing.Point(0, 60);
     this.GaugeView1.MaxValue        = 150F;
     this.GaugeView1.Name            = "GaugeView1";
     this.GaugeView1.PointerColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     this.GaugeView1.PointerWidth    = 25F;
     this.GaugeView1.Size            = new System.Drawing.Size(300, 225);
     this.GaugeView1.SplitLineLength = 10F;
     this.GaugeView1.TabIndex        = 3;
     this.GaugeView1.Title           = "绩效完成率";
     //
     // Label1
     //
     this.Label1.ForeColor           = System.Drawing.Color.Red;
     this.Label1.HorizontalAlignment = Smobiler.Core.HorizontalAlignment.Center;
     this.Label1.Location            = new System.Drawing.Point(0, 285);
     this.Label1.Name     = "Label1";
     this.Label1.Size     = new System.Drawing.Size(300, 25);
     this.Label1.TabIndex = 4;
     this.Label1.Text     = "Label1";
     //
     // TableView1
     //
     this.TableView1.AutoHeight        = false;
     this.TableView1.BackColorAlpha    = 0;
     this.TableView1.ColumnHeaderStyle = new Smobiler.Core.Controls.TableViewColumnHeaderStyle(((float)(12)), 6F, System.Drawing.Color.LightBlue, System.Drawing.Color.White);
     tableViewLabelColumn1.DataMember  = "PERIOD_ID";
     tableViewLabelColumn1.DefaultBindPropertyValue = "日期";
     tableViewLabelColumn1.DisplayMember            = "PERIOD_ID";
     tableViewLabelColumn1.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     tableViewLabelColumn1.HeaderText          = "日期";
     tableViewLabelColumn1.HorizontalAlignment = Smobiler.Core.HorizontalAlignment.Center;
     tableViewLabelColumn1.Text = "日期";
     tableViewLabelColumn1.VerticalAlignment        = Smobiler.Core.VerticalAlignment.Center;
     tableViewLabelColumn1.Width                    = 75;
     tableViewImageColumn1.DataMember               = "ISWARNING1";
     tableViewImageColumn1.DefaultBindPropertyValue = "";
     tableViewImageColumn1.DefaultImageVisible      = true;
     tableViewImageColumn1.DisplayMember            = "ISWARNING1";
     tableViewImageColumn1.Enlarged                 = false;
     tableViewImageColumn1.HeaderText               = "是否完成";
     tableViewImageColumn1.HorizontalAlignment      = Smobiler.Core.HorizontalAlignment.Center;
     tableViewImageColumn1.Mode              = Smobiler.Core.Controls.ResourceMode.File;
     tableViewImageColumn1.ResourceID        = "";
     tableViewImageColumn1.ResourcePath      = "";
     tableViewImageColumn1.SizeMode          = Smobiler.Core.ImageSizeMode.Zoom;
     tableViewImageColumn1.VerticalAlignment = Smobiler.Core.VerticalAlignment.Center;
     tableViewImageColumn1.Width             = 75;
     this.TableView1.Columns.AddRange(new Smobiler.Core.Controls.TableViewColumn[] {
         tableViewLabelColumn1,
         tableViewImageColumn1
     });
     this.TableView1.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.TableView1.Location       = new System.Drawing.Point(0, 310);
     this.TableView1.Name           = "TableView1";
     this.TableView1.Size           = new System.Drawing.Size(300, 200);
     this.TableView1.TabIndex       = 5;
     //
     // frmUserKPI
     //
     this.AllowSlip = true;
     this.BackColor = System.Drawing.Color.White;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.TextTabBar1,
         this.GaugeView1,
         this.Label1,
         this.TableView1
     });
     this.StatusBarStyle   = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle       = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText        = "个人KPI";
     this.Load            += new System.EventHandler(this.frmUserKPI_Load);
     this.TitleImageClick += new System.EventHandler(this.frmUserKPI_TitleImageClick);
     this.KeyDown         += new Smobiler.Core.KeyDownEventHandler(this.frmUserKPI_KeyDown);
     this.Name             = "frmUserKPI";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem1 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem2 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem3 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem4 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem5 = new Smobiler.Core.Controls.TextTabBarItem();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     this.GridView1   = new Smobiler.Core.Controls.GridView();
     this.TextTabBar2 = new Smobiler.Core.Controls.TextTabBar();
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "趋势";
     textTabBarItem1.Value         = "qs";
     textTabBarItem2.Text          = "分布";
     textTabBarItem2.Value         = "fb";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(250, 35);
     this.TextTabBar1.TabIndex        = 2;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // GridView1
     //
     this.GridView1.Layout        = "frmRightLayout";
     this.GridView1.Location      = new System.Drawing.Point(0, 318);
     this.GridView1.Name          = "GridView1";
     this.GridView1.ShowGridLines = false;
     this.GridView1.Size          = new System.Drawing.Size(300, 183);
     this.GridView1.TabIndex      = 4;
     this.GridView1.ZIndex        = 6;
     //
     // TextTabBar2
     //
     this.TextTabBar2.BackColor = System.Drawing.Color.White;
     this.TextTabBar2.FontSize  = 10;
     this.TextTabBar2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     textTabBarItem3.Text       = "Bubble";
     textTabBarItem4.Text       = "Scatter";
     textTabBarItem5.Text       = "Radar";
     this.TextTabBar2.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem3,
         textTabBarItem4,
         textTabBarItem5
     });
     this.TextTabBar2.Location        = new System.Drawing.Point(0, 48);
     this.TextTabBar2.Name            = "TextTabBar2";
     this.TextTabBar2.SelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar2.Size            = new System.Drawing.Size(300, 25);
     this.TextTabBar2.TabIndex        = 5;
     this.TextTabBar2.Visible         = false;
     this.TextTabBar2.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // frmStatementAnalysis
     //
     this.AllowSlip = true;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.TextTabBar1,
         this.GridView1,
         this.TextTabBar2
     });
     this.StatusBarStyle   = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle       = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText        = "报表";
     this.Load            += new System.EventHandler(this.frmStatementAnalysis_Load);
     this.LeftSlipping    += new System.EventHandler(this.frmStatementAnalysis_LeftSlipping);
     this.RightSlipping   += new System.EventHandler(this.frmStatementAnalysis_RightSlipping);
     this.TitleImageClick += new System.EventHandler(this.frmStatementAnalysis_TitleImageClick);
     this.KeyDown         += new Smobiler.Core.KeyDownEventHandler(this.frmStatementAnalysis_KeyDown);
     this.Name             = "frmStatementAnalysis";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem1 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem2 = new Smobiler.Core.Controls.TextTabBarItem();
     this.GridView1   = new Smobiler.Core.Controls.GridView();
     this.add         = new Smobiler.Core.Controls.ToolbarItem();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     //
     // GridView1
     //
     this.GridView1.AllowSlip      = true;
     this.GridView1.Layout         = "frmBookLogLayout";
     this.GridView1.Location       = new System.Drawing.Point(0, 58);
     this.GridView1.Name           = "GridView1";
     this.GridView1.ShowGridLines  = false;
     this.GridView1.Size           = new System.Drawing.Size(300, 500);
     this.GridView1.TabIndex       = 2;
     this.GridView1.CellClick     += new Smobiler.Core.Controls.GridViewCellClickEventHandler(this.GridView1_CellClick);
     this.GridView1.UpSlippling   += new System.EventHandler(this.GridView1_UpSlippling);
     this.GridView1.DownSlippling += new System.EventHandler(this.GridView1_DownSlippling);
     //
     // add
     //
     this.add.IconID       = "!\\ue148043146223";
     this.add.Name         = "add";
     this.add.SelectIconID = "!\\ue148043146223";
     this.add.Text         = "新增";
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "我借阅的";
     textTabBarItem1.Value         = "BookL";
     textTabBarItem2.Text          = "所有的";
     textTabBarItem2.Value         = "AllBookL";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(250, 35);
     this.TextTabBar1.TabIndex        = 3;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // frmBookLogCheckMain
     //
     this.AllowSlip = true;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.GridView1,
         this.TextTabBar1
     });
     this.StatusBarStyle = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle     = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText      = "图书借阅记录";
     this.Toolbar.AddRange(new Smobiler.Core.Controls.ToolbarItem[] {
         this.add
     });
     this.ToolbarStyle      = new Smobiler.Core.ToolBarSytle(Smobiler.Core.ToolbarSelectStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))));
     this.Load             += new System.EventHandler(this.frmBookLog_Load);
     this.ToolbarItemClick += new Smobiler.Core.ToolbarItemClickEventHandler(this.frmBookLog_ToolbarItemClick);
     this.LeftSlipping     += new System.EventHandler(this.frmBookLogCheckMain_LeftSlipping);
     this.RightSlipping    += new System.EventHandler(this.frmBookLogCheckMain_RightSlipping);
     this.TitleImageClick  += new System.EventHandler(this.frmBookLog_TitleImageClick);
     this.KeyDown          += new Smobiler.Core.KeyDownEventHandler(this.frmBookLog_KeyDown);
     this.Name              = "frmBookLogCheckMain";
 }
Exemplo n.º 5
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem1 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem2 = new Smobiler.Core.Controls.TextTabBarItem();
     this.SX          = new Smobiler.Core.Controls.ToolbarItem();
     this.xfadd       = new Smobiler.Core.Controls.ToolbarItem();
     this.GridView1   = new Smobiler.Core.Controls.GridView();
     this.RBadd       = new Smobiler.Core.Controls.ToolbarItem();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     this.Report      = new Smobiler.Core.Controls.ToolbarItem();
     //
     // SX
     //
     this.SX.IconID       = "!\\ue88b043146223";
     this.SX.Name         = "SX";
     this.SX.SelectIconID = "!\\ue88b043146223";
     this.SX.Text         = "筛选";
     //
     // xfadd
     //
     this.xfadd.IconID       = "!\\ue148043146223";
     this.xfadd.Name         = "xfadd";
     this.xfadd.SelectIconID = "!\\ue148043146223";
     this.xfadd.Text         = "消费记录";
     //
     // GridView1
     //
     this.GridView1.AllowSlip     = true;
     this.GridView1.Layout        = "frmConsumptionLayout";
     this.GridView1.Location      = new System.Drawing.Point(0, 58);
     this.GridView1.Name          = "GridView1";
     this.GridView1.ShowGridLines = false;
     this.GridView1.Size          = new System.Drawing.Size(500, 172);
     this.GridView1.TabIndex      = 15;
     this.GridView1.CellClick    += new Smobiler.Core.Controls.GridViewCellClickEventHandler(this.GridView1_CellClick);
     //
     // RBadd
     //
     this.RBadd.IconID       = "!\\ue148043146223";
     this.RBadd.Name         = "RBadd";
     this.RBadd.SelectIconID = "!\\ue148043146223";
     this.RBadd.Text         = "报销单";
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "消费记录";
     textTabBarItem1.Value         = "xf";
     textTabBarItem2.Text          = "报销";
     textTabBarItem2.Value         = "bx";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(450, 35);
     this.TextTabBar1.TabIndex        = 18;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // Report
     //
     this.Report.IconID       = "!\\ue01d043146223";
     this.Report.Name         = "Report";
     this.Report.SelectIconID = "!\\ue01d043146223";
     this.Report.Text         = "报表";
     //
     // frmRBMain
     //
     this.AllowSlip = true;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.GridView1,
         this.TextTabBar1
     });
     this.ScreenOrientation = Smobiler.Core.ScreenOrientation.Landscape;
     this.Size           = new System.Drawing.Size(500, 230);
     this.StatusBarStyle = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle     = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText      = "报销";
     this.Toolbar.AddRange(new Smobiler.Core.Controls.ToolbarItem[] {
         this.xfadd,
         this.RBadd,
         this.SX,
         this.Report
     });
     this.ToolbarStyle      = new Smobiler.Core.ToolBarSytle(Smobiler.Core.ToolbarSelectStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))));
     this.Load             += new System.EventHandler(this.frmRBMain_Load);
     this.ToolbarItemClick += new Smobiler.Core.ToolbarItemClickEventHandler(this.frmRBMain_ToolbarItemClick);
     this.LeftSlipping     += new System.EventHandler(this.frmRBMain_LeftSlipping);
     this.RightSlipping    += new System.EventHandler(this.frmRBMain_RightSlipping);
     this.TitleImageClick  += new System.EventHandler(this.MobileForm_TitleImageClick);
     this.KeyDown          += new Smobiler.Core.KeyDownEventHandler(this.MobileForm_KeyDown);
     this.Name              = "frmRBMain";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem1 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem2 = new Smobiler.Core.Controls.TextTabBarItem();
     Smobiler.Core.Controls.TextTabBarItem textTabBarItem3 = new Smobiler.Core.Controls.TextTabBarItem();
     this.GridView1   = new Smobiler.Core.Controls.GridView();
     this.add         = new Smobiler.Core.Controls.ToolbarItem();
     this.TextTabBar1 = new Smobiler.Core.Controls.TextTabBar();
     //
     // GridView1
     //
     this.GridView1.AllowSlip      = true;
     this.GridView1.Layout         = "frmSignInLayout";
     this.GridView1.Location       = new System.Drawing.Point(0, 58);
     this.GridView1.Name           = "GridView1";
     this.GridView1.ShowGridLines  = false;
     this.GridView1.Size           = new System.Drawing.Size(500, 172);
     this.GridView1.TabIndex       = 5;
     this.GridView1.UpSlippling   += new System.EventHandler(this.GridView1_UpSlippling);
     this.GridView1.DownSlippling += new System.EventHandler(this.GridView1_DownSlippling);
     //
     // add
     //
     this.add.IconID       = "!\\ue148043146223";
     this.add.Name         = "add";
     this.add.SelectIconID = "!\\ue148043146223";
     this.add.Text         = "签到录入";
     //
     // TextTabBar1
     //
     this.TextTabBar1.BackColor    = System.Drawing.Color.White;
     this.TextTabBar1.Border       = new Smobiler.Core.Border(1);
     this.TextTabBar1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.BorderRadius = 2;
     this.TextTabBar1.BorderSize   = 0.2F;
     this.TextTabBar1.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     textTabBarItem1.Text          = "今天";
     textTabBarItem1.Value         = "DaySign";
     textTabBarItem2.Text          = "最近七天";
     textTabBarItem2.Value         = "SDaySign";
     textTabBarItem3.Text          = "最近一个月";
     textTabBarItem3.Value         = "MDaySign";
     this.TextTabBar1.Items.AddRange(new Smobiler.Core.Controls.TextTabBarItem[] {
         textTabBarItem1,
         textTabBarItem2,
         textTabBarItem3
     });
     this.TextTabBar1.Location        = new System.Drawing.Point(25, 13);
     this.TextTabBar1.Name            = "TextTabBar1";
     this.TextTabBar1.SelectBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.TextTabBar1.SelectForeColor = System.Drawing.Color.White;
     this.TextTabBar1.Size            = new System.Drawing.Size(450, 35);
     this.TextTabBar1.TabIndex        = 10;
     this.TextTabBar1.ItemClick      += new Smobiler.Core.Controls.TabBarItemClickEventHandler(this.TextTabBar1_ItemClick);
     //
     // frmSignInMain
     //
     this.AllowSlip = true;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.GridView1,
         this.TextTabBar1
     });
     this.ScreenOrientation = Smobiler.Core.ScreenOrientation.Landscape;
     this.Size           = new System.Drawing.Size(500, 230);
     this.StatusBarStyle = Smobiler.Core.StatusBarStyle.Default;
     this.TitleStyle     = new Smobiler.Core.MobileFormTitleStyle("Exit", System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))), System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))));
     this.TitleText      = "签到";
     this.Toolbar.AddRange(new Smobiler.Core.Controls.ToolbarItem[] {
         this.add
     });
     this.ToolbarStyle      = new Smobiler.Core.ToolBarSytle(Smobiler.Core.ToolbarSelectStyle.None, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))), System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249))))), System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223))))));
     this.Load             += new System.EventHandler(this.frmSignIn_Load);
     this.ToolbarItemClick += new Smobiler.Core.ToolbarItemClickEventHandler(this.frmSignIn_ToolbarItemClick);
     this.LeftSlipping     += new System.EventHandler(this.frmSignIn_LeftSlipping);
     this.RightSlipping    += new System.EventHandler(this.frmSignIn_RightSlipping);
     this.TitleImageClick  += new System.EventHandler(this.frmSignInMain_TitleImageClick);
     this.KeyDown          += new Smobiler.Core.KeyDownEventHandler(this.MobileForm_KeyDown);
     this.Name              = "frmSignInMain";
 }