Sicherung
This commit is contained in:
@@ -32,6 +32,15 @@ namespace FSI.BT.Tools
|
||||
HotkeyManager.Current.AddOrReplace("TimeStampToClipboard", TimeStamp, TimeStampToClipboard);
|
||||
|
||||
Global.FrmRadialMenu = new();
|
||||
|
||||
Global.WinCC = new()
|
||||
{
|
||||
AutoStart = Global.Settings.SieTiaWinCCMsgMgtAutostart,
|
||||
UpdateIntervall = Global.Settings.SieTiaWinCCMsgMgtUpdateIntervall,
|
||||
WindowsName = Global.Settings.SieTiaWinCCMsgMgtWindowsName,
|
||||
WindowsClassName = Global.Settings.SieTiaWinCCMsgMgtClassName,
|
||||
ButtonName = Global.Settings.SieTiaWinCCMsgMgtBtnName,
|
||||
};
|
||||
}
|
||||
|
||||
private void ShowRadialMenu(object sender, HotkeyEventArgs e)
|
||||
|
||||
@@ -55,5 +55,10 @@ namespace FSI.BT.Tools
|
||||
public string? ErpUrl { get; set; }
|
||||
public string? EplPdfPath { get; set; }
|
||||
public string? EplPrjPath { get; set; }
|
||||
public bool SieTiaWinCCMsgMgtAutostart { get; set; }
|
||||
public int SieTiaWinCCMsgMgtUpdateIntervall { get; set; }
|
||||
public string? SieTiaWinCCMsgMgtWindowsName { get; set; }
|
||||
public string? SieTiaWinCCMsgMgtClassName { get; set; }
|
||||
public string? SieTiaWinCCMsgMgtBtnName { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace FSI.BT.Tools.Commands
|
||||
break;
|
||||
|
||||
case "TIAv15":
|
||||
files = Global.Settings.SieTiaV13Exe;
|
||||
files = Global.Settings.SieTiaV15Exe;
|
||||
break;
|
||||
|
||||
case "TIAv16":
|
||||
|
||||
21
FSI.BT.Tools/Commands/ProcessCommand.cs
Normal file
21
FSI.BT.Tools/Commands/ProcessCommand.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace FSI.BT.Tools.Commands
|
||||
{
|
||||
/// <summary>
|
||||
/// Shows the main window.
|
||||
/// </summary>
|
||||
public class ProcessCommand : CommandBase<ProcessCommand>
|
||||
{
|
||||
public override void Execute(object parameter)
|
||||
{
|
||||
Gui.FrmProcesses frm = new();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
public override bool CanExecute(object parameter)
|
||||
{
|
||||
return Global.AdminRights;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFrameworks>net6.0-windows</TargetFrameworks>
|
||||
<TargetFrameworks>net6.0-windows;net472</TargetFrameworks>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWPF>true</UseWPF>
|
||||
|
||||
@@ -1,44 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Settings>
|
||||
<Users>+I945AMzKKYBAAAAB21haWVyX3M=</Users>
|
||||
<Admins>e+Dt7FRUDDoBAAAAB21haWVyX3M=</Admins>
|
||||
<SuperAdmin>maier_s</SuperAdmin>
|
||||
<TimeStampFormat>_yyyyMMdd_HHmmss</TimeStampFormat>
|
||||
<SieSimaticManagerExe>C:\Program Files (x86)\Siemens\Step7\S7BIN\S7tgtopx.exe</SieSimaticManagerExe>
|
||||
<SieTiaV13Exe>C:\Program Files (x86)\Siemens\Automation\Portal V13\Bin\Siemens.Automation.Portal.exe</SieTiaV13Exe>
|
||||
<SieTiaV14Exe>C:\Program Files\Siemens\Automation\Portal V14\Bin\Siemens.Automation.Portal.exe</SieTiaV14Exe>
|
||||
<SieTiaV15Exe>C:\Program Files\Siemens\Automation\Portal V15\Bin\Siemens.Automation.Portal.exe,c:\Program Files\Siemens\Automation\Portal V15_1\Bin\Siemens.Automation.Portal.exe</SieTiaV15Exe>
|
||||
<SieTiaV16Exe>C:\Program Files\Siemens\Automation\Portal V16\Bin\Siemens.Automation.Portal.exe</SieTiaV16Exe>
|
||||
<SieTiaV17Exe>C:\Program Files\Siemens\Automation\Portal V17\Bin\Siemens.Automation.Portal.exe</SieTiaV17Exe>
|
||||
<SieTiaVStarterExe>C:\Program Files (x86)\Siemens\Step7\S7BIN\u7wdrfax.exe</SieTiaVStarterExe>
|
||||
<EplExe>C:\Program Files\EPLAN\Platform\2.9.4\Bin\EPLAN.exe,C:\Program Files\EPLAN\Platform\2022.0.3\Bin\Eplan.exe</EplExe>
|
||||
<EplArguments>/Variant:"Electric P8"</EplArguments>
|
||||
<NppExe>C:\Windows\system32\notepad.exe,c:\Program Files\Notepad++\notepad++.exe</NppExe>
|
||||
<TotalCmdExe>C:\Program Files\totalcmd\TOTALCMD.EXE,C:\Program Files\totalcmd\TOTALCMD64.EXE,C:\totalcmd\TOTALCMD64.EXE,C:\totalcmd\TOTALCMD.EXE</TotalCmdExe>
|
||||
<TeXstudioExe>C:\Program Files\texstudio\texstudio.exe</TeXstudioExe>
|
||||
<TeXstudioPath>C:\Program Files\texstudio\dictionaries</TeXstudioPath>
|
||||
<VsExe>C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe</VsExe>
|
||||
<VsCodeExe>%USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\Code.exe</VsCodeExe>
|
||||
<RdpExe>%windir%\system32\mstsc.exe</RdpExe>
|
||||
<OutlookExe>C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE</OutlookExe>
|
||||
<TeamsExe>C:\Users\maier_s\AppData\Local\Microsoft\Teams\Update.exe</TeamsExe>
|
||||
<TeamsArg>--processStart ""Teams.exe""</TeamsArg>
|
||||
<ExcelExe>C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE</ExcelExe>
|
||||
<WordExe>C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE</WordExe>
|
||||
<PaintNetExe>C:\Program Files\paint.net\paintdotnet.exe</PaintNetExe>
|
||||
<GimpExe>C:\Program Files\GIMP 2\bin\gimp-2.10.exe</GimpExe>
|
||||
<VncExe>C:\Program Files\RealVNC\VNC Viewer\vncviewer.exe,c:\Users\maier_s\OneDrive - Fondium Group GmbH\Documents\Apps\VNC-Viewer-6.20.113-Windows-64bit.exe</VncExe>
|
||||
<VncAdrBookExe>C:\Program Files\RealVNC\VNC Viewer\vncaddrbook.exe</VncAdrBookExe>
|
||||
<ZentralWebUrl>http://desiaugetwf/web/?AspxAutoDetectCookieSupport=1</ZentralWebUrl>
|
||||
<SchichtbuchUrl>http://10.10.1.42/SKSchichtbuchWeb/de-DE/Plugin/ShiftBook/ShiftBook/IR</SchichtbuchUrl>
|
||||
<SPSUrl>http://10.10.1.42/SKChangeTrackerWeb/de-DE/Plugin/ChangeTracker</SPSUrl>
|
||||
<Pl1PlsUrl>http://10.10.200.2/SKPL1Web/index.aspx</Pl1PlsUrl>
|
||||
<Pl2PlsUrl>http://10.10.213.4/SKPL2Web/index.aspx</Pl2PlsUrl>
|
||||
<Pl2Als>http://10.10.213.234:84/emb_1/index.html</Pl2Als>
|
||||
<Pl3PlsUrl>http://10.10.202.10/SKPL3Web/index.aspx</Pl3PlsUrl>
|
||||
<GiteaUrl>http://desiaugetc7-088:3000/</GiteaUrl>
|
||||
<WikiUrl>http://desiaugetc7-088:3001/en/home</WikiUrl>
|
||||
<ErpUrl>https://mingle-portal.eu1.inforcloudsuite.com/FONDIUM_prd</ErpUrl>
|
||||
<EplPdfPath>\\10.10.1.40\Betriebstechnik\Eplan</EplPdfPath>
|
||||
<EplPrjPath>\\fondium.org\DESI$\AUG_Abteilung\Betriebstechnik\EPL\P8\Data\Projekte\FSI\</EplPrjPath>
|
||||
<Users>+I945AMzKKYBAAAAB21haWVyX3M=</Users>
|
||||
<Admins>e+Dt7FRUDDoBAAAAB21haWVyX3M=</Admins>
|
||||
<SuperAdmin>maier_s</SuperAdmin>
|
||||
<TimeStampFormat>_yyyyMMdd_HHmmss</TimeStampFormat>
|
||||
<SieSimaticManagerExe>C:\Program Files (x86)\Siemens\Step7\S7BIN\S7tgtopx.exe</SieSimaticManagerExe>
|
||||
<SieTiaV13Exe>C:\Program Files (x86)\Siemens\Automation\Portal V13\Bin\Siemens.Automation.Portal.exe</SieTiaV13Exe>
|
||||
<SieTiaV14Exe>C:\Program Files\Siemens\Automation\Portal V14\Bin\Siemens.Automation.Portal.exe</SieTiaV14Exe>
|
||||
<SieTiaV15Exe>C:\Program Files\Siemens\Automation\Portal V15\Bin\Siemens.Automation.Portal.exe,c:\Program Files\Siemens\Automation\Portal V15_1\Bin\Siemens.Automation.Portal.exe</SieTiaV15Exe>
|
||||
<SieTiaV16Exe>C:\Program Files\Siemens\Automation\Portal V16\Bin\Siemens.Automation.Portal.exe</SieTiaV16Exe>
|
||||
<SieTiaV17Exe>C:\Program Files\Siemens\Automation\Portal V17\Bin\Siemens.Automation.Portal.exe</SieTiaV17Exe>
|
||||
<SieTiaVStarterExe>C:\Program Files (x86)\Siemens\Step7\S7BIN\u7wdrfax.exe</SieTiaVStarterExe>
|
||||
<EplExe>C:\Program Files\EPLAN\Platform\2.9.4\Bin\EPLAN.exe,C:\Program Files\EPLAN\Platform\2022.0.3\Bin\Eplan.exe</EplExe>
|
||||
<EplArguments>/Variant:"Electric P8"</EplArguments>
|
||||
<NppExe>C:\Windows\system32\notepad.exe,c:\Program Files\Notepad++\notepad++.exe</NppExe>
|
||||
<TotalCmdExe>C:\Program Files\totalcmd\TOTALCMD.EXE,C:\Program Files\totalcmd\TOTALCMD64.EXE,C:\totalcmd\TOTALCMD64.EXE,C:\totalcmd\TOTALCMD.EXE</TotalCmdExe>
|
||||
<TeXstudioExe>C:\Program Files\texstudio\texstudio.exe</TeXstudioExe>
|
||||
<TeXstudioPath>C:\Program Files\texstudio\dictionaries</TeXstudioPath>
|
||||
<VsExe>C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe</VsExe>
|
||||
<VsCodeExe>%USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\Code.exe</VsCodeExe>
|
||||
<RdpExe>%windir%\system32\mstsc.exe</RdpExe>
|
||||
<OutlookExe>C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE</OutlookExe>
|
||||
<TeamsExe>C:\Users\maier_s\AppData\Local\Microsoft\Teams\Update.exe</TeamsExe>
|
||||
<TeamsArg>--processStart ""Teams.exe""</TeamsArg>
|
||||
<ExcelExe>C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE</ExcelExe>
|
||||
<WordExe>C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE</WordExe>
|
||||
<PaintNetExe>C:\Program Files\paint.net\paintdotnet.exe</PaintNetExe>
|
||||
<GimpExe>C:\Program Files\GIMP 2\bin\gimp-2.10.exe</GimpExe>
|
||||
<VncExe>C:\Program Files\RealVNC\VNC Viewer\vncviewer.exe,c:\Users\maier_s\OneDrive - Fondium Group GmbH\Documents\Apps\VNC-Viewer-6.20.113-Windows-64bit.exe</VncExe>
|
||||
<VncAdrBookExe>C:\Program Files\RealVNC\VNC Viewer\vncaddrbook.exe</VncAdrBookExe>
|
||||
<ZentralWebUrl>http://desiaugetwf/web/?AspxAutoDetectCookieSupport=1</ZentralWebUrl>
|
||||
<SchichtbuchUrl>http://10.10.1.42/SKSchichtbuchWeb/de-DE/Plugin/ShiftBook/ShiftBook/IR</SchichtbuchUrl>
|
||||
<SPSUrl>http://10.10.1.42/SKChangeTrackerWeb/de-DE/Plugin/ChangeTracker</SPSUrl>
|
||||
<Pl1PlsUrl>http://10.10.200.2/SKPL1Web/index.aspx</Pl1PlsUrl>
|
||||
<Pl2PlsUrl>http://10.10.213.4/SKPL2Web/index.aspx</Pl2PlsUrl>
|
||||
<Pl2Als>http://10.10.213.234:84/emb_1/index.html</Pl2Als>
|
||||
<Pl3PlsUrl>http://10.10.202.10/SKPL3Web/index.aspx</Pl3PlsUrl>
|
||||
<GiteaUrl>http://desiaugetc7-088:3000/</GiteaUrl>
|
||||
<WikiUrl>http://desiaugetc7-088:3001/en/home</WikiUrl>
|
||||
<ErpUrl>https://mingle-portal.eu1.inforcloudsuite.com/FONDIUM_prd</ErpUrl>
|
||||
<EplPdfPath>\\10.10.1.40\Betriebstechnik\Eplan</EplPdfPath>
|
||||
<EplPrjPath>\\fondium.org\DESI$\AUG_Abteilung\Betriebstechnik\EPL\P8\Data\Projekte\FSI\</EplPrjPath>
|
||||
<SieTiaWinCCMsgMgtAutostart>true</SieTiaWinCCMsgMgtAutostart>
|
||||
<SieTiaWinCCMsgMgtUpdateIntervall>10</SieTiaWinCCMsgMgtUpdateIntervall>
|
||||
<SieTiaWinCCMsgMgtWindowsName>#32770</SieTiaWinCCMsgMgtWindowsName>
|
||||
<SieTiaWinCCMsgMgtClassName>10</SieTiaWinCCMsgMgtClassName>
|
||||
<SieTiaWinCCMsgMgtBtnName>Zur Kenntnis genommen</SieTiaWinCCMsgMgtBtnName>
|
||||
</Settings>
|
||||
@@ -110,22 +110,6 @@
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Npp">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/NPP.png" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
<TextBlock FontSize="14"
|
||||
TextAlignment="Center">
|
||||
N++
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuLinks}">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
@@ -298,22 +282,6 @@
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Rdp">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/Rdp.png" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
<TextBlock FontSize="14"
|
||||
TextAlignment="Center">
|
||||
Remote<LineBreak />Desktop
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="VS">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
@@ -758,6 +726,22 @@
|
||||
</RadialMenu:RadialMenuCentralItem>
|
||||
</RadialMenu:RadialMenu.CentralItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Npp">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/NPP.png" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
<TextBlock FontSize="14"
|
||||
TextAlignment="Center">
|
||||
N++
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Excel">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
@@ -822,6 +806,52 @@
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{Binding OpenRadialMenuAppsVncRdp}">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/Rdp.png" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
<TextBlock FontSize="14"
|
||||
TextAlignment="Center">
|
||||
RDP/VNC
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
</RadialMenu:RadialMenu>
|
||||
|
||||
<RadialMenu:RadialMenu IsOpen="{Binding IsOpenAppsVncRdp}">
|
||||
|
||||
<RadialMenu:RadialMenu.CentralItem>
|
||||
<RadialMenu:RadialMenuCentralItem Command="{Binding OpenRadialMenuApps}">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/FondiumU.ico" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
</RadialMenu:RadialMenuCentralItem>
|
||||
</RadialMenu:RadialMenu.CentralItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Rdp">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
<Rectangle Width="30"
|
||||
Height="30">
|
||||
<Rectangle.Fill>
|
||||
<ImageBrush ImageSource="../../Icons/Rdp.png" />
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
<TextBlock FontSize="14"
|
||||
TextAlignment="Center">
|
||||
Remote<LineBreak />Desktop
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</RadialMenu:RadialMenuItem>
|
||||
|
||||
<RadialMenu:RadialMenuItem Command="{commands:OpenAppCommand}"
|
||||
CommandParameter="Vnc">
|
||||
<WrapPanel Orientation="Vertical">
|
||||
|
||||
@@ -237,6 +237,7 @@ namespace FSI.BT.Tools
|
||||
return new RelayCommand(() =>
|
||||
{
|
||||
IsOpenApps = true;
|
||||
IsOpenAppsVncRdp =
|
||||
IsOpenHome = false;
|
||||
});
|
||||
}
|
||||
@@ -244,6 +245,36 @@ namespace FSI.BT.Tools
|
||||
|
||||
#endregion
|
||||
|
||||
#region Apps RDP VNC
|
||||
|
||||
private bool _isOpenAppsVncRdp = false;
|
||||
public bool IsOpenAppsVncRdp
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isOpenAppsVncRdp;
|
||||
}
|
||||
set
|
||||
{
|
||||
_isOpenAppsVncRdp = value;
|
||||
RaisePropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public ICommand OpenRadialMenuAppsVncRdp
|
||||
{
|
||||
get
|
||||
{
|
||||
return new RelayCommand(() =>
|
||||
{
|
||||
IsOpenAppsVncRdp = true;
|
||||
IsOpenApps = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
void RaisePropertyChanged([CallerMemberName] string? propertyName = null)
|
||||
|
||||
@@ -1,21 +1,17 @@
|
||||
using FSI.Lib.WinSettings;
|
||||
using FSI.Lib.Guis.SieTiaWinCCMsgMgt;
|
||||
using FSI.Lib.WinSettings;
|
||||
using Hardcodet.Wpf.TaskbarNotification;
|
||||
|
||||
namespace FSI.BT.Tools
|
||||
{
|
||||
internal static class Global
|
||||
{
|
||||
|
||||
public static FrmRadialMenu? FrmRadialMenu { get; set; }
|
||||
|
||||
public static TaskbarIcon? TaskbarIcon { get; set; }
|
||||
|
||||
public static WinCC WinCC { get; set; }
|
||||
public static AppSettings? Settings { get; set; }
|
||||
public static bool UserRights { get; set; }
|
||||
|
||||
public static bool AdminRights { get; set; }
|
||||
public static bool SuperAdminRights { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
39
FSI.BT.Tools/Gui/FrmProcesses.xaml
Normal file
39
FSI.BT.Tools/Gui/FrmProcesses.xaml
Normal file
@@ -0,0 +1,39 @@
|
||||
<Window x:Class="FSI.BT.Tools.Gui.FrmProcesses"
|
||||
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:FSI.BT.Tools.Gui"
|
||||
mc:Ignorable="d"
|
||||
Title="FrmProcesses"
|
||||
Height="450"
|
||||
Width="800">
|
||||
<Grid>
|
||||
<TabControl>
|
||||
<TabItem Header="WinCC">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Fenster-Name:" Margin="5 5 5 5"/>
|
||||
<TextBox x:Name="TbWindowName"
|
||||
MinWidth="200"
|
||||
Margin="5 5 5 5" />
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
||||
<TextBlock Text="Class-Name:"
|
||||
Margin="5 5 5 5" />
|
||||
<TextBox x:Name="TbClassName"
|
||||
MinWidth="200"
|
||||
Margin="5 5 5 5" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
27
FSI.BT.Tools/Gui/FrmProcesses.xaml.cs
Normal file
27
FSI.BT.Tools/Gui/FrmProcesses.xaml.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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 FSI.BT.Tools.Gui
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für FrmProcesses.xaml
|
||||
/// </summary>
|
||||
public partial class FrmProcesses : Window
|
||||
{
|
||||
public FrmProcesses()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,6 +23,9 @@
|
||||
<ContextMenu>
|
||||
<MenuItem Header="Beenden"
|
||||
Command="{commands:ExitCommand}"/>
|
||||
<Separator />
|
||||
<MenuItem Header="Dienste"
|
||||
Command="{commands:ProcessCommand}" />
|
||||
</ContextMenu>
|
||||
</tb:TaskbarIcon.ContextMenu>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<TargetFramework>net472;net6.0-windows</TargetFramework>
|
||||
<OutputType>Library</OutputType>
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
<UseWPF>true</UseWPF>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net40;net45;netcoreapp3.0;net6.0-windows</TargetFrameworks>
|
||||
<TargetFrameworks>net40;net45;net472;netcoreapp3.0;net6.0-windows</TargetFrameworks>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Package properties">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<TargetFramework>net6.0-windows;net472</TargetFramework>
|
||||
<OutputType>Library</OutputType>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<UseWPF>true</UseWPF>
|
||||
|
||||
Reference in New Issue
Block a user