Browse Source

ex-vnc

master
sc 7 months ago
parent
commit
65d0504c68
  1. BIN
      DATA/SCCM.db
  2. 15
      EX/VNC.xaml
  3. 36
      EX/VNC.xaml.cs
  4. 7
      SunlightCentralizedControlManagement_SCCM_.csproj
  5. 6
      UserControls/DispenseMacInfo.xaml.cs

BIN
DATA/SCCM.db

Binary file not shown.

15
EX/VNC.xaml

@ -0,0 +1,15 @@
<Window x:Class="SunlightCentralizedControlManagement_SCCM_.WindowsView.VNC"
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:SunlightCentralizedControlManagement_SCCM_.WindowsView"
xmlns:lang="clr-namespace:SunlightCentralizedControlManagement_SCCM_.Properties"
mc:Ignorable="d"
Title="VNC" Height="450" Width="800">
<Grid Margin="0,0,0,0">
<Button x:Name="Save" Content="{x:Static lang:Resources.Cancel}" HorizontalAlignment="Right" Height="35" Margin="450,0,50,10" VerticalAlignment="Bottom" Width="80" Click="Save_Click"/>
</Grid>
</Window>

36
EX/VNC.xaml.cs

@ -0,0 +1,36 @@
using SunlightCentralizedControlManagement_SCCM_.View;
using SunlightCentralizedControlManagement_SCCM_.EX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace SunlightCentralizedControlManagement_SCCM_.WindowsView
{
/// <summary>
/// UserMessage.xaml 的交互逻辑
/// </summary>
public partial class VNC : Window
{
public VNC()
{
InitializeComponent();
}
private void Save_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}

7
SunlightCentralizedControlManagement_SCCM_.csproj

@ -107,6 +107,9 @@
<Compile Include="EX\ManualDyelot.xaml.cs"> <Compile Include="EX\ManualDyelot.xaml.cs">
<DependentUpon>ManualDyelot.xaml</DependentUpon> <DependentUpon>ManualDyelot.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="EX\VNC.xaml.cs">
<DependentUpon>VNC.xaml</DependentUpon>
</Compile>
<Compile Include="Login.xaml.cs"> <Compile Include="Login.xaml.cs">
<DependentUpon>Login.xaml</DependentUpon> <DependentUpon>Login.xaml</DependentUpon>
</Compile> </Compile>
@ -230,6 +233,10 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="EX\VNC.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Login.xaml"> <Page Include="Login.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>

6
UserControls/DispenseMacInfo.xaml.cs

@ -32,7 +32,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserControls
InitializeComponent(); InitializeComponent();
} }
private void State_Click(object sender, RoutedEventArgs e) private void State_Click(object sender, RoutedEventArgs e)//状态
{ {
if (mlock.Visibility == Visibility.Visible) if (mlock.Visibility == Visibility.Visible)
{ {
@ -44,7 +44,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserControls
userMessage.Show(); userMessage.Show();
} }
private void Manual_Click(object sender, RoutedEventArgs e) private void Manual_Click(object sender, RoutedEventArgs e)//手动呼叫
{ {
if (mlock.Visibility == Visibility.Visible) if (mlock.Visibility == Visibility.Visible)
{ {
@ -56,7 +56,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserControls
manualDyelot.Show(); manualDyelot.Show();
} }
private void Screen_Click(object sender, RoutedEventArgs e) private void Screen_Click(object sender, RoutedEventArgs e)//远程画面
{ {
if (mlock.Visibility == Visibility.Visible) if (mlock.Visibility == Visibility.Visible)
{ {

Loading…
Cancel
Save