static void Main(string[] args) { var test = new MongoDBTest(); Console.ReadLine(); }
private void btn_mongodb_start_Click(object sender, EventArgs e) { MongoDBTest mongoDBTest = new MongoDBTest(); mongoDBTest.TestCode(); }