예제 #1
0
        private void ButtonAddNew_Click(object sender, EventArgs e)
        {
            Register_Food food = new Register_Food();
            CreateFood    here = new CreateFood();

            this.Hide();
            this.Closed += (s, args) => here.Close();
            food.Show();
        }
예제 #2
0
        private void ButtonVoltar_Click_1(object sender, EventArgs e)
        {
            CreateFood here = new CreateFood();
            Dashboard  dash = new Dashboard();

            this.Hide();
            this.Closed += (s, args) => here.Close();
            dash.Show();
        }