• 大小: 0.48M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-28
  • 语言: 其他
  • 标签: 其他  

资源简介


地铁线路图绘制软件源码 包含画图程序和看图程序的源码 在以下源码基础上修改而来: 《地铁线路图的设计与实现》http://www.cnblogs.com/lavezhang/archive/2012/08/08/2629175.html

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BusGraphApp
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();

            //打开地铁线路图
            metroGraphView1.OpenFromFile(Application.StartupPath + “\\BusGraph.xml“);
            foreach (var line in metroGraphView1.Graph.Lines)
                comboBox1.Items.Add(line.Name);
        }

        private void button1_Click(object sender EventArgs e)
        {
            metroGraphView1.CurPath = new MetroPath();
            foreach (var link in metroGraphView1.Graph.links.Where(c => c.Flag >= 0))
            {
                if (link.Line.Name == comboBox1.Text)
                    metroGraphView1.CurPath = metroGraphView1.CurPath.Append(link);
            }
            metroGraphView1.Invali

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      85452  2015-04-15 11:13  BusGraphApp\bin\Debug\BusGraph.xml

     文件      67584  2015-04-15 14:57  BusGraphApp\bin\Debug\BusGraphApp.exe

     文件      91648  2015-04-15 14:57  BusGraphApp\bin\Debug\BusGraphApp.pdb

     文件      11600  2015-04-15 15:28  BusGraphApp\bin\Debug\BusGraphApp.vshost.exe

     文件        490  2010-03-17 22:39  BusGraphApp\bin\Debug\BusGraphApp.vshost.exe.manifest

     文件      85467  2015-04-14 17:10  BusGraphApp\BusGraph.xml

     文件       6265  2015-04-15 08:03  BusGraphApp\BusGraphApp.csproj

     文件        478  2015-04-14 14:48  BusGraphApp\BusGraphApp.csproj.user

     文件        863  2015-04-14 14:30  BusGraphApp\BusGraphApp.sln

    ..A..H.     30720  2015-04-15 15:30  BusGraphApp\BusGraphApp.suo

     文件       1083  2015-04-15 08:02  BusGraphApp\FrmMain.cs

     文件       4176  2015-04-14 17:13  BusGraphApp\FrmMain.designer.cs

     文件      20617  2015-04-14 17:13  BusGraphApp\FrmMain.resx

     文件       2398  2015-04-15 08:02  BusGraphApp\MetroGraph.cs

    ..A..H.     45056  2015-04-14 14:31  BusGraphApp\MetroGraphApp.suo

     文件      31917  2015-04-15 14:57  BusGraphApp\MetroGraphView.cs

     文件       1510  2015-04-14 14:31  BusGraphApp\MetroGraphView.designer.cs

     文件       5817  2012-08-05 21:30  BusGraphApp\MetroGraphView.resx

     文件       1845  2015-04-15 08:02  BusGraphApp\MetroLine.cs

     文件       2909  2015-04-15 08:02  BusGraphApp\Metrolink.cs

     文件       2198  2015-04-15 08:02  BusGraphApp\MetroNode.cs

     文件       3124  2015-04-15 08:02  BusGraphApp\MetroPath.cs

     文件       1396  2015-04-15 15:28  BusGraphApp\obj\x86\Debug\BusGraphApp.csproj.FileListAbsolute.txt

     文件      67584  2015-04-15 14:57  BusGraphApp\obj\x86\Debug\BusGraphApp.exe

     文件      10228  2015-04-15 14:54  BusGraphApp\obj\x86\Debug\BusGraphApp.FrmMain.resources

     文件        180  2015-04-15 08:03  BusGraphApp\obj\x86\Debug\BusGraphApp.MetroGraphView.resources

     文件      91648  2015-04-15 14:57  BusGraphApp\obj\x86\Debug\BusGraphApp.pdb

     文件      13408  2015-04-15 08:03  BusGraphApp\obj\x86\Debug\BusGraphApp.Properties.Resources.resources

     文件      23503  2015-04-15 08:02  BusGraphApp\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6410  2015-04-15 14:57  BusGraphApp\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

............此处省略102个文件信息

评论

共有 条评论