public void populate(DeuffService.responseInfo res)
 {
     this.response = res;
     this.textBox1.Text = response.Question;
     if (res.Solution != null)
     {
         for (int i = 1; i <= response.Solution.Length; i++)
         {
             if (i == 1 && (response.Solution[0] != null))
             {
                 this.textBox2.Text = response.Solution[0].ToString();
                 this.button8.Text = response.Vote[0].ToString();
                 this.button8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             }
             if (i == 2 && (response.Solution[1] != null))
             {
                 this.textBox3.Text = response.Solution[1].ToString();
                 this.button9.Text = response.Vote[1].ToString();
                 this.button9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             }
             if (i == 3 && (response.Solution[2] != null))
             {
                 this.textBox4.Text = response.Solution[2].ToString();
                 this.button10.Text = response.Vote[2].ToString();
                 this.button10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
             }
         }
     }
 }
 private void populate(DeuffService.bugData robj)
 {
     robj.UserId = properties.userId;
     robj.Filename = textBox3.Text;
     robj.NameSpace = textBox4.Text;
     robj.Guid = textBox5.Text;
     robj.MoreOptions = 0;
     robj.OutputText = properties.output;
     robj.SoftwareInfo = robj.SoftwareInfo;
     robj.Version = textBox9.Text;
     robj.Vendor = properties.group;
     robj.StackTrace = textBox8.Text;
     robj.OperatingSystem = textBox10.Text;
     robj.ErrorMessage = textBox1.Text;
     robj.Tags = "visual-studio,c#";
     robj.BugId = "";
 }