コード例 #1
0
        /// <summary>
        /// 卡片双击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public static void ClikDouble(object sender, MouseButtonEventArgs e)
        {
            //Console.WriteLine(e.ToString());
            //Console.WriteLine(e.ChangedButton);
            if (e.ClickCount == 2)
            {
                CardUI card = sender as CardUI;
                CardOperate.Card_DoubleClick(card, e);
            }

            //CardEvent.doubleclick = false;
            //doubleclick = false;
        }