示例#1
0
        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;
        }
示例#2
0
 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", ""));
 }