Example #1
0
 //3.事件触发方法
 protected virtual void OnItemDoubleClick(ItemkArgs e)
 {
     if (ItemDoubleClick != null)
     {
         ItemDoubleClick(this, e);
     }
 }
Example #2
0
        private void DetailGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            DataGrid dgSender = sender as DataGrid;
            Rank     dRank    = dgSender.SelectedItem as Rank;
            string   symbol   = dRank.Symbol;

            fdpInfo = GetFundEquityInfo.Instance.GetFormatedFundInfo(symbol, DateService.ThisTimeLastYear(), DateTime.Now);

            ItemkArgs itemkArgs = new ItemkArgs(dRank);

            //引发事件
            OnItemDoubleClick(itemkArgs);
        }