public override void Excel(object sender, EventArgs e) // 엑셀 내보내기 { if (dgv_Balju.Rows.Count == 0) { main.NoticeMessage = Resources.ExcelError; } else { using (WaitForm frm = new WaitForm()) { frm.Processing = ExcelExport; frm.ShowDialog(); } } }
public override void Print(object sender, EventArgs e) // 보고서 인쇄 { if (dgv_Balju.Rows.Count == 0) { main.NoticeMessage = Resources.NonData; } else { using (WaitForm frm = new WaitForm()) { frm.Processing = ExportPrint; frm.ShowDialog(); } } }
public override void Print(object sender, EventArgs e) { if (dgvWorkList.Rows.Count == 0) { frm.NoticeMessage = Properties.Resources.NonData; } else { using (WaitForm frm = new WaitForm()) { frm.Processing = ExportPrint; frm.ShowDialog(); } } }
public override void Excel(object sender, EventArgs e) { if (dgv_SalesStatus.Rows.Count == 0) { main.NoticeMessage = Properties.Resources.ExcelError; } else { using (WaitForm frm = new WaitForm()) { frm.Processing = ExcelExport; frm.ShowDialog(); } } }
public override void Excel(object sender, EventArgs e) { if (dgvBOM.Rows.Count > 0) { using (WaitForm frm = new WaitForm()) { frm.Processing = ExcelExport; frm.ShowDialog(); } } else { frm.NoticeMessage = Resources.ExcelError; } }
public override void Excel(object sender, EventArgs e) { if (dgvWorkList.Rows.Count > 0) { using (WaitForm frm = new WaitForm()) { frm.Processing = ExcelExport; frm.ShowDialog(); } frm.WindowState = FormWindowState.Minimized; } else { frm.NoticeMessage = Resources.ExcelError; } }
/// <summary> /// 엑셀버튼 클릭 이벤트 메서드 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public override void Excel(object sender, EventArgs e) { if ((tabDefective.SelectedIndex == 0 && dgvDefective.Rows.Count > 0) || (tabDefective.SelectedIndex == 1 && dgvDefectiveByLine.Rows.Count > 0) || (tabDefective.SelectedIndex == 2 && dgvDefectiveByDefecType.Rows.Count > 0) || (tabDefective.SelectedIndex == 3 && dgvDefectiveByDefecHandleType.Rows.Count > 0)) { using (WaitForm frm = new WaitForm()) { frm.Processing = ExcelExport; frm.ShowDialog(); } frm.WindowState = FormWindowState.Minimized; } else { frm.NoticeMessage = Resources.ExcelError; } }