Exemplo n.º 1
0
        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();
            }
        }
Exemplo n.º 2
0
        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();
            }
        }
Exemplo n.º 3
0
 public string GetConfigString()
 {
     return(string.Format(CultureInfo.CurrentCulture, Strings.Status_ConfigString, status.ToString().Replace("cus", "")));
 }