- Settings *.xml eingefügt - div. Anwendungen eingefügt - kleine Fehler behoben automatische zentrieren der Maus entfernt div. Anpassungen Squashed 'FSI.Lib/' changes from 24aa22a..9a24247 9a24247 Version erhöht 9536f8a div. Anpassungen für FSI.BT.Tools git-subtree-dir: FSI.Lib git-subtree-split: 9a242472bc63c937efcdaaa4e391c5733abe2891 div. Anpassungen div. Fehlerbehoben
28 lines
703 B
C#
28 lines
703 B
C#
using System.Windows;
|
|
|
|
namespace FSI.BT.Tools.Commands
|
|
{
|
|
/// <summary>
|
|
/// Shows the main window.
|
|
/// </summary>
|
|
public class LoginCommand : CommandBase<LoginCommand>
|
|
{
|
|
public override void Execute(object parameter)
|
|
{
|
|
Lib.Guis.AutoPw.FrmMain frmMain = new()
|
|
{
|
|
CloseAtLostFocus = false,
|
|
WindowStartupLocation = WindowStartupLocation.CenterOwner,
|
|
};
|
|
frmMain.ShowDialog();
|
|
|
|
Global.UserRights =
|
|
Global.AdminRights = frmMain.PwOk;
|
|
}
|
|
|
|
public override bool CanExecute(object parameter)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
} |