parent
80799ae956
commit
24095d15ba
@ -1,36 +0,0 @@
|
||||
|
||||
主窗口:
|
||||
|
||||
<MenuItem
|
||||
Header=" 设置"
|
||||
Height="20"
|
||||
Width="50"
|
||||
Name="设置"
|
||||
BorderBrush="Gray">
|
||||
<MenuItem Header="选择公共翻译接口" Click="TransSourceSelectWnd_loaded"/>
|
||||
<MenuItem Header="选择私有翻译接口" Click="TransSourceSelectPri"/>
|
||||
<MenuItem Header="写入私有翻译接口" Click="TransSourceInWindow"/>
|
||||
</MenuItem>
|
||||
|
||||
|
||||
private void TransSourceSelectWnd_loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var window = new TranslationSourceSelect();
|
||||
window.ShowDialog();
|
||||
}
|
||||
private void PrograssSelectWnd_loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var window = new ProgressSelect();
|
||||
window.ShowDialog();
|
||||
}
|
||||
private void TransSourceInWindow(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var window = new TransSourceInWindow();
|
||||
window.ShowDialog();
|
||||
}
|
||||
private void TransSourceSelectPri(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var windows = new TransSourceSelectPri();
|
||||
windows.ShowDialog();
|
||||
}
|
||||
|
Loading…
Reference in new issue