Beispiel #1
0
        private void metroButton2_Click(object sender, EventArgs e)
        {
            WorkInCatrigeModel catrigeModel = new WorkInCatrigeModel();

            catrigeModel.deleteFirm(LabID.Text);
            catrigeModel.Load(dgvModelCatrige, ColorCB, PrinterModelCB);
        }
Beispiel #2
0
        private void SaveBtn_Click(object sender, EventArgs e)
        {
            WorkInCatrigeModel catrigeModel = new WorkInCatrigeModel();

            catrigeModel.createPrinterModel(LabID, CatrigeModelNameTB, ColorCB);
            catrigeModel.Load(dgvModelCatrige, ColorCB, PrinterModelCB);
            Clear();
        }
Beispiel #3
0
        private void CatrigeModelForm_Load(object sender, EventArgs e)
        {
            WorkInCatrigeModel workInCatrigeModel = new WorkInCatrigeModel();

            workInCatrigeModel.Load(dgvModelCatrige, ColorCB, PrinterModelCB);
            ColorCB.SelectedIndex        = -1;
            PrinterModelCB.SelectedIndex = -1;
            Clear();
        }