public Barcode(string txt, BarcodeType.Barcode_Type Btype) { InitializeComponent(); Width = 128; Height = 128; text = txt; type = Btype; RefreshBarcode(); }
public void Serialize(Barcode control) { position = new PositionSize(control); ContID = control.Name; EnText = control.GetEncodedText(); type = control.GetBarcodeType(); ControlVisibility = control.Visibility; }
public bool SetNewBarcode(string txt, BarcodeType.Barcode_Type Btype) { text = txt; type = Btype; return(RefreshBarcode()); }