private void butOffline_Click(object sender, EventArgs e) { _loginTask.Reset(); DialogResult = DialogResult.No; }
/// <summary> /// Handles the <see cref="Control.Click"/> event of the conacel button. /// </summary> /// <param name="sender">The object that triggered the event.</param> /// <param name="e">An <see cref="EventArgs"/> describing the event arguments.</param> private void butCancel_Click(object sender, EventArgs e) { m_lftLoginTask.Reset(); DialogResult = DialogResult.No; }