标签:style class blog code java http
private void Application_Startup(object sender, StartupEventArgs e) { if (e.Args.Length == 1) { String s = e.Args[0]; } }
private void Application_Startup(object sender, StartupEventArgs e) { if (e.Args.Length == 1) { this.Properties["Test"] = e.Args[0]; } }
private void Button_Click_1(object sender, RoutedEventArgs e) { string path = Directory.GetCurrentDirectory() + @"\WpfApplication1.exe"; if (string.IsNullOrEmpty(path) || !File.Exists(path)) return; Process.Start(path,"测试字符串"); }
标签:style class blog code java http
原文地址:http://www.cnblogs.com/infly123/p/3781239.html