本文整理汇总了C#中SimpleButton类的典型用法代码示例。如果您正苦于以下问题:C# SimpleButton类的具体用法?C# SimpleButton怎么用?C# SimpleButton使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SimpleButton类属于命名空间,在下文中一共展示了SimpleButton类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: CreateControlCore
protected override object CreateControlCore()
{
var button = new SimpleButton {Text = Caption};
button.Image = DevExpress.ExpressApp.Utils.ImageLoader.Instance.GetImageInfo((this.Model as IModelActionButton).ActionId.ImageName).Image;
button.Click += (sender, args) => InvokeExecuted(args);
return button;
}
开发者ID:aries544,项目名称:eXpand,代码行数:7,代码来源:ActionButtonDetailItem.cs
示例2: AddButton
/// <summary>Adds a button to the form.</summary>
/// <param name="caption">The caption to display on the button.</param>
/// <param name="clickHandler">The click event handler.</param>
/// <param name="buttonWidth">Width of the button.</param>
public SimpleButton AddButton(string caption, MultiControlEventHandler clickHandler, int buttonWidth = -1)
{
var btn = new Button() {
Dock = DockStyle.Left,
Text = caption,
TextAlign = ContentAlignment.MiddleCenter
};
// set the button's width
if (buttonWidth > 0)
{
btn.Width = buttonWidth;
}
else
{
btn.AutoSize = true;
btn.AutoSizeMode = AutoSizeMode.GrowOnly;
btn.MinimumSize = new Size(Math.Max(btn.Size.Width, btn.PreferredSize.Width), 0);
btn.MaximumSize = new Size(0, Math.Max(btn.Size.Height, btn.PreferredSize.Height));
}
this.Form.AddToControls(btn);
var sbtn = new SimpleButton(btn);
if (clickHandler != null)
btn.Click += (o, e) => clickHandler.Invoke(sbtn);
return sbtn;
}
开发者ID:franzalex,项目名称:SimpleGui,代码行数:33,代码来源:SimpleGuiControlsPanel.cs
示例3: FrmXuatMauGiaKeToan
public FrmXuatMauGiaKeToan()
{
InitializeComponent();
BtnPrint = new SimpleButton();
btnSearch.Image = HelpImage.getImage2020("Search.png");
btnExportData.Image = HelpImage.getImage2020("exportdata.png");
btnExportEmty.Image = HelpImage.getImage2020("exportempty.png");
HelpGridColumn.CotTextLeft(Col_CT_CodeCT, "CODE_CT");
HelpGridColumn.CotTextLeft(Col_CT_TenCT, "TEN_CT");
HelpGridColumn.CotTextLeft(Col_CT_TM, "TIET_MUC");
HelpGridColumn.CotTextLeft(Col_CT_NSX, "NUOC_SX");
HelpGridColumn.CotTextCenter(Col_CT_NamSX, "NAM_SX");
HelpGridColumn.CotTextLeft(ColPM, "POST_MASTER");
HelpGridColumn.CotTextCenter(Col_CT_TapSo, "TAP_SO");
HelpGridColumn.CotTextLeft(ColTenTap, "TEN_TAP");
HelpGridColumn.CotTextLeft(Col_CT_Run, "RUN");
HelpGridColumn.CotTextLeft(Col_CT_Gia, "GIA_TIEN");
Search(true);
InitBasic();
Load += frmXuatMauGiaKeToan_Load;
gridViewDetail.ColumnPositionChanged += gridViewDetail_ColumnPositionChanged;
HelpGrid.SetReadOnlyHaveMemoCtrl(gridViewDetail);
gridViewDetail.OptionsView.NewItemRowPosition = NewItemRowPosition.None;
gridViewDetail._SetPermissionElement(BtnPrint, btnExportData);
}
开发者ID:khanhdtn,项目名称:did-vlib-2011,代码行数:30,代码来源:frmXuatMauGiaKeToan.cs
示例4: StartMenu
public StartMenu(EventHandler callback)
: base(callback)
{
viewport = GraphicsDevice.Viewport;
if (!contentLoaded)
{
buttonFont = Content.Load<SpriteFont>("buttonFont");
contentLoaded = true;
}
loadButton = new SimpleButton(new Rectangle(viewport.Width / 10 * 4 - buttonWidth / 2, viewport.Height / 2 - buttonHeight / 2, buttonWidth, buttonHeight), ColorTexture.Black, null, null);
SimpleButton.AddButton(loadButton);
newButton = new SimpleButton(new Rectangle(viewport.Width / 10 * 6 - buttonWidth / 2, viewport.Height / 2 - buttonHeight / 2, buttonWidth, buttonHeight), ColorTexture.Black, null, null);
SimpleButton.AddButton(newButton);
int width = buttonWidth / 4;
int height = buttonHeight / 4;
widthUpButton = new SimpleButton(new Rectangle(newButton.X + newButton.Width, newButton.Y, width, height), ColorTexture.Black, null, null);
SimpleButton.AddButton(widthUpButton);
widthDownButton = new SimpleButton(new Rectangle(newButton.X + newButton.Width, newButton.Y + height, width, height), ColorTexture.Black, null, null);
SimpleButton.AddButton(widthDownButton);
heightUpButton = new SimpleButton(new Rectangle(newButton.X + newButton.Width, newButton.Y + height * 2, width, height), ColorTexture.Black, null, null);
SimpleButton.AddButton(heightUpButton);
heightDownButton = new SimpleButton(new Rectangle(newButton.X + newButton.Width, newButton.Y + height * 3, width, height), ColorTexture.Black, null, null);
SimpleButton.AddButton(heightDownButton);
}
开发者ID:nubington,项目名称:rts_map_editor,代码行数:33,代码来源:StartMenu.cs
示例5: sendButtonEvent
public void sendButtonEvent(int eventID)
{
SimpleButton b = new SimpleButton();
b.timestamp = UbiMeasurementUtils.getUbitrackTimeStamp();
b._event = eventID;
m_button.receiveButton(b);
}
开发者ID:Ozelotl,项目名称:Portfolio,代码行数:7,代码来源:ButtonSource.cs
示例6: LoadMenu
public LoadMenu(EventHandler callback)
: base(callback)
{
viewport = GraphicsDevice.Viewport;
if (!contentLoaded)
{
buttonFont = Content.Load<SpriteFont>("buttonFont");
contentLoaded = true;
}
readMapFiles();
int posY = 5;
if (files.Count > 0)
buttonHeight = (int)MathHelper.Min(40, viewport.Height / files.Count - 5);
foreach (string file in files)
{
Vector2 stringSize = buttonFont.MeasureString(file.Substring(12));
buttonWidth = (int)(stringSize.X + 15);
SimpleButton button = new SimpleButton(new Rectangle(viewport.Width / 2 - buttonWidth / 2, posY, buttonWidth, buttonHeight), ColorTexture.Black, null, null);
SimpleButton.AddButton(button);
posY += buttonHeight + 5;
}
}
开发者ID:nubington,项目名称:rts_map_editor,代码行数:29,代码来源:LoadMenu.cs
示例7: AddAction
public void AddAction(string text, DialogResult result, Image image = null, bool isDefault = false)
{
int width = this.ClientSize.Width-20;
var button = new SimpleButton();
button.Text = text;
button.Appearance.TextOptions.HAlignment = HorzAlignment.Near;
button.Image = image;
button.Width = width;
button.Left = 10;
button.Height = ButtonHeight;
button.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right;
button.Tag = result;
button.Click += button_Click;
this.Controls.Add(button);
if (isDefault)
this.AcceptButton = button;
button.DialogResult = result;
if (result == DialogResult.Cancel)
{
this.CancelButton = button;
this.ControlBox = true;
this.SelectedAction = result;
}
}
开发者ID:CIHANGIRCAN,项目名称:ChanSort,代码行数:27,代码来源:ActionBox.cs
示例8: gridControl_HandleCreated
private void gridControl_HandleCreated(object sender, EventArgs e)
{
var gridControl = sender as GridControl;
filterControl = new Editors.FilterControl
{
Height = 150,
Dock = View.Info.GetAttributeEnumValue(FilterControlPosition, DockStyle.None),
SourceControl = gridControl
};
InvokeFilterActivated(e);
gridControl = filterControl.SourceControl as GridControl;
if (gridControl != null )
{
if (!gridControl.FormsUseDefaultLookAndFeel)
filterControl.LookAndFeel.Assign(gridControl.LookAndFeel);
setCriteriaFromView(filterControl);
}
var accept = new SimpleButton {Text = "Accept filter"};
accept.Click += ((o, args) => filterControl.ApplyFilter());
accept.Dock = DockStyle.Bottom;
filterControl.Controls.Add(accept);
((Control) sender).Parent.Controls.Add(filterControl);
}
开发者ID:akingunes,项目名称:eXpand,代码行数:25,代码来源:FilterControlListViewController.cs
示例9: GetEnableStyle
public bool GetEnableStyle(SimpleButton button)
{
if (this.list.ContainsKey(button))
{
return list[button].EnableStyle;
}
return false;
}
开发者ID:dishiyicijinqiu,项目名称:OneCardAccess,代码行数:8,代码来源:ButtonStyle.cs
示例10: GetStyle
public ButtonStyleKind GetStyle(SimpleButton button)
{
if (this.list.ContainsKey(button))
{
return list[button].ButtonStyleKind;
}
return ButtonStyleKind.AddWithLargeImage;
}
开发者ID:dishiyicijinqiu,项目名称:OneCardAccess,代码行数:8,代码来源:ButtonStyle.cs
示例11: frmXuatDSChuongTrinh
public frmXuatDSChuongTrinh()
{
InitializeComponent();
btnPrint = new SimpleButton();
DMTietMuc.InitCtrl(TietMuc, true);
DMPostMaster.InitCtrl(NuocSX, true);
AppCtrl.InitCtrlPhongBan(PhongBan, true);
AppCtrl.InitAutocompleteCategory(Category);
DMNuocSanXuat.InitCtrl(NuocSX, true);
// NgayTao.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.None;
btnSearch.Image = HelpImage.getImage2020("Search.png");
btnExportData.Image = HelpImage.getImage2020("exportdata.png");
btnImportCode.Image = HelpImage.getImage2020("import.png");
btnSave.Image = FWImageDic.SAVE_IMAGE20;
btnInput.Image = HelpImage.getImage2020("write.png");
// btnExportEmty.Image = HelpImage.getImage2020("exportempty.png");
PhongBan._SelectedIDs = new long[] { FrameworkParams.LoginCompanyID };
HelpGridColumn.CotTextLeft(ColCodeCT, CHUONG_TRINH.CODE_CT);
HelpGridColumn.CotTextLeft(ColTenCT, CHUONG_TRINH.NOI_DUNG);
DMTietMuc.InitCot(ColTM, CHUONG_TRINH.TIET_MUC,true);
DMNuocSanXuat.InitCotMulti(ColNSX, CHUONG_TRINH.NUOC_SAN_XUAT, true);
HelpGridColumn.CotTextCenter(ColNamSX, CHUONG_TRINH.NAM_SAN_XUAT);
HelpGridColumn.CotTextLeft(ColMACT, CHUONG_TRINH.MA_CT);
HelpGridColumn.CotTextLeft(ColCagory, CHUONG_TRINH.CATEGORY);
HelpGridColumn.CotTextLeft(ColTenGoc, CHUONG_TRINH.TEN_GOC);
//HelpGridColumn.CotTextCenter(ColTapSo, "TAP_SO");
//HelpGridColumn.CotTextLeft(ColTenTap, "TEN_TAP");
//HelpGridColumn.CotTextLeft(ColRun, "RUN");
//HelpGridColumn.CotTextLeft(ColGia, "GIA_TIEN");
HelpGridColumn.CotTextLeft(Col_I_CodeOld, "CODE_CT_OLD");
HelpGridColumn.CotTextLeft(Col_I_ColdNew, CHUONG_TRINH.CODE_CT);
HelpGridColumn.CotTextLeft(Col_I_TenCT, CHUONG_TRINH.NOI_DUNG);
DMTietMuc.InitCot(Col_I_TietMuc, CHUONG_TRINH.TIET_MUC,true);
DMNuocSanXuat.InitCotMulti(Col_I_NuocSx, CHUONG_TRINH.NUOC_SAN_XUAT, true);
HelpGridColumn.CotTextCenter(Col_I_NamSX, CHUONG_TRINH.NAM_SAN_XUAT);
HelpGridColumn.CotTextLeft(Col_I_MaCT, CHUONG_TRINH.MA_CT);
HelpGridColumn.CotTextLeft(Col_I_Category, CHUONG_TRINH.CATEGORY);
HelpGridColumn.CotTextLeft(Col_I_TenGoc, CHUONG_TRINH.TEN_GOC);
Search(true);
gridViewImport.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.None;
gridViewDetail.OptionsBehavior.Editable = false;
gridViewDetail.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.None;
gridViewDetail._SetPermissionElement(btnPrint, btnExportData);
gridViewImport._SetPermissionElement(btnPrint, btnExportData);
this.Load += new EventHandler(frmXuatMauGiaKeToan_Load);
gridViewDetail.ColumnPositionChanged += new EventHandler(gridViewDetail_ColumnPositionChanged);
this.panelControl1.BackColor = this.BackColor;
this.panelControl2.BackColor = this.BackColor;
HelpXtraForm.SetCloseForm(this, null, true);
}
开发者ID:khanhdtn,项目名称:did-vlib-2011,代码行数:57,代码来源:frmXuatDSChuongTrinh.cs
示例12: FrmTNSRptCppBase
// protected DevExpress.XtraGrid.Views.BandedGrid.BandedGridView gridViewDetail;
public FrmTNSRptCppBase()
{
InitializeComponent();
btnPrint = new SimpleButton();
InitGrid();
Init();
SheetName = "Sheet1";
_exportData = new ExportData();
}
开发者ID:khanhdtn,项目名称:did-vlib-2011,代码行数:10,代码来源:FrmTNSRptCppBase.cs
示例13: iniUsualCtrl
public void iniUsualCtrl()
{
UsuaslPanel.Controls.Clear();
int xstart = 0, ystart = 10, ispan = 30,jspan=10,firstlincount=0;
Hashtable hs = new Hashtable();
IList<mUserModule> mlist = MainHelper.PlatformSqlMap.GetList<mUserModule>("SelectmUserModuleList", "where UserID='" + MainHelper.User.UserID + "' order by SortID");
labelWid.Visible = true;
foreach (mUserModule umodule in mlist)
{
SimpleButton bt = new SimpleButton();
bt.Text = umodule.mMouleName;
labelWid.Text = bt.Text;
bt.Width = labelWid.Width + 20;
if (bt.Width < 100) bt.Width = 100;
bt.Tag = umodule;
bt.Click += new EventHandler(runButtonEvent);
if (xstart + bt.Width + ispan <= UsuaslPanel.Width)
{
bt.Left = xstart + ispan;
bt.Top = ystart;
xstart = bt.Left + bt.Width;
firstlincount++;
}
else
{
xstart = 0;
firstlincount=1;
ystart = ystart + bt.Height + jspan;
bt.Left = xstart + ispan;
bt.Top = ystart;
xstart = bt.Left + bt.Width;
}
if (ystart == 10)
{
hs.Add(firstlincount, bt.Width);
}
else if (ystart > 10)
{
if (Convert.ToInt32(hs[firstlincount]) > bt.Width)
{
bt.Width = Convert.ToInt32(hs[firstlincount]);
xstart = bt.Left + bt.Width;
}
}
UsuaslPanel.Controls.Add(bt);
}
labelWid.Visible = false;
}
开发者ID:s7loves,项目名称:mypowerscgl,代码行数:53,代码来源:Desktop.cs
示例14: GetSkinImage
static Bitmap GetSkinImage(SimpleButton button, int width, int height, int indent)
{
Bitmap image = new Bitmap(width, height);
using(Graphics g = Graphics.FromImage(image)) {
StyleObjectInfoArgs info = new StyleObjectInfoArgs(new GraphicsCache(g));
info.Bounds = new Rectangle(0, 0, width, height);
button.LookAndFeel.Painter.GroupPanel.DrawObject(info);
button.LookAndFeel.Painter.Border.DrawObject(info);
info.Bounds = new Rectangle(indent, indent, width - indent * 2, height - indent * 2);
button.LookAndFeel.Painter.Button.DrawObject(info);
}
return image;
}
开发者ID:C7C,项目名称:MailXSSTool,代码行数:13,代码来源:SkinGalleryHelper.cs
示例15: Init
private void Init()
{
btnPrint = new SimpleButton();
btnExport = new SimpleButton();
gridViewDetail._SetPermissionElement(btnPrint, btnExport);
gridViewMaster._SetPermissionElement(btnPrint, btnExport);
barButtonItemClose.Glyph = FWImageDic.CLOSE_IMAGE20;
barButtonItemRefresh.Glyph = HelpImage.getImage2020("view-refresh.png");
barButtonItemSelect.Glyph = FWImageDic.CHOICE_IMAGE20;
InitGridMaster();
InitGridDetail();
LoadMaster();
}
开发者ID:khanhdtn,项目名称:did-vlib-2011,代码行数:13,代码来源:frmChoiceBangGiaBudget.cs
示例16: UpdateControlPositionsCore
protected override void UpdateControlPositionsCore()
{
base.UpdateControlPositionsCore();
listBox.Bounds = ViewInfo.ContentRect;
listBox.Width = listBox.Width - listBox.Left * 2;
var btn = new SimpleButton
{
Size = new Size(OkButton.Size.Width * 2, OkButton.Size.Height),
Location = new Point(10, OkButton.Location.Y),
Anchor = AnchorStyles.Left | AnchorStyles.Bottom,
Text = @"По алфавиту"
};
btn.Click += AbcSortButtonClick;
Controls.Add(btn);
}
开发者ID:Demotron,项目名称:AdminTools,代码行数:15,代码来源:QuickHidePopupForm.cs
示例17: TitleScreen
public TitleScreen(EventHandler callback, bool startMusic)
: base(callback)
{
// initialize
startTime = DateTime.Now;
Game1.Game.Window.Title = "Welcome to Bill's lair.";
Game1.Game.IsMouseVisible = true;
isaac = new BaseObject(new Rectangle(0, 0, 100, 100), new Vector2(0, 0));
isaac.CenterPoint = new Vector2(Graphics.GraphicsDevice.Viewport.Width / 2, Graphics.GraphicsDevice.Viewport.Height / 2);
startButton = new SimpleButton(new Rectangle(0, 0, STARTBUTTONWIDTH, STARTBUTTONHEIGHT), button1Texture, button1Texture, button2Texture);
startButton.CenterPoint = new Vector2(Graphics.GraphicsDevice.Viewport.Width / 2, isaac.Y - 40);
SimpleButton.AddButton(startButton);
physicsButton = new BaseObject(new Rectangle(0, 0, INSTRUCTIONSBUTTONWIDTH, INSTRUCTIONSBUTTONHEIGHT), new Vector2(0, 0));
physicsButton.CenterPoint = new Vector2(Graphics.GraphicsDevice.Viewport.Width / 2, isaac.Y + isaac.Height + 40);
exitButton = new BaseObject(new Rectangle(0, 0, EXITBUTTONWIDTH, EXITBUTTONHEIGHT), new Vector2(0, 0));
exitButton.CenterPoint = new Vector2(Graphics.GraphicsDevice.Viewport.Width / 2, physicsButton.Y + physicsButton.Height + 40);
// load content
if (!contentLoaded)
{
button1Texture = Content.Load<Texture2D>("titlebutton1");
button2Texture = Content.Load<Texture2D>("titlebutton2");
isaacTexture = Content.Load<Texture2D>("isaac");
isaac1 = Content.Load<Texture2D>("isaacswirl1");
isaac2 = Content.Load<Texture2D>("isaacswirl2");
isaac3 = Content.Load<Texture2D>("isaacswirl3");
isaac4 = Content.Load<Texture2D>("isaacswirl4");
isaac5 = Content.Load<Texture2D>("isaacswirl5");
titleFont1 = Content.Load<SpriteFont>("TitleFont1");
titleFont2 = Content.Load<SpriteFont>("TitleFont2");
titleTheme = Content.Load<Song>("titletheme");
contentLoaded = true;
}
isaacAnimation = new Animation(1.5f, 6f, isaac1 , isaac2, isaac3, isaac4, isaac5, isaac4, isaac3, isaac2, isaac1);
//isaacAnimation.Start();
// play music
if (startMusic)
{
MediaPlayer.Play(titleTheme);
MediaPlayer.IsRepeating = true;
MediaPlayer.Volume = .25f;
}
}
开发者ID:nubington,项目名称:bill,代码行数:48,代码来源:TitleScreen.cs
示例18: InitControl
private void InitControl()
{
btnPrint = new SimpleButton();
btnExport = new SimpleButton();
gridViewBienMuc._SetPermissionElement(btnPrint, btnExport);
SoMaBangThucTe.Value = DABienMuc.GetNumberOfMaBang();
string deletedMaBang = DABienMuc.GetRealyDeletedMaBang();
if (deletedMaBang == "") labelControlDelete.Text = 0 + "";
else
labelControlDelete.Text = deletedMaBang.Split(',').Length.ToString();
SoMaBangDaXoa.Text = deletedMaBang;
string[] notInDataMaBang = DABienMuc.GetMaBangNotInData();
labelControlNoUse.Text = notInDataMaBang.Length.ToString();
SoMaBangKhongDung.Text = string.Join(",", notInDataMaBang);
}
开发者ID:khanhdtn,项目名称:did-vlib-2011,代码行数:16,代码来源:frmXemMaBangCuoi.cs
示例19: InitBtnPhieu
/// <summary>Khởi tạo các nút trên phiếu
/// </summary>
public static void InitBtnPhieu(XtraForm frm, bool? IsAdd, DropDownButton NghiepVu, DropDownButton InPhieu, DropDownButton Chon,
SimpleButton Save, SimpleButton Delete, SimpleButton Close)
{
if (Save != null) Save.Image = FWImageDic.SAVE_IMAGE16;
if (Delete != null) Delete.Image = FWImageDic.DELETE_IMAGE16;
if (Close != null) Close.Image = FWImageDic.CLOSE_IMAGE16;
if (NghiepVu != null)
{
NghiepVu.Size = new System.Drawing.Size(101, 23);
NghiepVu.Image = FWImageDic.BUSINESS_IMAGE16;
}
if (InPhieu != null)
{
InPhieu.Size = new System.Drawing.Size(84, 23);
InPhieu.Image = FWImageDic.PRINT_IMAGE16;
}
if (Chon != null)
{
Chon.Size = new System.Drawing.Size(130, 23);
Chon.Image = FWImageDic.CHOICE_POPUP_IMAGE16;
}
if (IsAdd == null)
{
if (Delete != null) Delete.Visible = false;
if (Save != null) Save.Visible = false;
if (NghiepVu != null) NghiepVu.Enabled = true;
if (InPhieu != null) InPhieu.Enabled = true;
if (Chon != null) Chon.Enabled = false;
}
else if (IsAdd == true)
{
if (Delete != null) Delete.Enabled = false;
if (Save != null) Save.Enabled = true;
if (NghiepVu != null) NghiepVu.Enabled = false;
if (InPhieu != null) InPhieu.Enabled = false;
if (Chon != null) Chon.Enabled = true;
}
else
{
if (Delete != null) Delete.Enabled = true;
if (Save != null) Save.Enabled = true;
if (NghiepVu != null) NghiepVu.Enabled = true;
if (InPhieu != null) InPhieu.Enabled = true;
if (Chon != null) Chon.Enabled = true;
}
}
开发者ID:khanhdtn,项目名称:my-fw-win,代码行数:48,代码来源:HelpPhieu.cs
示例20: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Boton = new SimpleButton();
base.SuspendLayout();
this.Boton.Image = Resources.prompt;
this.Boton.Location = new System.Drawing.Point(0, 0);
this.Boton.Name = "Boton";
this.Boton.Size = new System.Drawing.Size(0x19, 0x17);
this.Boton.TabIndex = 0;
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.Controls.Add(this.Boton);
base.Name = "PlantillaBoton";
base.Size = new System.Drawing.Size(0x19, 0x17);
base.ResumeLayout(false);
}
开发者ID:tRAKALOFF,项目名称:seguridadcorporativa,代码行数:23,代码来源:PlantillaBoton.Designer.cs
注:本文中的SimpleButton类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论