public void Skype_UserStatus(TUserStatus status) { // Write User Status to Window this.textBox1.AppendText("User Status: " + skype.Convert.UserStatusToText(status)); this.textBox1.AppendText(" - " + status.ToString() + Environment.NewLine); this.textBox1.ScrollToCaret(); if ((status == TUserStatus.cusLoggedOut) && (Properties.Settings.Default.StopAtLogoffOrExit)) { this.Close(); } }
public void Skype_UserStatus(TUserStatus status) { // Write User Status to Window this.textBox1.AppendText("User Status: " + skype.Convert.UserStatusToText(status)); this.textBox1.AppendText(" - " + status.ToString() + Environment.NewLine); this.textBox1.ScrollToCaret(); if ((status == TUserStatus.cusLoggedOut) && (Properties.Settings.Default.StopAtLogoffOrExit)) { this.Close(); } }
public string GetConfigString() { return(string.Format(CultureInfo.CurrentCulture, Strings.Status_ConfigString, status.ToString().Replace("cus", ""))); }