Esempio n. 1
0
		public void GridViewRow_BubbleEvent ()
		{
			PokerGridViewRow row = new PokerGridViewRow(0, 0, DataControlRowType.DataRow, DataControlRowState.Normal);
			bool result = row.DoOnBubbleEvent (this, new CommandEventArgs ("", null));
			Assert.AreEqual (true, result, "OnBubbleEventWithCommandEventArgs");
			result = row.DoOnBubbleEvent (this, new EventArgs());
			Assert.AreEqual (false, result, "OnBubbleEventWithEventArgs");
		}
        public void GridViewRow_BubbleEvent()
        {
            PokerGridViewRow row    = new PokerGridViewRow(0, 0, DataControlRowType.DataRow, DataControlRowState.Normal);
            bool             result = row.DoOnBubbleEvent(this, new CommandEventArgs("", null));

            Assert.AreEqual(true, result, "OnBubbleEventWithCommandEventArgs");
            result = row.DoOnBubbleEvent(this, new EventArgs());
            Assert.AreEqual(false, result, "OnBubbleEventWithEventArgs");
        }