/**************************************************************************************************
         * Function Name: frmMain
         *
         * Purpose: Class constructor
         *
         * Parameters: None
         *
         * Returns: None
         *
         * History:
         * Date             Who             Comment
         * 12/8/2010        ACT             Function creation.
         * 12/9/2010        ACT             Added initialization of printer & graphics class objects
         * 01/28/2011       ACT             Renamed Smartcard encoding framework object to _SCEncodeEthernet
         ***************************************************************************************************/
        public frmMain()
        {
            InitializeComponent();

            _thePrinterSDK  = new ZBRPrinter();
            _theGraphicsSDK = new ZBRGraphics();
        }
        /**************************************************************************************************
         * Function Name: btnExit_Click
         *
         * Purpose: Event handler for Exit button click event, program cleanup, & signal application to exit.
         *
         * Parameters: sender = object which caused the event to be called
         *                  e = arguments related to the event
         *
         * Returns: None
         *
         * History:
         * Date             Who             Comment
         * 12/8/2010        ACT             Function creation.
         * 01/28/2011       ACT             Renamed Smartcard encoding framework object to _SCEncodeEthernet
         ***************************************************************************************************/
        private void btnExit_Click(object sender, EventArgs e)
        {
            _thePrinterSDK  = null;
            _theGraphicsSDK = null;

            Dispose(true);

            Application.Exit();
        }