Example #1
0
 /// <summary>
 /// 主页
 /// </summary>
 /// <param name="str">子页参数</param>
 public AGVManage(string str)
 {
     InitializeComponent();
     switch (str)
     {
         case "Mark":
             MarkManage mmpage = new MarkManage();
             frameNav.Navigate(mmpage);
             break;
         case "Route":
             RouteManage rmpage = new RouteManage();
             frameNav.Navigate(rmpage);
             break;
         case "Traffic":
             TrafficManage tmpage = new TrafficManage();
             frameNav.Navigate(tmpage);
             break;
             default:
             break;
     }
 }
Example #2
0
        /// <summary>
        /// 主页
        /// </summary>
        /// <param name="str">子页参数</param>
        public AGVManage(string str)
        {
            InitializeComponent();
            switch (str)
            {
            case "Mark":
                MarkManage mmpage = new MarkManage();
                frameNav.Navigate(mmpage);
                break;

            case "Route":
                RouteManage rmpage = new RouteManage();
                frameNav.Navigate(rmpage);
                break;

            case "Traffic":
                TrafficManage tmpage = new TrafficManage();
                frameNav.Navigate(tmpage);
                break;

            default:
                break;
            }
        }