SettingsDialog.xaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Window
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. x:Class="SettingsDialog"
  6. Title="SSH Handler Settings"
  7. Height="510"
  8. Width="437"
  9. ResizeMode="NoResize"
  10. >
  11. <Grid>
  12. <ScrollViewer
  13. VerticalAlignment="Top"
  14. HorizontalAlignment="Left"
  15. Height="430"
  16. Width="410"
  17. Margin="6,7,0,0"
  18. VerticalScrollBarVisibility="Auto"
  19. >
  20. <StackPanel Name="SettingsPanel">
  21. <GroupBox>
  22. <GroupBox.Header>
  23. <RadioButton
  24. Content="Find the first suitable SSH application"
  25. GroupName="Handlers"
  26. IsChecked="True"
  27. Unchecked="RadioButton_Unchecked"
  28. />
  29. </GroupBox.Header>
  30. </GroupBox>
  31. </StackPanel>
  32. </ScrollViewer>
  33. <StackPanel
  34. VerticalAlignment="Bottom"
  35. Orientation="Horizontal"
  36. HorizontalAlignment="Right"
  37. Margin="7,7,7,8"
  38. >
  39. <Button
  40. Content="OK"
  41. Margin="0,0,6,0"
  42. Width="73"
  43. IsDefault="True"
  44. Click="OkButton_Click"
  45. />
  46. <Button
  47. Content="Cancel"
  48. Margin="0,0,6,0"
  49. Width="73"
  50. IsCancel="True"
  51. />
  52. <Button
  53. Name="ApplyButton"
  54. Content="_Apply"
  55. Margin="0,0,0,0"
  56. Width="73"
  57. IsEnabled="False"
  58. Click="ApplyButton_Click"
  59. />
  60. </StackPanel>
  61. </Grid>
  62. </Window>