add:调用Classisland点名功能
在点名中增加了调用Ci的点名选项
This commit is contained in:
@@ -101,6 +101,14 @@
|
||||
<TextBlock Text="开抽" Foreground="White" FontSize="32" Margin="-1,-1,4,0" VerticalAlignment="Center"/>
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
<Border x:Name="BorderBtnIslandCaller" MouseUp="BorderBtnIslandCaller_MouseUp" Background="#00B894" Height="50" Width="200" CornerRadius="25" Margin="0,16,0,0">
|
||||
<ui:SimpleStackPanel Margin="3,0" Spacing="12" Orientation="Horizontal" HorizontalAlignment="Center">
|
||||
<Viewbox Margin="0,10">
|
||||
<ui:SymbolIcon Symbol="Globe" Foreground="White"/>
|
||||
</Viewbox>
|
||||
<TextBlock Text="调用外部点名" Foreground="White" FontSize="22" Margin="-1,-1,4,0" VerticalAlignment="Center"/>
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
</ui:SimpleStackPanel>
|
||||
</Grid>
|
||||
<Border UseLayoutRounding="True" Canvas.Bottom="8" Canvas.Right="8" x:Name="BorderBtnHelp" MouseUp="BorderBtnHelp_MouseUp" Background="#FBFBFD" Grid.Column="1" Margin="10,10,60,10" Height="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" CornerRadius="20">
|
||||
|
||||
@@ -8,6 +8,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using MessageBox = iNKORE.UI.WPF.Modern.Controls.MessageBox;
|
||||
|
||||
namespace Ink_Canvas {
|
||||
/// <summary>
|
||||
@@ -205,5 +206,21 @@ namespace Ink_Canvas {
|
||||
private void BtnClose_MouseUp(object sender, MouseButtonEventArgs e) {
|
||||
Close();
|
||||
}
|
||||
|
||||
private void BorderBtnIslandCaller_MouseUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
|
||||
{
|
||||
FileName = "classisland://plugins/IslandCaller/Run",
|
||||
UseShellExecute = true
|
||||
});
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("无法调用外部点名:" + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\..\Windows\RandWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "438AC48A5442919DB1E24FC876DEC488281105D7"
|
||||
#pragma checksum "..\..\..\..\Windows\RandWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "695B3561F1F2C3284724BFAA9122C85C2EF5221A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@@ -155,9 +155,9 @@ namespace Ink_Canvas {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 104 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BorderBtnHelp;
|
||||
internal System.Windows.Controls.Border BorderBtnIslandCaller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
@@ -165,13 +165,21 @@ namespace Ink_Canvas {
|
||||
|
||||
#line 114 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BorderBtnHelp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 122 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock TextBlockPeopleCount;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 117 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 125 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BtnClose;
|
||||
|
||||
@@ -271,21 +279,30 @@ namespace Ink_Canvas {
|
||||
this.SymbolIconStart = ((iNKORE.UI.WPF.Modern.Controls.SymbolIcon)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.BorderBtnHelp = ((System.Windows.Controls.Border)(target));
|
||||
this.BorderBtnIslandCaller = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 106 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnHelp.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnHelp_MouseUp);
|
||||
#line 104 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnIslandCaller.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnIslandCaller_MouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 15:
|
||||
this.TextBlockPeopleCount = ((System.Windows.Controls.TextBlock)(target));
|
||||
this.BorderBtnHelp = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 114 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnHelp.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnHelp_MouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.TextBlockPeopleCount = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 17:
|
||||
this.BtnClose = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 117 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 125 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BtnClose.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnClose_MouseUp);
|
||||
|
||||
#line default
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\..\Windows\RandWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "438AC48A5442919DB1E24FC876DEC488281105D7"
|
||||
#pragma checksum "..\..\..\..\Windows\RandWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "695B3561F1F2C3284724BFAA9122C85C2EF5221A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@@ -155,9 +155,9 @@ namespace Ink_Canvas {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 104 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BorderBtnHelp;
|
||||
internal System.Windows.Controls.Border BorderBtnIslandCaller;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
@@ -165,13 +165,21 @@ namespace Ink_Canvas {
|
||||
|
||||
#line 114 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BorderBtnHelp;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 122 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock TextBlockPeopleCount;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 117 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 125 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Border BtnClose;
|
||||
|
||||
@@ -271,21 +279,30 @@ namespace Ink_Canvas {
|
||||
this.SymbolIconStart = ((iNKORE.UI.WPF.Modern.Controls.SymbolIcon)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.BorderBtnHelp = ((System.Windows.Controls.Border)(target));
|
||||
this.BorderBtnIslandCaller = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 106 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnHelp.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnHelp_MouseUp);
|
||||
#line 104 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnIslandCaller.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnIslandCaller_MouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 15:
|
||||
this.TextBlockPeopleCount = ((System.Windows.Controls.TextBlock)(target));
|
||||
this.BorderBtnHelp = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 114 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BorderBtnHelp.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BorderBtnHelp_MouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.TextBlockPeopleCount = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 17:
|
||||
this.BtnClose = ((System.Windows.Controls.Border)(target));
|
||||
|
||||
#line 117 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
#line 125 "..\..\..\..\Windows\RandWindow.xaml"
|
||||
this.BtnClose.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnClose_MouseUp);
|
||||
|
||||
#line default
|
||||
|
||||
Reference in New Issue
Block a user