private void QuoteListBox_SelectedValueChanged(object sender, EventArgs e) { try { CustomComboBox.SetEmployeeGridComboBox(employeeCbColumn); QuotationDetail.SetOrderDetailGridView(orderDetailGridView, QuoteListBox.SelectedValue.ToString(), employeeComboBox.SelectedValue.ToString()); } catch { } excelFile.XLWorkBook = null; }
private void quoteSaveButton_Click(object sender, EventArgs e) { QuotationDetail.SaveQuoteSheet(orderDetailGridView); }