Esempio n. 1
0
 private void gridImg_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (_ItemSelector == null)
     {
         _ItemSelector = new ItemSelector();
     }
     if (!ItemSelector.Opened)
     {
         DataGridViewCell ss = ((DataGridView)sender)[e.ColumnIndex, e.RowIndex];
         _ItemSelector.Display(ref ss);
     }
     // TODO
 }
Esempio n. 2
0
        private void gridImg_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (_ItemSelector == null)
                _ItemSelector = new ItemSelector();
            if (!ItemSelector.Opened)
            {

                DataGridViewCell ss = ((DataGridView)sender)[e.ColumnIndex, e.RowIndex];
                _ItemSelector.Display(ref ss);

            }
            // TODO
        }