コード例 #1
0
ファイル: GridViewRowTest.cs プロジェクト: nobled/mono
		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");
		}
コード例 #2
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");
        }