public StripChartProperty(StripChart _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; windowCloseButton = false; }
public EasyChartXPropertyForm(EasyChartX _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; windowCloseButton = false; }
public static Control CloneCtrl(Control ctrl) { CBFormCtrl cbCtrl = new CBFormCtrl(ctrl); Control newCtrl = ControlFactory.CreateControl(cbCtrl.CtrlName, cbCtrl.PartialName); ControlFactory.SetControlProperties(newCtrl, cbCtrl.PropertyList); return(newCtrl); }
public static Control GetCtrlFromClipBoard() { Control ctrl = new Control(); IDataObject ido = Clipboard.GetDataObject(); if (ido.GetDataPresent(CBFormCtrl.Format.Name)) { CBFormCtrl cbCtrl = ido.GetData(CBFormCtrl.Format.Name) as CBFormCtrl; ctrl = ControlFactory.CreateControl(cbCtrl.CtrlName, cbCtrl.PartialName); ControlFactory.SetControlProperties(ctrl, cbCtrl.PropertyList); } return(ctrl); }
public SlideProperty(Slide _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; }
public ThermometerPorperty(Thermometer _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; }
public EasyButtonProperty(EasyButton _ctrl) { InitializeComponent(); _beforeCtrl = ControlFactory.CloneCtrl(_ctrl); _changedCtrl = _ctrl; }