예제 #1
0
        private void riceBT_Click_1(object sender, EventArgs e)
        {
            Rice f = new Rice(cIdCB.Text);

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

            f.Visible = true;
        }