Skip to content
Permalink
Browse files

测试模块

  • Loading branch information...
xiakexiaoyi committed Apr 15, 2019
1 parent d08eacd commit 7574c220f4ecd9f49ca4e8b652be62c95db4fab4
Showing with 9 additions and 3 deletions.
  1. +2 −2 Xky.XModule.Demo/Panel.xaml
  2. +7 −1 Xky.XModule.Demo/Panel.xaml.cs
@@ -29,8 +29,8 @@
<UserControl:MyProgressbar Width="200" TrackBrush="#373d45" IndicatorBrush="#d76a00" Maximum="100" Value="60"/>
</StackPanel>
<StackPanel Margin="0,50,0,0" Orientation="Horizontal" HorizontalAlignment="Right">
<UserControl:MyButton Background="#454c56" Width="50" Height="32" Margin="0,0,20,0" Text="取消" Click="Button_Click" VerticalAlignment="Center" HorizontalAlignment="Right"/>
<UserControl:MyButton Width="100" Height="32" Margin="0,0,0,0" Text="执行" Click="Button_Click" VerticalAlignment="Center" HorizontalAlignment="Right"/>
<UserControl:MyButton Background="#454c56" Width="50" Height="32" Margin="0,0,20,0" Text="取消" Click="btn_cancel_Click" VerticalAlignment="Center" HorizontalAlignment="Right"/>
<UserControl:MyButton Width="100" Height="32" Margin="0,0,0,0" Text="执行" Click="btn_ok_Click" VerticalAlignment="Center" HorizontalAlignment="Right"/>
</StackPanel>
</StackPanel>

@@ -40,7 +40,7 @@ private void btn_file_Click(object sender, RoutedEventArgs e)
}

}
private void Button_Click(object sender, RoutedEventArgs e)
private void btn_ok_Click(object sender, RoutedEventArgs e)
{
if (text_filename.Text.Length == 0)
{
@@ -49,5 +49,11 @@ private void Button_Click(object sender, RoutedEventArgs e)
else { Client.CloseDialogPanel();}

}
private void btn_cancel_Click(object sender, RoutedEventArgs e)
{

Client.CloseDialogPanel();

}
}
}

0 comments on commit 7574c22

Please sign in to comment.
You can’t perform that action at this time.