Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {            
     res = new BioConversation.EntryListReplyListStruct();
     int n = pcc.findName("EReplyCategory");
     if (n == -1)
     {
         MessageBox.Show("Please add Name \"EReplyCategory\"");
         state = -1;
         return;
     }
     res.Paraphrase = textBox1.Text;
     res.refParaphrase = Int32.Parse(textBox2.Text);
     res.CategoryType = n;
     res.CategoryValue = Int32.Parse(textBox3.Text);
     res.Index = Int32.Parse(textBox4.Text);
     state = 1;
 }