摘要: <ComboBox DisplayMemberPath="FileName" ItemsSource="{Binding DbConfigCollection, Mode=TwoWay}" SelectedItem="{Binding TaskOptions.TargetDatabase, Mode 阅读全文
posted @ 2022-02-23 14:41 Gold步履不停 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 在窗体关闭事件中,关闭当前的Scheduler private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { var factory=ServiceLocator.Instance.GetS 阅读全文
posted @ 2022-02-18 08:58 Gold步履不停 阅读(239) 评论(0) 推荐(1) 编辑
摘要: <template> <gantt-elastic :options="optionList" :tasks="taskList" @tasks-changed="tasksUpdate" @options-changed="optionsUpdate" @dynamic-style-changed 阅读全文
posted @ 2022-02-07 10:51 Gold步履不停 阅读(821) 评论(0) 推荐(0) 编辑
摘要: 参考VS生成后事件及相关bat命令解析_不当初-CSDN博客_vs 生成事件 网上很多使用方法,但是很多都不起作用,原因是路径参数要加上双引号“” copy /y "$(TargetPath)" "$(SolutionDir)..\00 Bin\Debug\Plugins" del "$(Targe 阅读全文
posted @ 2021-11-16 17:25 Gold步履不停 阅读(262) 评论(0) 推荐(0) 编辑
摘要: {TemplateBinding X}只是编写{Binding X, RelativeSource={RelativeSource TemplatedParent}}的快捷方式。TemplateBinding等价于{Binding RelativeSource={RelativeSource Tem 阅读全文
posted @ 2021-10-29 10:28 Gold步履不停 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: 需求是将Dictionary<string, Dictionary<string, string>>集合绑定到TreeView中展示。 <TreeView x:Name="treeView" FontSize="16"> <TreeView.ItemTemplate> <HierarchicalDa 阅读全文
posted @ 2021-07-23 11:34 Gold步履不停 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 创建一个WPF应用程序(.Net Framwork4.7),NuGet安装Prism.Wpf包,生成后Debug文件如图所示 除了可执行文件Test.exe外,还有大量的引用的Dll文件、xml文件、config配置文件和pdb调试文件。有时候我们不希望看到这么多文件,只想拿到一个exe文件就能运行 阅读全文
posted @ 2021-07-19 20:55 Gold步履不停 阅读(6131) 评论(1) 推荐(0) 编辑