Beispiel #1
0
        private void btnFoodType_Click(object sender, EventArgs e)
        {
            pnlContext.Controls.Clear();
            pnlContext.Controls.Clear();
            FoodTypeCtl objFoodType = new FoodTypeCtl(this);

            objFoodType.Parent = this;
            pnlContext.Controls.Add(objFoodType);
            objFoodType.Dock = DockStyle.Fill;
        }
Beispiel #2
0
 private void btnFoodType_Click(object sender, EventArgs e)
 {
     pnlContext.Controls.Clear();
     pnlContext.Controls.Clear();
     FoodTypeCtl objFoodType = new FoodTypeCtl(this);
     objFoodType.Parent = this;
     pnlContext.Controls.Add(objFoodType);
     objFoodType.Dock = DockStyle.Fill;
 }