public PrintingCreateSalesList(CreateSalesPrinting parent, string jobType, string printingType, string printingTitle, string previewFile, decimal quantity, string quantityType, decimal counter, decimal inschiet, string inschietType, string material, string paperSize, string imageSize, string sidePrint, decimal totalPlat, string description, string note, decimal hargaAsli, decimal hargaMaterial, decimal hargaOngkosCetak, DateTime deadline, List <string[]> finishing)
        {
            this.parent           = parent;
            this.printingType     = printingType;
            this.printingTitle    = printingTitle;
            this.previewFile      = previewFile;
            this.jobType          = jobType;
            this.quantity         = Convert.ToInt32(quantity);
            this.quantityType     = quantityType;
            this.inschiet         = Convert.ToInt32(inschiet);
            this.inschietType     = inschietType;
            this.material         = material;
            this.paperSize        = paperSize;
            this.imageSize        = imageSize;
            this.sidePrint        = sidePrint;
            this.totalPlat        = Convert.ToInt32(totalPlat);
            this.description      = description;
            this.note             = note;
            this.hargaAsli        = Convert.ToInt64(hargaAsli);
            this.hargaMaterial    = Convert.ToInt64(hargaMaterial);
            this.hargaOngkosCetak = Convert.ToInt64(hargaOngkosCetak);
            this.deadline         = deadline;
            this.finishing        = finishing;
            if (jobType == "DG")
            {
                digitalCounter = Convert.ToInt32(counter);
            }
            else if (jobType == "OF")
            {
                offsetCounter = Convert.ToInt32(counter);
            }

            InitializeComponent();
        }
 public SubSalesSetting(MainForm main, CreateSalesPrinting parent, string status)
 {
     this.main      = main;
     this.parent    = parent;
     this.status    = status;
     this.MdiParent = main;
     InitializeComponent();
 }
        public SubSalesOffset(MainForm main, CreateSalesPrinting createSales, string status)
        {
            this.main        = main;
            this.createSales = createSales;
            this.status      = status;
            this.MdiParent   = main;
            finishing        = new List <string[]>();

            InitializeComponent();
        }