Example #1
0
 public JobForm()
 {
     InitializeComponent();
     FileName = "f:\\toprint.pdf";
     NoOfCopies.UpButton();
     PageSizeCombo.SelectedIndex = 0;
     PortraitRadio.Select();
     BWRadio.Select();
     UpdateButton.Enabled = false;
 }
Example #2
0
        private void CustomerMain_Load(object sender, EventArgs e)
        {
            DateLabel.Text = DateTime.Now.ToString("dddd, MMMM yyyy");
            TimeLabel.Text = DateTime.Now.ToString("HH:mm:ss");
            Timer tmr = new Timer();

            tmr.Interval = 1000;//ticks every 1 second
            tmr.Tick    += new EventHandler(tmr_Tick);
            tmr.Start();
            FileName = "F:\\upload.pdf";
            NoOfCopies.UpButton();
            PageSizeCombo.SelectedIndex = 0;
            PortraitRadio.Select();
            BWRadio.Select();
        }