public RestaurantDescription(Resturants rest, RestaurantList form)
        {
            InitializeComponent();
            rests       = rest;
            descLB.Text = rest.Description;
            parentform  = form;
            Show_Foods();
            Show_Hours();



            Favorites = rest.favorites;
            if (Favorites)
            {
                favorite.Text = "Favorited";
            }
            else if (!Favorites)
            {
                favorite.Text = "Add To Favorites?";
            }
            this.ShowDialog();
        }
예제 #2
0
        private void openFoodScreen(object sender, EventArgs e)
        {
            RestaurantList ep = new RestaurantList();

            ep.ShowDialog();
        }