Ejemplo n.º 1
0
        //---------------------------------------------------------------------------------------------------------------------------
        /// <summary>
        /// Handles the Click event of the button_TestConnection control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void button_TestConnection_Click(object sender, EventArgs e)
        {
            label_connection.Show();
            this.Refresh();
            LabelOperation labelOperation = new LabelOperation(TestConnection);

            labelOperation.BeginInvoke(LabelOperationCallBack, null);
        }
 //---------------------------------------------------------------------------------------------------------------------------
 /// <summary>
 /// Handles the Click event of the button_TestConnection control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void button_TestConnection_Click(object sender, EventArgs e)
 {
     label_connection.Show();
     this.Refresh();
     LabelOperation labelOperation = new LabelOperation(TestConnection);
     labelOperation.BeginInvoke(LabelOperationCallBack, null);
 }