Esempio n. 1
0
        // 测试道路历史
        public static Form TestCase2()
        {
            var factory = new AccessWorkspaceFactory();
            var ws = factory.OpenFromFile(@"C:\Temp\Traffic\db.mdb", 0) as IFeatureWorkspace;
            var fc = ws.OpenFeatureClass("AROAD");
            var historyFC = ws.OpenFeatureClass("ROADHIS");
            var nodeFC = ws.OpenFeatureClass("NODE");

            var form = new HistoryForm(8740, fc, historyFC, nodeFC, null);
            return form;
        }
Esempio n. 2
0
 private void btnHistory_Click(object sender, EventArgs e)
 {
     var form = new HistoryForm((int)dataGridView1.Tag, FeatureClass, HistoryFC, CrossFC, Father);
     form.ShowDialog();
 }