private void LoadInterface()
        {
            if (frmInterface == null)
            {
                frmInterface = new frmFoodItemDetails();
            }

            if (IsEdit)
            {
                frmInterface.IsEdit   = true;
                frmInterface.Code     = Code;
                frmInterface.FoodName = FoodName;
            }
            else if (IsAdd)
            {
                frmInterface.IsAdd    = true;
                frmInterface.Code     = Code;
                frmInterface.FoodName = FoodName;
            }
        }
 private void UnloadInterface()
 {
     frmInterface.Close();
     frmInterface = null;
 }