Exemplo n.º 1
0
        public void MakeRefresh()
        {
            Controller.ViewController vc2 = new Controller.ViewController();

            this.dataGridView1.DataSource = null;
            this.dataGridView1.DataSource = vc.EditBooking();

            FirstView fv = new FirstView();

            fv.MakeRefreshOnBooking();
        }
Exemplo n.º 2
0
        public EditEmployee(FirstView owner)
        {
            _owner = owner;
            InitializeComponent();
               vc= new Controller.ViewController(_owner);

            /*
            Tuple<string, string, string> myTup = vc.fillEmployeeForm(2);
            employeeNrTextBox.Text = myTup.Item1;
            forenameTextBox.Text = myTup.Item2;
            surnameTextBox.Text = myTup.Item3;
             */
        }
Exemplo n.º 3
0
 public ViewController(FirstView fv)
 {
     this.fv = fv;
 }
Exemplo n.º 4
0
 public AddCustomer(FirstView owner)
 {
     _owner = owner;
     InitializeComponent();
 }
Exemplo n.º 5
0
 public AddEmployee(FirstView owner)
 {
     _owner = owner;
     InitializeComponent();
 }