预览
代码
手机端效果
web端效果
demoCheckBox.cs
demoCheckBox.Designer.cs
web:CheckBox.cs
web:CheckBox.Designer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace Smobiler.Tutorials.Components
{
partial class demoCheckBox : Smobiler.Core.Controls.MobileForm
{
public demoCheckBox()
: base()
{
//This call is required by the SmobilerForm.
InitializeComponent();
}
private void title1_ImagePress(object sender, EventArgs e)
{
this.Close();
}
private void checkBox9_CheckedChanged(object sender, EventArgs e)
{
Toast(checkBox9.Checked.ToString());
}
}
}
using System;
using Smobiler.Core;
namespace Smobiler.Tutorials.Components
{
partial class demoCheckBox : Smobiler.Core.Controls.MobileForm
{
#region "SmobilerForm generated code "
//SmobilerForm overrides dispose to clean up the component list.
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
//NOTE: The following procedure is required by the SmobilerForm
//It can be modified using the SmobilerForm.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
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.checkBox1 = new Smobiler.Core.Controls.CheckBox();
this.checkBox2 = new Smobiler.Core.Controls.CheckBox();
this.checkBox3 = new Smobiler.Core.Controls.CheckBox();
this.checkBox4 = new Smobiler.Core.Controls.CheckBox();
this.panel2 = new Smobiler.Core.Controls.Panel();
this.label5 = new Smobiler.Core.Controls.Label();
this.label6 = new Smobiler.Core.Controls.Label();
this.checkBox5 = new Smobiler.Core.Controls.CheckBox();
this.checkBox6 = new Smobiler.Core.Controls.CheckBox();
this.checkBox7 = new Smobiler.Core.Controls.CheckBox();
this.checkBox8 = new Smobiler.Core.Controls.CheckBox();
this.panel3 = new Smobiler.Core.Controls.Panel();
this.label13 = new Smobiler.Core.Controls.Label();
this.label14 = new Smobiler.Core.Controls.Label();
this.checkBox9 = new Smobiler.Core.Controls.CheckBox();
this.checkBox10 = new Smobiler.Core.Controls.CheckBox();
//
// 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 = "CheckBox";
this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress);
//
// panel10
//
this.panel10.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.panel1,
this.panel2,
this.panel3});
this.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.checkBox1,
this.checkBox2,
this.checkBox3,
this.checkBox4});
this.panel1.Location = new System.Drawing.Point(5, 9);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(290, 179);
//
// labContent
//
this.labContent.BackColor = System.Drawing.Color.WhiteSmoke;
this.labContent.FontSize = 14F;
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, 66);
this.labContent.Text = "复选框控件,基础控件,Checked(是否选中)、TintColor(样式颜色)、Style(显示样式:(a) Circular:圆形\r\n(b) Square:方" +
"形)设置复选框样式";
//
// 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 = "不同样式的复选框";
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(45, 119);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(22, 22);
//
// checkBox2
//
this.checkBox2.Checked = true;
this.checkBox2.Location = new System.Drawing.Point(99, 119);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(22, 22);
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(157, 119);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(22, 22);
this.checkBox3.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox3.TintColor = System.Drawing.Color.Red;
//
// checkBox4
//
this.checkBox4.Checked = true;
this.checkBox4.Location = new System.Drawing.Point(217, 119);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(22, 22);
this.checkBox4.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox4.TintColor = System.Drawing.Color.Red;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Border = new Smobiler.Core.Controls.Border(1F);
this.panel2.BorderColor = System.Drawing.Color.Silver;
this.panel2.BorderRadius = 5;
this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label5,
this.label6,
this.checkBox5,
this.checkBox6,
this.checkBox7,
this.checkBox8});
this.panel2.Location = new System.Drawing.Point(5, 203);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(290, 181);
//
// label5
//
this.label5.BackColor = System.Drawing.Color.WhiteSmoke;
this.label5.FontSize = 15F;
this.label5.Location = new System.Drawing.Point(0, 26);
this.label5.Name = "label5";
this.label5.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label5.Size = new System.Drawing.Size(290, 54);
this.label5.Text = "Enabled设置是否已启用CheckBox";
//
// label6
//
this.label6.BackColor = System.Drawing.Color.WhiteSmoke;
this.label6.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label6.BorderColor = System.Drawing.Color.DarkSeaGreen;
this.label6.FontSize = 16F;
this.label6.Name = "label6";
this.label6.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label6.Size = new System.Drawing.Size(290, 26);
this.label6.Text = "复选框特色属性";
//
// checkBox5
//
this.checkBox5.Enabled = false;
this.checkBox5.Location = new System.Drawing.Point(45, 119);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(22, 22);
//
// checkBox6
//
this.checkBox6.Checked = true;
this.checkBox6.Enabled = false;
this.checkBox6.Location = new System.Drawing.Point(99, 119);
this.checkBox6.Name = "checkBox6";
this.checkBox6.Size = new System.Drawing.Size(22, 22);
//
// checkBox7
//
this.checkBox7.Enabled = false;
this.checkBox7.Location = new System.Drawing.Point(157, 119);
this.checkBox7.Name = "checkBox7";
this.checkBox7.Size = new System.Drawing.Size(22, 22);
this.checkBox7.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox7.TintColor = System.Drawing.Color.Red;
//
// checkBox8
//
this.checkBox8.Checked = true;
this.checkBox8.Enabled = false;
this.checkBox8.Location = new System.Drawing.Point(217, 119);
this.checkBox8.Name = "checkBox8";
this.checkBox8.Size = new System.Drawing.Size(22, 22);
this.checkBox8.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox8.TintColor = System.Drawing.Color.Red;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.White;
this.panel3.Border = new Smobiler.Core.Controls.Border(1F);
this.panel3.BorderColor = System.Drawing.Color.Silver;
this.panel3.BorderRadius = 5;
this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label13,
this.label14,
this.checkBox9,
this.checkBox10});
this.panel3.Location = new System.Drawing.Point(5, 401);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(290, 151);
//
// label13
//
this.label13.BackColor = System.Drawing.Color.WhiteSmoke;
this.label13.FontSize = 15F;
this.label13.Location = new System.Drawing.Point(0, 26);
this.label13.Name = "label13";
this.label13.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label13.Size = new System.Drawing.Size(290, 54);
this.label13.Text = "CheckedChanged在选择改变时触发";
//
// label14
//
this.label14.BackColor = System.Drawing.Color.WhiteSmoke;
this.label14.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label14.BorderColor = System.Drawing.Color.DarkSeaGreen;
this.label14.FontSize = 16F;
this.label14.Name = "label14";
this.label14.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label14.Size = new System.Drawing.Size(290, 26);
this.label14.Text = "复选框事件";
//
// checkBox9
//
this.checkBox9.Location = new System.Drawing.Point(61, 105);
this.checkBox9.Name = "checkBox9";
this.checkBox9.Size = new System.Drawing.Size(22, 22);
this.checkBox9.CheckedChanged += new System.EventHandler(this.checkBox9_CheckedChanged);
//
// checkBox10
//
this.checkBox10.Location = new System.Drawing.Point(186, 105);
this.checkBox10.Name = "checkBox10";
this.checkBox10.Size = new System.Drawing.Size(22, 22);
this.checkBox10.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox10.TintColor = System.Drawing.Color.Salmon;
//
// demoCheckBox
//
this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.title1,
this.panel10});
this.Size = new System.Drawing.Size(300, 1000);
this.Name = "demoCheckBox";
}
#endregion
private Core.Controls.Title title1;
private Core.Controls.Panel panel10;
private Core.Controls.Panel panel1;
private Core.Controls.Label labContent;
private Core.Controls.Label labTitle;
private Core.Controls.Panel panel2;
private Core.Controls.Label label5;
private Core.Controls.Label label6;
private Core.Controls.Panel panel3;
private Core.Controls.Label label13;
private Core.Controls.Label label14;
private Core.Controls.CheckBox checkBox1;
private Core.Controls.CheckBox checkBox2;
private Core.Controls.CheckBox checkBox3;
private Core.Controls.CheckBox checkBox4;
private Core.Controls.CheckBox checkBox5;
private Core.Controls.CheckBox checkBox6;
private Core.Controls.CheckBox checkBox7;
private Core.Controls.CheckBox checkBox8;
private Core.Controls.CheckBox checkBox9;
private Core.Controls.CheckBox checkBox10;
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace SmobilerTutorialsWeb.Components
{
partial class demoCheckBox : Smobiler.Core.Controls.MobileForm
{
public demoCheckBox() : base()
{
//This call is required by the SmobilerForm.
InitializeComponent();
}
private void title1_ImagePress(object sender, EventArgs e)
{
this.Close();
}
private void checkBox9_CheckedChanged(object sender, EventArgs e)
{
Toast("是否勾选当前checkbox:" + checkBox9.Checked.ToString());
}
private void RadioCheckBox1_CheckedChanged(object sender, EventArgs e)
{
RadioCheckBox1.Checked = RadioCheckBox2.Checked = RadioCheckBox3.Checked = false;
((CheckBox)sender).Checked = true;
switch(((CheckBox)sender).Name)
{
case "RadioCheckBox1":
selectAns.Text = "当前选择:A";
break;
case "RadioCheckBox2":
selectAns.Text = "当前选择:B";
break;
case "RadioCheckBox3":
selectAns.Text = "当前选择:C";
break;
}
}
private void multiple1_CheckedChanged(object sender, EventArgs e)
{
if (((CheckBox)sender).Checked)
{
switch (((CheckBox)sender).Name)
{
case "multiple1":
mulAns.Text += "A";
break;
case "multiple2":
mulAns.Text += "B";
break;
case "multiple3":
mulAns.Text += "C";
break;
}
}
else
{
switch (((CheckBox)sender).Name)
{
case "multiple1":
mulAns.Text= mulAns.Text.Replace("A","");
break;
case "multiple2":
mulAns.Text=mulAns.Text.Replace("B", "");
break;
case "multiple3":
mulAns.Text=mulAns.Text.Replace("C", "");
break;
}
}
}
}
}
using System;
using Smobiler.Core;
namespace SmobilerTutorialsWeb.Components
{
partial class demoCheckBox : Smobiler.Core.Controls.MobileForm
{
#region "SmobilerForm generated code "
//SmobilerForm overrides dispose to clean up the component list.
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
//NOTE: The following procedure is required by the SmobilerForm
//It can be modified using the SmobilerForm.
//Do not modify it using the code editor.
[System.Diagnostics.DebuggerStepThrough()]
private void InitializeComponent()
{
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.checkBox1 = new Smobiler.Core.Controls.CheckBox();
this.checkBox2 = new Smobiler.Core.Controls.CheckBox();
this.checkBox3 = new Smobiler.Core.Controls.CheckBox();
this.checkBox4 = new Smobiler.Core.Controls.CheckBox();
this.panel2 = new Smobiler.Core.Controls.Panel();
this.label5 = new Smobiler.Core.Controls.Label();
this.checkBox5 = new Smobiler.Core.Controls.CheckBox();
this.checkBox6 = new Smobiler.Core.Controls.CheckBox();
this.checkBox7 = new Smobiler.Core.Controls.CheckBox();
this.checkBox8 = new Smobiler.Core.Controls.CheckBox();
this.panel3 = new Smobiler.Core.Controls.Panel();
this.label13 = new Smobiler.Core.Controls.Label();
this.checkBox9 = new Smobiler.Core.Controls.CheckBox();
this.labTitle = new Smobiler.Core.Controls.Label();
this.label6 = new Smobiler.Core.Controls.Label();
this.label14 = new Smobiler.Core.Controls.Label();
this.panel4 = new Smobiler.Core.Controls.Panel();
this.label1 = new Smobiler.Core.Controls.Label();
this.RadioCheckBox1 = new Smobiler.Core.Controls.CheckBox();
this.label3 = new Smobiler.Core.Controls.Label();
this.label4 = new Smobiler.Core.Controls.Label();
this.RadioCheckBox2 = new Smobiler.Core.Controls.CheckBox();
this.label7 = new Smobiler.Core.Controls.Label();
this.RadioCheckBox3 = new Smobiler.Core.Controls.CheckBox();
this.selectAns = new Smobiler.Core.Controls.Label();
this.label2 = new Smobiler.Core.Controls.Label();
this.panel5 = new Smobiler.Core.Controls.Panel();
this.label8 = new Smobiler.Core.Controls.Label();
this.multiple1 = new Smobiler.Core.Controls.CheckBox();
this.label9 = new Smobiler.Core.Controls.Label();
this.label10 = new Smobiler.Core.Controls.Label();
this.multiple2 = new Smobiler.Core.Controls.CheckBox();
this.label11 = new Smobiler.Core.Controls.Label();
this.multiple3 = new Smobiler.Core.Controls.CheckBox();
this.mulAns = new Smobiler.Core.Controls.Label();
this.label15 = new Smobiler.Core.Controls.Label();
//
// title1
//
this.title1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(246)))));
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(0, 30);
this.title1.Text = "Button";
this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress);
//
// panel10
//
this.panel10.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.panel1,
this.panel2,
this.panel3,
this.labTitle,
this.label6,
this.label14,
this.panel4,
this.label2,
this.panel5,
this.label15});
this.panel10.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel10.Flex = 1;
this.panel10.Name = "panel10";
this.panel10.Scrollable = true;
this.panel10.Size = new System.Drawing.Size(1200, 0);
//
// 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.checkBox1,
this.checkBox2,
this.checkBox3,
this.checkBox4});
this.panel1.Location = new System.Drawing.Point(123, 63);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(427, 179);
//
// labContent
//
this.labContent.BackColor = System.Drawing.Color.White;
this.labContent.Location = new System.Drawing.Point(0, 125);
this.labContent.Name = "labContent";
this.labContent.Padding = new Smobiler.Core.Controls.Padding(5F);
this.labContent.Size = new System.Drawing.Size(427, 54);
this.labContent.Text = "复选框控件,基础控件,Checked、TintColor、Style设置复选框样式";
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(119, 50);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(23, 22);
//
// checkBox2
//
this.checkBox2.Checked = true;
this.checkBox2.Location = new System.Drawing.Point(173, 50);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(23, 22);
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(231, 50);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(23, 22);
this.checkBox3.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox3.TintColor = System.Drawing.Color.Red;
//
// checkBox4
//
this.checkBox4.Checked = true;
this.checkBox4.Location = new System.Drawing.Point(291, 50);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(22, 22);
this.checkBox4.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox4.TintColor = System.Drawing.Color.Red;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Border = new Smobiler.Core.Controls.Border(1F);
this.panel2.BorderColor = System.Drawing.Color.Silver;
this.panel2.BorderRadius = 5;
this.panel2.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label5,
this.checkBox5,
this.checkBox6,
this.checkBox7,
this.checkBox8});
this.panel2.Location = new System.Drawing.Point(663, 63);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(427, 181);
//
// label5
//
this.label5.BackColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(0, 127);
this.label5.Name = "label5";
this.label5.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label5.Size = new System.Drawing.Size(427, 54);
this.label5.Text = "Enabled设置是否已启用CheckBox";
//
// checkBox5
//
this.checkBox5.Enabled = false;
this.checkBox5.Location = new System.Drawing.Point(110, 50);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(21, 22);
//
// checkBox6
//
this.checkBox6.Checked = true;
this.checkBox6.Enabled = false;
this.checkBox6.Location = new System.Drawing.Point(164, 50);
this.checkBox6.Name = "checkBox6";
this.checkBox6.Size = new System.Drawing.Size(21, 22);
//
// checkBox7
//
this.checkBox7.Enabled = false;
this.checkBox7.Location = new System.Drawing.Point(222, 50);
this.checkBox7.Name = "checkBox7";
this.checkBox7.Size = new System.Drawing.Size(21, 22);
this.checkBox7.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox7.TintColor = System.Drawing.Color.Red;
//
// checkBox8
//
this.checkBox8.Checked = true;
this.checkBox8.Enabled = false;
this.checkBox8.Location = new System.Drawing.Point(281, 50);
this.checkBox8.Name = "checkBox8";
this.checkBox8.Size = new System.Drawing.Size(22, 22);
this.checkBox8.Style = Smobiler.Core.Controls.CheckBoxStyle.Circular;
this.checkBox8.TintColor = System.Drawing.Color.Red;
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.White;
this.panel3.Border = new Smobiler.Core.Controls.Border(1F);
this.panel3.BorderColor = System.Drawing.Color.Silver;
this.panel3.BorderRadius = 5;
this.panel3.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label13,
this.checkBox9});
this.panel3.Location = new System.Drawing.Point(123, 299);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(427, 151);
//
// label13
//
this.label13.BackColor = System.Drawing.Color.White;
this.label13.Location = new System.Drawing.Point(0, 96);
this.label13.Name = "label13";
this.label13.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label13.Size = new System.Drawing.Size(427, 54);
this.label13.Text = "CheckedChanged在选择改变时触发";
//
// checkBox9
//
this.checkBox9.Location = new System.Drawing.Point(185, 41);
this.checkBox9.Name = "checkBox9";
this.checkBox9.Size = new System.Drawing.Size(22, 22);
this.checkBox9.CheckedChanged += new System.EventHandler(this.checkBox9_CheckedChanged);
//
// labTitle
//
this.labTitle.BackColor = System.Drawing.Color.White;
this.labTitle.Bold = true;
this.labTitle.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.labTitle.BorderColor = System.Drawing.Color.Transparent;
this.labTitle.FontSize = 16F;
this.labTitle.Location = new System.Drawing.Point(123, 30);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(427, 26);
this.labTitle.Text = "不同样式的复选框";
//
// label6
//
this.label6.BackColor = System.Drawing.Color.White;
this.label6.Bold = true;
this.label6.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label6.BorderColor = System.Drawing.Color.Transparent;
this.label6.FontSize = 16F;
this.label6.Location = new System.Drawing.Point(663, 30);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(427, 26);
this.label6.Text = "复选框特色属性";
//
// label14
//
this.label14.BackColor = System.Drawing.Color.White;
this.label14.Bold = true;
this.label14.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label14.BorderColor = System.Drawing.Color.Transparent;
this.label14.FontSize = 16F;
this.label14.Location = new System.Drawing.Point(123, 272);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(427, 26);
this.label14.Text = "复选框事件";
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.White;
this.panel4.Border = new Smobiler.Core.Controls.Border(1F);
this.panel4.BorderColor = System.Drawing.Color.Silver;
this.panel4.BorderRadius = 5;
this.panel4.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label1,
this.RadioCheckBox1,
this.label3,
this.label4,
this.RadioCheckBox2,
this.label7,
this.RadioCheckBox3,
this.selectAns});
this.panel4.Location = new System.Drawing.Point(663, 299);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(427, 151);
//
// label1
//
this.label1.BackColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(0, 96);
this.label1.Name = "label1";
this.label1.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label1.Size = new System.Drawing.Size(427, 54);
this.label1.Text = "和Label组合成选项并在组合事件中处理成单选";
//
// RadioCheckBox1
//
this.RadioCheckBox1.Location = new System.Drawing.Point(32, 54);
this.RadioCheckBox1.Name = "RadioCheckBox1";
this.RadioCheckBox1.Size = new System.Drawing.Size(22, 22);
this.RadioCheckBox1.CheckedChanged += new System.EventHandler(this.RadioCheckBox1_CheckedChanged);
//
// label3
//
this.label3.FontSize = 14F;
this.label3.Location = new System.Drawing.Point(61, 54);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(67, 22);
this.label3.Text = "A";
//
// label4
//
this.label4.FontSize = 14F;
this.label4.Location = new System.Drawing.Point(178, 54);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(67, 22);
this.label4.Text = "B";
//
// RadioCheckBox2
//
this.RadioCheckBox2.Location = new System.Drawing.Point(150, 54);
this.RadioCheckBox2.Name = "RadioCheckBox2";
this.RadioCheckBox2.Size = new System.Drawing.Size(22, 22);
this.RadioCheckBox2.CheckedChanged += new System.EventHandler(this.RadioCheckBox1_CheckedChanged);
//
// label7
//
this.label7.FontSize = 14F;
this.label7.Location = new System.Drawing.Point(297, 54);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(67, 22);
this.label7.Text = "C";
//
// RadioCheckBox3
//
this.RadioCheckBox3.Location = new System.Drawing.Point(268, 54);
this.RadioCheckBox3.Name = "RadioCheckBox3";
this.RadioCheckBox3.Size = new System.Drawing.Size(22, 22);
this.RadioCheckBox3.CheckedChanged += new System.EventHandler(this.RadioCheckBox1_CheckedChanged);
//
// selectAns
//
this.selectAns.Bold = true;
this.selectAns.FontSize = 14F;
this.selectAns.Location = new System.Drawing.Point(32, 19);
this.selectAns.Name = "selectAns";
this.selectAns.Size = new System.Drawing.Size(332, 19);
this.selectAns.Text = "当前选择:";
//
// label2
//
this.label2.BackColor = System.Drawing.Color.White;
this.label2.Bold = true;
this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label2.BorderColor = System.Drawing.Color.Transparent;
this.label2.FontSize = 16F;
this.label2.Location = new System.Drawing.Point(663, 272);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(427, 26);
this.label2.Text = "单选框的实现";
//
// panel5
//
this.panel5.BackColor = System.Drawing.Color.White;
this.panel5.Border = new Smobiler.Core.Controls.Border(1F);
this.panel5.BorderColor = System.Drawing.Color.Silver;
this.panel5.BorderRadius = 5;
this.panel5.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.label8,
this.multiple1,
this.label9,
this.label10,
this.multiple2,
this.label11,
this.multiple3,
this.mulAns});
this.panel5.Location = new System.Drawing.Point(123, 507);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(427, 151);
//
// label8
//
this.label8.BackColor = System.Drawing.Color.White;
this.label8.Location = new System.Drawing.Point(0, 96);
this.label8.Name = "label8";
this.label8.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label8.Size = new System.Drawing.Size(427, 54);
this.label8.Text = "和Label组合成选项并在组合事件中处理成多选";
//
// multiple1
//
this.multiple1.Location = new System.Drawing.Point(32, 54);
this.multiple1.Name = "multiple1";
this.multiple1.Size = new System.Drawing.Size(22, 22);
this.multiple1.CheckedChanged += new System.EventHandler(this.multiple1_CheckedChanged);
//
// label9
//
this.label9.FontSize = 14F;
this.label9.Location = new System.Drawing.Point(61, 54);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(67, 22);
this.label9.Text = "A";
//
// label10
//
this.label10.FontSize = 14F;
this.label10.Location = new System.Drawing.Point(178, 54);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(67, 22);
this.label10.Text = "B";
//
// multiple2
//
this.multiple2.Location = new System.Drawing.Point(150, 54);
this.multiple2.Name = "multiple2";
this.multiple2.Size = new System.Drawing.Size(22, 22);
this.multiple2.CheckedChanged += new System.EventHandler(this.multiple1_CheckedChanged);
//
// label11
//
this.label11.FontSize = 14F;
this.label11.Location = new System.Drawing.Point(297, 54);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(67, 22);
this.label11.Text = "C";
//
// multiple3
//
this.multiple3.Location = new System.Drawing.Point(270, 54);
this.multiple3.Name = "multiple3";
this.multiple3.Size = new System.Drawing.Size(20, 22);
this.multiple3.CheckedChanged += new System.EventHandler(this.multiple1_CheckedChanged);
//
// mulAns
//
this.mulAns.Bold = true;
this.mulAns.FontSize = 14F;
this.mulAns.Location = new System.Drawing.Point(32, 19);
this.mulAns.Name = "mulAns";
this.mulAns.Size = new System.Drawing.Size(332, 19);
this.mulAns.Text = "当前选择:";
//
// label15
//
this.label15.BackColor = System.Drawing.Color.White;
this.label15.Bold = true;
this.label15.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label15.BorderColor = System.Drawing.Color.Transparent;
this.label15.FontSize = 16F;
this.label15.Location = new System.Drawing.Point(123, 480);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(427, 26);
this.label15.Text = "多选框的实现";
//
// demoCheckBox
//
this.BackColor = System.Drawing.Color.White;
this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.title1,
this.panel10});
this.Layout = Smobiler.Core.Controls.LayoutPosition.Relative;
this.Size = new System.Drawing.Size(1200, 800);
this.Name = "demoCheckBox";
}
#endregion
private Smobiler.Core.Controls.Title title1;
private Smobiler.Core.Controls.Panel panel10;
private Smobiler.Core.Controls.Panel panel1;
private Smobiler.Core.Controls.Label labContent;
private Smobiler.Core.Controls.CheckBox checkBox1;
private Smobiler.Core.Controls.CheckBox checkBox2;
private Smobiler.Core.Controls.CheckBox checkBox3;
private Smobiler.Core.Controls.CheckBox checkBox4;
private Smobiler.Core.Controls.Panel panel2;
private Smobiler.Core.Controls.Label label5;
private Smobiler.Core.Controls.CheckBox checkBox5;
private Smobiler.Core.Controls.CheckBox checkBox6;
private Smobiler.Core.Controls.CheckBox checkBox7;
private Smobiler.Core.Controls.CheckBox checkBox8;
private Smobiler.Core.Controls.Panel panel3;
private Smobiler.Core.Controls.Label label13;
private Smobiler.Core.Controls.CheckBox checkBox9;
private Smobiler.Core.Controls.Label labTitle;
private Smobiler.Core.Controls.Label label6;
private Smobiler.Core.Controls.Label label14;
private Smobiler.Core.Controls.Panel panel4;
private Smobiler.Core.Controls.Label label1;
private Smobiler.Core.Controls.CheckBox RadioCheckBox1;
private Smobiler.Core.Controls.Label label3;
private Smobiler.Core.Controls.Label label4;
private Smobiler.Core.Controls.CheckBox RadioCheckBox2;
private Smobiler.Core.Controls.Label label7;
private Smobiler.Core.Controls.CheckBox RadioCheckBox3;
private Smobiler.Core.Controls.Label selectAns;
private Smobiler.Core.Controls.Label label2;
private Smobiler.Core.Controls.Panel panel5;
private Smobiler.Core.Controls.Label label8;
private Smobiler.Core.Controls.CheckBox multiple1;
private Smobiler.Core.Controls.Label label9;
private Smobiler.Core.Controls.Label label10;
private Smobiler.Core.Controls.CheckBox multiple2;
private Smobiler.Core.Controls.Label label11;
private Smobiler.Core.Controls.CheckBox multiple3;
private Smobiler.Core.Controls.Label mulAns;
private Smobiler.Core.Controls.Label label15;
}
}