public GDIPreviewForm(VixenPreviewData data) { Icon = Resources.Icon_Vixen3; InitializeComponent(); Data = data; _previewSetPixelsTime = new MillisecondsValue("Preview pixel set time"); VixenSystem.Instrumentation.AddValue(_previewSetPixelsTime); }
public override IModuleDataModel Clone() { //Console.WriteLine("Clone"); VixenPreviewData result = new VixenPreviewData { Width = 1024, Height = 800 }; return result; }
public override IModuleDataModel Clone() { Console.WriteLine("Clone"); VixenPreviewData result = new VixenPreviewData { Width = 1024, Height = 800 }; return(result); }
public override IModuleDataModel Clone() { //Console.WriteLine("Clone"); VixenPreviewData result = (VixenPreviewData)MemberwiseClone(); List <DisplayItem> displayItemCopy = new List <DisplayItem>(DisplayItems.Count); foreach (var displayItem in DisplayItems) { displayItemCopy.Add((DisplayItem)displayItem.Clone()); } result.DisplayItems = displayItemCopy; return(result); }
public GDIPreviewForm(VixenPreviewData data) { Icon = Resources.Icon_Vixen3; InitializeComponent(); Data = data; }
public GDIPreviewForm(VixenPreviewData data) { InitializeComponent(); Data = data; }