private void btnShowWorkers_Click(object sender, EventArgs e) { Form1 f = new Form1(); f.Show(); workersForm = new WorkersForm(); workersForm.Show(); }
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; }
public AddWorkerForm(WorkersForm form) { InitializeComponent(); this.workersForm = form; }
public PositionsForm(WorkersForm form) { InitializeComponent(); this.workersform = form; }