コード例 #1
0
        /// <summary>
        /// 清除联动
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnClear_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var graph = new GraphicOperations();

            graph.DoClearDrawing(GraphDrawing.Mapobj);
            GraphDrawing gr = new GraphDrawing();

            gr.Jsonstr = "";
        }
コード例 #2
0
 /// <summary>
 /// 清除区域
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItem2_ItemClick_1(object sender, ItemClickEventArgs e)
 {
     GraphOpt.DoClearDrawing(mx);
 }