public MagnifyingGlass(ScreenshotEditor editor, Color color, int thickness, PointF p, ShapeSettingsPanel panel) : base(editor, color, thickness, p, true, panel) { view = null; sp = (MagnifierSettingsPanel)panel; sp.SettingsChanged += settingsChanged; }
public MagnifyingGlass(ScreenshotEditor editor, XPathNavigator element) : base(editor, element, createSettingsPanel(), true) { sp = (MagnifierSettingsPanel)settingsPanel; sp.trckZoom.Value = int.Parse(element.GetAttribute("zoom", "")); sp.chkUseShadow.Checked = bool.Parse(element.GetAttribute("shadow", "")); }