Exemplo n.º 1
0
        private void This_Click(object sender, MouseButtonEventArgs e)
        {
            int num = UserActionUtils.WriteGood(this.GoodCount.Text.ToString(), this.UserId, this.model);

            if (num != 0)
            {
                this.GoodCount.Text = num.ToString();
            }
        }
Exemplo n.º 2
0
 private void Good_Click(string Name)
 {
     try
     {
         this.IsGood = true;
         int num = UserActionUtils.WriteGood(this.Count.Text, this.UserID, this.model);
         if (num != 0)
         {
             this.Count.Text    = num.ToString();
             this.Count.ToolTip = num.ToString();
         }
     }
     catch
     {
     }
 }