1 Star 0 Fork 0

程序员ken/IT-Roadblock

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ProjectEditWindow.xaml.cs 831 Bytes
一键复制 编辑 原始数据 按行查看 历史
程序员ken 提交于 2024-05-29 21:09 . first commit
using IT_RoadBlock.Controls;
using IT_RoadBlock.Dto;
using IT_RoadBlock.Entities;
using IT_RoadBlock.ViewModes;
using HandyControl.Controls;
namespace IT_RoadBlock
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class ProjectEditWindow : HandyControl.Controls.GlowWindow
{
public ProjectEditWindow(TProjectInfo projectInfo)
{
InitializeComponent();
this.allGrid.Children.Add(new ProjectDetailUserControl(projectInfo));
this.DataContext = new ProjectEditViewModel(projectInfo)
{
CloseWindow = () => this.Close(),
DialogWindow = (win,rs) =>
{
Dialog dialog = Dialog.Show(new TextDialog(win,rs));
}
};
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ten-ken/it-roadblock.git
git@gitee.com:ten-ken/it-roadblock.git
ten-ken
it-roadblock
IT-Roadblock
master

搜索帮助