1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/lunarsf-Lunar-Markdown-Editor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
ReplaceWithNumberWindow.xaml 4.3 КБ
Копировать Редактировать Исходные данные Просмотреть построчно История
LunarSF Отправлено 8 лет назад fc9556a
<controls:MetroWindow x:Class="LunarSF.SHomeWorkshop.LunarMarkdownEditor.ReplaceWithNumberWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:LunarSF.SHomeWorkshop.LunarMarkdownEditor"
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
Icon="App.png"
BorderBrush="#FFBB6115"
Background="LightGray"
BorderThickness="1"
GlowBrush="#FFBB6115"
FontFamily="Simsun"
FontSize="14"
TextOptions.TextFormattingMode="Display"
Padding="0"
IsMaxRestoreButtonEnabled="False"
Title="{x:Static Member=local:Globals.AppName}"
SizeToContent="Height"
Width="600">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Label Grid.Row="0"
Grid.ColumnSpan="3">查找:</Label>
<ComboBox Name="cmbFindText"
Margin="10,0,10,10"
Grid.ColumnSpan="3"
Grid.Row="1"
IsEditable="True" />
<Label Grid.Row="2">起始编号:</Label>
<TextBox Name="tbxStartNumber"
InputMethod.IsInputMethodEnabled="False"
Grid.Row="3"
Margin="10,0,10,10"
Grid.Column="0">1</TextBox>
<Label Grid.Row="2"
Grid.Column="1">步长值:</Label>
<TextBox Name="tbxStepNumber"
InputMethod.IsInputMethodEnabled="False"
Grid.Row="3"
Margin="10,0,10,10"
Grid.Column="1">1</TextBox>
<Label Grid.Row="2"
Grid.Column="2">结束编号:</Label>
<TextBox Name="tbxEndNumber"
InputMethod.IsInputMethodEnabled="False"
Grid.Row="3"
Margin="10,0,10,10"
Grid.Column="2" />
<Rectangle Fill="#FF9B7B56"
Grid.ColumnSpan="3"
HorizontalAlignment="Stretch"
Grid.Row="4" />
<DockPanel LastChildFill="True"
Grid.Row="4"
Margin="10"
Grid.ColumnSpan="3">
<Button Name="btnClose"
Padding="10,8"
VerticalAlignment="Center"
BorderThickness="1"
Margin="10,2,0,2"
FontWeight="Normal"
Style="{StaticResource ResourceKey=SquareButtonStyle}"
DockPanel.Dock="Right"
Click="btnClose_Click">关闭(_X)</Button>
<Button Name="btnReplace"
FontWeight="Normal"
BorderThickness="1"
VerticalAlignment="Center"
Style="{StaticResource ResourceKey=SquareButtonStyle}"
Padding="10,8"
Margin="10,2"
DockPanel.Dock="Right"
Click="btnReplace_Click">加编号(_R)</Button>
<TextBlock DockPanel.Dock="Left"
Foreground="White"
TextWrapping="WrapWithOverflow"
VerticalAlignment="Center">
说明:1.查找框中的文本须使用正则表达式(文本从左→右、多行、区分大小写)!
<LineBreak />
   2.如果设置了结束编号,在当前编号已经超过结束编号的情况下,会从头开始编号!
</TextBlock>
</DockPanel>
</Grid>
</controls:MetroWindow>

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/lunarsf-Lunar-Markdown-Editor.git
git@gitlife.ru:oschina-mirror/lunarsf-Lunar-Markdown-Editor.git
oschina-mirror
lunarsf-Lunar-Markdown-Editor
lunarsf-Lunar-Markdown-Editor
v0.4-beta8