/// <summary> /// 重新配置笔刷 /// </summary> public static void reconfPenStr(PenStr inputPenStr) { penPlan = 0; //////////////画笔 if (inputPenStr.outerPen_var != null) PenStr.outerPen = inputPenStr.outerPen_var; if(inputPenStr.framePen_var!=null) PenStr.framePen =inputPenStr.framePen_var; if(inputPenStr.hourPen_var!=null) PenStr.hourPen = inputPenStr.hourPen_var; if(inputPenStr.tenMPen_var!=null) PenStr.tenMPen = inputPenStr.tenMPen_var; if(inputPenStr.twoMPen_var!=null) PenStr.twoMPen = inputPenStr.twoMPen_var; if(inputPenStr.thirtyMPen_var!=null) PenStr.thirtyMPen =inputPenStr.thirtyMPen_var; PenStr.thirtyMPen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash; if(inputPenStr.rankAPen_var!=null) PenStr.rankAPen =inputPenStr.rankAPen_var; if(inputPenStr.rankBPen_var!=null) PenStr.rankBPen =inputPenStr.rankBPen_var; if(inputPenStr.rankCPen_var!=null) PenStr.rankCPen =inputPenStr.rankCPen_var; if(inputPenStr.rankDPen_var!=null) PenStr.rankDPen =inputPenStr.rankDPen_var; }
public static void confPen(string penPlan) { if (penPlan == "Ñо¿ÐÍ·½°¸") { PenStr.defaultPenConf(); } else if (penPlan == "¹¤ÒµÐÍ·½°¸") { PenStr.planOnePenConf(); } }
public static void reconfPen(PenStr inputPenStr) { PenStr.reconfPenStr(inputPenStr); }
/// <summary> /// ÅäÖû±Ê /// </summary> public static void confPen() { PenStr.defaultPenConf(); }