Exemplo n.º 1
0
        /// <summary>
        /// CloudPrintOptionsForm constructor with CloudPrintOptions as parameter
        /// </summary>
        /// <param name="kioskPrintOptions"></param>
        public KioskPrintOptionsForm(KioskPrintOptions kioskPrintOptions)
        {
            InitializeComponent();
            KioskPrintOptions = kioskPrintOptions;

            //combobox imtes
            colormode_ComboBox.DataSource   = EnumUtil.GetDescriptions <KioskColorMode>().ToList();
            duplex_ComboBox.DataSource      = EnumUtil.GetDescriptions <KioskDuplexPrint>().ToList();
            papersource_ComboBox.DataSource = EnumUtil.GetDescriptions <KioskOriginalSize>().ToList();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KioskPrintOptions"/> class.
 /// </summary>
 public KioskPrintOptionsForm()
 {
     InitializeComponent();
     KioskPrintOptions = new KioskPrintOptions();
 }