Exemple #1
0
        private void EXWbutton_Click(object sender, EventArgs e)
        {
            ProductAddedEXWPrice paexw = new ProductAddedEXWPrice();

            this.Visible = false;
            paexw.ShowDialog();
            this.Visible = true;
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (incoCombobox.SelectedIndex != -1)
            {
                //if (test_textBox1.Text == "1")
                //{

                ProductAddedEXWPrice paexw1 = new ProductAddedEXWPrice();
                paexw1.textBox2.Text = incoCombobox.Text;
                paexw1.textBox3.Text = test_textBox1.Text;
                this.Visible         = false;
                paexw1.ShowDialog();
                this.Visible = true;

                incoCombobox.Items.Clear();
                GetIncoTerms();
                test_textBox1.Clear();

                //}

                //else if (test_textBox1.Text == "6")
                //{
                //    CFR_Price paexw2 = new CFR_Price();
                //    this.Visible = false;
                //    paexw2.ShowDialog();
                //    this.Visible = true;


                //}

                //else { MessageBox.Show("Please Select EXW or CFR Terms"); }
            }


            else
            {
                MessageBox.Show("Please Select Inco Terms");
            }
        }