void _controller_DoubleClick(object sender, GridViewControllerEventArgs e)
 {
     if (GridDoubleClick != null)
     {
         GridDoubleClickEventArgs args = new GridDoubleClickEventArgs(e.Data, e.DataBoundType);
         GridDoubleClick(this, args);
     }
 }
Esempio n. 2
0
        void _controller_DoubleClick(object sender, GridViewControllerEventArgs e)
        {
            if (e.Data == null)
            {
                return;
            }

            if (GridDoubleClick != null)
            {
                GridDoubleClickEventArgs args = new GridDoubleClickEventArgs(e.Data, e.DataBoundType);
                GridDoubleClick(this, args);
            }

            if (e.Data.GetType().Equals(typeof(DataItemEntityDev)))
            {
                _editDataItemEntityCommand.Excute();
            }
        }