public register_Restaurant(Sign_up s_u, Restaurant_Profile f, string source)
 {
     InitializeComponent();
     temp_past = s_u;
     past5     = f;
     s         = source;
 }
        private void panel1_MouseClick(object sender, MouseEventArgs e)
        {
            Restaurant_Profile r = new Restaurant_Profile("Home", past, Restaurant_name);

            r.Show();
            past.Hide();
        }
示例#3
0
 public Menu(Restaurant_Profile r, string _source, string res_name, string _category_name)
 {
     InitializeComponent();
     past            = r;
     source          = _source;
     category_name   = _category_name;
     restaurant_name = res_name;
 }
示例#4
0
 public making_reservation(string source, Restaurant_Profile r, string _res_name, string _date, string _time, int _number_of_people, int _dining_points)
 {
     InitializeComponent();
     past1            = r;
     res_name         = _res_name;
     date             = _date;
     time             = _time;
     number_of_people = _number_of_people;
     dining_points    = _dining_points;
     s = source;
 }
 public Make_Review(Restaurant_Profile r, string res_name, string name, string city)
 {
     InitializeComponent();
     past            = r;
     restaurant_name = res_name;
     button2.Text    = name;
     label2.Text     = city;
     bmp1            = (Bitmap)button8.Image;
     buttons.Add(button7);
     buttons.Add(button3);
     buttons.Add(button4);
     buttons.Add(button5);
     buttons.Add(button6);
 }
 public Restaurant_admin(Restaurant_Profile f, string s, string res_name)
 {
     InitializeComponent();
     past4            = f;
     source           = s;
     resname          = res_name;
     button6.Visible  = true;
     button7.Visible  = false;
     button8.Visible  = false;
     button2.Visible  = false;
     button12.Visible = false;
     button13.Visible = false;
     button14.Visible = false;
 }
示例#7
0
 public Sign_up(Restaurant_Profile f, string source)
 {
     InitializeComponent();
     s     = source;
     past4 = f;
 }
示例#8
0
 public my_reservations(Restaurant_Profile f, string source)
 {
     InitializeComponent();
     s     = source;
     past3 = f;
 }
 public My_Profile(Restaurant_Profile _past, string source)
 {
     InitializeComponent();
     past3 = _past;
     s     = source;
 }
示例#10
0
 public Form1(Restaurant_Profile a)
 {
     InitializeComponent();
     past3 = a;
 }