void ras_DialStatus(object sender, FalafelSoftware.TransPort.DialStatusEventArgs e) { Log("Status:" + e.ConnectionState.ToString()); }
void ras_ConnectionChanged(object sender, FalafelSoftware.TransPort.ConnectionChangedEventArgs e) { Log("Connected:" + e.Connected.ToString()); }
void ras_DialError(object sender, FalafelSoftware.TransPort.DialErrorEventArgs e) { if(e.RasError != FalafelSoftware.TransPort.RasError.Success) { Log("Error:" + e.RasError.ToString()); System.Windows.Forms.MessageBox.Show("Could not connect to the server. Reason:" + e.RasError.ToString()); } else { } }