|
@@ -66,10 +66,14 @@
|
|
<TabControl x:Name="tabControlGeneral" HorizontalAlignment="Left" Height="694" VerticalAlignment="Top" Width="1358" SelectionChanged="tabControlGeneral_SelectionChanged" Grid.ColumnSpan="2" Controls:TabControlHelper.Underlined="TabPanel">
|
|
<TabControl x:Name="tabControlGeneral" HorizontalAlignment="Left" Height="694" VerticalAlignment="Top" Width="1358" SelectionChanged="tabControlGeneral_SelectionChanged" Grid.ColumnSpan="2" Controls:TabControlHelper.Underlined="TabPanel">
|
|
<TabItem Header="首页" Style="{StaticResource smallHeader}" x:Uid="1000" Height="31" VerticalAlignment="Top">
|
|
<TabItem Header="首页" Style="{StaticResource smallHeader}" x:Uid="1000" Height="31" VerticalAlignment="Top">
|
|
<Grid Margin="-1,-1,-1,-1">
|
|
<Grid Margin="-1,-1,-1,-1">
|
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
|
+ <ColumnDefinition Width="15*"/>
|
|
|
|
+ <ColumnDefinition Width="211*"/>
|
|
|
|
+ </Grid.ColumnDefinitions>
|
|
<Grid.Background>
|
|
<Grid.Background>
|
|
<ImageBrush ImageSource="/WpfTest1;component/Resources/homepage.jpg" />
|
|
<ImageBrush ImageSource="/WpfTest1;component/Resources/homepage.jpg" />
|
|
</Grid.Background>
|
|
</Grid.Background>
|
|
- <Button x:Name="buttonHomePageAddPatient" Content="Button" HorizontalAlignment="Left" Margin="315,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#FFA07A" Click="buttonHomePageAddPatient_Click">
|
|
|
|
|
|
+ <Button x:Name="buttonHomePageAddPatient" Content="Button" HorizontalAlignment="Left" Margin="335.089,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#FFA07A" Click="buttonHomePageAddPatient_Click" Grid.Column="1">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -83,7 +87,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Button x:Name="buttonHomePagePatientManagent" Content="Button" HorizontalAlignment="Left" Margin="509,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#66CDAA" Click="buttonHomePagePatientManagent_Click">
|
|
|
|
|
|
+ <Button x:Name="buttonHomePagePatientManagent" Content="Button" HorizontalAlignment="Left" Margin="529.089,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#66CDAA" Click="buttonHomePagePatientManagent_Click" Grid.Column="1">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -97,7 +101,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Button x:Name="buttonHomePageFilterFunction" Content="Button" HorizontalAlignment="Left" Margin="699,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008b7b" Click="buttonHomePageFilterFunction_Click">
|
|
|
|
|
|
+ <Button x:Name="buttonHomePageFilterFunction" Content="Button" HorizontalAlignment="Left" Margin="723.089,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008b7b" Click="buttonHomePageFilterFunction_Click" Grid.Column="1">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -111,7 +115,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Button x:Name="buttonHomePageEvaluationFunction" Content="Button" HorizontalAlignment="Left" Margin="886,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#daa520" Click="buttonHomePageEvaluationFunction_Click">
|
|
|
|
|
|
+ <!--<Button x:Name="buttonHomePageEvaluationFunction" Content="Button" HorizontalAlignment="Left" Margin="886,178,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#daa520" Click="buttonHomePageEvaluationFunction_Click">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -124,8 +128,8 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
- </Button>
|
|
|
|
- <Button x:Name="buttonHomeHistoryRecords" Content="Button" HorizontalAlignment="Left" Margin="315,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#9370db" Click="buttonHomeHistoryRecords_Click">
|
|
|
|
|
|
+ </Button>-->
|
|
|
|
+ <Button x:Name="buttonHomeHistoryRecords" Content="Button" HorizontalAlignment="Left" Margin="335.089,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#9370db" Click="buttonHomeHistoryRecords_Click" Grid.Column="1">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -139,7 +143,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Button x:Name="buttonHomePageSystemSettings" Content="Button" HorizontalAlignment="Left" Margin="509,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageSystemSettings_Click">
|
|
|
|
|
|
+ <Button x:Name="buttonHomePageSystemSettings" Content="Button" HorizontalAlignment="Left" Margin="529.089,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageSystemSettings_Click" Grid.Column="1">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -153,7 +157,7 @@
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Button x:Name="buttonHomePageDataTransfer" Content="Button" HorizontalAlignment="Left" Margin="699,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageDataTransfer_Click">
|
|
|
|
|
|
+ <!--<Button x:Name="buttonHomePageDataTransfer" Content="Button" HorizontalAlignment="Left" Margin="699,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageDataTransfer_Click">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -166,8 +170,8 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
- </Button>
|
|
|
|
- <Button x:Name="buttonHomePageHelp" Content="Button" HorizontalAlignment="Left" Margin="886,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageHelp_Click">
|
|
|
|
|
|
+ </Button>-->
|
|
|
|
+ <!--<Button x:Name="buttonHomePageHelp" Content="Button" HorizontalAlignment="Left" Margin="886,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageHelp_Click">
|
|
<Button.ContentTemplate>
|
|
<Button.ContentTemplate>
|
|
<DataTemplate>
|
|
<DataTemplate>
|
|
<StackPanel>
|
|
<StackPanel>
|
|
@@ -180,10 +184,26 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
</DataTemplate>
|
|
</Button.ContentTemplate>
|
|
</Button.ContentTemplate>
|
|
|
|
+ </Button>-->
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <Button x:Name="buttonHomePageTreatmentRecords" Content="Button" HorizontalAlignment="Left" Margin="723,359,0,0" VerticalAlignment="Top" Width="160" Height="150" Background="#008080" Click="buttonHomePageTreatmentRecords_Click" Grid.Column="1">
|
|
|
|
+ <Button.ContentTemplate>
|
|
|
|
+ <DataTemplate>
|
|
|
|
+ <StackPanel>
|
|
|
|
+ <Rectangle Fill="#ffffff" Width="80" Height="80">
|
|
|
|
+ <Rectangle.OpacityMask>
|
|
|
|
+ <VisualBrush Visual="{StaticResource appbar_home_question}" Stretch="Fill" />
|
|
|
|
+ </Rectangle.OpacityMask>
|
|
|
|
+ </Rectangle>
|
|
|
|
+ <TextBlock Text="诊疗记录" Margin="5 10 4 4" VerticalAlignment="Center" FontSize="20" Foreground="White" />
|
|
|
|
+ </StackPanel>
|
|
|
|
+ </DataTemplate>
|
|
|
|
+ </Button.ContentTemplate>
|
|
</Button>
|
|
</Button>
|
|
- <Label x:Name="labelSoftwareName" Content="欢迎使用劳拉" FontSize="32" HorizontalAlignment="Center" Margin="0,61,0,0" VerticalAlignment="Top" Foreground="White"/>
|
|
|
|
- <Label x:Name="labelHomepageCversion" Content="编译版本:20200411" HorizontalAlignment="Center" Margin="0,109,0,0" VerticalAlignment="Top" Foreground="White"/>
|
|
|
|
- <Label x:Name="labelHomepageUSBDogStatus" Visibility="Hidden" Content="系统Key已授权,当前Key可使用XX次,已使用XX次" HorizontalAlignment="Center" Margin="0,550,0,0" VerticalAlignment="Top" Foreground="White"/>
|
|
|
|
|
|
+ <Label x:Name="labelSoftwareName" Content="欢迎使用劳拉" FontSize="32" HorizontalAlignment="Center" Margin="487.089,61,577,0" VerticalAlignment="Top" Foreground="White" Grid.Column="1"/>
|
|
|
|
+ <Label x:Name="labelHomepageCversion" Content="编译版本:20200411" HorizontalAlignment="Center" Margin="529.089,109,619,0" VerticalAlignment="Top" Foreground="White" Grid.Column="1"/>
|
|
|
|
+ <Label x:Name="labelHomepageUSBDogStatus" Visibility="Hidden" Content="系统Key已授权,当前Key可使用XX次,已使用XX次" HorizontalAlignment="Center" Margin="451.089,550,541,0" VerticalAlignment="Top" Foreground="White" Grid.Column="1"/>
|
|
</Grid>
|
|
</Grid>
|
|
</TabItem>
|
|
</TabItem>
|
|
<TabItem Header="用户管理" Style="{StaticResource smallHeader}" >
|
|
<TabItem Header="用户管理" Style="{StaticResource smallHeader}" >
|
|
@@ -401,6 +421,77 @@
|
|
</TabItem>
|
|
</TabItem>
|
|
</TabControl>
|
|
</TabControl>
|
|
</TabItem>
|
|
</TabItem>
|
|
|
|
+ <TabItem Header="诊疗记录" Style="{StaticResource smallHeader}" Visibility="Visible" Width="Auto" Margin="0" >
|
|
|
|
+ <TabControl x:Name="tabFilter1" HorizontalAlignment="Left" Height="645" Width="1338" Margin="10,-5,0,0" VerticalAlignment="Top" >
|
|
|
|
+ <TabItem Header="选择用户" Style="{StaticResource smallerHeader}" IsEnabled="False" >
|
|
|
|
+ <Grid Background="White" Margin="0,0,0,0">
|
|
|
|
+ <my:TreatmentRecordsPageSelectUser x:Name="selectUserfilter1" Margin="0,0,0,0"/>
|
|
|
|
+ <Button x:Name="buttonFilterSelectTreatment1" IsEnabled="True" Content="开始治疗" HorizontalAlignment="Left" Margin="41,531,0,0" VerticalAlignment="Top" Width="240" Height="36" FontSize="15" Click="buttonFilterSelectTreatment_Click"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ </TabItem>
|
|
|
|
+ <TabItem Header="治疗" Style="{StaticResource smallerHeader}" IsEnabled="False">
|
|
|
|
+ <Grid x:Name="filterProcessGrid1" Background="White" Margin="0,0,0,0">
|
|
|
|
+ <Grid x:Name="userInfoGrid1" HorizontalAlignment="Left" Height="592" Margin="10,10,0,0" VerticalAlignment="Top" Width="285">
|
|
|
|
+ <Label Content="病例编号:" HorizontalAlignment="Left" Margin="10,60,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.498,1.882" FontSize="18"/>
|
|
|
|
+ <Label Content="姓名:" HorizontalAlignment="Left" Margin="46,90,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="身高:" HorizontalAlignment="Left" Margin="46,121,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.597,0.495" FontSize="18"/>
|
|
|
|
+ <Label Content="体重:" HorizontalAlignment="Left" Margin="46,152,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="性别:" HorizontalAlignment="Left" Margin="46,182,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="孕次:" HorizontalAlignment="Left" Margin="46,212,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="出生日期:" HorizontalAlignment="Left" Margin="10,242,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="联系方式:" HorizontalAlignment="Left" Margin="10,272,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="通讯地址:" HorizontalAlignment="Left" Margin="10,303,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="病史:" HorizontalAlignment="Left" Margin="46,334,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="诊断:" HorizontalAlignment="Left" Margin="46,419,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="患者信息" HorizontalAlignment="Left" Margin="71,10,0,0" VerticalAlignment="Top" Height="45" Width="132" FontSize="30"/>
|
|
|
|
+ <Button x:Name="buttonFilterBackToSelectUser1" FontSize="18" Content="重选患者" HorizontalAlignment="Left" Margin="25,544,0,0" VerticalAlignment="Top" Width="236" Height="38" Click="buttonFilterBackToSelectUser_Click"/>
|
|
|
|
+ <TextBox x:Name="textBoxCaseId1" HorizontalAlignment="Left" Height="30" Margin="98,58,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxName1" HorizontalAlignment="Left" Height="30" Margin="98,88,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxHeight1" HorizontalAlignment="Left" Height="30" Margin="98,119,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxWeight1" HorizontalAlignment="Left" Height="30" Margin="98,150,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxGender1" HorizontalAlignment="Left" Height="30" Margin="98,180,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxPregnancyTimes1" HorizontalAlignment="Left" Height="30" Margin="98,210,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxBirthDate1" HorizontalAlignment="Left" Height="30" Margin="98,240,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxMobile1" HorizontalAlignment="Left" Height="30" Margin="98,270,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxAddress1" HorizontalAlignment="Left" Height="30" Margin="98,301,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" IsUndoEnabled="False"/>
|
|
|
|
+ <TextBox x:Name="textBoxHistory1" HorizontalAlignment="Left" Height="87" Margin="98,332,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" AcceptsReturn="True" IsUndoEnabled="False" VerticalScrollBarVisibility="Auto"/>
|
|
|
|
+ <TextBox x:Name="textBoxDiagnosis1" HorizontalAlignment="Left" Height="87" Margin="98,417,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="177" FontSize="18" IsReadOnly="True" AcceptsReturn="True" IsUndoEnabled="False" VerticalScrollBarVisibility="Auto"/>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Grid HorizontalAlignment="Left" Height="592" Margin="300,10,0,0" VerticalAlignment="Top" Width="1024" RenderTransformOrigin="-0.004,-0.019">
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
+ <RowDefinition Height="545*"/>
|
|
|
|
+ <RowDefinition Height="47*"/>
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
+ <Button x:Name="buttonStart1" Content="开始" HorizontalAlignment="Left" Margin="134,499,0,0" VerticalAlignment="Top" Width="130" Height="50" FontSize="18" Background="#FF317602" Foreground="White" Grid.RowSpan="2" Click="buttonStartTreat_Click"/>
|
|
|
|
+ <Button x:Name="buttonStop1" Content="停止" HorizontalAlignment="Left" Margin="344,499,0,0" VerticalAlignment="Top" Width="132" Height="50" FontSize="18" Background="#FFB92424" Foreground="White" IsEnabled="False" Grid.RowSpan="2" Click="buttonStop_Click"/>
|
|
|
|
+ <Button x:Name="buttonSelectTreatment1" Content="治疗方案" HorizontalAlignment="Left" Margin="134,10,0,0" VerticalAlignment="Top" Width="197" Height="62" FontSize="30" Click="buttonChooseTreatmentPlan_Click" RenderTransformOrigin="-1.554,0.551"/>
|
|
|
|
+ <Label x:Name="labelTreatmentName1" Content="请选择治疗方案" HorizontalAlignment="Left" Margin="25,77,0,0" VerticalAlignment="Top" Height="96" Width="408" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="40" />
|
|
|
|
+ <Slider x:Name="sliderStrength1" HorizontalAlignment="Left" Margin="153,267,0,0" VerticalAlignment="Top" Height="9" Width="219" ValueChanged="sliderStrength_ValueChanged"/>
|
|
|
|
+ <Label Content="强度调节" HorizontalAlignment="Left" Margin="47,260,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label x:Name="labelStrength1" Content="" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Center" Margin="153,278,652,0" VerticalAlignment="Top" FontSize="12" Width="219" Height="30"/>
|
|
|
|
+ <Label Content="时间调节" HorizontalAlignment="Left" Margin="47,320,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label x:Name="labelTreatmentTime1" Content="30:00" HorizontalAlignment="Left" Margin="230,320,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Button Content="+" HorizontalAlignment="Left" Margin="319,315,0,0" VerticalAlignment="Top" Width="35" Height="43" FontSize="18" VerticalContentAlignment="Top" Click="increaseTreatmentTime"/>
|
|
|
|
+ <Button Content="-" HorizontalAlignment="Left" Margin="167,315,0,0" VerticalAlignment="Top" Width="35" Height="43" FontSize="18" VerticalContentAlignment="Top" Click="decreaseTreatmentTime"/>
|
|
|
|
+ <Label Content="温度" HorizontalAlignment="Left" Margin="47,384,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <Label Content="温度值" HorizontalAlignment="Left" Margin="230,384,0,0" VerticalAlignment="Top" FontSize="18"/>
|
|
|
|
+ <CheckBox x:Name="checkBoxCustomMode1" Content="自定义模式" HorizontalAlignment="Left" Margin="534,10,0,0" VerticalAlignment="Top" Height="62" Width="184" FontSize="30" RenderTransformOrigin="0.486,0.085" Unchecked="checkBoxCustomMode_CheckedChanged" Checked="checkBoxCustomMode_CheckedChanged"/>
|
|
|
|
+ <DataGrid x:Name="dataGridCustomMode1" HorizontalAlignment="Left" Height="372" Margin="534,77,0,0" VerticalAlignment="Top" Width="480" SelectionChanged="dataGridCustomMode_SelectionChanged" RowEditEnding="dataGridCustomMode_RowEditEnding" IsEnabled="False" AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" SelectionMode="Single" CanUserResizeRows="False" CanUserAddRows="False" CanUserDeleteRows="False">
|
|
|
|
+ <DataGrid.Columns>
|
|
|
|
+ <DataGridTextColumn Header="序号" Binding="{Binding tcID}" Width="45" IsReadOnly="True"/>
|
|
|
|
+ <DataGridTextColumn Header="刺激频率" Binding="{Binding tcRate}" Width="100"/>
|
|
|
|
+ <DataGridTextColumn Header="刺激时间" Binding="{Binding tcActiveTime}" Width="120"/>
|
|
|
|
+ <DataGridTextColumn Header="间歇时间" Binding="{Binding tcInactiveTime}" Width="120"/>
|
|
|
|
+ </DataGrid.Columns>
|
|
|
|
+ </DataGrid>
|
|
|
|
+ <Button x:Name="buttonAddCustomModeItem1" Content="增行" HorizontalAlignment="Left" Margin="929,38,0,0" VerticalAlignment="Top" FontSize="15" Width="40" IsEnabled="False" Click="buttonAddCustomModeItem_Click" />
|
|
|
|
+ <Button x:Name="buttonDelCustomModeItem1" Content="减行" HorizontalAlignment="Left" Margin="974,38,0,0" VerticalAlignment="Top" FontSize="15" Width="40" IsEnabled="False" Click="buttonDelCustomModeItem_Click" />
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </TabItem>
|
|
|
|
+ </TabControl>
|
|
|
|
+
|
|
|
|
+ </TabItem>
|
|
|
|
|
|
|
|
|
|
|
|
|