/// <summary>
        /// Initialize instance members, window components, and then populate components with data from instance members.
        /// </summary>
        public MainWindow()
        {
            PSClient = new PersonServiceClient();
            Audit += AuditListener;

            // Make sure there's a connection to the server first. If there's not, provide the information to the Audit.
            try
            {
                PSClient.Ping("Pong!");
            }
            catch (Exception e)
            {
                Audit(this, new ClientAuditArgs("Received", "Ping", "Nothing"));
                this.Close();
            }

            InitializeComponent();

            DataContext = this;

            // Starts with Employee selected
            PersonTypeChooser.SelectedIndex = 0;
        }