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 fGrid_EllipsisButtonClick(object sender, iGEllipsisButtonClickEventArgs e) { if (e.ColIndex == 0) { fGrid.Rows[e.RowIndex].Cells[1].Enabled = (fGrid.Rows[e.RowIndex].Cells[1].Enabled == iGBool.False) ? iGBool.True : iGBool.False; return; } if (fGrid.Rows[e.RowIndex].Key == "collect_date") { fGrid.Rows[e.RowIndex].Cells[1].Value = null; fGrid.Rows[e.RowIndex].Cells[1].AuxValue = null; } }
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(); } }
private void fGridnormal_EllipsisButtonClick(object sender, iGEllipsisButtonClickEventArgs e) { var _cell = fGridnormal.Cells[e.RowIndex, e.ColIndex]; if (_cell.AuxValue != null) { using (var _fm = new ViewQMYExpenses()) { _fm.Tag = _cell.AuxValue; _fm.ShowDialog(); } } }
private void fGrid_EllipsisButtonClick(object sender, iGEllipsisButtonClickEventArgs e) { var cv = fGrid.Rows[e.RowIndex]; if (string.IsNullOrEmpty(cv.Key)) { return; } if (cv.Cells[1].Value == null) { return; } string _str = "Are You Sure You Want To Cancel The Date"; if (!dbm.WarningMessage(_str, "Cancel Warning")) { return; } cv.Cells[1].Value = null; cv.Cells[1].AuxValue = null; buttonsave.Enabled = false; }
private void fGrid2_EllipsisButtonClick(object sender, iGEllipsisButtonClickEventArgs e) { }