2 using System.Collections;
3 using System.Collections.Generic;
6 using System.Threading.Tasks;
8 using System.Windows.Media;
9 using System.Windows.Shapes;
20 ArrayList ret =
new ArrayList();
25 System.Reflection.Assembly myAssembly = System.Reflection.Assembly.GetExecutingAssembly();
26 System.IO.Stream myStream = myAssembly.GetManifestResourceStream(
"ShapeLib.icons.circle.png");
27 ui.
image =
new System.Drawing.Bitmap(myStream);
46 Ellipse myEllipse =
new Ellipse();
64 Ellipse myEllipse = (Ellipse)gv.
baseShape[0];
RibbonControlEventHandler click
string belong
判斷按下Button控制項
override void DrawShape(gView gv, gPath data, Boolean bfirst)
依data 繪製,如果是第一次畫要新建shape, 更新的話只要更新最後一點
override System.Collections.ArrayList getMenuItem()
覆寫System.Collections.ArrayList
System.Windows.Point controlBtn4
某一類的形狀.包含UI 的界面,繪製方式.更新方式.新增方式
void myLine_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
void myLine_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
System.Windows.Point controlBtn1
void myLine_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
void btn_Click(object sender, RibbonControlEventArgs e)
UI 點選
System.Drawing.Image image