Exemple #1
0
        private void cmdPopulateTestValues_Click(object sender, EventArgs e)
        {
            //http://www.evosnap.com/support/knowledgebase/service-information-data-elements/#applicationdata
            MessageBox.Show(
                "Please note that the following values are generic. Depending on the scope of your integration the following values may " +
                "change. Please contact your solution consultant with any questions.");

            try
            {
                //Use the DataGenerator to populate default values based on IndustryType
                ApplicationData AD = _dg.CreateApplicationData();

                cboApplicationAttended.SelectedItem = AD.ApplicationAttended;
                cboApplicationLocation.SelectedItem = AD.ApplicationLocation;
                txtApplicationName.Text             = AD.ApplicationName;//
                //txtDeveloperId.Text = AD.DeveloperId; //Not Used
                TxtDeviceSerialNumber.Text     = AD.DeviceSerialNumber;
                CboEncryptionType.SelectedItem = AD.EncryptionType;
                cboHardwareType.SelectedItem   = AD.HardwareType;
                cboPINCapability.SelectedItem  = AD.PINCapability;
                txtPTLSSocketId.Text           = ((SampleCode_DeskTop)(Owner)).PtlsSocketId;
                cboReadCapability.SelectedItem = AD.ReadCapability;
                txtSerialNumber.Text           = AD.SerialNumber;
                txtSoftwareVersion.Text        = AD.SoftwareVersion;
                txtSoftwareVersionDate.Text    = AD.SoftwareVersionDate.ToShortDateString();
                txtVendorId.Text = AD.VendorId;
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message);
            }
        }