示例#1
0
 public User(string nickname, string password)
 {
     this.nickName = nickname;
     this.password = password;
     colorId       = MyColor.NameColorId(nickName);
     color         = MyColor.HSI(colorId);
 }
示例#2
0
        //用户名框响应
        private void TextBox_TextChanged_1(object sender, TextChangedEventArgs e)
        {
            string s = textBoxUserName.Text;

            tartgetColorId = MyColor.NameColorId(s);
        }