Example #1
0
        public Form1()
        {
            InitializeComponent();
            _photoCopier = new PhotoCopier();// Create new photo copier

            //Set the initial values on UI
            SetTheValuesOnUI();
            btnFixJam.Visible = false;
            txtNumberOfCopies.Focus();
        }
Example #2
0
 private void btnReset_Click(object sender, EventArgs e)
 {
     _photoCopier = new PhotoCopier();
     SetTheValuesOnUI();
 }