2 using System.Collections.Generic;
5 using Microsoft.Office.Tools.Ribbon;
6 using Microsoft.Office.Tools.Word;
7 using System.Collections;
28 f.Size =
new System.Drawing.Size(formWidth, formHeight);
49 RibbonButton uiobj = this.Factory.CreateRibbonButton();
50 uiobj.Click += (RibbonControlEventHandler)ui.
click;
51 uiobj.Label = ui.
label;
52 uiobj.Image = ui.
image;
53 uiobj.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
58 RibbonButton uisobj = this.Factory.CreateRibbonButton();
59 uisobj.Click += (RibbonControlEventHandler)ui.
click;
63 uisobj.ShowImage =
true;
64 uisobj.Name = ui.
label;
67 uisobj.Label = ui.
label;
69 uisobj.Image = ui.
image;
70 uisobj.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular;
105 if (gr.Label == name)
109 gr.ResumeLayout(
false);
115 foreach (RibbonControl rc
in gr.Items)
120 if (rm.Label == name)
124 rm.ResumeLayout(
false);
160 private void bgp_Click(
object sender, RibbonControlEventArgs e)
212 private void gray_Click(
object sender, RibbonControlEventArgs e)
222 private void px1_Click(
object sender, RibbonControlEventArgs e)
227 private void px3_Click(
object sender, RibbonControlEventArgs e)
232 private void px5_Click(
object sender, RibbonControlEventArgs e)
237 private void px8_Click(
object sender, RibbonControlEventArgs e)
251 private void redo_Click(
object sender, RibbonControlEventArgs e)
256 private void undo_Click(
object sender, RibbonControlEventArgs e)
void bgp_Click(object sender, RibbonControlEventArgs e)
RibbonControlEventHandler click
void addByName(RibbonControl uiobj, String name)
void green_btn_Click(object sender, RibbonControlEventArgs e)
void clear_Click(object sender, RibbonControlEventArgs e)
string belong
判斷按下Button控制項
void f_Disposed(object sender, EventArgs e)
void px5_Click(object sender, RibbonControlEventArgs e)
void yellow_btn_Click(object sender, RibbonControlEventArgs e)
void px8_Click(object sender, RibbonControlEventArgs e)
internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1
void px3_Click(object sender, RibbonControlEventArgs e)
void selBtn_Click(object sender, RibbonControlEventArgs e)
void px1_Click(object sender, RibbonControlEventArgs e)
void blue_btn_Click(object sender, RibbonControlEventArgs e)
void red_btn_Click(object sender, RibbonControlEventArgs e)
void gray_Click(object sender, RibbonControlEventArgs e)
某一類的形狀.包含UI 的界面,繪製方式.更新方式.新增方式
void undo_Click(object sender, RibbonControlEventArgs e)
使UNIX上開發的C程式移植到windows上 /summary>
void redo_Click(object sender, RibbonControlEventArgs e)
void initPath(string xml)
載入圖片
void violet_Click(object sender, RibbonControlEventArgs e)
void Construt(ShapeObj obj)
void black_btn_Click(object sender, RibbonControlEventArgs e)
void Ribbon1_Load(object sender, RibbonUIEventArgs e)
System.Drawing.Image image
virtual System.Collections.ArrayList getMenuItem()
覆寫System.Collections.ArrayList
void white_btn_Click(object sender, RibbonControlEventArgs e)
void button7_Click(object sender, RibbonControlEventArgs e)