/// <summary> /// 打开日志窗体 /// </summary> public static void ShowTruckRouteLog() { if (trRouteList != null && trRouteList.IsVisible) { trRouteList.Show(); trRouteList.Activate(); trRouteList.WindowState = System.Windows.WindowState.Normal; } else { trRouteList = new Dispatch.TruckRouteList(); trRouteList.Show(); } }
private void btn_showtruck_Click(object sender, RoutedEventArgs e) { Dispatch.TruckRouteList trList = new TruckRouteList(); trList.Show(); }