/// <summary> /// LabelNode 转 KNXLabel /// </summary> /// <returns></returns> public KNXLabel ToKnx() { var knx = new KNXLabel(); base.ToKnx(knx); return knx; }
/// <summary> /// LabelNode 转 KNXLabel /// </summary> /// <returns></returns> public KNXLabel ToKnx() { var knx = new KNXLabel(); base.ToKnx(knx); return(knx); }
/// <summary> /// LabelNode 转 KNXLabel /// </summary> /// <returns></returns> public KNXLabel ToKnx(BackgroundWorker worker) { var knx = new KNXLabel(); base.ToKnx(knx, worker); return(knx); }
public KNXLabel ExportTo(BackgroundWorker worker, string dir, Point RelPoint) { KNXLabel knx = this.ToKnx(worker); knx.Left = this.LocationInPageFact.X - RelPoint.X; knx.Top = this.LocationInPageFact.Y - RelPoint.Y; return(knx); }
/// <summary> /// KNXLabel 转 LabelNode /// </summary> /// <param name="knx"></param> public LabelNode(KNXLabel knx) : base(knx) { this.Name = ImageKey = SelectedImageKey = MyConst.Controls.KnxLabelType; }
/// <summary> /// KNXLabel 转 LabelNode /// </summary> /// <param name="knx"></param> public LabelNode(KNXLabel knx) : base(knx) { this.Name = ImageKey = SelectedImageKey = MyConst.Controls.KnxLabelType; }
public LabelNode(KNXLabel knx, BackgroundWorker worker, string DirSrcImg) : this(knx, worker) { this.Id = GenId(); // 创建新的Id }
/// <summary> /// KNXLabel 转 LabelNode /// </summary> /// <param name="knx"></param> public LabelNode(KNXLabel knx, BackgroundWorker worker) : base(knx, worker) { this.Name = ImageKey = SelectedImageKey = MyConst.Controls.KnxLabelType; SetText(this.Title); }