Exemple #1
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton1 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton2 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton3 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton4 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton5 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton6 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton7 = new Smobiler.Core.Controls.RadioButton();
     this.radioDate     = new Smobiler.Core.Controls.RadioGroup();
     this.lblADeviation = new Smobiler.Core.Controls.Label();
     this.title1        = new SmoONE.UI.Layout.Title();
     this.pCalendar     = new Smobiler.Core.Controls.Panel();
     this.fontIcon1     = new Smobiler.Core.Controls.FontIcon();
     this.label1        = new Smobiler.Core.Controls.Label();
     this.label2        = new Smobiler.Core.Controls.Label();
     //
     // radioDate
     //
     this.radioDate.BackColor = System.Drawing.Color.White;
     radioButton1.ID          = "1";
     radioButton1.Text        = "星期一";
     radioButton1.Value       = "1";
     radioButton2.ID          = "2";
     radioButton2.Text        = "星期二";
     radioButton2.Value       = "2";
     radioButton3.ID          = "3";
     radioButton3.Text        = "星期三";
     radioButton3.Value       = "3";
     radioButton4.ID          = "4";
     radioButton4.Text        = "星期四";
     radioButton4.Value       = "4";
     radioButton5.ID          = "5";
     radioButton5.Text        = "星期五";
     radioButton5.Value       = "5";
     radioButton6.ID          = "6";
     radioButton6.Text        = "星期六";
     radioButton6.Value       = "6";
     radioButton7.ID          = "7";
     radioButton7.Text        = "星期日";
     radioButton7.Value       = "7";
     this.radioDate.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton1,
         radioButton2,
         radioButton3,
         radioButton4,
         radioButton5,
         radioButton6,
         radioButton7
     });
     this.radioDate.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.radioDate.Layout       = Smobiler.Core.Controls.LayoutPosition.Relative;
     this.radioDate.Location     = new System.Drawing.Point(0, 50);
     this.radioDate.MultiSelect  = true;
     this.radioDate.Name         = "radioDate";
     this.radioDate.Padding      = new Smobiler.Core.Controls.Padding(4F, 0F, 4F, 0F);
     this.radioDate.Size         = new System.Drawing.Size(300, 245);
     this.radioDate.ButtonPress += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.radioDate_ButtonPress);
     //
     // lblADeviation
     //
     this.lblADeviation.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(244)))));
     this.lblADeviation.FontSize            = 12F;
     this.lblADeviation.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.lblADeviation.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right;
     this.lblADeviation.Location            = new System.Drawing.Point(0, 340);
     this.lblADeviation.Name    = "lblADeviation";
     this.lblADeviation.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F);
     this.lblADeviation.Size    = new System.Drawing.Size(300, 20);
     this.lblADeviation.Text    = "可单独设置某一天的考勤时间";
     this.lblADeviation.ZIndex  = 1;
     //
     // title1
     //
     this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242)))));
     this.title1.Direction = Smobiler.Core.Controls.LayoutDirection.Row;
     this.title1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.title1.FontSize  = 15F;
     this.title1.ForeColr  = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.title1.Location  = new System.Drawing.Point(111, 36);
     this.title1.Name      = "title1";
     this.title1.Size      = new System.Drawing.Size(100, 50);
     this.title1.TitleText = "日期";
     //
     // pCalendar
     //
     this.pCalendar.BackColor = System.Drawing.Color.White;
     this.pCalendar.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.fontIcon1,
         this.label1,
         this.label2
     });
     this.pCalendar.Direction = Smobiler.Core.Controls.LayoutDirection.Row;
     this.pCalendar.Location  = new System.Drawing.Point(0, 305);
     this.pCalendar.Name      = "pCalendar";
     this.pCalendar.Size      = new System.Drawing.Size(307, 35);
     this.pCalendar.Touchable = true;
     this.pCalendar.Press    += new System.EventHandler(this.pCalendar_Press);
     //
     // fontIcon1
     //
     this.fontIcon1.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.fontIcon1.Margin     = new Smobiler.Core.Controls.Margin(4F, 0F, 0F, 0F);
     this.fontIcon1.Name       = "fontIcon1";
     this.fontIcon1.Padding    = new Smobiler.Core.Controls.Padding(0F, 4F, 0F, 4F);
     this.fontIcon1.ResourceID = "calendar";
     this.fontIcon1.Size       = new System.Drawing.Size(35, 35);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(39, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(236, 35);
     this.label1.Text     = "自定义日期";
     //
     // label2
     //
     this.label2.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right;
     this.label2.Location            = new System.Drawing.Point(275, 0);
     this.label2.Name    = "label2";
     this.label2.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 4F, 0F);
     this.label2.Size    = new System.Drawing.Size(25, 35);
     this.label2.Text    = ">";
     //
     // frmAttendanceDate
     //
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.radioDate,
         this.lblADeviation,
         this.title1,
         this.pCalendar
     });
     this.KeyDown += new Smobiler.Core.Controls.KeyDownEventHandler(this.frmAttendanceDate_KeyDown);
     this.Load    += new System.EventHandler(this.frmAttendanceDate_Load);
     this.Name     = "frmAttendanceDate";
 }
Exemple #2
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton1 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton2 = new Smobiler.Core.Controls.RadioButton();
     this.spContent   = new Smobiler.Core.Controls.Panel();
     this.plName      = new Smobiler.Core.Controls.Panel();
     this.label1      = new Smobiler.Core.Controls.Label();
     this.txtName     = new Smobiler.Core.Controls.TextBox();
     this.plPwd1      = new Smobiler.Core.Controls.Panel();
     this.label2      = new Smobiler.Core.Controls.Label();
     this.txtPwd1     = new Smobiler.Core.Controls.TextBox();
     this.tpPwd1      = new Smobiler.Core.Controls.Panel();
     this.fontPwd1    = new Smobiler.Core.Controls.FontIcon();
     this.plPwd2      = new Smobiler.Core.Controls.Panel();
     this.label3      = new Smobiler.Core.Controls.Label();
     this.txtPwd2     = new Smobiler.Core.Controls.TextBox();
     this.tpPwd2      = new Smobiler.Core.Controls.Panel();
     this.fontPwd2    = new Smobiler.Core.Controls.FontIcon();
     this.plLocation  = new Smobiler.Core.Controls.Panel();
     this.label5      = new Smobiler.Core.Controls.Label();
     this.btnLocation = new Smobiler.Core.Controls.Button();
     this.label4      = new Smobiler.Core.Controls.Label();
     this.btnSave     = new Smobiler.Core.Controls.Button();
     this.radioGroup1 = new Smobiler.Core.Controls.RadioGroup();
     this.popLocation = new Smobiler.Core.Controls.PopList();
     this.title1      = new SMOSEC.UI.UserControl.Title();
     //
     // spContent
     //
     this.spContent.Border      = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F);
     this.spContent.BorderColor = System.Drawing.Color.LightGray;
     this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.plName,
         this.plPwd1,
         this.plPwd2,
         this.plLocation,
         this.label4,
         this.btnSave,
         this.radioGroup1
     });
     this.spContent.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.spContent.Flex       = 10000;
     this.spContent.Location   = new System.Drawing.Point(120, 142);
     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);
     //
     // 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.LightGray;
     this.plName.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label1,
         this.txtName
     });
     this.plName.Name = "plName";
     this.plName.Size = new System.Drawing.Size(300, 35);
     //
     // label1
     //
     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(66, 35);
     this.label1.Text      = "êdzÆ";
     //
     // txtName
     //
     this.txtName.BackColor     = System.Drawing.Color.Transparent;
     this.txtName.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtName.Location      = new System.Drawing.Point(66, 0);
     this.txtName.Name          = "txtName";
     this.txtName.Size          = new System.Drawing.Size(234, 35);
     this.txtName.WaterMarkText = "ÇëÊäÈëêdzÆ";
     //
     // plPwd1
     //
     this.plPwd1.BackColor   = System.Drawing.Color.White;
     this.plPwd1.Border      = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
     this.plPwd1.BorderColor = System.Drawing.Color.LightGray;
     this.plPwd1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label2,
         this.txtPwd1,
         this.tpPwd1
     });
     this.plPwd1.Location = new System.Drawing.Point(0, 35);
     this.plPwd1.Name     = "plPwd1";
     this.plPwd1.Size     = new System.Drawing.Size(300, 35);
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label2.Name      = "label2";
     this.label2.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label2.Size      = new System.Drawing.Size(66, 35);
     this.label2.Text      = "ÐÂÃÜÂë";
     //
     // txtPwd1
     //
     this.txtPwd1.BackColor     = System.Drawing.Color.Transparent;
     this.txtPwd1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtPwd1.KeyboardType  = Smobiler.Core.Controls.KeyboardType.Numeric;
     this.txtPwd1.Location      = new System.Drawing.Point(66, 0);
     this.txtPwd1.MaxLength     = 12;
     this.txtPwd1.Name          = "txtPwd1";
     this.txtPwd1.SecurityMode  = true;
     this.txtPwd1.Size          = new System.Drawing.Size(189, 35);
     this.txtPwd1.WaterMarkText = "ÇëÊäÈë6-12λÃÜÂë";
     //
     // tpPwd1
     //
     this.tpPwd1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.fontPwd1
     });
     this.tpPwd1.Location  = new System.Drawing.Point(255, 0);
     this.tpPwd1.Name      = "tpPwd1";
     this.tpPwd1.Size      = new System.Drawing.Size(45, 35);
     this.tpPwd1.Touchable = true;
     this.tpPwd1.Press    += new System.EventHandler(this.tpPwd1_Press);
     //
     // fontPwd1
     //
     this.fontPwd1.ForeColor  = System.Drawing.Color.Gray;
     this.fontPwd1.Margin     = new Smobiler.Core.Controls.Margin(5F, 0F, 0F, 0F);
     this.fontPwd1.Name       = "fontPwd1";
     this.fontPwd1.Padding    = new Smobiler.Core.Controls.Padding(5F);
     this.fontPwd1.ResourceID = "eye-slash";
     this.fontPwd1.Size       = new System.Drawing.Size(35, 35);
     //
     // plPwd2
     //
     this.plPwd2.BackColor   = System.Drawing.Color.White;
     this.plPwd2.Border      = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
     this.plPwd2.BorderColor = System.Drawing.Color.LightGray;
     this.plPwd2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label3,
         this.txtPwd2,
         this.tpPwd2
     });
     this.plPwd2.Location = new System.Drawing.Point(0, 70);
     this.plPwd2.Name     = "plPwd2";
     this.plPwd2.Size     = new System.Drawing.Size(300, 35);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label3.Name      = "label3";
     this.label3.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label3.Size      = new System.Drawing.Size(66, 35);
     this.label3.Text      = "È·ÈÏÃÜÂë";
     //
     // txtPwd2
     //
     this.txtPwd2.BackColor     = System.Drawing.Color.Transparent;
     this.txtPwd2.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtPwd2.KeyboardType  = Smobiler.Core.Controls.KeyboardType.Numeric;
     this.txtPwd2.Location      = new System.Drawing.Point(66, 0);
     this.txtPwd2.MaxLength     = 12;
     this.txtPwd2.Name          = "txtPwd2";
     this.txtPwd2.SecurityMode  = true;
     this.txtPwd2.Size          = new System.Drawing.Size(189, 35);
     this.txtPwd2.WaterMarkText = "ÇëÊäÈë6-12λÃÜÂë";
     //
     // tpPwd2
     //
     this.tpPwd2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.fontPwd2
     });
     this.tpPwd2.Location  = new System.Drawing.Point(255, 0);
     this.tpPwd2.Name      = "tpPwd2";
     this.tpPwd2.Size      = new System.Drawing.Size(45, 35);
     this.tpPwd2.Touchable = true;
     this.tpPwd2.Press    += new System.EventHandler(this.tpPwd2_Press);
     //
     // fontPwd2
     //
     this.fontPwd2.ForeColor  = System.Drawing.Color.Gray;
     this.fontPwd2.Margin     = new Smobiler.Core.Controls.Margin(5F, 0F, 0F, 0F);
     this.fontPwd2.Name       = "fontPwd2";
     this.fontPwd2.Padding    = new Smobiler.Core.Controls.Padding(5F);
     this.fontPwd2.ResourceID = "eye-slash";
     this.fontPwd2.Size       = new System.Drawing.Size(35, 35);
     //
     // plLocation
     //
     this.plLocation.BackColor   = System.Drawing.Color.White;
     this.plLocation.Border      = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
     this.plLocation.BorderColor = System.Drawing.Color.LightGray;
     this.plLocation.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label5,
         this.btnLocation
     });
     this.plLocation.Location = new System.Drawing.Point(0, 240);
     this.plLocation.Name     = "plLocation";
     this.plLocation.Size     = new System.Drawing.Size(300, 35);
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label5.Name      = "label5";
     this.label5.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label5.Size      = new System.Drawing.Size(66, 35);
     this.label5.Text      = "ËùÊôÇøÓò";
     //
     // btnLocation
     //
     this.btnLocation.BackColor           = System.Drawing.Color.Transparent;
     this.btnLocation.BorderRadius        = 0;
     this.btnLocation.ForeColor           = System.Drawing.Color.Black;
     this.btnLocation.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right;
     this.btnLocation.Location            = new System.Drawing.Point(66, 0);
     this.btnLocation.Name    = "btnLocation";
     this.btnLocation.Padding = new Smobiler.Core.Controls.Padding(0F, 0F, 5F, 0F);
     this.btnLocation.Size    = new System.Drawing.Size(234, 35);
     this.btnLocation.Text    = "Ñ¡Ôñ£¨±ØÌ   > ";
     this.btnLocation.Press  += new System.EventHandler(this.btnLocation_Press);
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.White;
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label4.Location  = new System.Drawing.Point(0, 105);
     this.label4.Name      = "label4";
     this.label4.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label4.Size      = new System.Drawing.Size(300, 35);
     this.label4.Text      = "½ÇÉ«Ñ¡Ôñ";
     //
     // btnSave
     //
     this.btnSave.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.btnSave.BorderRadius = 4;
     this.btnSave.FontSize     = 15F;
     this.btnSave.Location     = new System.Drawing.Point(10, 285);
     this.btnSave.Name         = "btnSave";
     this.btnSave.Size         = new System.Drawing.Size(280, 35);
     this.btnSave.Text         = "¿ªÊ¼Ê¹ÓÃ";
     this.btnSave.Press       += new System.EventHandler(this.btnSave_Press);
     //
     // radioGroup1
     //
     this.radioGroup1.BackColor = System.Drawing.Color.White;
     radioButton1.ID            = "1";
     radioButton1.Text          = "¹ÜÀíÔ±";
     radioButton1.Value         = "ADMIN";
     radioButton2.ID            = "2";
     radioButton2.Text          = "Óû§";
     radioButton2.Value         = "SMOSECUser";
     this.radioGroup1.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton1,
         radioButton2
     });
     this.radioGroup1.FontSize = 12F;
     this.radioGroup1.Location = new System.Drawing.Point(0, 140);
     this.radioGroup1.Name     = "radioGroup1";
     this.radioGroup1.Padding  = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.radioGroup1.Size     = new System.Drawing.Size(300, 100);
     //
     // popLocation
     //
     this.popLocation.Name      = "popLocation";
     this.popLocation.Selected += new System.EventHandler(this.popLocation_Selected);
     //
     // title1
     //
     this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229)))));
     this.title1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.title1.FontSize  = 15F;
     this.title1.ForeColor = System.Drawing.Color.White;
     this.title1.Location  = new System.Drawing.Point(150, 56);
     this.title1.Name      = "title1";
     this.title1.Size      = new System.Drawing.Size(100, 40);
     this.title1.TitleText = "ÉèÖõǼÐÅÏ¢";
     //
     // frmRegister
     //
     this.BackgroundImageSizeMode = Smobiler.Core.Controls.ImageSizeMode.Cover;
     this.Components.AddRange(new Smobiler.Core.Controls.MobileComponent[] {
         this.popLocation
     });
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.title1,
         this.spContent
     });
     this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait;
     this.Statusbar   = new Smobiler.Core.Controls.MobileFormStatusbar(Smobiler.Core.Controls.MobileFormStatusbarStyle.Default, System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(164)))), ((int)(((byte)(229))))));
     this.Name        = "frmRegister";
 }
Exemple #3
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton1 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton2 = new Smobiler.Core.Controls.RadioButton();
     this.plName      = new Smobiler.Core.Controls.Panel();
     this.label1      = new Smobiler.Core.Controls.Label();
     this.txtName     = new Smobiler.Core.Controls.TextBox();
     this.plPwd1      = new Smobiler.Core.Controls.Panel();
     this.label2      = new Smobiler.Core.Controls.Label();
     this.txtPwd1     = new Smobiler.Core.Controls.TextBox();
     this.tpPwd1      = new Smobiler.Core.Controls.Panel();
     this.fontPwd1    = new Smobiler.Core.Controls.FontIcon();
     this.plPwd2      = new Smobiler.Core.Controls.Panel();
     this.label3      = new Smobiler.Core.Controls.Label();
     this.txtPwd2     = new Smobiler.Core.Controls.TextBox();
     this.tpPwd2      = new Smobiler.Core.Controls.Panel();
     this.fontPwd2    = new Smobiler.Core.Controls.FontIcon();
     this.label4      = new Smobiler.Core.Controls.Label();
     this.btnSave     = new Smobiler.Core.Controls.Button();
     this.radioGroup1 = new Smobiler.Core.Controls.RadioGroup();
     this.spContent   = new Smobiler.Core.Controls.Panel();
     this.menuTitle1  = new SmoONE.UI.Layout.MenuTitle();
     //
     // plName
     //
     this.plName.BackColor   = System.Drawing.Color.White;
     this.plName.Border      = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F);
     this.plName.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.plName.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label1,
         this.txtName
     });
     this.plName.Name = "plName";
     this.plName.Size = new System.Drawing.Size(300, 35);
     //
     // label1
     //
     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(66, 35);
     this.label1.Text      = "êdzÆ";
     //
     // txtName
     //
     this.txtName.BackColor     = System.Drawing.Color.Transparent;
     this.txtName.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtName.Location      = new System.Drawing.Point(66, 0);
     this.txtName.Name          = "txtName";
     this.txtName.ReturnKeyType = Smobiler.Core.Controls.ReturnKeyType.Done;
     this.txtName.Size          = new System.Drawing.Size(234, 35);
     this.txtName.WaterMarkText = "ÇëÊäÈëêdzÆ";
     //
     // plPwd1
     //
     this.plPwd1.BackColor   = System.Drawing.Color.White;
     this.plPwd1.Border      = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 0F);
     this.plPwd1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.plPwd1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label2,
         this.txtPwd1,
         this.tpPwd1
     });
     this.plPwd1.Location = new System.Drawing.Point(0, 35);
     this.plPwd1.Name     = "plPwd1";
     this.plPwd1.Size     = new System.Drawing.Size(300, 35);
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label2.Name      = "label2";
     this.label2.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label2.Size      = new System.Drawing.Size(66, 35);
     this.label2.Text      = "ÐÂÃÜÂë";
     //
     // txtPwd1
     //
     this.txtPwd1.BackColor     = System.Drawing.Color.Transparent;
     this.txtPwd1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtPwd1.KeyboardType  = Smobiler.Core.Controls.KeyboardType.Numeric;
     this.txtPwd1.Location      = new System.Drawing.Point(66, 0);
     this.txtPwd1.MaxLength     = 12;
     this.txtPwd1.Name          = "txtPwd1";
     this.txtPwd1.SecurityMode  = true;
     this.txtPwd1.Size          = new System.Drawing.Size(189, 35);
     this.txtPwd1.WaterMarkText = "ÇëÊäÈë6-12λÃÜÂë";
     //
     // tpPwd1
     //
     this.tpPwd1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.fontPwd1
     });
     this.tpPwd1.Location  = new System.Drawing.Point(255, 0);
     this.tpPwd1.Name      = "tpPwd1";
     this.tpPwd1.Size      = new System.Drawing.Size(45, 35);
     this.tpPwd1.Touchable = true;
     this.tpPwd1.Press    += new System.EventHandler(this.tpPwd1_Press);
     //
     // fontPwd1
     //
     this.fontPwd1.ForeColor  = System.Drawing.Color.Gray;
     this.fontPwd1.Margin     = new Smobiler.Core.Controls.Margin(5F, 0F, 0F, 0F);
     this.fontPwd1.Name       = "fontPwd1";
     this.fontPwd1.Padding    = new Smobiler.Core.Controls.Padding(8F);
     this.fontPwd1.ResourceID = "eye-slash";
     this.fontPwd1.Size       = new System.Drawing.Size(35, 35);
     //
     // plPwd2
     //
     this.plPwd2.BackColor   = System.Drawing.Color.White;
     this.plPwd2.Border      = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F);
     this.plPwd2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.plPwd2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.label3,
         this.txtPwd2,
         this.tpPwd2
     });
     this.plPwd2.Location = new System.Drawing.Point(0, 70);
     this.plPwd2.Name     = "plPwd2";
     this.plPwd2.Size     = new System.Drawing.Size(300, 35);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label3.Name      = "label3";
     this.label3.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label3.Size      = new System.Drawing.Size(66, 35);
     this.label3.Text      = "È·ÈÏÃÜÂë";
     //
     // txtPwd2
     //
     this.txtPwd2.BackColor     = System.Drawing.Color.Transparent;
     this.txtPwd2.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
     this.txtPwd2.KeyboardType  = Smobiler.Core.Controls.KeyboardType.Numeric;
     this.txtPwd2.Location      = new System.Drawing.Point(66, 0);
     this.txtPwd2.MaxLength     = 12;
     this.txtPwd2.Name          = "txtPwd2";
     this.txtPwd2.SecurityMode  = true;
     this.txtPwd2.Size          = new System.Drawing.Size(189, 35);
     this.txtPwd2.WaterMarkText = "ÇëÊäÈë6-12λÃÜÂë";
     //
     // tpPwd2
     //
     this.tpPwd2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.fontPwd2
     });
     this.tpPwd2.Location  = new System.Drawing.Point(255, 0);
     this.tpPwd2.Name      = "tpPwd2";
     this.tpPwd2.Size      = new System.Drawing.Size(45, 35);
     this.tpPwd2.Touchable = true;
     this.tpPwd2.Press    += new System.EventHandler(this.tpPwd2_Press);
     //
     // fontPwd2
     //
     this.fontPwd2.ForeColor  = System.Drawing.Color.Gray;
     this.fontPwd2.Margin     = new Smobiler.Core.Controls.Margin(5F, 0F, 0F, 0F);
     this.fontPwd2.Name       = "fontPwd2";
     this.fontPwd2.Padding    = new Smobiler.Core.Controls.Padding(8F);
     this.fontPwd2.ResourceID = "eye-slash";
     this.fontPwd2.Size       = new System.Drawing.Size(35, 35);
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.White;
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(44)))), ((int)(((byte)(44)))));
     this.label4.Location  = new System.Drawing.Point(0, 105);
     this.label4.Name      = "label4";
     this.label4.Padding   = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.label4.Size      = new System.Drawing.Size(300, 35);
     this.label4.Text      = "½ÇÉ«Ñ¡Ôñ";
     //
     // btnSave
     //
     this.btnSave.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(146)))), ((int)(((byte)(223)))));
     this.btnSave.BorderRadius = 4;
     this.btnSave.FontSize     = 15F;
     this.btnSave.Location     = new System.Drawing.Point(10, 250);
     this.btnSave.Name         = "btnSave";
     this.btnSave.Size         = new System.Drawing.Size(280, 35);
     this.btnSave.Text         = "¿ªÊ¼Ê¹ÓÃ";
     this.btnSave.Press       += new System.EventHandler(this.btnSave_Press);
     //
     // radioGroup1
     //
     this.radioGroup1.BackColor = System.Drawing.Color.White;
     radioButton1.Checked       = true;
     radioButton1.ID            = "0";
     radioButton1.Text          = "¹ÜÀíÔ±";
     radioButton1.Value         = "Administrator";
     radioButton2.ID            = "1";
     radioButton2.Text          = "Ô±¹¤";
     radioButton2.Value         = "employee";
     this.radioGroup1.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton1,
         radioButton2
     });
     this.radioGroup1.FontSize       = 12F;
     this.radioGroup1.GridLines      = true;
     this.radioGroup1.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.radioGroup1.Location       = new System.Drawing.Point(0, 140);
     this.radioGroup1.Name           = "radioGroup1";
     this.radioGroup1.Padding        = new Smobiler.Core.Controls.Padding(4F, 0F, 0F, 0F);
     this.radioGroup1.Size           = new System.Drawing.Size(300, 100);
     //
     // spContent
     //
     this.spContent.Border      = new Smobiler.Core.Controls.Border(0F, 1F, 0F, 1F);
     this.spContent.BorderColor = System.Drawing.Color.LightGray;
     this.spContent.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.plName,
         this.plPwd1,
         this.plPwd2,
         this.label4,
         this.btnSave,
         this.radioGroup1
     });
     this.spContent.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.spContent.Flex       = 10000;
     this.spContent.Location   = new System.Drawing.Point(120, 142);
     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);
     //
     // menuTitle1
     //
     this.menuTitle1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.menuTitle1.Location  = new System.Drawing.Point(53, 68);
     this.menuTitle1.Name      = "menuTitle1";
     this.menuTitle1.Size      = new System.Drawing.Size(100, 50);
     this.menuTitle1.TitleText = "ÉèÖõǼÐÅÏ¢";
     //
     // frmRegister
     //
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.menuTitle1,
         this.spContent
     });
     this.Orientation = Smobiler.Core.Controls.FormOrientation.Portrait;
     this.Load       += new System.EventHandler(this.frmRegister_Load);
     this.Name        = "frmRegister";
 }
Exemple #4
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton13 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton14 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton15 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton16 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton17 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton18 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton19 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton20 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton21 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton22 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton23 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton24 = new Smobiler.Core.Controls.RadioButton();
     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.label1      = new Smobiler.Core.Controls.Label();
     this.label2      = new Smobiler.Core.Controls.Label();
     this.label3      = new Smobiler.Core.Controls.Label();
     this.label4      = new Smobiler.Core.Controls.Label();
     this.radioGroup1 = new Smobiler.Core.Controls.RadioGroup();
     this.radioGroup2 = new Smobiler.Core.Controls.RadioGroup();
     this.radioGroup3 = new Smobiler.Core.Controls.RadioGroup();
     this.radioGroup4 = new Smobiler.Core.Controls.RadioGroup();
     //
     // 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        = "RadioGroup";
     this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress);
     //
     // panel10
     //
     this.panel10.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.panel1
     });
     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.label1,
         this.label2,
         this.label3,
         this.label4,
         this.radioGroup1,
         this.radioGroup2,
         this.radioGroup3,
         this.radioGroup4
     });
     this.panel1.Location = new System.Drawing.Point(5, 9);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(290, 737);
     //
     // 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, 54);
     this.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, 26);
     this.labTitle.Text        = "RadioGroup控件";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(0, 86);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(290, 35);
     this.label1.Text     = "Buttons属性可设置选择按钮集合:\r\n";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(0, 242);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(290, 35);
     this.label2.Text     = "FontSize、ForeColor、GridLines、GridLinesColor属性可设置字体大小、字体颜色、是否显示网格线、网格线颜色:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(0, 396);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(295, 35);
     this.label3.Text     = "ButtonStyle、MultiSelect、ButtonHeight属性可设置按钮显示位置、是否支持多选、按钮高度:\r\n";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(0, 520);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(290, 49);
     this.label4.Text     = "SetRadioButtonCheckedByID方法可根据选项按钮ID设置选择状态(使用方法设置第一行)\r\nButtonPress在集合项点击时发生:\r\n";
     //
     // radioGroup1
     //
     radioButton13.ID    = "1";
     radioButton13.Text  = "第一行";
     radioButton13.Value = "1";
     radioButton14.ID    = "2";
     radioButton14.Text  = "第二行";
     radioButton14.Value = "2";
     radioButton15.ID    = "3";
     radioButton15.Text  = "第三行";
     radioButton15.Value = "3";
     this.radioGroup1.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton13,
         radioButton14,
         radioButton15
     });
     this.radioGroup1.Location = new System.Drawing.Point(0, 121);
     this.radioGroup1.Name     = "radioGroup1";
     this.radioGroup1.Size     = new System.Drawing.Size(290, 105);
     //
     // radioGroup2
     //
     this.radioGroup2.Border      = new Smobiler.Core.Controls.Border(1F);
     this.radioGroup2.BorderColor = System.Drawing.Color.Silver;
     radioButton16.ID             = "1";
     radioButton16.Text           = "第一行";
     radioButton16.Value          = "1";
     radioButton17.ID             = "2";
     radioButton17.Text           = "第二行";
     radioButton17.Value          = "2";
     radioButton18.ID             = "3";
     radioButton18.Text           = "第三行";
     radioButton18.Value          = "3";
     this.radioGroup2.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton16,
         radioButton17,
         radioButton18
     });
     this.radioGroup2.FontSize  = 16F;
     this.radioGroup2.ForeColor = System.Drawing.Color.Red;
     this.radioGroup2.GridLines = true;
     this.radioGroup2.Location  = new System.Drawing.Point(0, 277);
     this.radioGroup2.Name      = "radioGroup2";
     this.radioGroup2.Size      = new System.Drawing.Size(290, 105);
     //
     // radioGroup3
     //
     this.radioGroup3.ButtonHeight = 25;
     radioButton19.ID    = "1";
     radioButton19.Text  = "第一行";
     radioButton19.Value = "1";
     radioButton20.ID    = "2";
     radioButton20.Text  = "第二行";
     radioButton20.Value = "2";
     radioButton21.ID    = "3";
     radioButton21.Text  = "第三行";
     radioButton21.Value = "3";
     this.radioGroup3.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton19,
         radioButton20,
         radioButton21
     });
     this.radioGroup3.ButtonStyle = Smobiler.Core.Controls.RadioGroupStyle.Left;
     this.radioGroup3.Location    = new System.Drawing.Point(0, 431);
     this.radioGroup3.MultiSelect = true;
     this.radioGroup3.Name        = "radioGroup3";
     this.radioGroup3.Size        = new System.Drawing.Size(290, 75);
     //
     // radioGroup4
     //
     radioButton22.ID    = "1";
     radioButton22.Text  = "第一行";
     radioButton22.Value = "1";
     radioButton23.ID    = "2";
     radioButton23.Text  = "第二行";
     radioButton23.Value = "2";
     radioButton24.ID    = "3";
     radioButton24.Text  = "第三行";
     radioButton24.Value = "3";
     this.radioGroup4.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton22,
         radioButton23,
         radioButton24
     });
     this.radioGroup4.Location     = new System.Drawing.Point(0, 569);
     this.radioGroup4.Name         = "radioGroup4";
     this.radioGroup4.Size         = new System.Drawing.Size(290, 105);
     this.radioGroup4.ButtonPress += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.radioGroup4_ButtonPress);
     //
     // demoRadioGroup
     //
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.title1,
         this.panel10
     });
     this.Size  = new System.Drawing.Size(300, 1000);
     this.Load += new System.EventHandler(this.demoRadioGroup_Load);
     this.Name  = "demoRadioGroup";
 }
Exemple #5
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton9  = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton10 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton11 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton12 = new Smobiler.Core.Controls.RadioButton();
     this.ProbType        = new Smobiler.Core.Controls.Label();
     this.numberText      = new Smobiler.Core.Controls.Label();
     this.Number          = new Smobiler.Core.Controls.Label();
     this.ContentText     = new Smobiler.Core.Controls.TextBox();
     this.AnswerInfoPanel = new Smobiler.Core.Controls.Panel();
     this.Answer          = new Smobiler.Core.Controls.RadioGroup();
     this.OptionA         = new Smobiler.Core.Controls.TextBox();
     this.OptionC         = new Smobiler.Core.Controls.TextBox();
     this.OptionD         = new Smobiler.Core.Controls.TextBox();
     this.OptionB         = new Smobiler.Core.Controls.TextBox();
     this.Option1         = new Smobiler.Core.Controls.Label();
     this.Option2         = new Smobiler.Core.Controls.Label();
     this.Option3         = new Smobiler.Core.Controls.Label();
     this.Option4         = new Smobiler.Core.Controls.Label();
     this.CheckID         = new Smobiler.Core.Controls.Label();
     //
     // ProbType
     //
     this.ProbType.DisplayMember = "TypeInfo";
     this.ProbType.FontSize      = 18F;
     this.ProbType.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.ProbType.Location      = new System.Drawing.Point(31, 5);
     this.ProbType.Name          = "ProbType";
     this.ProbType.Size          = new System.Drawing.Size(88, 24);
     this.ProbType.Text          = "单选题";
     //
     // numberText
     //
     this.numberText.FontSize  = 14F;
     this.numberText.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.numberText.Location  = new System.Drawing.Point(210, 5);
     this.numberText.Name      = "numberText";
     this.numberText.Size      = new System.Drawing.Size(35, 25);
     this.numberText.Text      = "题号:";
     //
     // Number
     //
     this.Number.DisplayMember = "Number";
     this.Number.FontSize      = 14F;
     this.Number.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.Number.Location      = new System.Drawing.Point(245, 5);
     this.Number.Name          = "Number";
     this.Number.Size          = new System.Drawing.Size(36, 24);
     this.Number.Text          = "xx";
     //
     // ContentText
     //
     this.ContentText.Border        = new Smobiler.Core.Controls.Border(1F);
     this.ContentText.BorderColor   = System.Drawing.Color.Silver;
     this.ContentText.BorderRadius  = 3;
     this.ContentText.DisplayMember = "Content";
     this.ContentText.ForeColor     = System.Drawing.Color.Silver;
     this.ContentText.Location      = new System.Drawing.Point(31, 37);
     this.ContentText.MaxLength     = 240;
     this.ContentText.Name          = "ContentText";
     this.ContentText.Size          = new System.Drawing.Size(234, 30);
     this.ContentText.Text          = "此处填写试题内容";
     this.ContentText.TextChanged  += new System.EventHandler(this.textBox5_TextChanged);
     this.ContentText.TouchEnter   += new System.EventHandler(this.ContentText_TouchEnter);
     this.ContentText.TouchLeave   += new System.EventHandler(this.ContentText_TouchLeave);
     //
     // AnswerInfoPanel
     //
     this.AnswerInfoPanel.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.Answer,
         this.OptionA,
         this.OptionC,
         this.OptionD,
         this.OptionB,
         this.Option1,
         this.Option2,
         this.Option3,
         this.Option4
     });
     this.AnswerInfoPanel.Location = new System.Drawing.Point(31, 67);
     this.AnswerInfoPanel.Name     = "AnswerInfoPanel";
     this.AnswerInfoPanel.Size     = new System.Drawing.Size(234, 113);
     //
     // Answer
     //
     radioButton9.ID     = "A";
     radioButton9.Value  = null;
     radioButton10.ID    = "B";
     radioButton10.Value = null;
     radioButton11.ID    = "C";
     radioButton11.Value = null;
     radioButton12.ID    = "D";
     radioButton12.Value = null;
     this.Answer.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton9,
         radioButton10,
         radioButton11,
         radioButton12
     });
     this.Answer.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.Answer.Location       = new System.Drawing.Point(0, 6);
     this.Answer.Name           = "Answer";
     this.Answer.Size           = new System.Drawing.Size(48, 101);
     this.Answer.ButtonPress   += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.Answer_ButtonPress);
     //
     // OptionA
     //
     this.OptionA.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionA.BorderColor   = System.Drawing.Color.Silver;
     this.OptionA.BorderRadius  = 3;
     this.OptionA.DisplayMember = "OptionA";
     this.OptionA.Location      = new System.Drawing.Point(53, 6);
     this.OptionA.Name          = "OptionA";
     this.OptionA.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionC
     //
     this.OptionC.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionC.BorderColor   = System.Drawing.Color.Silver;
     this.OptionC.BorderRadius  = 3;
     this.OptionC.DisplayMember = "OptionC";
     this.OptionC.Location      = new System.Drawing.Point(53, 58);
     this.OptionC.Name          = "OptionC";
     this.OptionC.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionD
     //
     this.OptionD.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionD.BorderColor   = System.Drawing.Color.Silver;
     this.OptionD.BorderRadius  = 3;
     this.OptionD.DisplayMember = "OptionD";
     this.OptionD.Location      = new System.Drawing.Point(53, 84);
     this.OptionD.Name          = "OptionD";
     this.OptionD.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionB
     //
     this.OptionB.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionB.BorderColor   = System.Drawing.Color.Silver;
     this.OptionB.BorderRadius  = 3;
     this.OptionB.DisplayMember = "OptionB";
     this.OptionB.Location      = new System.Drawing.Point(53, 32);
     this.OptionB.Name          = "OptionB";
     this.OptionB.Size          = new System.Drawing.Size(180, 23);
     //
     // Option1
     //
     this.Option1.Location = new System.Drawing.Point(0, 6);
     this.Option1.Name     = "Option1";
     this.Option1.Size     = new System.Drawing.Size(48, 23);
     this.Option1.Text     = "选项1";
     //
     // Option2
     //
     this.Option2.Location = new System.Drawing.Point(0, 32);
     this.Option2.Name     = "Option2";
     this.Option2.Size     = new System.Drawing.Size(48, 23);
     this.Option2.Text     = "选项2";
     //
     // Option3
     //
     this.Option3.Location = new System.Drawing.Point(0, 58);
     this.Option3.Name     = "Option3";
     this.Option3.Size     = new System.Drawing.Size(48, 23);
     this.Option3.Text     = "选项3";
     //
     // Option4
     //
     this.Option4.Location = new System.Drawing.Point(0, 84);
     this.Option4.Name     = "Option4";
     this.Option4.Size     = new System.Drawing.Size(48, 23);
     this.Option4.Text     = "选项4";
     //
     // CheckID
     //
     this.CheckID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center;
     this.CheckID.Location            = new System.Drawing.Point(131, 9);
     this.CheckID.Name = "CheckID";
     this.CheckID.Size = new System.Drawing.Size(63, 28);
     //
     // SingleChoiceControl
     //
     this.BackColor   = System.Drawing.Color.Gainsboro;
     this.Border      = new Smobiler.Core.Controls.Border(1F);
     this.BorderColor = System.Drawing.Color.Silver;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.ProbType,
         this.numberText,
         this.Number,
         this.AnswerInfoPanel,
         this.ContentText,
         this.CheckID
     });
     this.Size  = new System.Drawing.Size(300, 200);
     this.Load += new System.EventHandler(this.SingleChoiceControl_Load);
     this.Name  = "SingleChoiceControl";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton1 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton2 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton3 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton4 = new Smobiler.Core.Controls.RadioButton();
     this.ProbType        = new Smobiler.Core.Controls.Label();
     this.numberText      = new Smobiler.Core.Controls.Label();
     this.Number          = new Smobiler.Core.Controls.Label();
     this.AnswerInfoPanel = new Smobiler.Core.Controls.Panel();
     this.Answer          = new Smobiler.Core.Controls.RadioGroup();
     this.OptionA         = new Smobiler.Core.Controls.Label();
     this.OptionB         = new Smobiler.Core.Controls.Label();
     this.OptionC         = new Smobiler.Core.Controls.Label();
     this.OptionD         = new Smobiler.Core.Controls.Label();
     this.CheckID         = new Smobiler.Core.Controls.Label();
     this.ContentText     = new Smobiler.Core.Controls.Label();
     //
     // ProbType
     //
     this.ProbType.DisplayMember = "TypeInfo";
     this.ProbType.FontSize      = 18F;
     this.ProbType.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.ProbType.Location      = new System.Drawing.Point(31, 5);
     this.ProbType.Name          = "ProbType";
     this.ProbType.Size          = new System.Drawing.Size(70, 24);
     this.ProbType.Text          = "单选题";
     //
     // numberText
     //
     this.numberText.FontSize  = 14F;
     this.numberText.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.numberText.Location  = new System.Drawing.Point(210, 5);
     this.numberText.Name      = "numberText";
     this.numberText.Size      = new System.Drawing.Size(35, 25);
     this.numberText.Text      = "题号:";
     //
     // Number
     //
     this.Number.DisplayMember = "Number";
     this.Number.FontSize      = 14F;
     this.Number.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.Number.Location      = new System.Drawing.Point(245, 5);
     this.Number.Name          = "Number";
     this.Number.Size          = new System.Drawing.Size(36, 24);
     this.Number.Text          = "xx";
     //
     // AnswerInfoPanel
     //
     this.AnswerInfoPanel.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.Answer,
         this.OptionA,
         this.OptionB,
         this.OptionC,
         this.OptionD
     });
     this.AnswerInfoPanel.Location = new System.Drawing.Point(32, 70);
     this.AnswerInfoPanel.Name     = "AnswerInfoPanel";
     this.AnswerInfoPanel.Size     = new System.Drawing.Size(234, 117);
     //
     // Answer
     //
     radioButton1.ID    = "A";
     radioButton1.Text  = "A.";
     radioButton1.Value = null;
     radioButton2.ID    = "B";
     radioButton2.Text  = "B.";
     radioButton2.Value = null;
     radioButton3.ID    = "C";
     radioButton3.Text  = "C.";
     radioButton3.Value = null;
     radioButton4.ID    = "D";
     radioButton4.Text  = "D.";
     radioButton4.Value = null;
     this.Answer.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton1,
         radioButton2,
         radioButton3,
         radioButton4
     });
     this.Answer.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.Answer.Location       = new System.Drawing.Point(0, 6);
     this.Answer.MultiSelect    = true;
     this.Answer.Name           = "Answer";
     this.Answer.Size           = new System.Drawing.Size(48, 101);
     this.Answer.ButtonPress   += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.Answer_ButtonPress);
     //
     // OptionA
     //
     this.OptionA.DisplayMember = "OptionA";
     this.OptionA.Location      = new System.Drawing.Point(53, 6);
     this.OptionA.Name          = "OptionA";
     this.OptionA.Size          = new System.Drawing.Size(180, 23);
     this.OptionA.Text          = "label1";
     //
     // OptionB
     //
     this.OptionB.DisplayMember = "OptionB";
     this.OptionB.Location      = new System.Drawing.Point(53, 32);
     this.OptionB.Name          = "OptionB";
     this.OptionB.Size          = new System.Drawing.Size(180, 23);
     this.OptionB.Text          = "label1";
     //
     // OptionC
     //
     this.OptionC.DisplayMember = "OptionC";
     this.OptionC.Location      = new System.Drawing.Point(53, 58);
     this.OptionC.Name          = "OptionC";
     this.OptionC.Size          = new System.Drawing.Size(180, 23);
     this.OptionC.Text          = "label1";
     //
     // OptionD
     //
     this.OptionD.DisplayMember = "OptionD";
     this.OptionD.Location      = new System.Drawing.Point(53, 84);
     this.OptionD.Name          = "OptionD";
     this.OptionD.Size          = new System.Drawing.Size(180, 23);
     this.OptionD.Text          = "label1";
     //
     // CheckID
     //
     this.CheckID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center;
     this.CheckID.Location            = new System.Drawing.Point(115, 7);
     this.CheckID.Name = "CheckID";
     this.CheckID.Size = new System.Drawing.Size(67, 28);
     //
     // ContentText
     //
     this.ContentText.DisplayMember = "ContentText";
     this.ContentText.Location      = new System.Drawing.Point(32, 37);
     this.ContentText.Name          = "ContentText";
     this.ContentText.Size          = new System.Drawing.Size(249, 27);
     this.ContentText.Text          = "label1";
     //
     // AnswerSingleChoiceControl
     //
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.ProbType,
         this.numberText,
         this.Number,
         this.AnswerInfoPanel,
         this.CheckID,
         this.ContentText
     });
     this.Size = new System.Drawing.Size(300, 200);
     this.Name = "AnswerSingleChoiceControl";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton3 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton4 = new Smobiler.Core.Controls.RadioButton();
     this.panel3        = new Smobiler.Core.Controls.Panel();
     this.EditBtn       = new Smobiler.Core.Controls.Button();
     this.DeleteBtn     = new Smobiler.Core.Controls.Button();
     this.ReleaseBtn    = new Smobiler.Core.Controls.Button();
     this.startQuestion = new Smobiler.Core.Controls.Button();
     this.radioGroup1   = new Smobiler.Core.Controls.RadioGroup();
     this.label3        = new Smobiler.Core.Controls.Label();
     this.NumberText    = new Smobiler.Core.Controls.Label();
     this.panel1        = new Smobiler.Core.Controls.Panel();
     this.Titel         = new Smobiler.Core.Controls.Label();
     this.CreateTime    = new Smobiler.Core.Controls.Label();
     this.label1        = new Smobiler.Core.Controls.Label();
     this.label2        = new Smobiler.Core.Controls.Label();
     this.Id            = new Smobiler.Core.Controls.Label();
     //
     // panel3
     //
     this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.EditBtn,
         this.DeleteBtn,
         this.ReleaseBtn,
         this.startQuestion,
         this.radioGroup1,
         this.label3,
         this.NumberText
     });
     this.panel3.Location = new System.Drawing.Point(0, 40);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(300, 60);
     //
     // EditBtn
     //
     this.EditBtn.Location = new System.Drawing.Point(77, 28);
     this.EditBtn.Name     = "EditBtn";
     this.EditBtn.Size     = new System.Drawing.Size(42, 24);
     this.EditBtn.Text     = "编辑";
     this.EditBtn.Press   += new System.EventHandler(this.EditBtn_Press);
     //
     // DeleteBtn
     //
     this.DeleteBtn.BackColor = System.Drawing.Color.Red;
     this.DeleteBtn.Location  = new System.Drawing.Point(150, 28);
     this.DeleteBtn.Name      = "DeleteBtn";
     this.DeleteBtn.Size      = new System.Drawing.Size(49, 24);
     this.DeleteBtn.Text      = "删除";
     //
     // ReleaseBtn
     //
     this.ReleaseBtn.Location = new System.Drawing.Point(10, 28);
     this.ReleaseBtn.Name     = "ReleaseBtn";
     this.ReleaseBtn.Size     = new System.Drawing.Size(42, 24);
     this.ReleaseBtn.Text     = "发布";
     this.ReleaseBtn.Press   += new System.EventHandler(this.button1_Press);
     //
     // startQuestion
     //
     this.startQuestion.Location = new System.Drawing.Point(77, 26);
     this.startQuestion.Name     = "startQuestion";
     this.startQuestion.Size     = new System.Drawing.Size(54, 28);
     this.startQuestion.Text     = "开始作答";
     this.startQuestion.Press   += new System.EventHandler(this.startQuestion_Press);
     //
     // radioGroup1
     //
     this.radioGroup1.ButtonHeight = 30;
     radioButton3.ID    = "0";
     radioButton3.Text  = "匿名";
     radioButton3.Value = null;
     radioButton4.ID    = "1";
     radioButton4.Text  = "实名";
     radioButton4.Value = null;
     this.radioGroup1.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton3,
         radioButton4
     });
     this.radioGroup1.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.radioGroup1.Location       = new System.Drawing.Point(223, 4);
     this.radioGroup1.Name           = "radioGroup1";
     this.radioGroup1.SelfAlign      = Smobiler.Core.Controls.LayoutSelfAlign.Center;
     this.radioGroup1.Size           = new System.Drawing.Size(68, 50);
     this.radioGroup1.ButtonPress   += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.radioGroup1_ButtonPress);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(150, 4);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(82, 21);
     this.label3.Text     = "调查对象类型:";
     //
     // NumberText
     //
     this.NumberText.DisplayMember = "Number";
     this.NumberText.Location      = new System.Drawing.Point(21, 4);
     this.NumberText.Name          = "NumberText";
     this.NumberText.Size          = new System.Drawing.Size(31, 18);
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.Titel,
         this.CreateTime,
         this.label1,
         this.label2
     });
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(300, 40);
     //
     // Titel
     //
     this.Titel.DisplayMember = "Name";
     this.Titel.FontSize      = 16F;
     this.Titel.Location      = new System.Drawing.Point(11, 0);
     this.Titel.Name          = "Titel";
     this.Titel.Size          = new System.Drawing.Size(148, 33);
     this.Titel.Text          = "问卷标题";
     //
     // CreateTime
     //
     this.CreateTime.DisplayMember = "CreateTime";
     this.CreateTime.FontSize      = 10F;
     this.CreateTime.ForeColor     = System.Drawing.SystemColors.Highlight;
     this.CreateTime.Location      = new System.Drawing.Point(201, 9);
     this.CreateTime.Name          = "CreateTime";
     this.CreateTime.Size          = new System.Drawing.Size(88, 24);
     this.CreateTime.Text          = "时间";
     //
     // label1
     //
     this.label1.FontSize  = 12F;
     this.label1.ForeColor = System.Drawing.SystemColors.Highlight;
     this.label1.Location  = new System.Drawing.Point(172, 9);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(29, 24);
     this.label1.Text      = "创建时间:";
     //
     // label2
     //
     this.label2.DisplayMember = "ID";
     this.label2.Location      = new System.Drawing.Point(128, 10);
     this.label2.Name          = "label2";
     this.label2.Size          = new System.Drawing.Size(31, 23);
     this.label2.Text          = "label2";
     this.label2.Visible       = false;
     //
     // Id
     //
     this.Id.DisplayMember = "Id";
     this.Id.FontSize      = 15F;
     this.Id.Location      = new System.Drawing.Point(11, 115);
     this.Id.Name          = "Id";
     this.Id.Size          = new System.Drawing.Size(40, 27);
     this.Id.Text          = "Id";
     //
     // QuestionnaireListControl
     //
     this.Border      = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 2F);
     this.BorderColor = System.Drawing.Color.Gainsboro;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.panel1,
         this.panel3,
         this.Id
     });
     this.Size  = new System.Drawing.Size(300, 300);
     this.Load += new System.EventHandler(this.QuestionnaireListControl_Load);
     this.Name  = "QuestionnaireListControl";
 }
Exemple #8
0
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton3 = new Smobiler.Core.Controls.RadioButton();
     this.panel1      = new Smobiler.Core.Controls.Panel();
     this.labname     = new Smobiler.Core.Controls.Label();
     this.radioGroup1 = new Smobiler.Core.Controls.RadioGroup();
     this.line1       = new Smobiler.Core.Controls.Line();
     this.labphone    = new Smobiler.Core.Controls.Label();
     this.labaddres   = new Smobiler.Core.Controls.Label();
     this.btnupdate   = new Smobiler.Core.Controls.Button();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.labname,
         this.radioGroup1,
         this.line1,
         this.labphone,
         this.labaddres,
         this.btnupdate
     });
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(300, 100);
     //
     // labname
     //
     this.labname.DataMember    = "name";
     this.labname.DisplayMember = "name";
     this.labname.FontSize      = 16F;
     this.labname.Location      = new System.Drawing.Point(58, 13);
     this.labname.Name          = "labname";
     this.labname.Size          = new System.Drawing.Size(75, 35);
     this.labname.Text          = "label1";
     //
     // radioGroup1
     //
     radioButton3.Checked = true;
     radioButton3.ID      = null;
     radioButton3.Value   = null;
     this.radioGroup1.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton3
     });
     this.radioGroup1.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.radioGroup1.Location       = new System.Drawing.Point(9, 39);
     this.radioGroup1.Name           = "radioGroup1";
     this.radioGroup1.Size           = new System.Drawing.Size(37, 27);
     //
     // line1
     //
     this.line1.BackColor   = System.Drawing.Color.Gray;
     this.line1.Location    = new System.Drawing.Point(239, 45);
     this.line1.Name        = "line1";
     this.line1.Orientation = Smobiler.Core.Controls.OrientationAlignment.Vertical;
     this.line1.Size        = new System.Drawing.Size(1, 20);
     //
     // labphone
     //
     this.labphone.DataMember    = "phone";
     this.labphone.DisplayMember = "phone";
     this.labphone.FontSize      = 16F;
     this.labphone.Location      = new System.Drawing.Point(119, 13);
     this.labphone.Name          = "labphone";
     this.labphone.Size          = new System.Drawing.Size(100, 35);
     this.labphone.Text          = "label2";
     //
     // labaddres
     //
     this.labaddres.BorderColor   = System.Drawing.Color.Gray;
     this.labaddres.DataMember    = "xiang";
     this.labaddres.DisplayMember = "xiang";
     this.labaddres.FontSize      = 16F;
     this.labaddres.Location      = new System.Drawing.Point(58, 52);
     this.labaddres.Name          = "labaddres";
     this.labaddres.Size          = new System.Drawing.Size(178, 35);
     this.labaddres.Text          = "label3";
     //
     // btnupdate
     //
     this.btnupdate.BackColor    = System.Drawing.Color.WhiteSmoke;
     this.btnupdate.BorderRadius = 0;
     this.btnupdate.ForeColor    = System.Drawing.Color.DimGray;
     this.btnupdate.Location     = new System.Drawing.Point(246, 39);
     this.btnupdate.Name         = "btnupdate";
     this.btnupdate.Size         = new System.Drawing.Size(38, 27);
     this.btnupdate.Text         = "编辑";
     //
     // frmAddress
     //
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.panel1
     });
     this.Size  = new System.Drawing.Size(300, 100);
     this.Load += new System.EventHandler(this.frmAddress_Load);
     this.Name  = "frmAddress";
 }
 private void InitializeComponent()
 {
     Smobiler.Core.Controls.RadioButton radioButton19 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton20 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton21 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton22 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton23 = new Smobiler.Core.Controls.RadioButton();
     Smobiler.Core.Controls.RadioButton radioButton24 = new Smobiler.Core.Controls.RadioButton();
     this.ProbType        = new Smobiler.Core.Controls.Label();
     this.numberText      = new Smobiler.Core.Controls.Label();
     this.Number          = new Smobiler.Core.Controls.Label();
     this.ContentText     = new Smobiler.Core.Controls.TextBox();
     this.AnswerInfoPanel = new Smobiler.Core.Controls.Panel();
     this.Answer          = new Smobiler.Core.Controls.RadioGroup();
     this.OptionA         = new Smobiler.Core.Controls.TextBox();
     this.OptionC         = new Smobiler.Core.Controls.TextBox();
     this.OptionD         = new Smobiler.Core.Controls.TextBox();
     this.OptionB         = new Smobiler.Core.Controls.TextBox();
     this.OptionE         = new Smobiler.Core.Controls.TextBox();
     this.OptionF         = new Smobiler.Core.Controls.TextBox();
     this.CheckID         = new Smobiler.Core.Controls.Label();
     this.Option1         = new Smobiler.Core.Controls.Label();
     this.Option2         = new Smobiler.Core.Controls.Label();
     this.Option3         = new Smobiler.Core.Controls.Label();
     this.Option4         = new Smobiler.Core.Controls.Label();
     this.Option6         = new Smobiler.Core.Controls.Label();
     this.Option5         = new Smobiler.Core.Controls.Label();
     //
     // ProbType
     //
     this.ProbType.DisplayMember = "TypeInfo";
     this.ProbType.FontSize      = 18F;
     this.ProbType.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.ProbType.Location      = new System.Drawing.Point(31, 5);
     this.ProbType.Name          = "ProbType";
     this.ProbType.Size          = new System.Drawing.Size(70, 24);
     this.ProbType.Text          = "多选题";
     //
     // numberText
     //
     this.numberText.FontSize  = 14F;
     this.numberText.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.numberText.Location  = new System.Drawing.Point(210, 5);
     this.numberText.Name      = "numberText";
     this.numberText.Size      = new System.Drawing.Size(35, 25);
     this.numberText.Text      = "题号:";
     //
     // Number
     //
     this.Number.DisplayMember = "Number";
     this.Number.FontSize      = 14F;
     this.Number.ForeColor     = System.Drawing.Color.CornflowerBlue;
     this.Number.Location      = new System.Drawing.Point(245, 5);
     this.Number.Name          = "Number";
     this.Number.Size          = new System.Drawing.Size(36, 24);
     this.Number.Text          = "xx";
     //
     // ContentText
     //
     this.ContentText.Border        = new Smobiler.Core.Controls.Border(1F);
     this.ContentText.BorderColor   = System.Drawing.Color.Silver;
     this.ContentText.BorderRadius  = 3;
     this.ContentText.DisplayMember = "Content";
     this.ContentText.ForeColor     = System.Drawing.Color.Silver;
     this.ContentText.Location      = new System.Drawing.Point(32, 40);
     this.ContentText.MaxLength     = 240;
     this.ContentText.Name          = "ContentText";
     this.ContentText.Size          = new System.Drawing.Size(234, 30);
     this.ContentText.Text          = "此处填写试题内容";
     this.ContentText.TextChanged  += new System.EventHandler(this.textBox5_TextChanged);
     this.ContentText.TouchEnter   += new System.EventHandler(this.ContentText_TouchEnter);
     this.ContentText.TouchLeave   += new System.EventHandler(this.ContentText_TouchLeave);
     //
     // AnswerInfoPanel
     //
     this.AnswerInfoPanel.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.Answer,
         this.OptionA,
         this.OptionC,
         this.OptionD,
         this.OptionB,
         this.OptionE,
         this.OptionF,
         this.Option1,
         this.Option2,
         this.Option3,
         this.Option4,
         this.Option6,
         this.Option5
     });
     this.AnswerInfoPanel.Location = new System.Drawing.Point(32, 70);
     this.AnswerInfoPanel.Name     = "AnswerInfoPanel";
     this.AnswerInfoPanel.Size     = new System.Drawing.Size(234, 161);
     //
     // Answer
     //
     radioButton19.ID    = "A";
     radioButton19.Text  = "A.";
     radioButton19.Value = null;
     radioButton20.ID    = "B";
     radioButton20.Text  = "B.";
     radioButton20.Value = null;
     radioButton21.ID    = "C";
     radioButton21.Text  = "C.";
     radioButton21.Value = null;
     radioButton22.ID    = "D";
     radioButton22.Text  = "D.";
     radioButton22.Value = null;
     radioButton23.ID    = "E";
     radioButton23.Text  = "E.";
     radioButton23.Value = null;
     radioButton24.ID    = "F";
     radioButton24.Text  = "F.";
     radioButton24.Value = null;
     this.Answer.Buttons.AddRange(new Smobiler.Core.Controls.RadioButton[] {
         radioButton19,
         radioButton20,
         radioButton21,
         radioButton22,
         radioButton23,
         radioButton24
     });
     this.Answer.GridLinesColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.Answer.Location       = new System.Drawing.Point(0, 6);
     this.Answer.MultiSelect    = true;
     this.Answer.Name           = "Answer";
     this.Answer.Size           = new System.Drawing.Size(48, 153);
     this.Answer.ButtonPress   += new Smobiler.Core.Controls.RadioButtonPressEventHandler(this.Answer_ButtonPress);
     //
     // OptionA
     //
     this.OptionA.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionA.BorderColor   = System.Drawing.Color.Silver;
     this.OptionA.BorderRadius  = 3;
     this.OptionA.DisplayMember = "OptionA";
     this.OptionA.Location      = new System.Drawing.Point(53, 6);
     this.OptionA.Name          = "OptionA";
     this.OptionA.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionC
     //
     this.OptionC.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionC.BorderColor   = System.Drawing.Color.Silver;
     this.OptionC.BorderRadius  = 3;
     this.OptionC.DisplayMember = "OptionC";
     this.OptionC.Location      = new System.Drawing.Point(53, 58);
     this.OptionC.Name          = "OptionC";
     this.OptionC.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionD
     //
     this.OptionD.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionD.BorderColor   = System.Drawing.Color.Silver;
     this.OptionD.BorderRadius  = 3;
     this.OptionD.DisplayMember = "OptionD";
     this.OptionD.Location      = new System.Drawing.Point(53, 84);
     this.OptionD.Name          = "OptionD";
     this.OptionD.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionB
     //
     this.OptionB.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionB.BorderColor   = System.Drawing.Color.Silver;
     this.OptionB.BorderRadius  = 3;
     this.OptionB.DisplayMember = "OptionB";
     this.OptionB.Location      = new System.Drawing.Point(53, 32);
     this.OptionB.Name          = "OptionB";
     this.OptionB.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionE
     //
     this.OptionE.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionE.BorderColor   = System.Drawing.Color.Silver;
     this.OptionE.BorderRadius  = 3;
     this.OptionE.DisplayMember = "OptionE";
     this.OptionE.Location      = new System.Drawing.Point(53, 110);
     this.OptionE.Name          = "OptionE";
     this.OptionE.Size          = new System.Drawing.Size(180, 23);
     //
     // OptionF
     //
     this.OptionF.Border        = new Smobiler.Core.Controls.Border(1F);
     this.OptionF.BorderColor   = System.Drawing.Color.Silver;
     this.OptionF.BorderRadius  = 3;
     this.OptionF.DisplayMember = "OptionF";
     this.OptionF.Location      = new System.Drawing.Point(53, 136);
     this.OptionF.Name          = "OptionF";
     this.OptionF.Size          = new System.Drawing.Size(180, 23);
     //
     // CheckID
     //
     this.CheckID.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Center;
     this.CheckID.Location            = new System.Drawing.Point(115, 9);
     this.CheckID.Name = "CheckID";
     this.CheckID.Size = new System.Drawing.Size(67, 28);
     //
     // Option1
     //
     this.Option1.Location = new System.Drawing.Point(0, 6);
     this.Option1.Name     = "Option1";
     this.Option1.Size     = new System.Drawing.Size(48, 23);
     this.Option1.Text     = "选项1";
     //
     // Option2
     //
     this.Option2.Location = new System.Drawing.Point(0, 32);
     this.Option2.Name     = "Option2";
     this.Option2.Size     = new System.Drawing.Size(48, 23);
     this.Option2.Text     = "选项2";
     //
     // Option3
     //
     this.Option3.Location = new System.Drawing.Point(0, 58);
     this.Option3.Name     = "Option3";
     this.Option3.Size     = new System.Drawing.Size(48, 23);
     this.Option3.Text     = "选项3";
     //
     // Option4
     //
     this.Option4.Location = new System.Drawing.Point(0, 84);
     this.Option4.Name     = "Option4";
     this.Option4.Size     = new System.Drawing.Size(48, 23);
     this.Option4.Text     = "选项4";
     //
     // Option6
     //
     this.Option6.Location = new System.Drawing.Point(0, 136);
     this.Option6.Name     = "Option6";
     this.Option6.Size     = new System.Drawing.Size(48, 23);
     this.Option6.Text     = "选项6";
     //
     // Option5
     //
     this.Option5.Location = new System.Drawing.Point(0, 110);
     this.Option5.Name     = "Option5";
     this.Option5.Size     = new System.Drawing.Size(48, 23);
     this.Option5.Text     = "选项5";
     //
     // MultipleChoiceControl
     //
     this.BackColor   = System.Drawing.Color.Gainsboro;
     this.Border      = new Smobiler.Core.Controls.Border(1F);
     this.BorderColor = System.Drawing.Color.Silver;
     this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
         this.ProbType,
         this.numberText,
         this.Number,
         this.ContentText,
         this.AnswerInfoPanel,
         this.CheckID
     });
     this.Size  = new System.Drawing.Size(300, 250);
     this.Load += new System.EventHandler(this.MultipleChoiceControl_Load);
     this.Name  = "MultipleChoiceControl";
 }