Beispiel #1
0
        private void fGrid_EllipsisButtonClick(object sender, iGEllipsisButtonClickEventArgs e)
        {
            var _row = fGrid.Rows[e.RowIndex];

            if (string.IsNullOrEmpty(_row.Key))
            {
                return;
            }
            if (_row.Cells[1].Value == null)
            {
                return;
            }
            if (_row.Key == "husband" | _row.Key == "wife")
            {
                using (var _fm = new MemberDetail())
                {
                    _fm.Owner = this;
                    _fm.Tag   = (_row.Cells[1].AuxValue as fnn.iGComboItemEX).Tag;
                    _fm.ShowDialog();
                }
            }
            else
            {
            }
        }
 private void fGrid2_EllipsisButtonClick_1(object sender, iGEllipsisButtonClickEventArgs e)
 {
     fGrid2.SetCurCell(e.RowIndex, 0);
     if (fGrid2.Rows[e.RowIndex].Tag == null)
     {
         return;
     }
     using (var _fm = new MemberDetail())
     {
         _fm.Tag = datam.DATA_MEMBER[fGrid2.Rows[e.RowIndex].Tag.ToInt32()];
         _fm.ShowDialog();
     }
 }