public void MakeRefresh() { Controller.ViewController vc2 = new Controller.ViewController(); this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = vc.EditBooking(); FirstView fv = new FirstView(); fv.MakeRefreshOnBooking(); }
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; */ }
public ViewController(FirstView fv) { this.fv = fv; }
public AddCustomer(FirstView owner) { _owner = owner; InitializeComponent(); }
public AddEmployee(FirstView owner) { _owner = owner; InitializeComponent(); }