Beispiel #1
0
 //Event to display brands by clientID
 private void btnDisplayAll_Click(object sender, EventArgs e)
 {
     if (txtID.Text == "")
     {
         MessageBox.Show("Please select Client from the List");
     }
     else
     {
         BrandsForm b = new BrandsForm();
         b.Show();
         b.BrandByClientID(int.Parse(txtID.Text));
     }
 }
        private void button1_Click(object sender, EventArgs e)
        {
            BrandsForm b = new BrandsForm();

            b.ShowDialog();
        }