| | |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> |
| | | </startup> |
| | | <runtime> |
| | | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
| | | <probing privatePath="Libs;ThirdParty"/> |
| | | </assemblyBinding> |
| | | </runtime> |
| | | </configuration> |
| | |
| | | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| | | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| | | xmlns:local="clr-namespace:WPFProject" |
| | | StartupUri="MainWindow.xaml"> |
| | | Startup="Application_Startup"> |
| | | <Application.Resources> |
| | | |
| | | </Application.Resources> |
| | |
| | | /// </summary> |
| | | public partial class App : Application |
| | | { |
| | | public void test()
|
| | | { |
| | | |
| | | }
|
| | |
|
| | | private void Application_Startup(object sender, StartupEventArgs e)
|
| | | {
|
| | | MainWindow window = new MainWindow();
|
| | | window.Show();
|
| | | }
|
| | | } |
| | | } |
| | |
| | | <Style x:Key="LinkButton" TargetType="Button"> |
| | | <Setter Property="ctls:DpPlugin.HoverColor" Value="{StaticResource ChildBorder}"/> |
| | | <Setter Property="FontFamily" Value="{StaticResource iconfont}"/> |
| | | <Setter Property="Foreground" Value="#000"/> |
| | | <Setter Property="Foreground" Value="{StaticResource ChildBorder}"/> |
| | | |
| | | <Setter Property="Template"> |
| | | <Setter.Value> |
| | |
| | | <DataGridTemplateColumn.CellTemplate>
|
| | | <DataTemplate>
|
| | | <StackPanel Orientation="Horizontal">
|
| | | <Button Style="{StaticResource LinkButton}" Margin="0,0,20,0">123</Button>
|
| | | <Button Style="{StaticResource LinkButton}" Margin="0,0,20,0">编辑</Button>
|
| | | <Button Style="{StaticResource LinkButton}">删除</Button>
|
| | | </StackPanel>
|
| | | </DataTemplate>
|
| | |
| | | <Compile Include="Models\CanvasPosition.cs" />
|
| | | <Compile Include="Models\FuncModel.cs" />
|
| | | <Compile Include="Models\NotifyBase.cs" />
|
| | | <Compile Include="Models\Variable.cs" />
|
| | | <Compile Include="Models\Param.cs" />
|
| | | <Compile Include="Models\Program.cs" />
|
| | | <Compile Include="Models\Sequence.cs" />
|