public OnMouseLeftButtonUp_ ( System.Windows.Input.MouseButtonEventArgs e ) : void | ||
e | System.Windows.Input.MouseButtonEventArgs | |
리턴 | void |
public void OnNull() { ConcreteControl c = new ConcreteControl(); Assert.Throws <ArgumentNullException> (delegate { c.OnGotFocus_(null); }, "OnGotFocus"); Assert.Throws <ArgumentNullException> (delegate { c.OnLostFocus_(null); }, "LostFocus"); Assert.Throws <ArgumentNullException> (delegate { c.OnKeyDown_(null); }, "OnKeyDown"); Assert.Throws <ArgumentNullException> (delegate { c.OnKeyUp_(null); }, "OnKeyU"); Assert.Throws <ArgumentNullException> (delegate { c.OnMouseEnter_(null); }, "OnMouseEnter"); Assert.Throws <ArgumentNullException> (delegate { c.OnMouseLeave_(null); }, "OnMouseLeave"); Assert.Throws <ArgumentNullException> (delegate { c.OnMouseMove_(null); }, "OnMouseMove"); Assert.Throws <ArgumentNullException> (delegate { c.OnMouseLeftButtonDown_(null); }, "OnMouseLeftButtonDown"); Assert.Throws <ArgumentNullException> (delegate { c.OnMouseLeftButtonUp_(null); }, "OnMouseLeftButtonUp"); }
public void OnNull () { ConcreteControl c = new ConcreteControl (); Assert.Throws<ArgumentNullException> (delegate { c.OnGotFocus_ (null); }, "OnGotFocus"); Assert.Throws<ArgumentNullException> (delegate { c.OnLostFocus_ (null); }, "LostFocus"); Assert.Throws<ArgumentNullException> (delegate { c.OnKeyDown_ (null); }, "OnKeyDown"); Assert.Throws<ArgumentNullException> (delegate { c.OnKeyUp_ (null); }, "OnKeyU"); Assert.Throws<ArgumentNullException> (delegate { c.OnMouseEnter_ (null); }, "OnMouseEnter"); Assert.Throws<ArgumentNullException> (delegate { c.OnMouseLeave_ (null); }, "OnMouseLeave"); Assert.Throws<ArgumentNullException> (delegate { c.OnMouseMove_ (null); }, "OnMouseMove"); Assert.Throws<ArgumentNullException> (delegate { c.OnMouseLeftButtonDown_ (null); }, "OnMouseLeftButtonDown"); Assert.Throws<ArgumentNullException> (delegate { c.OnMouseLeftButtonUp_ (null); }, "OnMouseLeftButtonUp"); }