Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9592ef38
authored
Jun 05, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4191ff6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
aasasasa
i欧莎都开始初步设计课程肯定是个不参加;.py
aasasasa
0 → 100644
View file @
9592ef38
Grid Background="#905F9EA0">
<Grid Background="Gainsboro" MinWidth="300" MinHeight="200" MaxWidth="400" MaxHeight="300">
<Grid.RowDefinitions>
<RowDefinition Height="28"></RowDefinition>
<RowDefinition Height="28"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<DockPanel Height="28" Background="SteelBlue">
<TextBox Text="{Binding DialogTitle, TargetNullValue=' 注意 ', FallbackValue=' 注意 '}" Height="26" Width="Auto" Background="SteelBlue" BorderThickness="0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White" FontSize="16" Focusable="False" IsHitTestVisible="False" IsTabStop="False" VerticalContentAlignment="Center" Padding="2,0,0,0">
</TextBox>
<Button x:Name="BtnClose" Command="{Binding CloseCommand}" Height="26" Width="26" HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="16" Background="Transparent" Foreground="White" BorderThickness="0" >X</Button>
</DockPanel>
<StackPanel Grid.Row="1" Orientation="Horizontal" FlowDirection="RightToLeft">
<TextBox VerticalContentAlignment="Center" Text="{Binding LeftTime, FallbackValue=20, TargetNullValue=20}" FontSize="16" Background="Transparent" Foreground="Coral" BorderThickness="0" Margin="5,0"></TextBox>
</StackPanel>
<TextBlock Grid.Row="2" FontSize="16" Text="{Binding DialogMessage, FallbackValue=' 是否确认操作?', TargetNullValue=' 是否确认操作?'}" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock>
<StackPanel Grid.Row="3" Orientation="Horizontal" FlowDirection="RightToLeft" VerticalAlignment="Center" Margin="0, 10">
<Button x:Name="BtnConfirm" Command="{Binding ConfirmCommand}" Content="{Binding DialogConfirmBtnText, TargetNullValue=' 确认 ', FallbackValue=' 确认 '}" FontSize="16" Background="SteelBlue" Foreground="White" Margin="10, 0" Width="120"></Button>
<Button x:Name="BtnCancel" Command="{Binding CancelCommand}" Content="{Binding DialogCancelBtnText, TargetNullValue=' 取消 ', FallbackValue=' 取消 '}" FontSize="16" Background="SteelBlue" Foreground="White" Margin="10, 0" Width="120"></Button>
</StackPanel>
</Grid>
</Grid>
\ No newline at end of file
i欧莎都开始初步设计课程肯定是个不参加;.py
0 → 100644
View file @
9592ef38
Grid
Background
=
"#905F9EA0"
>
Grid
Background
=
"#905F9EA0"
>
<
Grid
Background
=
"Gainsboro"
MinWidth
=
"300"
MinHeight
=
"200"
MaxWidth
=
"400"
MaxHeight
=
"300"
>
<
Grid
.
RowDefinitions
>
<
RowDefinition
Height
=
"28"
></
RowDefinition
>
<
RowDefinition
Height
=
"28"
></
RowDefinition
>
<
RowDefinition
Height
=
"*"
></
RowDefinition
>
<
RowDefinition
Height
=
"Auto"
></
RowDefinition
>
</
Grid
.
RowDefinitions
>
<
DockPanel
Height
=
"28"
Background
=
"SteelBlue"
>
<
TextBox
Text
=
"{Binding DialogTitle, TargetNullValue=' 注意 ', FallbackValue=' 注意 '}"
Height
=
"26"
Width
=
"Auto"
Background
=
"SteelBlue"
BorderThickness
=
"0"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
Foreground
=
"White"
FontSize
=
"16"
Focusable
=
"False"
IsHitTestVisible
=
"False"
IsTabStop
=
"False"
VerticalContentAlignment
=
"Center"
Padding
=
"2,0,0,0"
>
</
TextBox
>
<
Button
x
:
Name
=
"BtnClose"
Command
=
"{Binding CloseCommand}"
Height
=
"26"
Width
=
"26"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
FontSize
=
"16"
Background
=
"Transparent"
Foreground
=
"White"
BorderThickness
=
"0"
>
X
</
Button
>
</
DockPanel
>
<
StackPanel
Grid
.
Row
=
"1"
Orientation
=
"Horizontal"
FlowDirection
=
"RightToLeft"
>
<
TextBox
VerticalContentAlignment
=
"Center"
Text
=
"{Binding LeftTime, FallbackValue=20, TargetNullValue=20}"
FontSize
=
"16"
Background
=
"Transparent"
Foreground
=
"Coral"
BorderThickness
=
"0"
Margin
=
"5,0"
></
TextBox
>
</
StackPanel
>
<
TextBlock
Grid
.
Row
=
"2"
FontSize
=
"16"
Text
=
"{Binding DialogMessage, FallbackValue=' 是否确认操作?', TargetNullValue=' 是否确认操作?'}"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
></
TextBlock
>
<
StackPanel
Grid
.
Row
=
"3"
Orientation
=
"Horizontal"
FlowDirection
=
"RightToLeft"
VerticalAlignment
=
"Center"
Margin
=
"0, 10"
>
<
Button
x
:
Name
=
"BtnConfirm"
Command
=
"{Binding ConfirmCommand}"
Content
=
"{Binding DialogConfirmBtnText, TargetNullValue=' 确认 ', FallbackValue=' 确认 '}"
FontSize
=
"16"
Background
=
"SteelBlue"
Foreground
=
"White"
Margin
=
"10, 0"
Width
=
"120"
></
Button
>
<
Button
x
:
Name
=
"BtnCancel"
Command
=
"{Binding CancelCommand}"
Content
=
"{Binding DialogCancelBtnText, TargetNullValue=' 取消 ', FallbackValue=' 取消 '}"
FontSize
=
"16"
Background
=
"SteelBlue"
Foreground
=
"White"
Margin
=
"10, 0"
Width
=
"120"
></
Button
>
</
StackPanel
>
</
Grid
>
</
Grid
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment