Sicherung

This commit is contained in:
Maier Stephan SI
2023-01-02 06:39:20 +01:00
parent d01747f75a
commit 306f4824a8
13 changed files with 59 additions and 70 deletions

View File

@@ -105,7 +105,6 @@ namespace FSI.BT.Tools.Commands
files = Global.AppSettings.Apps.VsCode;
break;
case "Rdp":
files = Global.AppSettings.Apps.Rdp;
break;
@@ -149,14 +148,14 @@ namespace FSI.BT.Tools.Commands
frmFolderMgtMain.Show();
return;
//case "TxtToClip":
// Lib.Guis.TxtToClip.Mgt.FrmMain frmTxtToClipMain = new Lib.Guis.TxtToClip.Mgt.FrmMain()
// {
// CloseAtLostFocus = false,
// Data = Global.AppSettings.TxtToClip
// };
// frmTxtToClipMain.Show();
// return;
case "TxtToClip":
Lib.Guis.TxtToClip.Mgt.FrmMain frmTxtToClipMain = new Lib.Guis.TxtToClip.Mgt.FrmMain()
{
CloseAtLostFocus = true,
InputData = Global.AppSettings.TxtToClip
};
frmTxtToClipMain.Show();
return;
case "Outlook":
files = Global.AppSettings.Apps.Outlook;
@@ -314,8 +313,8 @@ namespace FSI.BT.Tools.Commands
case "Folder":
return Global.AppSettings.Folders != null;
//case "TxtToClip":
// return Global.AppSettings.TxtToClip != null;
case "TxtToClip":
return Global.AppSettings.TxtToClip != null;
case "Outlook":
files = Global.AppSettings.Apps.Outlook;

View File

@@ -16,6 +16,7 @@
<ItemGroup>
<None Remove="Icons\Folders.png" />
<None Remove="Icons\Iba.jpg" />
<None Remove="Icons\txt.png" />
</ItemGroup>
<ItemGroup>
@@ -57,6 +58,10 @@
<Resource Remove="Icons\Word.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Icons\txt.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.0" />
</ItemGroup>

View File

@@ -385,12 +385,12 @@
<Rectangle Width="40"
Height="40">
<Rectangle.Fill>
<ImageBrush ImageSource="../../Icons/Folders.png" />
<ImageBrush ImageSource="../../Icons/txt.png" />
</Rectangle.Fill>
</Rectangle>
<TextBlock FontSize="14"
TextAlignment="Center">
Verzeichnisse
Txt-Vorlagen
</TextBlock>
</WrapPanel>
</RadialMenu:RadialMenuItem>

BIN
FSI.BT.Tools/Icons/txt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -18,12 +18,10 @@ namespace FSI.BT.Tools.Settings
IEnumerable<Folder.IFolder> Folders { get; }
// IEnumerable<TxtToClip.ITxtToClip> TxtToClip { get; }
[Option(Alias = "Folders")]
string GetFolderByName(string fodlerName, string keyName);
IEnumerable<TxtToClip.ITxtToClip> TxtToClip { get; }
//[Option(Alias = "Folders")]
//string GetFolderByName(string fodlerName, string keyName);
}
public static (string path, string description) GetFolderByName(IEnumerable<Folder.IFolder> folders, string name)

View File

@@ -8,6 +8,6 @@ namespace FSI.BT.Tools.Settings
{
public class TxtToClip
{
// public interface ITxtToClip : Lib.Guis.TxtToClip.Mgt.Model.IInterface { }
public interface ITxtToClip : Lib.Guis.TxtToClip.Mgt.IInterface { }
}
}

View File

@@ -170,6 +170,13 @@
"Erp": "https://mingle-portal.eu1.inforcloudsuite.com/FONDIUM_prd"
},
"Folders": [
{
"Plant": "Alg",
"SubPlant": "Alg",
"Name": "Wrkdir",
"Description": "Arbeitsverzeichnis",
"Path": "d:\\WrkDir"
},
{
"Plant": "Alg",
"SubPlant": "Alg",