预览
代码
手机端效果
web端效果
demoButton.cs
demoButton.Designer.cs
web:demoButton.cs
web:demoButton.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 demoButton : Smobiler.Core.Controls.MobileForm
{
public demoButton()
: base()
{
//This call is required by the SmobilerForm.
InitializeComponent();
}
private void title1_ImagePress(object sender, EventArgs e)
{
this.Close();
}
private void btnPress_Press(object sender, EventArgs e)
{
MessageBox.Show("点击事件被触发");
}
private void btnLongPress_LongPress(object sender, EventArgs e)
{
MessageBox.Show("长按事件被触发");
}
private void spinner1_ItemSelected(object sender, SpinnerItemSelectedEventArgs e)
{
switch (e.Item)
{
case "FontSize - 13":
this.button1.FontSize = 13f;
break;
case "FontSize - 20":
this.button1.FontSize = 20f;
break;
case "ForeColor - Red":
this.button1.ForeColor = System.Drawing.Color.Red;
break;
case "ForeColor - Yellow":
this.button1.ForeColor = System.Drawing.Color.Yellow;
break;
case "Text - CurrentDate":
this.button1.Text = DateTime.Now.ToString();
break;
case "HorizontalAlignment - Left":
this.button1.HorizontalAlignment = HorizontalAlignment.Left;
break;
case "HorizontalAlignment - Center":
this.button1.HorizontalAlignment = HorizontalAlignment.Center;
break;
case "HorizontalAlignment - Right":
this.button1.HorizontalAlignment = HorizontalAlignment.Right;
break;
}
}
}
}
using System;
using Smobiler.Core;
namespace Smobiler.Tutorials.Components
{
partial class demoButton : 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.panel1 = new Smobiler.Core.Controls.Panel();
this.btnRectangle = new Smobiler.Core.Controls.Button();
this.labContent = new Smobiler.Core.Controls.Label();
this.labTitle = new Smobiler.Core.Controls.Label();
this.label3 = new Smobiler.Core.Controls.Label();
this.btnCircle = new Smobiler.Core.Controls.Button();
this.btnEclipse = new Smobiler.Core.Controls.Button();
this.panel2 = new Smobiler.Core.Controls.Panel();
this.label1 = new Smobiler.Core.Controls.Label();
this.label2 = new Smobiler.Core.Controls.Label();
this.btnPress = new Smobiler.Core.Controls.Button();
this.btnLongPress = new Smobiler.Core.Controls.Button();
this.panel3 = new Smobiler.Core.Controls.Panel();
this.button1 = new Smobiler.Core.Controls.Button();
this.spinner1 = new Smobiler.Core.Controls.Spinner();
this.label4 = new Smobiler.Core.Controls.Label();
//
// 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 = "Button";
this.title1.ImagePress += new System.EventHandler(this.title1_ImagePress);
//
// 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.btnRectangle,
this.labContent,
this.labTitle,
this.label3,
this.btnCircle,
this.btnEclipse});
this.panel1.Location = new System.Drawing.Point(5, 39);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(290, 321);
//
// btnRectangle
//
this.btnRectangle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(250)))));
this.btnRectangle.BorderColor = System.Drawing.Color.White;
this.btnRectangle.BorderRadius = 0;
this.btnRectangle.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.btnRectangle.FontSize = 15F;
this.btnRectangle.Location = new System.Drawing.Point(40, 110);
this.btnRectangle.Name = "btnRectangle";
this.btnRectangle.Size = new System.Drawing.Size(224, 30);
this.btnRectangle.Text = "方形按钮";
//
// labContent
//
this.labContent.BackColor = System.Drawing.Color.WhiteSmoke;
this.labContent.Location = new System.Drawing.Point(0, 39);
this.labContent.Name = "labContent";
this.labContent.Padding = new Smobiler.Core.Controls.Padding(5F);
this.labContent.Size = new System.Drawing.Size(290, 61);
this.labContent.Text = "按钮控件,最常用的控件,用于触发一个点击事件,按钮控件也可以显示如下不同的样式。通过设置BackColor(背景颜色)、BorderColor(边框颜色)、Siz" +
"e(控件大小)、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.Location = new System.Drawing.Point(0, 1);
this.labTitle.Name = "labTitle";
this.labTitle.Padding = new Smobiler.Core.Controls.Padding(5F);
this.labTitle.Size = new System.Drawing.Size(290, 36);
this.labTitle.Text = "不同样式的按钮";
//
// label3
//
this.label3.FontSize = 14F;
this.label3.Location = new System.Drawing.Point(0, 154);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(290, 60);
this.label3.Text = "通过设置BorderRadius,使得button显示圆角,当BorderRadius等于button.Height等于button.Width时,button呈" +
"圆形。";
//
// btnCircle
//
this.btnCircle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.btnCircle.Border = new Smobiler.Core.Controls.Border(5F);
this.btnCircle.BorderColor = System.Drawing.Color.White;
this.btnCircle.BorderRadius = 50;
this.btnCircle.FontSize = 18F;
this.btnCircle.ForeColor = System.Drawing.Color.OldLace;
this.btnCircle.Location = new System.Drawing.Point(181, 214);
this.btnCircle.Name = "btnCircle";
this.btnCircle.Size = new System.Drawing.Size(80, 80);
this.btnCircle.Text = "圆形按钮";
//
// btnEclipse
//
this.btnEclipse.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.btnEclipse.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted;
this.btnEclipse.FontSize = 15F;
this.btnEclipse.Location = new System.Drawing.Point(22, 227);
this.btnEclipse.Name = "btnEclipse";
this.btnEclipse.Size = new System.Drawing.Size(100, 38);
this.btnEclipse.Text = "椭圆形按钮";
//
// 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.label1,
this.label2,
this.btnPress,
this.btnLongPress});
this.panel2.Location = new System.Drawing.Point(5, 509);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(290, 141);
//
// label1
//
this.label1.BackColor = System.Drawing.Color.WhiteSmoke;
this.label1.FontSize = 15F;
this.label1.Location = new System.Drawing.Point(0, 26);
this.label1.Name = "label1";
this.label1.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label1.Size = new System.Drawing.Size(290, 44);
this.label1.Text = "按钮控件有Press(点击)和LongPress(长按)两个事件,点击下面两个按钮试一下";
//
// label2
//
this.label2.BackColor = System.Drawing.Color.WhiteSmoke;
this.label2.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label2.BorderColor = System.Drawing.Color.DarkSeaGreen;
this.label2.FontSize = 16F;
this.label2.Name = "label2";
this.label2.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label2.Size = new System.Drawing.Size(290, 26);
this.label2.Text = "按钮的事件";
//
// btnPress
//
this.btnPress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(80)))));
this.btnPress.Location = new System.Drawing.Point(8, 80);
this.btnPress.Name = "btnPress";
this.btnPress.Size = new System.Drawing.Size(100, 30);
this.btnPress.Text = "点击我";
this.btnPress.Press += new System.EventHandler(this.btnPress_Press);
//
// btnLongPress
//
this.btnLongPress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(80)))));
this.btnLongPress.Location = new System.Drawing.Point(184, 81);
this.btnLongPress.Name = "btnLongPress";
this.btnLongPress.Size = new System.Drawing.Size(100, 30);
this.btnLongPress.Text = "长按我";
this.btnLongPress.LongPress += new System.EventHandler(this.btnLongPress_LongPress);
//
// 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.label4,
this.spinner1,
this.button1});
this.panel3.Location = new System.Drawing.Point(5, 374);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(290, 123);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(100)))));
this.button1.Location = new System.Drawing.Point(22, 37);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(246, 34);
this.button1.Text = "button1";
//
// spinner1
//
this.spinner1.Items = new string[] {
"FontSize - 13",
"FontSize - 20",
"ForeColor - Red",
"ForeColor - Yellow",
"Text - CurrentDate",
"HorizontalAlignment - Left",
"HorizontalAlignment - Center",
"HorizontalAlignment - Right"};
this.spinner1.Location = new System.Drawing.Point(0, 80);
this.spinner1.Name = "spinner1";
this.spinner1.Size = new System.Drawing.Size(290, 30);
this.spinner1.Text = "FontSize - 13";
this.spinner1.ItemSelected += new System.EventHandler(this.spinner1_ItemSelected);
//
// label4
//
this.label4.BackColor = System.Drawing.Color.WhiteSmoke;
this.label4.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label4.BorderColor = System.Drawing.Color.DarkSeaGreen;
this.label4.FontSize = 16F;
this.label4.Name = "label4";
this.label4.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label4.Size = new System.Drawing.Size(290, 26);
this.label4.Text = "基础属性";
//
// demoButton
//
this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.title1,
this.panel1,
this.panel2,
this.panel3});
this.Name = "demoButton";
}
#endregion
private Core.Controls.Title title1;
private Core.Controls.Panel panel1;
private Core.Controls.Label labContent;
private Core.Controls.Label labTitle;
private Core.Controls.Panel panel2;
private Core.Controls.Label label1;
private Core.Controls.Label label2;
private Core.Controls.Button btnPress;
private Core.Controls.Button btnLongPress;
public Core.Controls.Button btnRectangle;
private Core.Controls.Label label3;
private Core.Controls.Button btnCircle;
private Core.Controls.Button btnEclipse;
private Core.Controls.Panel panel3;
private Core.Controls.Label label4;
private Core.Controls.Spinner spinner1;
private Core.Controls.Button button1;
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace SmobilerTutorialsWeb.Components
{
partial class demoButton : Smobiler.Core.Controls.MobileForm
{
public demoButton()
: base()
{
//This call is required by the SmobilerForm.
InitializeComponent();
}
private void title1_ImagePress(object sender, EventArgs e)
{
this.Close();
}
private void btnPress_Press(object sender, EventArgs e)
{
MessageBox.Show("点击事件被触发");
}
private void btnLongPress_LongPress(object sender, EventArgs e)
{
MessageBox.Show("长按事件被触发");
}
private void spinner1_ItemSelected(object sender, SpinnerItemSelectedEventArgs e)
{
switch (e.Item)
{
case "FontSize - 13":
this.button1.FontSize = 13f;
break;
case "FontSize - 20":
this.button1.FontSize = 20f;
break;
case "ForeColor - Red":
this.button1.ForeColor = System.Drawing.Color.Red;
break;
case "ForeColor - Yellow":
this.button1.ForeColor = System.Drawing.Color.Yellow;
break;
case "Text - CurrentDate":
this.button1.Text = DateTime.Now.ToString();
break;
case "HorizontalAlignment - Left":
this.button1.HorizontalAlignment = HorizontalAlignment.Left;
break;
case "HorizontalAlignment - Center":
this.button1.HorizontalAlignment = HorizontalAlignment.Center;
break;
case "HorizontalAlignment - Right":
this.button1.HorizontalAlignment = HorizontalAlignment.Right;
break;
}
}
private void button2_Press(object sender, EventArgs e)
{
}
private void button8_Press(object sender, EventArgs e)
{
}
private void button15_Press(object sender, EventArgs e)
{
MessageBox.Show("hello", "提示", MessageBoxButtons.YesNo, (obj, args) =>
{
if (args.Result == ShowResult.Yes)
button15.Text = "Yes";
});
}
private void button21_Press(object sender, EventArgs e)
{
}
private void btnRectangle_Press(object sender, EventArgs e)
{
this.ActionButton.Items.Add(new ActionButtonItem() { Text="aaa"});
}
private void button2_Press_1(object sender, EventArgs e)
{
this.ActionButton.Items.RemoveAt(1);
}
}
}
using System;
using Smobiler.Core;
namespace SmobilerTutorialsWeb.Components
{
partial class demoButton : 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()
{
Smobiler.Core.Controls.ActionButtonItem actionButtonItem1 = new Smobiler.Core.Controls.ActionButtonItem();
Smobiler.Core.Controls.ActionButtonItem actionButtonItem2 = new Smobiler.Core.Controls.ActionButtonItem();
Smobiler.Core.Controls.ActionButtonItem actionButtonItem3 = new Smobiler.Core.Controls.ActionButtonItem();
this.title1 = new Smobiler.Core.Controls.Title();
this.panel1 = new Smobiler.Core.Controls.Panel();
this.panel2 = new Smobiler.Core.Controls.Panel();
this.btnRectangle = new Smobiler.Core.Controls.Button();
this.button6 = new Smobiler.Core.Controls.Button();
this.button2 = new Smobiler.Core.Controls.Button();
this.button11 = new Smobiler.Core.Controls.Button();
this.button13 = new Smobiler.Core.Controls.Button();
this.button16 = new Smobiler.Core.Controls.Button();
this.button18 = new Smobiler.Core.Controls.Button();
this.button21 = new Smobiler.Core.Controls.Button();
this.labContent = new Smobiler.Core.Controls.Label();
this.panel3 = new Smobiler.Core.Controls.Panel();
this.label1 = new Smobiler.Core.Controls.Label();
this.btnPress = new Smobiler.Core.Controls.Button();
this.btnLongPress = new Smobiler.Core.Controls.Button();
this.button5 = new Smobiler.Core.Controls.Button();
this.button15 = new Smobiler.Core.Controls.Button();
this.panel4 = new Smobiler.Core.Controls.Panel();
this.spinner1 = new Smobiler.Core.Controls.Spinner();
this.button1 = new Smobiler.Core.Controls.Button();
this.label3 = new Smobiler.Core.Controls.Label();
this.label7 = new Smobiler.Core.Controls.Label();
this.labTitle = new Smobiler.Core.Controls.Label();
this.panel6 = new Smobiler.Core.Controls.Panel();
this.button4 = new Smobiler.Core.Controls.Button();
this.button7 = new Smobiler.Core.Controls.Button();
this.button8 = new Smobiler.Core.Controls.Button();
this.button10 = new Smobiler.Core.Controls.Button();
this.button14 = new Smobiler.Core.Controls.Button();
this.button17 = new Smobiler.Core.Controls.Button();
this.button20 = new Smobiler.Core.Controls.Button();
this.button43 = new Smobiler.Core.Controls.Button();
this.button45 = new Smobiler.Core.Controls.Button();
this.button47 = new Smobiler.Core.Controls.Button();
this.button48 = new Smobiler.Core.Controls.Button();
this.button50 = new Smobiler.Core.Controls.Button();
this.label6 = new Smobiler.Core.Controls.Label();
this.panel5 = new Smobiler.Core.Controls.Panel();
this.button24 = new Smobiler.Core.Controls.Button();
this.button26 = new Smobiler.Core.Controls.Button();
this.button27 = new Smobiler.Core.Controls.Button();
this.button29 = new Smobiler.Core.Controls.Button();
this.label5 = new Smobiler.Core.Controls.Label();
this.button23 = new Smobiler.Core.Controls.Button();
this.button25 = new Smobiler.Core.Controls.Button();
this.button28 = new Smobiler.Core.Controls.Button();
this.button30 = new Smobiler.Core.Controls.Button();
this.button31 = new Smobiler.Core.Controls.Button();
this.button32 = new Smobiler.Core.Controls.Button();
this.button33 = new Smobiler.Core.Controls.Button();
this.button34 = new Smobiler.Core.Controls.Button();
this.label2 = new Smobiler.Core.Controls.Label();
this.label4 = 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);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.panel2,
this.panel3,
this.panel4,
this.labTitle,
this.panel6,
this.panel5,
this.label2,
this.label4});
this.panel1.Flex = 1;
this.panel1.Name = "panel1";
this.panel1.Scrollable = true;
this.panel1.Size = new System.Drawing.Size(0, 455);
//
// 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.btnRectangle,
this.button6,
this.button2,
this.button11,
this.button13,
this.button16,
this.button18,
this.button21,
this.labContent});
this.panel2.Location = new System.Drawing.Point(123, 57);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(427, 191);
//
// btnRectangle
//
this.btnRectangle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.btnRectangle.BorderRadius = 0;
this.btnRectangle.FontSize = 12F;
this.btnRectangle.Location = new System.Drawing.Point(23, 26);
this.btnRectangle.Name = "btnRectangle";
this.btnRectangle.Size = new System.Drawing.Size(60, 25);
this.btnRectangle.Text = "go";
this.btnRectangle.Press += new System.EventHandler(this.btnRectangle_Press);
//
// button6
//
this.button6.BackColor = System.Drawing.Color.White;
this.button6.Border = new Smobiler.Core.Controls.Border(1F);
this.button6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button6.BorderRadius = 0;
this.button6.FontSize = 12F;
this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button6.Location = new System.Drawing.Point(23, 73);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(60, 25);
this.button6.Text = "go";
//
// button2
//
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button2.BorderRadius = 0;
this.button2.FontSize = 12F;
this.button2.Location = new System.Drawing.Point(105, 21);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(70, 30);
this.button2.Text = "go";
this.button2.Press += new System.EventHandler(this.button2_Press_1);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.White;
this.button11.Border = new Smobiler.Core.Controls.Border(1F);
this.button11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button11.BorderRadius = 0;
this.button11.FontSize = 12F;
this.button11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button11.Location = new System.Drawing.Point(105, 68);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(70, 30);
this.button11.Text = "go";
//
// button13
//
this.button13.BackColor = System.Drawing.Color.White;
this.button13.Border = new Smobiler.Core.Controls.Border(1F);
this.button13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button13.BorderRadius = 0;
this.button13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button13.Location = new System.Drawing.Point(197, 63);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(80, 35);
this.button13.Text = "go";
//
// button16
//
this.button16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button16.BorderRadius = 0;
this.button16.Location = new System.Drawing.Point(197, 16);
this.button16.Name = "button16";
this.button16.Size = new System.Drawing.Size(80, 35);
this.button16.Text = "go";
//
// button18
//
this.button18.BackColor = System.Drawing.Color.White;
this.button18.Border = new Smobiler.Core.Controls.Border(1F);
this.button18.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button18.BorderRadius = 0;
this.button18.FontSize = 14F;
this.button18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button18.Location = new System.Drawing.Point(299, 58);
this.button18.Name = "button18";
this.button18.Size = new System.Drawing.Size(100, 40);
this.button18.Text = "go";
//
// button21
//
this.button21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button21.BorderRadius = 0;
this.button21.FontSize = 14F;
this.button21.Location = new System.Drawing.Point(299, 11);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(100, 40);
this.button21.Text = "go";
this.button21.Press += new System.EventHandler(this.button21_Press);
//
// labContent
//
this.labContent.BackColor = System.Drawing.Color.White;
this.labContent.Location = new System.Drawing.Point(23, 114);
this.labContent.Name = "labContent";
this.labContent.Padding = new Smobiler.Core.Controls.Padding(5F);
this.labContent.Size = new System.Drawing.Size(376, 75);
this.labContent.Text = "按钮控件,最常用的控件,用于触发一个点击事件,按钮控件也可以显示如下不同的样式。通过设置BackColor(背景色)、BorderColor(边框颜色)、\r\nSi" +
"ze(控件大小)、Text(文本)创建不同样式的按钮";
//
// 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.label1,
this.btnPress,
this.btnLongPress,
this.button5,
this.button15});
this.panel3.Location = new System.Drawing.Point(123, 738);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(936, 136);
//
// label1
//
this.label1.BackColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(23, 85);
this.label1.Name = "label1";
this.label1.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label1.Size = new System.Drawing.Size(469, 35);
this.label1.Text = "按钮控件有Press(点击)和LongPress(长按)两个事件。可将各种想要执行的事件写到点击事件中,点击button触发";
//
// btnPress
//
this.btnPress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.btnPress.Location = new System.Drawing.Point(23, 29);
this.btnPress.Name = "btnPress";
this.btnPress.Size = new System.Drawing.Size(100, 30);
this.btnPress.Text = "点击我";
this.btnPress.Press += new System.EventHandler(this.btnPress_Press);
//
// btnLongPress
//
this.btnLongPress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.btnLongPress.Location = new System.Drawing.Point(148, 29);
this.btnLongPress.Name = "btnLongPress";
this.btnLongPress.Size = new System.Drawing.Size(100, 30);
this.btnLongPress.Text = "长按我";
this.btnLongPress.LongPress += new System.EventHandler(this.btnLongPress_LongPress);
//
// button5
//
this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button5.Location = new System.Drawing.Point(266, 29);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(100, 30);
this.button5.Text = "退出应用 ";
this.button5.LongPress += new System.EventHandler(this.btnLongPress_LongPress);
//
// button15
//
this.button15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button15.Location = new System.Drawing.Point(392, 29);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(100, 30);
this.button15.Text = "弹出窗口";
this.button15.Press += new System.EventHandler(this.button15_Press);
this.button15.LongPress += new System.EventHandler(this.btnLongPress_LongPress);
//
// 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.spinner1,
this.button1,
this.label3,
this.label7});
this.panel4.Location = new System.Drawing.Point(123, 549);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(427, 132);
//
// spinner1
//
this.spinner1.Items = new string[] {
"FontSize - 13",
"FontSize - 20",
"ForeColor - Red",
"ForeColor - Yellow",
"Text - CurrentDate",
"HorizontalAlignment - Left",
"HorizontalAlignment - Center",
"HorizontalAlignment - Right"};
this.spinner1.Location = new System.Drawing.Point(145, 67);
this.spinner1.Name = "spinner1";
this.spinner1.Size = new System.Drawing.Size(209, 30);
this.spinner1.Text = "FontSize - 13";
this.spinner1.ItemSelected += new System.EventHandler(this.spinner1_ItemSelected);
//
// button1
//
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button1.Location = new System.Drawing.Point(108, 19);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(246, 30);
this.button1.Text = "button1";
//
// label3
//
this.label3.HorizontalAlignment = Smobiler.Core.Controls.HorizontalAlignment.Right;
this.label3.Location = new System.Drawing.Point(70, 67);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(66, 30);
this.label3.Text = "设置项";
//
// label7
//
this.label7.Location = new System.Drawing.Point(0, 108);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(420, 22);
this.label7.Text = "点击设置项,更改按钮属性\r\n";
//
// 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 = "不同样式的按钮";
//
// panel6
//
this.panel6.BackColor = System.Drawing.Color.White;
this.panel6.Border = new Smobiler.Core.Controls.Border(1F);
this.panel6.BorderColor = System.Drawing.Color.Silver;
this.panel6.BorderRadius = 5;
this.panel6.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.button4,
this.button7,
this.button8,
this.button10,
this.button14,
this.button17,
this.button20,
this.button43,
this.button45,
this.button47,
this.button48,
this.button50,
this.label6});
this.panel6.Location = new System.Drawing.Point(123, 278);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(427, 214);
//
// button4
//
this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button4.Enabled = false;
this.button4.FontSize = 12F;
this.button4.Location = new System.Drawing.Point(23, 25);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(60, 25);
this.button4.Text = "go";
//
// button7
//
this.button7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button7.BorderRadius = 25;
this.button7.Enabled = false;
this.button7.FontSize = 12F;
this.button7.Location = new System.Drawing.Point(41, 120);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(25, 25);
this.button7.Text = "go";
this.button7.Press += new System.EventHandler(this.button8_Press);
//
// button8
//
this.button8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button8.BorderRadius = 35;
this.button8.FontSize = 12F;
this.button8.Location = new System.Drawing.Point(219, 110);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(35, 35);
this.button8.Text = "go";
//
// button10
//
this.button10.BackColor = System.Drawing.Color.Empty;
this.button10.Border = new Smobiler.Core.Controls.Border(1F);
this.button10.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button10.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button10.Enabled = false;
this.button10.FontSize = 12F;
this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button10.Location = new System.Drawing.Point(23, 73);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(60, 25);
this.button10.Text = "go";
//
// button14
//
this.button14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button14.Enabled = false;
this.button14.FontSize = 12F;
this.button14.Location = new System.Drawing.Point(105, 20);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(70, 30);
this.button14.Text = "go";
//
// button17
//
this.button17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button17.BorderRadius = 30;
this.button17.Enabled = false;
this.button17.FontSize = 12F;
this.button17.Location = new System.Drawing.Point(125, 115);
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(30, 30);
this.button17.Text = "go";
this.button17.Press += new System.EventHandler(this.button8_Press);
//
// button20
//
this.button20.BackColor = System.Drawing.Color.Empty;
this.button20.Border = new Smobiler.Core.Controls.Border(1F);
this.button20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button20.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button20.Enabled = false;
this.button20.FontSize = 12F;
this.button20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button20.Location = new System.Drawing.Point(105, 68);
this.button20.Name = "button20";
this.button20.Size = new System.Drawing.Size(70, 30);
this.button20.Text = "go";
//
// button43
//
this.button43.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button43.Enabled = false;
this.button43.Location = new System.Drawing.Point(197, 15);
this.button43.Name = "button43";
this.button43.Size = new System.Drawing.Size(80, 35);
this.button43.Text = "go";
//
// button45
//
this.button45.BackColor = System.Drawing.Color.Empty;
this.button45.Border = new Smobiler.Core.Controls.Border(1F);
this.button45.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button45.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button45.Enabled = false;
this.button45.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button45.Location = new System.Drawing.Point(197, 63);
this.button45.Name = "button45";
this.button45.Size = new System.Drawing.Size(80, 35);
this.button45.Text = "go";
//
// button47
//
this.button47.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button47.Enabled = false;
this.button47.FontSize = 14F;
this.button47.Location = new System.Drawing.Point(299, 10);
this.button47.Name = "button47";
this.button47.Size = new System.Drawing.Size(100, 40);
this.button47.Text = "go";
//
// button48
//
this.button48.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button48.BorderRadius = 40;
this.button48.Enabled = false;
this.button48.FontSize = 14F;
this.button48.Location = new System.Drawing.Point(329, 105);
this.button48.Name = "button48";
this.button48.Size = new System.Drawing.Size(40, 40);
this.button48.Text = "go";
this.button48.Press += new System.EventHandler(this.button8_Press);
//
// button50
//
this.button50.BackColor = System.Drawing.Color.Empty;
this.button50.Border = new Smobiler.Core.Controls.Border(1F);
this.button50.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button50.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button50.Enabled = false;
this.button50.FontSize = 14F;
this.button50.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button50.Location = new System.Drawing.Point(299, 58);
this.button50.Name = "button50";
this.button50.Size = new System.Drawing.Size(100, 40);
this.button50.Text = "go";
//
// label6
//
this.label6.BackColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(23, 153);
this.label6.Name = "label6";
this.label6.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label6.Size = new System.Drawing.Size(376, 60);
this.label6.Text = "通过设置BorderRadius,使得button显示圆角,当BorderRadius等于button.Height等于button.Width时,button呈" +
"圆形";
//
// 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.button24,
this.button26,
this.button27,
this.button29,
this.label5,
this.button23,
this.button25,
this.button28,
this.button30,
this.button31,
this.button32,
this.button33,
this.button34});
this.panel5.Location = new System.Drawing.Point(632, 57);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(427, 240);
//
// button24
//
this.button24.BackColor = System.Drawing.Color.White;
this.button24.Border = new Smobiler.Core.Controls.Border(1F);
this.button24.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button24.BorderRadius = 0;
this.button24.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted;
this.button24.FontSize = 12F;
this.button24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button24.Location = new System.Drawing.Point(23, 73);
this.button24.Name = "button24";
this.button24.Size = new System.Drawing.Size(60, 25);
this.button24.Text = "go";
//
// button26
//
this.button26.BackColor = System.Drawing.Color.White;
this.button26.Border = new Smobiler.Core.Controls.Border(1F);
this.button26.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button26.BorderRadius = 0;
this.button26.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted;
this.button26.FontSize = 12F;
this.button26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button26.Location = new System.Drawing.Point(105, 68);
this.button26.Name = "button26";
this.button26.Size = new System.Drawing.Size(70, 30);
this.button26.Text = "go";
//
// button27
//
this.button27.BackColor = System.Drawing.Color.White;
this.button27.Border = new Smobiler.Core.Controls.Border(1F);
this.button27.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button27.BorderRadius = 0;
this.button27.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted;
this.button27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button27.Location = new System.Drawing.Point(197, 63);
this.button27.Name = "button27";
this.button27.Size = new System.Drawing.Size(80, 35);
this.button27.Text = "go";
//
// button29
//
this.button29.BackColor = System.Drawing.Color.White;
this.button29.Border = new Smobiler.Core.Controls.Border(1F);
this.button29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button29.BorderRadius = 0;
this.button29.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dotted;
this.button29.FontSize = 14F;
this.button29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button29.Location = new System.Drawing.Point(299, 58);
this.button29.Name = "button29";
this.button29.Size = new System.Drawing.Size(100, 40);
this.button29.Text = "go";
//
// label5
//
this.label5.BackColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(23, 158);
this.label5.Name = "label5";
this.label5.Padding = new Smobiler.Core.Controls.Padding(5F);
this.label5.Size = new System.Drawing.Size(376, 75);
this.label5.Text = "通过设置BoderStyle 为Solid、Dotted、Dashed 显示不同边框的button,默认\r\nSolid\r\n";
//
// button23
//
this.button23.BackColor = System.Drawing.Color.White;
this.button23.Border = new Smobiler.Core.Controls.Border(1F);
this.button23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button23.BorderRadius = 0;
this.button23.FontSize = 12F;
this.button23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button23.Location = new System.Drawing.Point(23, 23);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(60, 25);
this.button23.Text = "go";
//
// button25
//
this.button25.BackColor = System.Drawing.Color.White;
this.button25.Border = new Smobiler.Core.Controls.Border(1F);
this.button25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button25.BorderRadius = 0;
this.button25.FontSize = 12F;
this.button25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button25.Location = new System.Drawing.Point(105, 18);
this.button25.Name = "button25";
this.button25.Size = new System.Drawing.Size(70, 30);
this.button25.Text = "go";
//
// button28
//
this.button28.BackColor = System.Drawing.Color.White;
this.button28.Border = new Smobiler.Core.Controls.Border(1F);
this.button28.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button28.BorderRadius = 0;
this.button28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button28.Location = new System.Drawing.Point(197, 13);
this.button28.Name = "button28";
this.button28.Size = new System.Drawing.Size(80, 35);
this.button28.Text = "go";
//
// button30
//
this.button30.BackColor = System.Drawing.Color.White;
this.button30.Border = new Smobiler.Core.Controls.Border(1F);
this.button30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button30.BorderRadius = 0;
this.button30.FontSize = 14F;
this.button30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button30.Location = new System.Drawing.Point(299, 8);
this.button30.Name = "button30";
this.button30.Size = new System.Drawing.Size(100, 40);
this.button30.Text = "go";
//
// button31
//
this.button31.BackColor = System.Drawing.Color.White;
this.button31.Border = new Smobiler.Core.Controls.Border(1F);
this.button31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button31.BorderRadius = 0;
this.button31.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button31.FontSize = 12F;
this.button31.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(176)))), ((int)(((byte)(249)))));
this.button31.Location = new System.Drawing.Point(23, 123);
this.button31.Name = "button31";
this.button31.Size = new System.Drawing.Size(60, 25);
this.button31.Text = "go";
//
// button32
//
this.button32.BackColor = System.Drawing.Color.White;
this.button32.Border = new Smobiler.Core.Controls.Border(1F);
this.button32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button32.BorderRadius = 0;
this.button32.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button32.FontSize = 12F;
this.button32.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(229)))), ((int)(((byte)(99)))));
this.button32.Location = new System.Drawing.Point(105, 118);
this.button32.Name = "button32";
this.button32.Size = new System.Drawing.Size(70, 30);
this.button32.Text = "go";
//
// button33
//
this.button33.BackColor = System.Drawing.Color.White;
this.button33.Border = new Smobiler.Core.Controls.Border(1F);
this.button33.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button33.BorderRadius = 0;
this.button33.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button33.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(78)))));
this.button33.Location = new System.Drawing.Point(197, 113);
this.button33.Name = "button33";
this.button33.Size = new System.Drawing.Size(80, 35);
this.button33.Text = "go";
//
// button34
//
this.button34.BackColor = System.Drawing.Color.White;
this.button34.Border = new Smobiler.Core.Controls.Border(1F);
this.button34.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button34.BorderRadius = 0;
this.button34.BorderStyle = Smobiler.Core.Controls.BorderStyle.Dashed;
this.button34.FontSize = 14F;
this.button34.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(67)))), ((int)(((byte)(81)))));
this.button34.Location = new System.Drawing.Point(299, 108);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(100, 40);
this.button34.Text = "go";
//
// 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.White;
this.label2.FontSize = 16F;
this.label2.Location = new System.Drawing.Point(123, 711);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(290, 26);
this.label2.Text = "按钮的事件";
//
// label4
//
this.label4.BackColor = System.Drawing.Color.White;
this.label4.Bold = true;
this.label4.Border = new Smobiler.Core.Controls.Border(0F, 0F, 0F, 1F);
this.label4.BorderColor = System.Drawing.Color.Transparent;
this.label4.FontSize = 16F;
this.label4.Location = new System.Drawing.Point(123, 522);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(427, 26);
this.label4.Text = "基础属性";
//
// demoButton
//
this.ActionButton.Active = true;
this.ActionButton.Enabled = true;
actionButtonItem1.Text = "0";
actionButtonItem2.Text = "1";
actionButtonItem3.Text = "3";
this.ActionButton.Items.AddRange(new Smobiler.Core.Controls.ActionButtonItem[] {
actionButtonItem1,
actionButtonItem2,
actionButtonItem3});
this.Controls.AddRange(new Smobiler.Core.Controls.MobileControl[] {
this.title1,
this.panel1});
this.Layout = Smobiler.Core.Controls.LayoutPosition.Relative;
this.Size = new System.Drawing.Size(1200, 800);
this.Name = "demoButton";
}
#endregion
private Smobiler.Core.Controls.Title title1;
private Smobiler.Core.Controls.Panel panel1;
private Smobiler.Core.Controls.Panel panel2;
private Smobiler.Core.Controls.Button btnRectangle;
private Smobiler.Core.Controls.Panel panel4;
private Smobiler.Core.Controls.Spinner spinner1;
private Smobiler.Core.Controls.Button button1;
private Smobiler.Core.Controls.Button button6;
private Smobiler.Core.Controls.Button button2;
private Smobiler.Core.Controls.Button button11;
private Smobiler.Core.Controls.Button button13;
private Smobiler.Core.Controls.Button button16;
private Smobiler.Core.Controls.Button button18;
private Smobiler.Core.Controls.Button button21;
private Smobiler.Core.Controls.Label labContent;
private Smobiler.Core.Controls.Label labTitle;
private Smobiler.Core.Controls.Panel panel3;
private Smobiler.Core.Controls.Label label1;
private Smobiler.Core.Controls.Button btnPress;
private Smobiler.Core.Controls.Button btnLongPress;
private Smobiler.Core.Controls.Button button5;
private Smobiler.Core.Controls.Button button15;
private Smobiler.Core.Controls.Panel panel6;
private Smobiler.Core.Controls.Button button4;
private Smobiler.Core.Controls.Button button7;
private Smobiler.Core.Controls.Button button8;
private Smobiler.Core.Controls.Button button10;
private Smobiler.Core.Controls.Button button14;
private Smobiler.Core.Controls.Button button17;
private Smobiler.Core.Controls.Button button20;
private Smobiler.Core.Controls.Button button43;
private Smobiler.Core.Controls.Button button45;
private Smobiler.Core.Controls.Button button47;
private Smobiler.Core.Controls.Button button48;
private Smobiler.Core.Controls.Button button50;
private Smobiler.Core.Controls.Label label6;
private Smobiler.Core.Controls.Panel panel5;
private Smobiler.Core.Controls.Button button24;
private Smobiler.Core.Controls.Button button26;
private Smobiler.Core.Controls.Button button27;
private Smobiler.Core.Controls.Button button29;
private Smobiler.Core.Controls.Label label5;
private Smobiler.Core.Controls.Button button23;
private Smobiler.Core.Controls.Button button25;
private Smobiler.Core.Controls.Button button28;
private Smobiler.Core.Controls.Button button30;
private Smobiler.Core.Controls.Button button31;
private Smobiler.Core.Controls.Button button32;
private Smobiler.Core.Controls.Button button33;
private Smobiler.Core.Controls.Button button34;
private Smobiler.Core.Controls.Label label3;
private Smobiler.Core.Controls.Label label7;
private Smobiler.Core.Controls.Label label2;
private Smobiler.Core.Controls.Label label4;
}
}