public GetTextDesigner() { InitializeComponent(); HighlightImage = Extensions.GetImageSourceFromResource("search.png"); Loaded += (sender, e) => { var Variables = ModelItem.Properties[nameof(GetText.Variables)].Collection; if (Variables != null && Variables.Count == 0) { Variables.Add(new Variable <int>("Index", 0)); Variables.Add(new Variable <int>("Total", 0)); } }; }
public TakeScreenshotDesigner() { InitializeComponent(); HighlightImage = Extensions.GetImageSourceFromResource("search.png"); }