RaisePostDataChangedEvent() public method

public RaisePostDataChangedEvent ( ) : void
return void
Example #1
0
        public void RaisePostDataChangedEvent()
        {
            CheckBoxListPoker c = new CheckBoxListPoker();

            c.SelectedIndexChanged += new EventHandler(c_SelectedIndexChanged);
            Assert.AreEqual(false, eventSelectedIndexChanged, "RaisePostDataChangedEvent#1");
            c.RaisePostDataChangedEvent();
            Assert.AreEqual(true, eventSelectedIndexChanged, "RaisePostDataChangedEvent#2");
        }
		public void RaisePostDataChangedEvent ()
		{
			CheckBoxListPoker c = new CheckBoxListPoker ();
			c.SelectedIndexChanged += new EventHandler (c_SelectedIndexChanged);
			Assert.AreEqual (false, eventSelectedIndexChanged, "RaisePostDataChangedEvent#1");
			c.RaisePostDataChangedEvent ();
			Assert.AreEqual (true, eventSelectedIndexChanged, "RaisePostDataChangedEvent#2");
		}