Exemplo n.º 1
0
        private void soupBT_Click_1(object sender, EventArgs e)
        {
            Soups f = new Soups(cIdCB.Text);

            f.Visible = true;
            this.Close();
        }
        private void soupBT_Click(object sender, EventArgs e)
        {
            if (cIdCB.Text == "")
            {
                MessageBox.Show("Please select Customer id!", "Error");
                return;
            }
            Soups f = new Soups(cIdCB.SelectedItem.ToString());

            f.Visible = true;
        }