Ejemplo n.º 1
0
        private void btnAddRecipe_Click(object sender, EventArgs e)
        {
            frmAddRecipe addRec = new frmAddRecipe();

            addRec.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     if (style != null && style != "")
     {
         _data.addStyle(style);
         this.Hide();
         _frmRec.populate("S");
         _frmRec.Show();
     }
     else
     {
         MessageBox.Show("Enter a style or close this window to exit adding a new style.");
     }
 }