コード例 #1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation);

            workInLocation.createLocationPrinter(LabID.Text, TitulTB.Text, RoomTB.Text);
            Clear();
        }
コード例 #2
0
        private void metroButton1_Click(object sender, EventArgs e)
        {
            WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation);

            workInLocation.deletePrinterLocation(LabID.Text);
            Clear();
        }
コード例 #3
0
        private void LocationForm_Load(object sender, EventArgs e)
        {
            WorkInLocation workInLocation = new WorkInLocation(dgvPrinterLocation);

            workInLocation.load();
            Clear();
        }