예제 #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();
        }
예제 #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;
             */
        }
예제 #3
0
 public ViewController(FirstView fv)
 {
     this.fv = fv;
 }
예제 #4
0
 public AddCustomer(FirstView owner)
 {
     _owner = owner;
     InitializeComponent();
 }
예제 #5
0
 public AddEmployee(FirstView owner)
 {
     _owner = owner;
     InitializeComponent();
 }