0
点赞
收藏
分享

微信扫一扫

2014年亚太杯APMCM数学建模大赛C题公共基础课教师专业化培养方式研究求解全过程文档及程序

追风骚年 2023-11-05 阅读 13

命令行参数这样是一种技术,传递一组参数到你希望开始的应用,以某种方式影响它。

如使用Windows自带的记事本,在开始菜单选择运行或者按一下Win+R键,输入:notepad.exe c:\Windows\win.ini。这就在记事本中打开了win.ini文件。记事本简单的寻找一条或多条参数,然后使用它们。

现在编写一个应用程序打开一个存在的txt文档并在应用的窗口中显示。

App.xaml中添加Startup事件

<Application x:Class="CommandDemo.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:CommandDemo"
StartupUri="MainWindow.xaml" S
举报

相关推荐

0 条评论