internal void setData(PrintingCreateSalesList selected)
        {
            this.selected       = selected;
            tbJudulCetakan.Text = selected.printingTitle;
            employeeName        = selected.inschietType;
            employeeID          = selected.inschiet;
            refreshListTimer(employeeID);
            timerID = Int32.Parse(selected.paperSize.Substring(selected.paperSize.LastIndexOf(" ")));
            foreach (DataGridViewRow i in gridTimerList.Rows)
            {
                if (Int32.Parse(i.Cells[0].Value.ToString()) == timerID)
                {
                    gridTimerList.CurrentCell = i.Cells[0];
                    break;
                }
            }

            blankEmployee();
            if (employeeID == 5)
            {
                btnToing.BackColor = Color.GreenYellow;
            }
            else if (employeeID == 7)
            {
                btnRudi.BackColor = Color.GreenYellow;
            }
            else if (employeeID == 8)
            {
                btnWawan.BackColor = Color.GreenYellow;
            }
        }
        internal void setData(PrintingCreateSalesList selected)
        {
            this.selected          = selected;
            tbJenisCetakan.Text    = selected.printingType;
            tbJudulCetakan.Text    = selected.printingTitle;
            tbKeteranganCetak.Text = selected.description;
            tbMaterial.Text        = selected.material;
            tbUkuranKertas.Text    = selected.paperSize;
            tbUkuranGambar.Text    = selected.imageSize;
            tbNote.Text            = selected.note;
            tbJenisCetakan.Text    = selected.printingType;

            string jobType = selected.jobType;

            if (jobType == "OF")
            {
                OF();
            }
            else if (jobType == "LL")
            {
                LL();
            }
            else if (jobType == "DG")
            {
                DG();
            }
            else if (jobType == "PL")
            {
                PL();
            }

            nudJumlahCetak.Value       = selected.quantity;
            cbJumlahCetak.SelectedItem = selected.quantityType;
            nudInschiet.Value          = selected.inschiet;
            cbInschiet.SelectedItem    = selected.inschietType;
            nudJumlahPlat.Value        = selected.totalPlat;

            int sisiCetak1 = Int32.Parse(selected.sidePrint.Substring(0, selected.sidePrint.IndexOf("/")));
            int sisiCetak2 = Int32.Parse(selected.sidePrint.Substring(selected.sidePrint.IndexOf("/") + 1));

            cbSisiCetak.SelectedItem  = sisiCetak1 + "";
            cbSisiCetak2.SelectedItem = sisiCetak2 + "";

            DateTime deadline = selected.deadline;

            if (deadline < new DateTime(2000, 01, 01))
            {
                ckbDeadline.Checked = false;
                ckbDeadline_CheckedChanged();
            }
            else
            {
                ckbDeadline.Checked = true;
                ckbDeadline_CheckedChanged();
                dtpDeadline.Value = deadline;
            }

            nudHargaAsli.Value   = selected.hargaAsli;
            nudHargaTotal.Value  = selected.hargaOngkosCetak + selected.hargaMaterial;
            nudMaterial.Value    = selected.hargaMaterial;
            nudOngkosCetak.Value = selected.hargaOngkosCetak;
            if (nudHargaAsli.Value == nudHargaTotal.Value)
            {
                ckbTitipan.Checked = false;
                ckbTitipan_CheckedChanged();
            }
            else
            {
                ckbTitipan.Checked = true;
                ckbTitipan_CheckedChanged();
            }

            nudCounter.Value = selected.jobType == "DG" ? selected.digitalCounter : selected.offsetCounter;

            DrawFinishing(selected.finishing);
        }