TicketProcessing.xaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <Window x:Class="Practics.Views.TicketProcessing"
  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:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
  7. xmlns:local="clr-namespace:Practics.Views"
  8. mc:Ignorable="d"
  9. Title="Обработка заявки" Height="650" Width="530" MaxWidth="550" MinWidth="500" MaxHeight="800" MinHeight="600" Loaded="Window_Loaded">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="200"/>
  13. <ColumnDefinition/>
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="40"/>
  17. <RowDefinition Height="40"/>
  18. <RowDefinition Height="40"/>
  19. <RowDefinition Height="40"/>
  20. <RowDefinition Height="40"/>
  21. <RowDefinition Height="40"/>
  22. <RowDefinition Height="40"/>
  23. <RowDefinition Height="40"/>
  24. <RowDefinition Height="40"/>
  25. <RowDefinition Height="40"/>
  26. <RowDefinition Height="*"/>
  27. <RowDefinition Height="40"/>
  28. </Grid.RowDefinitions>
  29. <TextBlock Grid.Row="0" Grid.Column="0" Text="Комментарий"/>
  30. <TextBlock Grid.Row="1" Grid.Column="0" Text="Название заявки"/>
  31. <TextBlock Grid.Row="2" Grid.Column="0" Text="Номер компьютера"/>
  32. <TextBlock Grid.Row="3" Grid.Column="0" Text="Описание проблемы"/>
  33. <TextBlock Grid.Row="4" Grid.Column="0" Text="Создание заявки"/>
  34. <TextBlock Grid.Row="5" Grid.Column="0" Text="Время разрешения"/>
  35. <TextBlock Grid.Row="6" Grid.Column="0" Text="Автор разрешения"/>
  36. <TextBlock Grid.Row="7" Grid.Column="0" Text="Статус заявки"/>
  37. <TextBlock Grid.Row="8" Grid.Column="0" Text="Тип заявки"/>
  38. <TextBox x:Name="tbComment" Grid.Row="0" Grid.Column="1" IsReadOnly="False"/>
  39. <TextBox x:Name="tbProblemName" Grid.Row="1" Grid.Column="1" IsReadOnly="True" />
  40. <TextBox x:Name="tbPCNumber" Grid.Row="2" Grid.Column="1" IsReadOnly="True"/>
  41. <TextBox x:Name="tbProblemDescribe" Grid.Row="3" Grid.Column="1" IsReadOnly="True"/>
  42. <xctk:DateTimePicker x:Name="dtpProblemTime" Grid.Row="4" Grid.Column="1" IsReadOnly="True"/>
  43. <xctk:DateTimePicker x:Name="dtpSolvedTime" Grid.Row="5" Grid.Column="1"/>
  44. <ComboBox x:Name="cbSolvedAdmin" Grid.Row="6" Grid.Column="1"/>
  45. <ComboBox x:Name="cbProblemStatus" Grid.Row="7" Grid.Column="1" />
  46. <ComboBox x:Name="cbProblemType" Grid.Row="8" Grid.Column="1"/>
  47. <Button x:Name="btnTicketChange" Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" Content="Решить проблему" Click="btnTicketChange_Click"/>
  48. <RichTextBox x:Name="rtbChat" Grid.Row="10" Grid.Column="0" Grid.ColumnSpan="2"/>
  49. <Grid Grid.Row="11" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" >
  50. <Grid.ColumnDefinitions>
  51. <ColumnDefinition Width="*"/>
  52. <ColumnDefinition Width="100"/>
  53. </Grid.ColumnDefinitions>
  54. <TextBox Grid.Row="0" Grid.Column="0" x:Name="tbMessage" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"></TextBox>
  55. <Button Grid.Column="1" x:Name="btnSendMessage" Width="100" Click="btnSendMessage_Click">Отправить</Button>
  56. </Grid>
  57. </Grid>
  58. </Window>