addSubeditorButton() публичный Метод

public addSubeditorButton ( ToolStripItem item ) : void
item System.Windows.Forms.ToolStripItem
Результат void
Пример #1
0
 public void addSubeditorButton(FormMain formMain)
 {
     this.formMain = formMain;
     var rm = new ResourceManager("PluginEditLayout.Icon", this.GetType().Assembly);
     var icon = (System.Drawing.Bitmap)rm.GetObject("icon_layout");
     var item = new ToolStripButton("Layout Editor", icon, btLayout_Click);
     item.DisplayStyle = ToolStripItemDisplayStyle.Image;
     formMain.addSubeditorButton(item);
 }
Пример #2
0
 public void addSubeditorButton(FormMain formMain)
 {
     this.formMain = formMain;
     var rm = new ResourceManager("PluginSegaBackEditor.Icon", this.GetType().Assembly);
     var iconMap = (System.Drawing.Bitmap)rm.GetObject("icon_map");
     var item = new ToolStripButton("Back Editor", iconMap, btMap_Click);
     item.DisplayStyle = ToolStripItemDisplayStyle.Image;
     formMain.addSubeditorButton(item);
 }
Пример #3
0
 public void addSubeditorButton(FormMain formMain)
 {
     this.formMain = formMain;
     //var rm = new ResourceManager("PluginMapEditor.Icon", this.GetType().Assembly);
     //var iconMap = (System.Drawing.Bitmap)rm.GetObject("icon_map");
     var item = new ToolStripButton("Level params", null, btLevelParams_Click);
     item.DisplayStyle = ToolStripItemDisplayStyle.Image;
     formMain.addSubeditorButton(item);
 }