예제 #1
0
 public void OnInit()
 {
     MyControl c = new MyControl ();
     EventArgs e = new EventArgs ();
     c.AdapterCallOnInit (e);
     Assert.AreEqual (e, c.on_init_arg, "OnInit #1");
 }
예제 #2
0
		public void OnInit ()
		{
			MyControl c = new MyControl ();
			EventArgs e = new EventArgs ();
			c.AdapterCallOnInit (e);
			Assert.AreEqual (e, c.on_init_arg, "OnInit #1");
		}