internal MagnifyForm(MagnifyTool tool, double initialScale) { if (tool==null) throw new ArgumentNullException(); InitializeComponent(); // Don't let focus come to this form => doesn't react on mouseclicks //this.SetStyle(ControlStyles.Selectable, false); //this.SetStyle(ControlStyles.UserMouse, true); m_Tool = tool; ShowScale(initialScale); }
internal MagnifyForm(MagnifyTool tool, double initialScale) { if (tool == null) { throw new ArgumentNullException(); } InitializeComponent(); // Don't let focus come to this form => doesn't react on mouseclicks //this.SetStyle(ControlStyles.Selectable, false); //this.SetStyle(ControlStyles.UserMouse, true); m_Tool = tool; ShowScale(initialScale); }