Beispiel #1
0
        private void BT_Cut_Click(object sender, EventArgs e)
        {
            if (GV_Cut.GetFocusedDataSourceRowIndex() < 0 || GV_Cut.RowCount < 1)
            {
                MessageBox.Show("没有路径");
                return;
            }
            //   Edit_Cut frm = new Edit_Cut(TrajName, GV_Cut.GetSelectedRows()[0] + 1);
            Batch_TrajPos frm = new Batch_TrajPos(TrajName);

            frm.ShowDialog();
            ViewPoint(GC_Cut, GV_Cut, db.GetDV_Trajpos(TrajName));
        }
Beispiel #2
0
 private void BT_Cut_Click(object sender, EventArgs e)
 {
     if (GV_Cut.GetFocusedDataSourceRowIndex() < 0 || GV_Cut.RowCount < 1)
     {
         MessageBox.Show("没有路径");
         return;
     }
      //   Edit_Cut frm = new Edit_Cut(TrajName, GV_Cut.GetSelectedRows()[0] + 1);
     Batch_TrajPos frm = new Batch_TrajPos(TrajName);
     frm.ShowDialog();
     ViewPoint(GC_Cut, GV_Cut, db.GetDV_Trajpos(TrajName));
 }