MainWindow.xaml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <Window x:Class="DocTools.WPF.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:DocTools.WPF"
  7. xmlns:extensions="clr-namespace:DocTools.WPF.Extensions"
  8. mc:Ignorable="d"
  9. Title="Document General Tool" Height="450" Width="800">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="*" />
  13. </Grid.ColumnDefinitions>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="*" />
  16. </Grid.RowDefinitions>
  17. <Grid Grid.Row="0">
  18. <StackPanel Orientation="Vertical">
  19. <GroupBox Header="文档生成功能设置" Margin="5">
  20. <StackPanel>
  21. <StackPanel Orientation="Horizontal">
  22. <TextBlock Text="杏聆荟RPC服务目录:" Margin="5" VerticalAlignment="Center" />
  23. <TextBox x:Name="RPCFilePath_Text" Margin="5" Width="580" Text="D:\Project\git\New_Wing_Solution\WingInterfaceLibrary\src\bin\Debug\net6.0\" VerticalAlignment="Center" IsReadOnly="True" Height="22" />
  24. </StackPanel>
  25. <StackPanel Orientation="Horizontal">
  26. <TextBlock Text="DOCS文档工具目录:" Margin="5" VerticalAlignment="Center" />
  27. <TextBox x:Name="FilePath_Text" Margin="5" Width="580" Text="C:\Users\VINNO\source\repos\GeneralDocTools\DocTools.WPF\bin\Debug\net6.0-windows" VerticalAlignment="Center" IsReadOnly="True" Height="22" />
  28. </StackPanel>
  29. <StackPanel Orientation="Horizontal">
  30. <TextBlock Text="HTML文档输出目录:" Margin="5" VerticalAlignment="Center" />
  31. <TextBox x:Name="Description_Text" Margin="5" Width="580" Text="D:\Project\git\swaggerui\dist" VerticalAlignment="Center" Height="22" />
  32. <Button x:Name="GeneralDoc_Button" Content="生成" Margin="10,0,0,0" VerticalAlignment="Center" Click="GeneralDoc_Button_Click" Foreground="#FF2300FF" FontSize="11" />
  33. </StackPanel>
  34. <StackPanel Orientation="Horizontal">
  35. <TextBlock x:Name="Msg_Text" Text="DOCS文档工具日志:" Margin="5" VerticalAlignment="Center" />
  36. <TextBox x:Name="Logs_Text" Margin="5" Width="625" TextWrapping="Wrap" VerticalAlignment="Center" Height="270" VerticalScrollBarVisibility="Visible" />
  37. </StackPanel>
  38. </StackPanel>
  39. </GroupBox>
  40. </StackPanel>
  41. </Grid>
  42. <!--<local:WaitingSpinner x:Name="Waiting" Cursor="Arrow" FontSize="11" />-->
  43. </Grid>
  44. </Window>