Beispiel #1
0
        private void btnTag_Click(object sender, EventArgs e)
        {
            FrmTag frm = new FrmTag();

            frm.TopLevel   = false;
            frm.AutoScroll = true;
            this.splitContainer1.Panel2.Controls.Add(frm);
            frm.FormBorderStyle = FormBorderStyle.None;
            frm.Show();
        }
Beispiel #2
0
        private void btnTag_Click(object sender, EventArgs e)
        {
            FrmTag frm = new FrmTag();

            this.Hide();
            frm.ShowDialog();
            this.Visible = true;
            bll          = new MealBLL();
            dto          = bll.GetMeals();
            ShowMeals();
        }