private void GRD_SLIP_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { //팝업호출 if (e.RowIndex >= 0 && e.ColumnIndex != 12) { try { //네트워크 체크 if (!Constants.ONLINE_STATUS) { MetroMessageBox.Show(this, Constants.getMessage("ERROR_NETWORK"), "Search", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } setWaitCursor(true); string strBuySerialNo = GRD_SLIP[1, e.RowIndex].Value.ToString(); //구매일련번호 SlipDetailInfo slipForm = new SlipDetailInfo(strBuySerialNo, m_Logger); slipForm.ShowDialog(this); slipForm = null; } catch (Exception ex) { m_Logger.Error(ex.StackTrace); } finally { setWaitCursor(false); } } }
private void GRD_SLIP_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0 && e.ColumnIndex != 12) { try { setWaitCursor(true); string strSlipNo = GRD_SLIP[2, e.RowIndex].Value.ToString(); SlipDetailInfo slipForm = new SlipDetailInfo(strSlipNo, m_Logger); slipForm.ShowDialog(this); slipForm = null; } catch (Exception ex) { m_Logger.Error(ex.StackTrace); } finally { setWaitCursor(false); } } }