Esempio n. 1
0
        private void fishBT_Click_1(object sender, EventArgs e)
        {
            Fishes f = new Fishes(cIdCB.Text);

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

            f.Visible = true;
        }