private void button6_Click(object sender, EventArgs e)
        {
            my_reservations m_r = new my_reservations(this, "Home");

            m_r.Show();
            this.Hide();
        }
Beispiel #2
0
        private void button11_Click(object sender, EventArgs e)
        {
            my_reservations m_r = new my_reservations(this, "Restaurant_profile");

            m_r.Show();
            this.Hide();
        }
 public register_Restaurant(Sign_up s_u, my_reservations f, string source)
 {
     InitializeComponent();
     temp_past = s_u;
     past4     = f;
     s         = source;
 }
 public Restaurant_admin(my_reservations f, string s, string res_name)
 {
     InitializeComponent();
     past3            = 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;
 }
Beispiel #5
0
 public reservation(my_reservations f, int _res_id, string _res_name, string _phone, string _E_mail, string _date, string _time, int _number_of_people, string _occasion, int _dining_points, bool _dining_points_option, string source, string _reservation_state)
 {
     InitializeComponent();
     m_r                  = f;
     res_id               = _res_id;
     res_name             = _res_name;
     phone                = _phone;
     E_mail               = _E_mail;
     date                 = _date;
     time                 = _time;
     number_of_people     = _number_of_people;
     occasion             = _occasion;
     dining_points        = _dining_points;
     dining_points_option = _dining_points_option;
     reservation_state    = _reservation_state;
     s = source;
 }
 public unconfirmed_reservation(my_reservations f, int _res_id, string _res_name, string _date, string _time, int _number_of_people, string _phone, string _occasion, int _dining_points, bool _Dining_points_option)
 {
     InitializeComponent();
     res_name             = _res_name;
     date                 = _date;
     time                 = _time;
     number_of_people     = _number_of_people;
     first_name           = log_in.firstname;
     last_name            = log_in.lastname;
     phone                = _phone;
     email                = log_in.User_Email;
     occasion             = _occasion;
     Dining_points_option = _Dining_points_option;
     res_id               = _res_id;
     dining_points        = _dining_points;
     past                 = f;
 }
Beispiel #7
0
 public Sign_up(my_reservations f, string source)
 {
     InitializeComponent();
     s     = source;
     past3 = f;
 }
 public My_Profile(my_reservations _past, string source)
 {
     InitializeComponent();
     past2 = _past;
     s     = source;
 }
 public Form1(my_reservations a)
 {
     InitializeComponent();
     past4 = a;
 }