示例#1
0
        private void btnShowWorkers_Click(object sender, EventArgs e)
        {
            Form1 f = new Form1();

            f.Show();
            workersForm = new WorkersForm();
            workersForm.Show();
        }
示例#2
0
 public UpdateWorkerForm(WorkersForm form, int numberOfColumns, DataGridViewRow selectedRow, List <string> listOfNames, List <string> listOfPositions)
 {
     InitializeComponent();
     this.numberOfColumns = numberOfColumns;
     this.selectedRow     = selectedRow;
     this.listOfCellNames = listOfNames;
     this.listOfPositions = listOfPositions;
     this.workersForm     = form;
     //updateWorkerDataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells;
 }
示例#3
0
 public AddWorkerForm(WorkersForm form)
 {
     InitializeComponent();
     this.workersForm = form;
 }
示例#4
0
 public PositionsForm(WorkersForm form)
 {
     InitializeComponent();
     this.workersform = form;
 }