System\Windows\Forms\HtmlDocumentTests.cs (33)
1412document.AttachEventHandler(eventName, handler);
1416document.AttachEventHandler(eventName, handler);
1419document.DetachEventHandler(eventName, handler);
1484document.AttachEventHandler(eventName, handler);
1494document.DetachEventHandler(eventName, handler);
1512COMException ex = Assert.Throws<COMException>(() => document.AttachEventHandler(string.Empty, handler));
1530document.AttachEventHandler(null, handler);
1584document.DetachEventHandler(eventName, handler);
1587document.DetachEventHandler(eventName, handler);
1590document.DetachEventHandler(eventName, handler);
1594document.DetachEventHandler(eventName, handler);
1611document.DetachEventHandler(string.Empty, handler);
1628document.DetachEventHandler(null, handler);
2016document.Click += handler;
2024document.Click -= handler;
2053document.ContextMenuShowing += handler;
2062document.ContextMenuShowing -= handler;
2091document.Focusing += handler;
2100document.Focusing -= handler;
2129document.LosingFocus += handler;
2138document.LosingFocus -= handler;
2167document.MouseDown += handler;
2176document.MouseDown -= handler;
2205document.MouseLeave += handler;
2214document.MouseLeave -= handler;
2243document.MouseMove += handler;
2252document.MouseMove -= handler;
2281document.MouseOver += handler;
2290document.MouseOver -= handler;
2319document.MouseUp += handler;
2328document.MouseUp -= handler;
2357document.Stop += handler;
2366document.Stop -= handler;