private void AddCustomerQuote() { //Stream myStream = null; OpenFileDialog openFileDialog1 = new OpenFileDialog(); //openFileDialog1.InitialDirectory = "c:\\"; //openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*"; //openFileDialog1.FilterIndex = 2; //openFileDialog1.RestoreDirectory = true; if (openFileDialog1.ShowDialog() == DialogResult.OK) { tbxCustQuoteFilePath.Text = openFileDialog1.FileName; customerQuoteDocStatus = CustomerQuoteDocStatus.QuoteAdded; } }
private void RemoveCustomerQuote() { tbxCustQuoteFilePath.Text = ""; linkAddViewCustomerQuote.Visible = false; customerQuoteDocStatus = CustomerQuoteDocStatus.QuoteRemoved; }