Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
 private void RemoveCustomerQuote()
 {
     tbxCustQuoteFilePath.Text        = "";
     linkAddViewCustomerQuote.Visible = false;
     customerQuoteDocStatus           = CustomerQuoteDocStatus.QuoteRemoved;
 }