initial source

This commit is contained in:
2025-03-06 18:56:47 +01:00
commit d055ffd56c
40 changed files with 1115 additions and 0 deletions

16
BT-Admin.csproj Normal file
View File

@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<RootNamespace>BT_Admin</RootNamespace>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\BTbase\BTbase.csproj" />
</ItemGroup>
</Project>

8
BT-Admin.csproj.user Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="BTAdmin.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

28
BT-Admin.sln Normal file
View File

@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35707.178
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BT-Admin", "BT-Admin.csproj", "{E876B7C9-C9C9-4B7B-B4E4-D9C81AE15088}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTbase", "..\BTbase\BTbase.csproj", "{6B72B67E-1007-4767-976A-84766E3143FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E876B7C9-C9C9-4B7B-B4E4-D9C81AE15088}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E876B7C9-C9C9-4B7B-B4E4-D9C81AE15088}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E876B7C9-C9C9-4B7B-B4E4-D9C81AE15088}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E876B7C9-C9C9-4B7B-B4E4-D9C81AE15088}.Release|Any CPU.Build.0 = Release|Any CPU
{6B72B67E-1007-4767-976A-84766E3143FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6B72B67E-1007-4767-976A-84766E3143FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6B72B67E-1007-4767-976A-84766E3143FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6B72B67E-1007-4767-976A-84766E3143FE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

447
BTAdmin.Designer.cs generated Normal file
View File

@@ -0,0 +1,447 @@

namespace BT_Admin
{
partial class BTAdmin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
mainMenu = new MenuStrip();
fileToolStripMenuItem = new ToolStripMenuItem();
loadPasswordfileToolStripMenuItem = new ToolStripMenuItem();
loadPasswordfileToolStripMenuItem1 = new ToolStripMenuItem();
exitToolStripMenuItem = new ToolStripMenuItem();
bearbeitenToolStripMenuItem = new ToolStripMenuItem();
hilfeToolStripMenuItem = new ToolStripMenuItem();
mainStatus = new StatusStrip();
labelLicenseeName = new Label();
labelSerialNumber = new Label();
labelVersion = new Label();
labelJumpGroupName = new Label();
labelJumpGroupCodeName = new Label();
labelVaultAccountGroupName = new Label();
groupBoxBaseData = new GroupBox();
buttonJumpVaultAccountGroupUpdate = new Button();
buttonJumpVaultAccountGroupSearch = new Button();
buttonJumpVaultAccountGroupDelete = new Button();
buttonJumpVaultAccountGroupCreate = new Button();
textBoxVaultAccountGroupComments = new TextBox();
labelVaultAccountGroupComments = new Label();
textBoxJumpGroupComments = new TextBox();
labelJumpGroupComments = new Label();
textBoxVaultAccountGroupId = new TextBox();
labelVaultAccountGroupId = new Label();
textBoxJumpGroupId = new TextBox();
labelJumpGroupId = new Label();
textBoxVaultAccountGroupName = new TextBox();
textBoxJumpGroupCodeName = new TextBox();
textBoxJumpGroupName = new TextBox();
comboBoxVersion = new ComboBox();
textBoxSerialNumber = new TextBox();
textBoxLicenseeName = new TextBox();
groupBoxJumpPointData = new GroupBox();
groupBoxJumpItemData = new GroupBox();
openFileDialogPersonalFile = new OpenFileDialog();
mainMenu.SuspendLayout();
groupBoxBaseData.SuspendLayout();
SuspendLayout();
//
// mainMenu
//
mainMenu.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, bearbeitenToolStripMenuItem, hilfeToolStripMenuItem });
mainMenu.Location = new Point(0, 0);
mainMenu.Name = "mainMenu";
mainMenu.Size = new Size(800, 24);
mainMenu.TabIndex = 0;
mainMenu.Text = "mainMenu";
//
// fileToolStripMenuItem
//
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { loadPasswordfileToolStripMenuItem, loadPasswordfileToolStripMenuItem1, exitToolStripMenuItem });
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
fileToolStripMenuItem.Size = new Size(37, 20);
fileToolStripMenuItem.Text = "&File";
//
// loadPasswordfileToolStripMenuItem
//
loadPasswordfileToolStripMenuItem.Name = "loadPasswordfileToolStripMenuItem";
loadPasswordfileToolStripMenuItem.Size = new Size(204, 22);
loadPasswordfileToolStripMenuItem.Text = "Load personal access file";
loadPasswordfileToolStripMenuItem.Click += this.loadPasswordfileToolStripMenuItem_Click;
//
// loadPasswordfileToolStripMenuItem1
//
loadPasswordfileToolStripMenuItem1.Name = "loadPasswordfileToolStripMenuItem1";
loadPasswordfileToolStripMenuItem1.Size = new Size(204, 22);
loadPasswordfileToolStripMenuItem1.Text = "Load password file";
//
// exitToolStripMenuItem
//
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
exitToolStripMenuItem.Size = new Size(204, 22);
exitToolStripMenuItem.Text = "Exit";
//
// bearbeitenToolStripMenuItem
//
bearbeitenToolStripMenuItem.Name = "bearbeitenToolStripMenuItem";
bearbeitenToolStripMenuItem.Size = new Size(62, 20);
bearbeitenToolStripMenuItem.Text = "&Manage";
//
// hilfeToolStripMenuItem
//
hilfeToolStripMenuItem.Name = "hilfeToolStripMenuItem";
hilfeToolStripMenuItem.Size = new Size(44, 20);
hilfeToolStripMenuItem.Text = "&Help";
//
// mainStatus
//
mainStatus.Location = new Point(0, 358);
mainStatus.Name = "mainStatus";
mainStatus.Size = new Size(800, 22);
mainStatus.TabIndex = 1;
mainStatus.Text = "mainStatus";
//
// labelLicenseeName
//
labelLicenseeName.AutoSize = true;
labelLicenseeName.Location = new Point(73, 26);
labelLicenseeName.Name = "labelLicenseeName";
labelLicenseeName.Size = new Size(88, 15);
labelLicenseeName.TabIndex = 2;
labelLicenseeName.Text = "Licensee name:";
//
// labelSerialNumber
//
labelSerialNumber.AutoSize = true;
labelSerialNumber.Location = new Point(78, 55);
labelSerialNumber.Name = "labelSerialNumber";
labelSerialNumber.Size = new Size(83, 15);
labelSerialNumber.TabIndex = 3;
labelSerialNumber.Text = "Serial number:";
//
// labelVersion
//
labelVersion.AutoSize = true;
labelVersion.Location = new Point(113, 84);
labelVersion.Name = "labelVersion";
labelVersion.Size = new Size(48, 15);
labelVersion.TabIndex = 4;
labelVersion.Text = "Version:";
//
// labelJumpGroupName
//
labelJumpGroupName.AutoSize = true;
labelJumpGroupName.Location = new Point(51, 113);
labelJumpGroupName.Name = "labelJumpGroupName";
labelJumpGroupName.Size = new Size(110, 15);
labelJumpGroupName.TabIndex = 5;
labelJumpGroupName.Text = "Jump Group Name:";
//
// labelJumpGroupCodeName
//
labelJumpGroupCodeName.AutoSize = true;
labelJumpGroupCodeName.Location = new Point(20, 142);
labelJumpGroupCodeName.Name = "labelJumpGroupCodeName";
labelJumpGroupCodeName.Size = new Size(141, 15);
labelJumpGroupCodeName.TabIndex = 6;
labelJumpGroupCodeName.Text = "Jump Group Code Name:";
//
// labelVaultAccountGroupName
//
labelVaultAccountGroupName.AutoSize = true;
labelVaultAccountGroupName.Location = new Point(6, 219);
labelVaultAccountGroupName.Name = "labelVaultAccountGroupName";
labelVaultAccountGroupName.Size = new Size(155, 15);
labelVaultAccountGroupName.TabIndex = 7;
labelVaultAccountGroupName.Text = "Vault Account Group Name:";
//
// groupBoxBaseData
//
groupBoxBaseData.Controls.Add(buttonJumpVaultAccountGroupUpdate);
groupBoxBaseData.Controls.Add(buttonJumpVaultAccountGroupSearch);
groupBoxBaseData.Controls.Add(buttonJumpVaultAccountGroupDelete);
groupBoxBaseData.Controls.Add(buttonJumpVaultAccountGroupCreate);
groupBoxBaseData.Controls.Add(textBoxVaultAccountGroupComments);
groupBoxBaseData.Controls.Add(labelVaultAccountGroupComments);
groupBoxBaseData.Controls.Add(textBoxJumpGroupComments);
groupBoxBaseData.Controls.Add(labelJumpGroupComments);
groupBoxBaseData.Controls.Add(textBoxVaultAccountGroupId);
groupBoxBaseData.Controls.Add(labelVaultAccountGroupId);
groupBoxBaseData.Controls.Add(textBoxJumpGroupId);
groupBoxBaseData.Controls.Add(labelJumpGroupId);
groupBoxBaseData.Controls.Add(textBoxVaultAccountGroupName);
groupBoxBaseData.Controls.Add(textBoxJumpGroupCodeName);
groupBoxBaseData.Controls.Add(textBoxJumpGroupName);
groupBoxBaseData.Controls.Add(comboBoxVersion);
groupBoxBaseData.Controls.Add(textBoxSerialNumber);
groupBoxBaseData.Controls.Add(textBoxLicenseeName);
groupBoxBaseData.Controls.Add(labelLicenseeName);
groupBoxBaseData.Controls.Add(labelVaultAccountGroupName);
groupBoxBaseData.Controls.Add(labelSerialNumber);
groupBoxBaseData.Controls.Add(labelJumpGroupCodeName);
groupBoxBaseData.Controls.Add(labelVersion);
groupBoxBaseData.Controls.Add(labelJumpGroupName);
groupBoxBaseData.Location = new Point(12, 27);
groupBoxBaseData.Name = "groupBoxBaseData";
groupBoxBaseData.Size = new Size(459, 323);
groupBoxBaseData.TabIndex = 8;
groupBoxBaseData.TabStop = false;
groupBoxBaseData.Text = "Base data";
//
// buttonJumpVaultAccountGroupUpdate
//
buttonJumpVaultAccountGroupUpdate.Location = new Point(292, 294);
buttonJumpVaultAccountGroupUpdate.Name = "buttonJumpVaultAccountGroupUpdate";
buttonJumpVaultAccountGroupUpdate.Size = new Size(75, 23);
buttonJumpVaultAccountGroupUpdate.TabIndex = 25;
buttonJumpVaultAccountGroupUpdate.Text = "&Update";
buttonJumpVaultAccountGroupUpdate.UseVisualStyleBackColor = true;
//
// buttonJumpVaultAccountGroupSearch
//
buttonJumpVaultAccountGroupSearch.Location = new Point(6, 294);
buttonJumpVaultAccountGroupSearch.Name = "buttonJumpVaultAccountGroupSearch";
buttonJumpVaultAccountGroupSearch.Size = new Size(75, 23);
buttonJumpVaultAccountGroupSearch.TabIndex = 24;
buttonJumpVaultAccountGroupSearch.Text = "&Search";
buttonJumpVaultAccountGroupSearch.UseVisualStyleBackColor = true;
//
// buttonJumpVaultAccountGroupDelete
//
buttonJumpVaultAccountGroupDelete.Location = new Point(167, 294);
buttonJumpVaultAccountGroupDelete.Name = "buttonJumpVaultAccountGroupDelete";
buttonJumpVaultAccountGroupDelete.Size = new Size(75, 23);
buttonJumpVaultAccountGroupDelete.TabIndex = 23;
buttonJumpVaultAccountGroupDelete.Text = "Delete";
buttonJumpVaultAccountGroupDelete.UseVisualStyleBackColor = true;
//
// buttonJumpVaultAccountGroupCreate
//
buttonJumpVaultAccountGroupCreate.Location = new Point(373, 294);
buttonJumpVaultAccountGroupCreate.Name = "buttonJumpVaultAccountGroupCreate";
buttonJumpVaultAccountGroupCreate.Size = new Size(75, 23);
buttonJumpVaultAccountGroupCreate.TabIndex = 22;
buttonJumpVaultAccountGroupCreate.Text = "&Create";
buttonJumpVaultAccountGroupCreate.UseVisualStyleBackColor = true;
//
// textBoxVaultAccountGroupComments
//
textBoxVaultAccountGroupComments.Location = new Point(167, 251);
textBoxVaultAccountGroupComments.Name = "textBoxVaultAccountGroupComments";
textBoxVaultAccountGroupComments.Size = new Size(200, 23);
textBoxVaultAccountGroupComments.TabIndex = 21;
//
// labelVaultAccountGroupComments
//
labelVaultAccountGroupComments.AutoSize = true;
labelVaultAccountGroupComments.Location = new Point(92, 254);
labelVaultAccountGroupComments.Name = "labelVaultAccountGroupComments";
labelVaultAccountGroupComments.Size = new Size(69, 15);
labelVaultAccountGroupComments.TabIndex = 20;
labelVaultAccountGroupComments.Text = "Comments:";
//
// textBoxJumpGroupComments
//
textBoxJumpGroupComments.Location = new Point(167, 172);
textBoxJumpGroupComments.Name = "textBoxJumpGroupComments";
textBoxJumpGroupComments.Size = new Size(200, 23);
textBoxJumpGroupComments.TabIndex = 19;
//
// labelJumpGroupComments
//
labelJumpGroupComments.AutoSize = true;
labelJumpGroupComments.Location = new Point(92, 175);
labelJumpGroupComments.Name = "labelJumpGroupComments";
labelJumpGroupComments.Size = new Size(69, 15);
labelJumpGroupComments.TabIndex = 18;
labelJumpGroupComments.Text = "Comments:";
//
// textBoxVaultAccountGroupId
//
textBoxVaultAccountGroupId.Location = new Point(399, 216);
textBoxVaultAccountGroupId.Name = "textBoxVaultAccountGroupId";
textBoxVaultAccountGroupId.Size = new Size(50, 23);
textBoxVaultAccountGroupId.TabIndex = 17;
//
// labelVaultAccountGroupId
//
labelVaultAccountGroupId.AutoSize = true;
labelVaultAccountGroupId.Location = new Point(373, 219);
labelVaultAccountGroupId.Name = "labelVaultAccountGroupId";
labelVaultAccountGroupId.Size = new Size(20, 15);
labelVaultAccountGroupId.TabIndex = 16;
labelVaultAccountGroupId.Text = "Id:";
//
// textBoxJumpGroupId
//
textBoxJumpGroupId.Location = new Point(399, 110);
textBoxJumpGroupId.Name = "textBoxJumpGroupId";
textBoxJumpGroupId.Size = new Size(50, 23);
textBoxJumpGroupId.TabIndex = 15;
//
// labelJumpGroupId
//
labelJumpGroupId.AutoSize = true;
labelJumpGroupId.Location = new Point(373, 113);
labelJumpGroupId.Name = "labelJumpGroupId";
labelJumpGroupId.Size = new Size(20, 15);
labelJumpGroupId.TabIndex = 14;
labelJumpGroupId.Text = "Id:";
//
// textBoxVaultAccountGroupName
//
textBoxVaultAccountGroupName.Location = new Point(167, 216);
textBoxVaultAccountGroupName.Name = "textBoxVaultAccountGroupName";
textBoxVaultAccountGroupName.Size = new Size(200, 23);
textBoxVaultAccountGroupName.TabIndex = 13;
//
// textBoxJumpGroupCodeName
//
textBoxJumpGroupCodeName.Location = new Point(167, 139);
textBoxJumpGroupCodeName.Name = "textBoxJumpGroupCodeName";
textBoxJumpGroupCodeName.Size = new Size(200, 23);
textBoxJumpGroupCodeName.TabIndex = 12;
//
// textBoxJumpGroupName
//
textBoxJumpGroupName.Location = new Point(167, 110);
textBoxJumpGroupName.Name = "textBoxJumpGroupName";
textBoxJumpGroupName.Size = new Size(200, 23);
textBoxJumpGroupName.TabIndex = 11;
//
// comboBoxVersion
//
comboBoxVersion.DropDownWidth = 200;
comboBoxVersion.FormattingEnabled = true;
comboBoxVersion.Location = new Point(167, 81);
comboBoxVersion.Name = "comboBoxVersion";
comboBoxVersion.Size = new Size(200, 23);
comboBoxVersion.TabIndex = 10;
//
// textBoxSerialNumber
//
textBoxSerialNumber.Location = new Point(167, 52);
textBoxSerialNumber.Name = "textBoxSerialNumber";
textBoxSerialNumber.Size = new Size(200, 23);
textBoxSerialNumber.TabIndex = 9;
//
// textBoxLicenseeName
//
textBoxLicenseeName.Location = new Point(167, 23);
textBoxLicenseeName.Name = "textBoxLicenseeName";
textBoxLicenseeName.Size = new Size(200, 23);
textBoxLicenseeName.TabIndex = 8;
//
// groupBoxJumpPointData
//
groupBoxJumpPointData.Location = new Point(477, 31);
groupBoxJumpPointData.Name = "groupBoxJumpPointData";
groupBoxJumpPointData.Size = new Size(311, 158);
groupBoxJumpPointData.TabIndex = 9;
groupBoxJumpPointData.TabStop = false;
groupBoxJumpPointData.Text = "Jump Point data";
//
// groupBoxJumpItemData
//
groupBoxJumpItemData.Location = new Point(477, 195);
groupBoxJumpItemData.Name = "groupBoxJumpItemData";
groupBoxJumpItemData.Size = new Size(311, 155);
groupBoxJumpItemData.TabIndex = 10;
groupBoxJumpItemData.TabStop = false;
groupBoxJumpItemData.Text = "Jump Item data";
//
// openFileDialogPersonalFile
//
openFileDialogPersonalFile.FileName = "openFileDialogPersonalFile";
//
// BTAdmin
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 380);
Controls.Add(groupBoxJumpItemData);
Controls.Add(groupBoxJumpPointData);
Controls.Add(groupBoxBaseData);
Controls.Add(mainStatus);
Controls.Add(mainMenu);
MainMenuStrip = mainMenu;
Name = "BTAdmin";
Text = "BT-Admin";
mainMenu.ResumeLayout(false);
mainMenu.PerformLayout();
groupBoxBaseData.ResumeLayout(false);
groupBoxBaseData.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
private void loadPasswordfileToolStripMenuItem_Click(object sender, EventArgs e)
{
openFileDialogPersonalFile.ShowDialog();
textBoxJumpGroupComments.Text = openFileDialogPersonalFile.FileName;
// throw new NotImplementedException();
}
#endregion
private MenuStrip mainMenu;
private ToolStripMenuItem fileToolStripMenuItem;
private ToolStripMenuItem bearbeitenToolStripMenuItem;
private ToolStripMenuItem hilfeToolStripMenuItem;
private StatusStrip mainStatus;
private Label labelLicenseeName;
private Label labelSerialNumber;
private Label labelVersion;
private Label labelJumpGroupName;
private Label labelJumpGroupCodeName;
private Label labelVaultAccountGroupName;
private GroupBox groupBoxBaseData;
private TextBox textBoxJumpGroupName;
private ComboBox comboBoxVersion;
private TextBox textBoxSerialNumber;
private TextBox textBoxLicenseeName;
private Label labelVaultAccountGroupId;
private TextBox textBoxJumpGroupId;
private Label labelJumpGroupId;
private TextBox textBoxVaultAccountGroupName;
private TextBox textBoxJumpGroupCodeName;
private TextBox textBoxVaultAccountGroupId;
private TextBox textBoxVaultAccountGroupComments;
private Label labelVaultAccountGroupComments;
private TextBox textBoxJumpGroupComments;
private Label labelJumpGroupComments;
private Button buttonJumpVaultAccountGroupSearch;
private Button buttonJumpVaultAccountGroupDelete;
private Button buttonJumpVaultAccountGroupCreate;
private Button buttonJumpVaultAccountGroupUpdate;
private ToolStripMenuItem loadPasswordfileToolStripMenuItem;
private ToolStripMenuItem loadPasswordfileToolStripMenuItem1;
private ToolStripMenuItem exitToolStripMenuItem;
private GroupBox groupBoxJumpPointData;
private GroupBox groupBoxJumpItemData;
private OpenFileDialog openFileDialogPersonalFile;
}
}

13
BTAdmin.cs Normal file
View File

@@ -0,0 +1,13 @@
using BTbase;
namespace BT_Admin
{
public partial class BTAdmin : Form
{
public BTAdmin()
{
InitializeComponent();
textBoxJumpGroupComments.Text = BTtoken.GetAccessToken1("f2c0d97c96a790aaecd86d165f6d0330f62e5078", "v0aiiXx3YF10bTIBZgf+ijE8bScMVWEUCOU1Ayc6iD8K", "https://pra-proalpha.beyondtrustcloud.com/oauth2/token?grant_type=client_credentials");
}
}
}

129
BTAdmin.resx Normal file
View File

@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="mainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="mainStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 17</value>
</metadata>
<metadata name="openFileDialogPersonalFile.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>245, 17</value>
</metadata>
</root>

17
Program.cs Normal file
View File

@@ -0,0 +1,17 @@
namespace BT_Admin
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new BTAdmin());
}
}
}

View File

@@ -0,0 +1,39 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"BT-Admin/1.0.0": {
"dependencies": {
"BTbase": "1.0.0"
},
"runtime": {
"BT-Admin.dll": {}
}
},
"BTbase/1.0.0": {
"runtime": {
"BTbase.dll": {
"assemblyVersion": "1.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"BT-Admin/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"BTbase/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,19 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,147 @@
{
"format": 1,
"restore": {
"C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj": {}
},
"projects": {
"C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj",
"projectName": "BT-Admin",
"projectPath": "C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj",
"packagesPath": "C:\\Users\\lands\\.nuget\\packages\\",
"outputPath": "C:\\Users\\lands\\source\\repos\\BT-Admin\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\lands\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0-windows7.0": {
"targetAlias": "net8.0-windows",
"projectReferences": {
"C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj": {
"projectPath": "C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0-windows7.0": {
"targetAlias": "net8.0-windows",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WindowsForms": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.103/PortableRuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj",
"projectName": "BTbase",
"projectPath": "C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj",
"packagesPath": "C:\\Users\\lands\\.nuget\\packages\\",
"outputPath": "C:\\Users\\lands\\source\\repos\\BTbase\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\lands\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.103/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\lands\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\lands\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

View File

@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("BT-Admin")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("BT-Admin")]
[assembly: System.Reflection.AssemblyTitleAttribute("BT-Admin")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.

View File

@@ -0,0 +1 @@
cc6649bc11d46b7e7b28f4566fa2b69d02f6b3d606dcb05b74bf154aae6d803a

View File

@@ -0,0 +1,22 @@
is_global = true
build_property.ApplicationManifest =
build_property.StartupObject =
build_property.ApplicationDefaultFont =
build_property.ApplicationHighDpiMode =
build_property.ApplicationUseCompatibleTextRendering =
build_property.ApplicationVisualStyles =
build_property.TargetFramework = net8.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = BT_Admin
build_property.ProjectDir = C:\Users\lands\source\repos\BT-Admin\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.CsWinRTUseWindowsUIXamlProjections = false
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,10 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Drawing;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
global using global::System.Windows.Forms;

Binary file not shown.

View File

@@ -0,0 +1 @@
539dd1f2ad474b4e50c59ed5e28113ac6130987d3d341db03f67020dc5565209

View File

@@ -0,0 +1,20 @@
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT_Admin.BTAdmin.resources
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.csproj.GenerateResource.cache
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.AssemblyInfoInputs.cache
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.AssemblyInfo.cs
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.csproj.CoreCompileInputs.cache
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BT-Admin.exe
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BT-Admin.deps.json
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BT-Admin.runtimeconfig.json
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BT-Admin.dll
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BT-Admin.pdb
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.dll
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\refint\BT-Admin.dll
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.pdb
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.genruntimeconfig.cache
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\ref\BT-Admin.dll
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BTbase.dll
C:\Users\lands\source\repos\BT-Admin\bin\Debug\net8.0-windows\BTbase.pdb
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.csproj.AssemblyReference.cache
C:\Users\lands\source\repos\BT-Admin\obj\Debug\net8.0-windows\BT-Admin.csproj.Up2Date

View File

@@ -0,0 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {}
},
"libraries": {}
}

View File

@@ -0,0 +1,25 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "8.0.0"
}
],
"additionalProbingPaths": [
"C:\\Users\\lands\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\lands\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false,
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

Binary file not shown.

View File

@@ -0,0 +1 @@
ec6a27f52bdbd0920dbdc2dbedb93a3b32fabdf795f91200de5ad23a56d61feb

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

106
obj/project.assets.json Normal file
View File

@@ -0,0 +1,106 @@
{
"version": 3,
"targets": {
"net8.0-windows7.0": {
"BTbase/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v8.0",
"compile": {
"bin/placeholder/BTbase.dll": {}
},
"runtime": {
"bin/placeholder/BTbase.dll": {}
}
}
}
},
"libraries": {
"BTbase/1.0.0": {
"type": "project",
"path": "../BTbase/BTbase.csproj",
"msbuildProject": "../BTbase/BTbase.csproj"
}
},
"projectFileDependencyGroups": {
"net8.0-windows7.0": [
"BTbase >= 1.0.0"
]
},
"packageFolders": {
"C:\\Users\\lands\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj",
"projectName": "BT-Admin",
"projectPath": "C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj",
"packagesPath": "C:\\Users\\lands\\.nuget\\packages\\",
"outputPath": "C:\\Users\\lands\\source\\repos\\BT-Admin\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\lands\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0-windows7.0": {
"targetAlias": "net8.0-windows",
"projectReferences": {
"C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj": {
"projectPath": "C:\\Users\\lands\\source\\repos\\BTbase\\BTbase.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0-windows7.0": {
"targetAlias": "net8.0-windows",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WindowsForms": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.103/PortableRuntimeIdentifierGraph.json"
}
}
}
}

8
obj/project.nuget.cache Normal file
View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "uQByWekdnGE=",
"success": true,
"projectFilePath": "C:\\Users\\lands\\source\\repos\\BT-Admin\\BT-Admin.csproj",
"expectedPackageFiles": [],
"logs": []
}