private void btn_method1_Click(object sender, EventArgs e) { Match100Method method = new Match100Method(); BsonDocument doc_input = new BsonDocument(); doc_result = method.from_gobetgo_1(ref browser, doc_input); sb.AppendLine(doc_result["data"].ToString()); this.txt_result_method.Text = sb.ToString(); MessageBox.Show("method ok!"); }
private void btn_method3_Click(object sender, EventArgs e) { if (this.doc_result == null) { MessageBox.Show("Input Document is Empty!"); } Match100Method method = new Match100Method(); BsonDocument doc_input = this.doc_result; doc_result = method.from_gobetgo_3(ref browser, doc_input); sb.AppendLine(doc_result["data"].ToString()); this.txt_result_method.Text = sb.ToString(); MessageBox.Show("method ok!"); }