/// <summary>
        /// Event generated on form closed
        /// </summary>
        /// <param name="sender">Object that has generated the event</param>
        /// <param name="e">Event arguments</param>
        private void Form_FormClosed(object sender, EventArgs e)
        {
            _result = _form.DialogResult;
            _form   = null;

            //Send notification to the server
            IAppClient appClient = new AppClient(ClientId);

            appClient.FormClosed();
        }