updated version
63
.gitattributes
vendored
@@ -1,63 +0,0 @@
|
||||
###############################################################################
|
||||
# Set default behavior to automatically normalize line endings.
|
||||
###############################################################################
|
||||
* text=auto
|
||||
|
||||
###############################################################################
|
||||
# Set default behavior for command prompt diff.
|
||||
#
|
||||
# This is need for earlier builds of msysgit that does not have it on by
|
||||
# default for csharp files.
|
||||
# Note: This is only used by command line
|
||||
###############################################################################
|
||||
#*.cs diff=csharp
|
||||
|
||||
###############################################################################
|
||||
# Set the merge driver for project and solution files
|
||||
#
|
||||
# Merging from the command prompt will add diff markers to the files if there
|
||||
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
||||
# the diff markers are never inserted). Diff markers may cause the following
|
||||
# file extensions to fail to load in VS. An alternative would be to treat
|
||||
# these files as binary and thus will always conflict and require user
|
||||
# intervention with every merge. To do so, just uncomment the entries below
|
||||
###############################################################################
|
||||
#*.sln merge=binary
|
||||
#*.csproj merge=binary
|
||||
#*.vbproj merge=binary
|
||||
#*.vcxproj merge=binary
|
||||
#*.vcproj merge=binary
|
||||
#*.dbproj merge=binary
|
||||
#*.fsproj merge=binary
|
||||
#*.lsproj merge=binary
|
||||
#*.wixproj merge=binary
|
||||
#*.modelproj merge=binary
|
||||
#*.sqlproj merge=binary
|
||||
#*.wwaproj merge=binary
|
||||
|
||||
###############################################################################
|
||||
# behavior for image files
|
||||
#
|
||||
# image files are treated as binary by default.
|
||||
###############################################################################
|
||||
#*.jpg binary
|
||||
#*.png binary
|
||||
#*.gif binary
|
||||
|
||||
###############################################################################
|
||||
# diff behavior for common document formats
|
||||
#
|
||||
# Convert binary document formats to text before diffing them. This feature
|
||||
# is only available from the command line. Turn it on by uncommenting the
|
||||
# entries below.
|
||||
###############################################################################
|
||||
#*.doc diff=astextplain
|
||||
#*.DOC diff=astextplain
|
||||
#*.docx diff=astextplain
|
||||
#*.DOCX diff=astextplain
|
||||
#*.dot diff=astextplain
|
||||
#*.DOT diff=astextplain
|
||||
#*.pdf diff=astextplain
|
||||
#*.PDF diff=astextplain
|
||||
#*.rtf diff=astextplain
|
||||
#*.RTF diff=astextplain
|
||||
25
CDS.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34728.123
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CDS", "CDS\CDS.csproj", "{8A6BA39E-F790-4731-B395-10078DC99E54}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8A6BA39E-F790-4731-B395-10078DC99E54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8A6BA39E-F790-4731-B395-10078DC99E54}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8A6BA39E-F790-4731-B395-10078DC99E54}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8A6BA39E-F790-4731-B395-10078DC99E54}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {BC9F06F3-76A4-472A-9CD7-5A8F6D54CF98}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,36 +1,42 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>Discord_Custom_Status</RootNamespace>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="img\dslogo.ico" />
|
||||
</ItemGroup>
|
||||
<Target Name="CopyImageToOutput">
|
||||
<Copy SourceFiles="$(ProjectDir)\img\dslogo.ico" DestinationFolder="$(TargetDir)" />
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
||||
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
|
||||
<PackageReference Include="System.DirectoryServices" Version="8.0.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Update="Properties\Settings.Designer.cs">
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
550
CDS/Forms/CDS.Designer.cs
generated
Normal file
@@ -0,0 +1,550 @@
|
||||
namespace CDS.Forms
|
||||
{
|
||||
partial class CDS
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CDS));
|
||||
button1 = new Button();
|
||||
button2 = new Button();
|
||||
pictureBox1 = new PictureBox();
|
||||
label1 = new Label();
|
||||
label2 = new Label();
|
||||
label3 = new Label();
|
||||
label4 = new Label();
|
||||
label5 = new Label();
|
||||
textBox1 = new TextBox();
|
||||
label6 = new Label();
|
||||
label7 = new Label();
|
||||
textBox2 = new TextBox();
|
||||
label8 = new Label();
|
||||
textBox3 = new TextBox();
|
||||
label9 = new Label();
|
||||
textBox4 = new TextBox();
|
||||
label10 = new Label();
|
||||
textBox5 = new TextBox();
|
||||
label11 = new Label();
|
||||
textBox6 = new TextBox();
|
||||
label12 = new Label();
|
||||
textBox7 = new TextBox();
|
||||
textBox8 = new TextBox();
|
||||
label14 = new Label();
|
||||
textBox9 = new TextBox();
|
||||
checkBox1 = new CheckBox();
|
||||
checkBox2 = new CheckBox();
|
||||
textBox10 = new TextBox();
|
||||
label13 = new Label();
|
||||
label15 = new Label();
|
||||
textBox11 = new TextBox();
|
||||
label16 = new Label();
|
||||
textBox12 = new TextBox();
|
||||
label17 = new Label();
|
||||
textBox13 = new TextBox();
|
||||
label18 = new Label();
|
||||
textBox14 = new TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.BackColor = Color.FromArgb(18, 18, 18);
|
||||
button1.Font = new Font("Arial", 12F, FontStyle.Bold, GraphicsUnit.Point, 177);
|
||||
button1.Image = (Image)resources.GetObject("button1.Image");
|
||||
button1.Location = new Point(324, 481);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(68, 48);
|
||||
button1.TabIndex = 0;
|
||||
button1.UseVisualStyleBackColor = false;
|
||||
button1.Click += button1_Click;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
button2.BackColor = Color.FromArgb(18, 18, 18);
|
||||
button2.Font = new Font("Arial", 12F, FontStyle.Bold, GraphicsUnit.Point, 177);
|
||||
button2.Image = (Image)resources.GetObject("button2.Image");
|
||||
button2.Location = new Point(250, 481);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(68, 48);
|
||||
button2.TabIndex = 1;
|
||||
button2.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
pictureBox1.Image = (Image)resources.GetObject("pictureBox1.Image");
|
||||
pictureBox1.Location = new Point(12, 16);
|
||||
pictureBox1.Name = "pictureBox1";
|
||||
pictureBox1.Size = new Size(85, 85);
|
||||
pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
|
||||
pictureBox1.TabIndex = 2;
|
||||
pictureBox1.TabStop = false;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold);
|
||||
label1.ForeColor = Color.White;
|
||||
label1.Location = new Point(103, 18);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(194, 20);
|
||||
label1.TabIndex = 3;
|
||||
label1.Text = "Custom Discord Status";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Font = new Font("Microsoft Sans Serif", 6.75F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
||||
label2.ForeColor = Color.White;
|
||||
label2.Location = new Point(297, 23);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(37, 12);
|
||||
label2.TabIndex = 4;
|
||||
label2.Text = "v10.0.0";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.AutoSize = true;
|
||||
label3.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
||||
label3.ForeColor = Color.White;
|
||||
label3.Location = new Point(103, 38);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new Size(132, 20);
|
||||
label3.TabIndex = 5;
|
||||
label3.Text = "Customize status";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
||||
label4.ForeColor = Color.White;
|
||||
label4.Location = new Point(103, 58);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new Size(103, 20);
|
||||
label4.TabIndex = 6;
|
||||
label4.Text = "by mr.rafaello";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
||||
label5.ForeColor = Color.White;
|
||||
label5.Location = new Point(103, 78);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new Size(110, 20);
|
||||
label5.TabIndex = 7;
|
||||
label5.Text = "Passed: 00:00";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox1.ForeColor = Color.White;
|
||||
textBox1.Location = new Point(12, 138);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(179, 23);
|
||||
textBox1.TabIndex = 8;
|
||||
textBox1.Text = "840828650763976705";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.ForeColor = Color.White;
|
||||
label6.Location = new Point(12, 120);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new Size(52, 15);
|
||||
label6.TabIndex = 9;
|
||||
label6.Text = "Client ID";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.ForeColor = Color.White;
|
||||
label7.Location = new Point(12, 179);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new Size(42, 15);
|
||||
label7.TabIndex = 11;
|
||||
label7.Text = "Details";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
textBox2.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox2.ForeColor = Color.White;
|
||||
textBox2.Location = new Point(12, 197);
|
||||
textBox2.Name = "textBox2";
|
||||
textBox2.Size = new Size(179, 23);
|
||||
textBox2.TabIndex = 10;
|
||||
textBox2.Text = "топ казик";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
label8.AutoSize = true;
|
||||
label8.ForeColor = Color.White;
|
||||
label8.Location = new Point(213, 179);
|
||||
label8.Name = "label8";
|
||||
label8.Size = new Size(33, 15);
|
||||
label8.TabIndex = 13;
|
||||
label8.Text = "State";
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
textBox3.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox3.ForeColor = Color.White;
|
||||
textBox3.Location = new Point(213, 197);
|
||||
textBox3.Name = "textBox3";
|
||||
textBox3.Size = new Size(179, 23);
|
||||
textBox3.TabIndex = 12;
|
||||
textBox3.Text = "ну тап ваще";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
label9.AutoSize = true;
|
||||
label9.ForeColor = Color.White;
|
||||
label9.Location = new Point(12, 246);
|
||||
label9.Name = "label9";
|
||||
label9.Size = new Size(94, 15);
|
||||
label9.TabIndex = 15;
|
||||
label9.Text = "Large Image Key";
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
textBox4.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox4.ForeColor = Color.White;
|
||||
textBox4.Location = new Point(12, 264);
|
||||
textBox4.Name = "textBox4";
|
||||
textBox4.Size = new Size(179, 23);
|
||||
textBox4.TabIndex = 14;
|
||||
textBox4.Text = "2";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
label10.AutoSize = true;
|
||||
label10.ForeColor = Color.White;
|
||||
label10.Location = new Point(213, 246);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new Size(94, 15);
|
||||
label10.TabIndex = 17;
|
||||
label10.Text = "Small Image Key";
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
textBox5.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox5.ForeColor = Color.White;
|
||||
textBox5.Location = new Point(213, 264);
|
||||
textBox5.Name = "textBox5";
|
||||
textBox5.Size = new Size(179, 23);
|
||||
textBox5.TabIndex = 16;
|
||||
textBox5.Text = "1";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
label11.AutoSize = true;
|
||||
label11.ForeColor = Color.White;
|
||||
label11.Location = new Point(213, 292);
|
||||
label11.Name = "label11";
|
||||
label11.Size = new Size(96, 15);
|
||||
label11.TabIndex = 21;
|
||||
label11.Text = "Small Image Text";
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
textBox6.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox6.ForeColor = Color.White;
|
||||
textBox6.Location = new Point(213, 310);
|
||||
textBox6.Name = "textBox6";
|
||||
textBox6.Size = new Size(179, 23);
|
||||
textBox6.TabIndex = 20;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
label12.AutoSize = true;
|
||||
label12.ForeColor = Color.White;
|
||||
label12.Location = new Point(12, 292);
|
||||
label12.Name = "label12";
|
||||
label12.Size = new Size(96, 15);
|
||||
label12.TabIndex = 19;
|
||||
label12.Text = "Large Image Text";
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
textBox7.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox7.ForeColor = Color.White;
|
||||
textBox7.Location = new Point(12, 310);
|
||||
textBox7.Name = "textBox7";
|
||||
textBox7.Size = new Size(179, 23);
|
||||
textBox7.TabIndex = 18;
|
||||
//
|
||||
// textBox8
|
||||
//
|
||||
textBox8.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox8.ForeColor = Color.White;
|
||||
textBox8.Location = new Point(213, 370);
|
||||
textBox8.Name = "textBox8";
|
||||
textBox8.Size = new Size(33, 23);
|
||||
textBox8.TabIndex = 22;
|
||||
textBox8.Text = "1";
|
||||
textBox8.TextAlign = HorizontalAlignment.Center;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.AutoSize = true;
|
||||
label14.ForeColor = Color.White;
|
||||
label14.Location = new Point(247, 373);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new Size(18, 15);
|
||||
label14.TabIndex = 24;
|
||||
label14.Text = "of";
|
||||
//
|
||||
// textBox9
|
||||
//
|
||||
textBox9.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox9.ForeColor = Color.White;
|
||||
textBox9.Location = new Point(266, 370);
|
||||
textBox9.Name = "textBox9";
|
||||
textBox9.Size = new Size(33, 23);
|
||||
textBox9.TabIndex = 25;
|
||||
textBox9.Text = "1";
|
||||
textBox9.TextAlign = HorizontalAlignment.Center;
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
checkBox1.AutoSize = true;
|
||||
checkBox1.Checked = true;
|
||||
checkBox1.CheckState = CheckState.Checked;
|
||||
checkBox1.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 204);
|
||||
checkBox1.ForeColor = Color.White;
|
||||
checkBox1.Location = new Point(213, 345);
|
||||
checkBox1.Name = "checkBox1";
|
||||
checkBox1.Size = new Size(55, 19);
|
||||
checkBox1.TabIndex = 26;
|
||||
checkBox1.Text = "Party";
|
||||
checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
checkBox2.AutoSize = true;
|
||||
checkBox2.Checked = true;
|
||||
checkBox2.CheckState = CheckState.Checked;
|
||||
checkBox2.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 204);
|
||||
checkBox2.ForeColor = Color.White;
|
||||
checkBox2.Location = new Point(213, 404);
|
||||
checkBox2.Name = "checkBox2";
|
||||
checkBox2.Size = new Size(54, 19);
|
||||
checkBox2.TabIndex = 28;
|
||||
checkBox2.Text = "Time";
|
||||
checkBox2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBox10
|
||||
//
|
||||
textBox10.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox10.ForeColor = Color.White;
|
||||
textBox10.Location = new Point(213, 429);
|
||||
textBox10.Name = "textBox10";
|
||||
textBox10.Size = new Size(33, 23);
|
||||
textBox10.TabIndex = 27;
|
||||
textBox10.Text = "1";
|
||||
textBox10.TextAlign = HorizontalAlignment.Center;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
label13.AutoSize = true;
|
||||
label13.ForeColor = Color.White;
|
||||
label13.Location = new Point(247, 432);
|
||||
label13.Name = "label13";
|
||||
label13.Size = new Size(40, 15);
|
||||
label13.TabIndex = 29;
|
||||
label13.Text = "h. ago";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.AutoSize = true;
|
||||
label15.ForeColor = Color.White;
|
||||
label15.Location = new Point(12, 395);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new Size(86, 15);
|
||||
label15.TabIndex = 33;
|
||||
label15.Text = "First Button Url";
|
||||
//
|
||||
// textBox11
|
||||
//
|
||||
textBox11.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox11.ForeColor = Color.White;
|
||||
textBox11.Location = new Point(12, 413);
|
||||
textBox11.Name = "textBox11";
|
||||
textBox11.Size = new Size(179, 23);
|
||||
textBox11.TabIndex = 32;
|
||||
textBox11.Text = "https://www.lucky-diamonds.ru/";
|
||||
//
|
||||
// label16
|
||||
//
|
||||
label16.AutoSize = true;
|
||||
label16.ForeColor = Color.White;
|
||||
label16.Location = new Point(12, 352);
|
||||
label16.Name = "label16";
|
||||
label16.Size = new Size(91, 15);
|
||||
label16.TabIndex = 31;
|
||||
label16.Text = "First Button title";
|
||||
//
|
||||
// textBox12
|
||||
//
|
||||
textBox12.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox12.ForeColor = Color.White;
|
||||
textBox12.Location = new Point(12, 370);
|
||||
textBox12.Name = "textBox12";
|
||||
textBox12.Size = new Size(179, 23);
|
||||
textBox12.TabIndex = 30;
|
||||
textBox12.Text = "Lucky Diamonds";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
label17.AutoSize = true;
|
||||
label17.ForeColor = Color.White;
|
||||
label17.Location = new Point(12, 487);
|
||||
label17.Name = "label17";
|
||||
label17.Size = new Size(103, 15);
|
||||
label17.TabIndex = 37;
|
||||
label17.Text = "Second Button Url";
|
||||
//
|
||||
// textBox13
|
||||
//
|
||||
textBox13.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox13.ForeColor = Color.White;
|
||||
textBox13.Location = new Point(12, 505);
|
||||
textBox13.Name = "textBox13";
|
||||
textBox13.Size = new Size(179, 23);
|
||||
textBox13.TabIndex = 36;
|
||||
//
|
||||
// label18
|
||||
//
|
||||
label18.AutoSize = true;
|
||||
label18.ForeColor = Color.White;
|
||||
label18.Location = new Point(12, 444);
|
||||
label18.Name = "label18";
|
||||
label18.Size = new Size(108, 15);
|
||||
label18.TabIndex = 35;
|
||||
label18.Text = "Second Button title";
|
||||
//
|
||||
// textBox14
|
||||
//
|
||||
textBox14.BackColor = Color.FromArgb(25, 27, 29);
|
||||
textBox14.ForeColor = Color.White;
|
||||
textBox14.Location = new Point(12, 462);
|
||||
textBox14.Name = "textBox14";
|
||||
textBox14.Size = new Size(179, 23);
|
||||
textBox14.TabIndex = 34;
|
||||
//
|
||||
// CDS
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackColor = Color.FromArgb(25, 27, 29);
|
||||
ClientSize = new Size(404, 541);
|
||||
Controls.Add(label17);
|
||||
Controls.Add(textBox13);
|
||||
Controls.Add(label18);
|
||||
Controls.Add(textBox14);
|
||||
Controls.Add(label15);
|
||||
Controls.Add(textBox11);
|
||||
Controls.Add(label16);
|
||||
Controls.Add(textBox12);
|
||||
Controls.Add(label13);
|
||||
Controls.Add(checkBox2);
|
||||
Controls.Add(textBox10);
|
||||
Controls.Add(checkBox1);
|
||||
Controls.Add(textBox9);
|
||||
Controls.Add(label14);
|
||||
Controls.Add(textBox8);
|
||||
Controls.Add(label11);
|
||||
Controls.Add(textBox6);
|
||||
Controls.Add(label12);
|
||||
Controls.Add(textBox7);
|
||||
Controls.Add(label10);
|
||||
Controls.Add(textBox5);
|
||||
Controls.Add(label9);
|
||||
Controls.Add(textBox4);
|
||||
Controls.Add(label8);
|
||||
Controls.Add(textBox3);
|
||||
Controls.Add(label7);
|
||||
Controls.Add(textBox2);
|
||||
Controls.Add(label6);
|
||||
Controls.Add(textBox1);
|
||||
Controls.Add(label5);
|
||||
Controls.Add(label4);
|
||||
Controls.Add(label3);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(pictureBox1);
|
||||
Controls.Add(button2);
|
||||
Controls.Add(button1);
|
||||
FormBorderStyle = FormBorderStyle.FixedSingle;
|
||||
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||
Name = "CDS";
|
||||
StartPosition = FormStartPosition.CenterScreen;
|
||||
Text = "Custom Discord Status";
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button button1;
|
||||
private Button button2;
|
||||
private PictureBox pictureBox1;
|
||||
private Label label1;
|
||||
private Label label2;
|
||||
private Label label3;
|
||||
private Label label4;
|
||||
private Label label5;
|
||||
private TextBox textBox1;
|
||||
private Label label6;
|
||||
private Label label7;
|
||||
private TextBox textBox2;
|
||||
private Label label8;
|
||||
private TextBox textBox3;
|
||||
private Label label9;
|
||||
private TextBox textBox4;
|
||||
private Label label10;
|
||||
private TextBox textBox5;
|
||||
private Label label11;
|
||||
private TextBox textBox6;
|
||||
private Label label12;
|
||||
private TextBox textBox7;
|
||||
private TextBox textBox8;
|
||||
private Label label14;
|
||||
private TextBox textBox9;
|
||||
private CheckBox checkBox1;
|
||||
private CheckBox checkBox2;
|
||||
private TextBox textBox10;
|
||||
private Label label13;
|
||||
private Label label15;
|
||||
private TextBox textBox11;
|
||||
private Label label16;
|
||||
private TextBox textBox12;
|
||||
private Label label17;
|
||||
private TextBox textBox13;
|
||||
private Label label18;
|
||||
private TextBox textBox14;
|
||||
}
|
||||
}
|
||||
85
CDS/Forms/CDS.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
using DiscordRPC;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CDS.Forms
|
||||
{
|
||||
public partial class CDS : Form
|
||||
{
|
||||
private DiscordRpcClient discordRpcClient;
|
||||
|
||||
public CDS()
|
||||
{
|
||||
InitializeComponent();
|
||||
InitializeDiscordRpc();
|
||||
}
|
||||
|
||||
private void InitializeDiscordRpc()
|
||||
{
|
||||
discordRpcClient ??= new DiscordRpcClient(textBox1.Text);
|
||||
|
||||
discordRpcClient.OnReady += (sender, e) =>
|
||||
{
|
||||
Console.WriteLine("Discord RPC is ready!");
|
||||
};
|
||||
|
||||
discordRpcClient.OnPresenceUpdate += (sender, e) =>
|
||||
{
|
||||
Console.WriteLine($"Presence updated: {e.Presence}");
|
||||
};
|
||||
|
||||
if (!discordRpcClient.IsInitialized)
|
||||
discordRpcClient.Initialize();
|
||||
|
||||
UpdatePresence();
|
||||
}
|
||||
|
||||
private void UpdatePresence()
|
||||
{
|
||||
var buttons = new List<DiscordRPC.Button>();
|
||||
|
||||
buttons.Add(new()
|
||||
{
|
||||
Label = textBox12.Text ?? "rafaelchasman.ru",
|
||||
Url = textBox11.Text ?? "https://rafaelchasman.ru/"
|
||||
});
|
||||
|
||||
Random random = new Random();
|
||||
discordRpcClient.SetPresence(new RichPresence
|
||||
{
|
||||
Details = textBox2.Text,
|
||||
State = textBox3.Text,
|
||||
Assets = new Assets
|
||||
{
|
||||
LargeImageKey = textBox4.Text,
|
||||
LargeImageText = textBox7.Text,
|
||||
SmallImageKey = textBox5.Text,
|
||||
SmallImageText = textBox6.Text
|
||||
},
|
||||
Buttons = buttons.ToArray(),
|
||||
Party = checkBox2.Checked ? null : new Party
|
||||
{
|
||||
ID = new Random().Next(9999).ToString(),
|
||||
Size = int.Parse(textBox1.Text),
|
||||
Max = int.Parse(textBox2.Text)
|
||||
},
|
||||
Timestamps = checkBox1.Checked ? null : new Timestamps
|
||||
{
|
||||
Start = DateTime.Now.AddHours(-(int.Parse(textBox3.Text) + 2))
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
2189
CDS/Forms/CDS.resx
Normal file
BIN
CDS/Imgs/LargeImg.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
CDS/Imgs/logo.ico
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
CDS/Imgs/logo.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
CDS/Imgs/save.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
CDS/Imgs/update.png
Normal file
|
After Width: | Height: | Size: 516 B |
66
CDS/Program.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using CDS.Forms;
|
||||
using System;
|
||||
using System.Resources;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.PropertyGridInternal;
|
||||
|
||||
namespace CDS
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
private static NotifyIcon trayIcon;
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
ApplicationConfiguration.Initialize();
|
||||
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
Icon formIcon = Properties.Resources.logo;
|
||||
|
||||
|
||||
trayIcon = new NotifyIcon
|
||||
{
|
||||
Icon = formIcon,
|
||||
Text = "CDS Application",
|
||||
Visible = true
|
||||
};
|
||||
|
||||
trayIcon.ContextMenuStrip = new ContextMenuStrip();
|
||||
trayIcon.ContextMenuStrip.Items.Add("Open", null, (sender, e) => ShowMainForm());
|
||||
trayIcon.ContextMenuStrip.Items.Add("Hide", null, (sender, e) => HideApplication());
|
||||
trayIcon.ContextMenuStrip.Items.Add("Exit", null, (sender, e) => ExitApplication());
|
||||
|
||||
trayIcon.DoubleClick += (sender, e) => ShowMainForm();
|
||||
|
||||
Application.Run(new Forms.CDS());
|
||||
}
|
||||
|
||||
private static void ShowMainForm()
|
||||
{
|
||||
if (Application.OpenForms.Count == 0)
|
||||
{
|
||||
Application.Run(new Forms.CDS());
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.OpenForms[0].Show();
|
||||
}
|
||||
}
|
||||
|
||||
private static void ExitApplication()
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
private static void HideApplication()
|
||||
{
|
||||
Application.OpenForms[0].Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Discord_Custom_Status.Properties {
|
||||
namespace CDS.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Discord_Custom_Status.Properties {
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Discord_Custom_Status.Properties.Resources", typeof(Resources).Assembly);
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CDS.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
@@ -63,29 +63,29 @@ namespace Discord_Custom_Status.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap logorafael {
|
||||
internal static System.Drawing.Bitmap LargeImg {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("logorafael", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("LargeImg", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon logo {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("logo", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap pplogo {
|
||||
internal static System.Drawing.Bitmap update {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("pplogo", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap verifylogo {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("verifylogo", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("update", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -118,16 +118,13 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="pplogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\img\pplogo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Imgs\logo.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="verifylogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\img\verifylogo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="update" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Imgs\update.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="logorafael" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\img\logorafael.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="dslogo1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\img\dslogo.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="LargeImg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Imgs\LargeImg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
26
CDS/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CDS.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
CDS/Properties/Settings.settings
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
</SettingsFile>
|
||||
@@ -1,29 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.4.33403.182
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{76643B4C-A716-4C4C-8307-506E23C038C7}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Discord Custom Status", "Discord Custom Status\Discord Custom Status.csproj", "{64B6E288-F510-4221-9189-0AE2B26E53AA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{76643B4C-A716-4C4C-8307-506E23C038C7}.Debug|Any CPU.ActiveCfg = Debug
|
||||
{76643B4C-A716-4C4C-8307-506E23C038C7}.Release|Any CPU.ActiveCfg = Release
|
||||
{64B6E288-F510-4221-9189-0AE2B26E53AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{64B6E288-F510-4221-9189-0AE2B26E53AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{64B6E288-F510-4221-9189-0AE2B26E53AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{64B6E288-F510-4221-9189-0AE2B26E53AA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {D3430E5B-7E90-495C-BBF4-13920447DABB}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,81 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="Discord_Custom_Status.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||
</startup>
|
||||
<userSettings>
|
||||
<Discord_Custom_Status.Properties.Settings>
|
||||
<setting name="ClientID" serializeAs="String">
|
||||
<value>1166755301312180294</value>
|
||||
</setting>
|
||||
<setting name="LargeImageKey" serializeAs="String">
|
||||
<value>_premium_</value>
|
||||
</setting>
|
||||
<setting name="LargeImageText" serializeAs="String">
|
||||
<value>Premium Plus</value>
|
||||
</setting>
|
||||
<setting name="SmallImageKey" serializeAs="String">
|
||||
<value>verified</value>
|
||||
</setting>
|
||||
<setting name="SmallImageText" serializeAs="String">
|
||||
<value>Verified</value>
|
||||
</setting>
|
||||
<setting name="Details" serializeAs="String">
|
||||
<value>Online Shop</value>
|
||||
</setting>
|
||||
<setting name="State" serializeAs="String">
|
||||
<value>premiumplus-il.com</value>
|
||||
</setting>
|
||||
<setting name="PartyIn" serializeAs="String">
|
||||
<value>1</value>
|
||||
</setting>
|
||||
<setting name="PartyMax" serializeAs="String">
|
||||
<value>10</value>
|
||||
</setting>
|
||||
<setting name="Party" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="Timer" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="CustomClientID" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomLargeImgKey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomLargeImgText" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomSmallImgKey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomSmallImgText" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomDetails" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="CustomState" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="Button1Label" serializeAs="String">
|
||||
<value>Check our github</value>
|
||||
</setting>
|
||||
<setting name="Button1Url" serializeAs="String">
|
||||
<value>https://yawaflua.ru/r/gh</value>
|
||||
</setting>
|
||||
<setting name="Button2Label" serializeAs="String">
|
||||
<value>Check our github</value>
|
||||
</setting>
|
||||
<setting name="Button2Url" serializeAs="String">
|
||||
<value>https://github.com/rafael1209</value>
|
||||
</setting>
|
||||
</Discord_Custom_Status.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
@@ -1,740 +0,0 @@
|
||||
namespace Discord_Custom_Status
|
||||
{
|
||||
partial class DiscordCustomStatusForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Обязательная переменная конструктора.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Освободить все используемые ресурсы.
|
||||
/// </summary>
|
||||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Код, автоматически созданный конструктором форм Windows
|
||||
|
||||
/// <summary>
|
||||
/// Требуемый метод для поддержки конструктора — не изменяйте
|
||||
/// содержимое этого метода с помощью редактора кода.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscordCustomStatusForm));
|
||||
runButton = new System.Windows.Forms.Button();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
detailsFild = new System.Windows.Forms.TextBox();
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
label5 = new System.Windows.Forms.Label();
|
||||
smallImgKeyFild = new System.Windows.Forms.TextBox();
|
||||
label6 = new System.Windows.Forms.Label();
|
||||
largeImgKeyFild = new System.Windows.Forms.TextBox();
|
||||
label7 = new System.Windows.Forms.Label();
|
||||
smallImgTextFild = new System.Windows.Forms.TextBox();
|
||||
label8 = new System.Windows.Forms.Label();
|
||||
largeImgTextFild = new System.Windows.Forms.TextBox();
|
||||
checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
label9 = new System.Windows.Forms.Label();
|
||||
stateTextFild = new System.Windows.Forms.TextBox();
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
label10 = new System.Windows.Forms.Label();
|
||||
label11 = new System.Windows.Forms.Label();
|
||||
label12 = new System.Windows.Forms.Label();
|
||||
label13 = new System.Windows.Forms.Label();
|
||||
textBox1 = new System.Windows.Forms.TextBox();
|
||||
checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
label14 = new System.Windows.Forms.Label();
|
||||
textBox2 = new System.Windows.Forms.TextBox();
|
||||
timer = new System.Windows.Forms.Timer(components);
|
||||
textBox3 = new System.Windows.Forms.TextBox();
|
||||
label15 = new System.Windows.Forms.Label();
|
||||
label17 = new System.Windows.Forms.Label();
|
||||
label18 = new System.Windows.Forms.Label();
|
||||
ClientIDFild = new System.Windows.Forms.TextBox();
|
||||
pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
isAddButtonsChecked = new System.Windows.Forms.CheckBox();
|
||||
textBox4 = new System.Windows.Forms.TextBox();
|
||||
label16 = new System.Windows.Forms.Label();
|
||||
label19 = new System.Windows.Forms.Label();
|
||||
label20 = new System.Windows.Forms.Label();
|
||||
textBox5 = new System.Windows.Forms.TextBox();
|
||||
label21 = new System.Windows.Forms.Label();
|
||||
textBox6 = new System.Windows.Forms.TextBox();
|
||||
label22 = new System.Windows.Forms.Label();
|
||||
textBox7 = new System.Windows.Forms.TextBox();
|
||||
checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
button1 = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// runButton
|
||||
//
|
||||
runButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
runButton.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
runButton.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
runButton.Location = new System.Drawing.Point(327, 547);
|
||||
runButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
runButton.Name = "runButton";
|
||||
runButton.Size = new System.Drawing.Size(118, 44);
|
||||
runButton.TabIndex = 0;
|
||||
runButton.Text = "UPDATE";
|
||||
runButton.UseVisualStyleBackColor = false;
|
||||
runButton.Click += runButton_Click;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label1.Location = new System.Drawing.Point(11, 117);
|
||||
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new System.Drawing.Size(52, 15);
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "Client ID";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label2.AutoSize = true;
|
||||
label2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label2.Location = new System.Drawing.Point(251, 117);
|
||||
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(49, 15);
|
||||
label2.TabIndex = 4;
|
||||
label2.Text = "DETAILS";
|
||||
//
|
||||
// detailsFild
|
||||
//
|
||||
detailsFild.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
detailsFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
detailsFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
detailsFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
detailsFild.Location = new System.Drawing.Point(251, 127);
|
||||
detailsFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
detailsFild.MaxLength = 100;
|
||||
detailsFild.Name = "detailsFild";
|
||||
detailsFild.Size = new System.Drawing.Size(195, 23);
|
||||
detailsFild.TabIndex = 3;
|
||||
detailsFild.Text = "Premium Plus";
|
||||
detailsFild.TextChanged += detailsFild_TextChanged;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
label3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label3.AutoSize = true;
|
||||
label3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label3.Location = new System.Drawing.Point(251, 323);
|
||||
label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label3.Name = "label3";
|
||||
label3.Size = new System.Drawing.Size(104, 15);
|
||||
label3.TabIndex = 6;
|
||||
label3.Text = "START TIMESTAMP";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label5.Location = new System.Drawing.Point(8, 322);
|
||||
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new System.Drawing.Size(106, 15);
|
||||
label5.TabIndex = 16;
|
||||
label5.Text = "SMALL IMAGE KEY";
|
||||
//
|
||||
// smallImgKeyFild
|
||||
//
|
||||
smallImgKeyFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
smallImgKeyFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
smallImgKeyFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
smallImgKeyFild.Location = new System.Drawing.Point(11, 341);
|
||||
smallImgKeyFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
smallImgKeyFild.MaxLength = 100;
|
||||
smallImgKeyFild.Name = "smallImgKeyFild";
|
||||
smallImgKeyFild.Size = new System.Drawing.Size(195, 23);
|
||||
smallImgKeyFild.TabIndex = 15;
|
||||
smallImgKeyFild.Text = "verified";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label6.Location = new System.Drawing.Point(11, 187);
|
||||
label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new System.Drawing.Size(104, 15);
|
||||
label6.TabIndex = 14;
|
||||
label6.Text = "LARGE IMAGE KEY";
|
||||
//
|
||||
// largeImgKeyFild
|
||||
//
|
||||
largeImgKeyFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
largeImgKeyFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
largeImgKeyFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
largeImgKeyFild.Location = new System.Drawing.Point(11, 208);
|
||||
largeImgKeyFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
largeImgKeyFild.MaxLength = 100;
|
||||
largeImgKeyFild.Name = "largeImgKeyFild";
|
||||
largeImgKeyFild.Size = new System.Drawing.Size(195, 23);
|
||||
largeImgKeyFild.TabIndex = 13;
|
||||
largeImgKeyFild.Text = "_premium_";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
label7.Location = new System.Drawing.Point(0, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new System.Drawing.Size(100, 23);
|
||||
label7.TabIndex = 49;
|
||||
//
|
||||
// smallImgTextFild
|
||||
//
|
||||
smallImgTextFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
smallImgTextFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
smallImgTextFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
smallImgTextFild.Location = new System.Drawing.Point(11, 404);
|
||||
smallImgTextFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
smallImgTextFild.MaxLength = 100;
|
||||
smallImgTextFild.Name = "smallImgTextFild";
|
||||
smallImgTextFild.Size = new System.Drawing.Size(195, 23);
|
||||
smallImgTextFild.TabIndex = 11;
|
||||
smallImgTextFild.Text = "Verified";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
label8.AutoSize = true;
|
||||
label8.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label8.Location = new System.Drawing.Point(11, 257);
|
||||
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label8.Name = "label8";
|
||||
label8.Size = new System.Drawing.Size(109, 15);
|
||||
label8.TabIndex = 10;
|
||||
label8.Text = "LARGE IMAGE TEXT";
|
||||
//
|
||||
// largeImgTextFild
|
||||
//
|
||||
largeImgTextFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
largeImgTextFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
largeImgTextFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
largeImgTextFild.Location = new System.Drawing.Point(11, 277);
|
||||
largeImgTextFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
largeImgTextFild.MaxLength = 100;
|
||||
largeImgTextFild.Name = "largeImgTextFild";
|
||||
largeImgTextFild.Size = new System.Drawing.Size(195, 23);
|
||||
largeImgTextFild.TabIndex = 9;
|
||||
largeImgTextFild.Text = "Premium Plus";
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
checkBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
checkBox1.AutoSize = true;
|
||||
checkBox1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
checkBox1.Location = new System.Drawing.Point(392, 318);
|
||||
checkBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
checkBox1.Name = "checkBox1";
|
||||
checkBox1.Size = new System.Drawing.Size(64, 19);
|
||||
checkBox1.TabIndex = 17;
|
||||
checkBox1.Text = "Disable";
|
||||
checkBox1.UseVisualStyleBackColor = true;
|
||||
checkBox1.CheckedChanged += checkBox1_CheckedChanged;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
label9.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label9.AutoSize = true;
|
||||
label9.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label9.Location = new System.Drawing.Point(251, 187);
|
||||
label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label9.Name = "label9";
|
||||
label9.Size = new System.Drawing.Size(37, 15);
|
||||
label9.TabIndex = 24;
|
||||
label9.Text = "STATE";
|
||||
//
|
||||
// stateTextFild
|
||||
//
|
||||
stateTextFild.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
stateTextFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
stateTextFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
stateTextFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
stateTextFild.Location = new System.Drawing.Point(251, 208);
|
||||
stateTextFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
stateTextFild.MaxLength = 100;
|
||||
stateTextFild.Name = "stateTextFild";
|
||||
stateTextFild.Size = new System.Drawing.Size(195, 23);
|
||||
stateTextFild.TabIndex = 23;
|
||||
stateTextFild.Text = "https://premiumplus-il.com/";
|
||||
stateTextFild.TextChanged += stateTextFild_TextChanged;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
||||
label4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label4.Location = new System.Drawing.Point(108, 9);
|
||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(128, 20);
|
||||
label4.TabIndex = 27;
|
||||
label4.Text = "Custom Status";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
label10.AutoSize = true;
|
||||
label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
||||
label10.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label10.Location = new System.Drawing.Point(108, 32);
|
||||
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new System.Drawing.Size(173, 20);
|
||||
label10.TabIndex = 28;
|
||||
label10.Text = "Discord Custom Status";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
label11.AutoSize = true;
|
||||
label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
||||
label11.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label11.Location = new System.Drawing.Point(108, 55);
|
||||
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label11.Name = "label11";
|
||||
label11.Size = new System.Drawing.Size(204, 20);
|
||||
label11.TabIndex = 29;
|
||||
label11.Text = "By rafael1209 and yawaflua";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
label12.AutoSize = true;
|
||||
label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 204);
|
||||
label12.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label12.Location = new System.Drawing.Point(108, 80);
|
||||
label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label12.Name = "label12";
|
||||
label12.Size = new System.Drawing.Size(110, 20);
|
||||
label12.TabIndex = 30;
|
||||
label12.Text = "Passed: 00:00";
|
||||
//
|
||||
// label13
|
||||
//
|
||||
label13.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label13.AutoSize = true;
|
||||
label13.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label13.Location = new System.Drawing.Point(251, 257);
|
||||
label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label13.Name = "label13";
|
||||
label13.Size = new System.Drawing.Size(40, 15);
|
||||
label13.TabIndex = 31;
|
||||
label13.Text = "PARTY";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
textBox1.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox1.Location = new System.Drawing.Point(251, 277);
|
||||
textBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
textBox1.MaxLength = 4;
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new System.Drawing.Size(46, 23);
|
||||
textBox1.TabIndex = 32;
|
||||
textBox1.Text = "1";
|
||||
textBox1.TextChanged += textBox1_TextChanged;
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
checkBox2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
checkBox2.AutoSize = true;
|
||||
checkBox2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
checkBox2.Location = new System.Drawing.Point(315, 256);
|
||||
checkBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
checkBox2.Name = "checkBox2";
|
||||
checkBox2.Size = new System.Drawing.Size(64, 19);
|
||||
checkBox2.TabIndex = 33;
|
||||
checkBox2.Text = "Disable";
|
||||
checkBox2.UseVisualStyleBackColor = true;
|
||||
checkBox2.CheckedChanged += checkBox2_CheckedChanged;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label14.AutoSize = true;
|
||||
label14.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label14.Location = new System.Drawing.Point(305, 280);
|
||||
label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new System.Drawing.Size(22, 15);
|
||||
label14.TabIndex = 34;
|
||||
label14.Text = "OF";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
textBox2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
textBox2.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox2.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox2.Location = new System.Drawing.Point(340, 277);
|
||||
textBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
textBox2.MaxLength = 4;
|
||||
textBox2.Name = "textBox2";
|
||||
textBox2.Size = new System.Drawing.Size(46, 23);
|
||||
textBox2.TabIndex = 35;
|
||||
textBox2.Text = "10";
|
||||
textBox2.TextChanged += textBox2_TextChanged;
|
||||
//
|
||||
// timer
|
||||
//
|
||||
timer.Enabled = true;
|
||||
timer.Interval = 1000;
|
||||
timer.Tick += timer_Tick;
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
textBox3.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
textBox3.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox3.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox3.Location = new System.Drawing.Point(329, 341);
|
||||
textBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
textBox3.MaxLength = 2;
|
||||
textBox3.Name = "textBox3";
|
||||
textBox3.Size = new System.Drawing.Size(33, 23);
|
||||
textBox3.TabIndex = 36;
|
||||
textBox3.Text = "0";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
label15.AutoSize = true;
|
||||
label15.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label15.Location = new System.Drawing.Point(370, 344);
|
||||
label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new System.Drawing.Size(65, 15);
|
||||
label15.TabIndex = 37;
|
||||
label15.Text = "hour/s ago";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
label17.AutoSize = true;
|
||||
label17.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label17.Location = new System.Drawing.Point(244, 13);
|
||||
label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label17.Name = "label17";
|
||||
label17.Size = new System.Drawing.Size(37, 15);
|
||||
label17.TabIndex = 39;
|
||||
label17.Text = "v6.0.0";
|
||||
//
|
||||
// label18
|
||||
//
|
||||
label18.AutoSize = true;
|
||||
label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);
|
||||
label18.Location = new System.Drawing.Point(474, 9);
|
||||
label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label18.Name = "label18";
|
||||
label18.Size = new System.Drawing.Size(15, 15);
|
||||
label18.TabIndex = 40;
|
||||
label18.Text = "X";
|
||||
label18.Click += label18_Click;
|
||||
label18.MouseEnter += label18_MouseEnter;
|
||||
label18.MouseLeave += label18_MouseLeave;
|
||||
//
|
||||
// ClientIDFild
|
||||
//
|
||||
ClientIDFild.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
ClientIDFild.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
ClientIDFild.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
ClientIDFild.Location = new System.Drawing.Point(15, 139);
|
||||
ClientIDFild.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
ClientIDFild.MaxLength = 100;
|
||||
ClientIDFild.Name = "ClientIDFild";
|
||||
ClientIDFild.Size = new System.Drawing.Size(191, 23);
|
||||
ClientIDFild.TabIndex = 45;
|
||||
ClientIDFild.Text = "1168313472384249986";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
pictureBox2.Image = Properties.Resources.verifylogo;
|
||||
pictureBox2.Location = new System.Drawing.Point(78, 80);
|
||||
pictureBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
pictureBox2.Name = "pictureBox2";
|
||||
pictureBox2.Size = new System.Drawing.Size(23, 23);
|
||||
pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
pictureBox2.TabIndex = 26;
|
||||
pictureBox2.TabStop = false;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
pictureBox1.Image = Properties.Resources.logorafael;
|
||||
pictureBox1.Location = new System.Drawing.Point(8, 9);
|
||||
pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
pictureBox1.Name = "pictureBox1";
|
||||
pictureBox1.Size = new System.Drawing.Size(93, 92);
|
||||
pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
pictureBox1.TabIndex = 25;
|
||||
pictureBox1.TabStop = false;
|
||||
//
|
||||
// isAddButtonsChecked
|
||||
//
|
||||
isAddButtonsChecked.AutoSize = true;
|
||||
isAddButtonsChecked.Checked = true;
|
||||
isAddButtonsChecked.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
isAddButtonsChecked.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
isAddButtonsChecked.Location = new System.Drawing.Point(251, 406);
|
||||
isAddButtonsChecked.Name = "isAddButtonsChecked";
|
||||
isAddButtonsChecked.Size = new System.Drawing.Size(93, 19);
|
||||
isAddButtonsChecked.TabIndex = 46;
|
||||
isAddButtonsChecked.Text = "Add button1";
|
||||
isAddButtonsChecked.UseVisualStyleBackColor = true;
|
||||
isAddButtonsChecked.CheckedChanged += checkBox4_CheckedChanged;
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
textBox4.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox4.Location = new System.Drawing.Point(11, 453);
|
||||
textBox4.MaxLength = 32;
|
||||
textBox4.Name = "textBox4";
|
||||
textBox4.Size = new System.Drawing.Size(195, 23);
|
||||
textBox4.TabIndex = 48;
|
||||
textBox4.Text = "https://yawaflua.ru/";
|
||||
//
|
||||
// label16
|
||||
//
|
||||
label16.AutoSize = true;
|
||||
label16.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label16.Location = new System.Drawing.Point(11, 383);
|
||||
label16.Name = "label16";
|
||||
label16.Size = new System.Drawing.Size(111, 15);
|
||||
label16.TabIndex = 50;
|
||||
label16.Text = "SMALL IMAGE TEXT";
|
||||
//
|
||||
// label19
|
||||
//
|
||||
label19.AutoSize = true;
|
||||
label19.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label19.Location = new System.Drawing.Point(8, 435);
|
||||
label19.Name = "label19";
|
||||
label19.Size = new System.Drawing.Size(67, 15);
|
||||
label19.TabIndex = 51;
|
||||
label19.Text = "Button Text";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
label20.AutoSize = true;
|
||||
label20.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label20.Location = new System.Drawing.Point(8, 489);
|
||||
label20.Name = "label20";
|
||||
label20.Size = new System.Drawing.Size(67, 15);
|
||||
label20.TabIndex = 53;
|
||||
label20.Text = "Button URL";
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
textBox5.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox5.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox5.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox5.Location = new System.Drawing.Point(11, 510);
|
||||
textBox5.MaxLength = 32;
|
||||
textBox5.Name = "textBox5";
|
||||
textBox5.Size = new System.Drawing.Size(195, 23);
|
||||
textBox5.TabIndex = 52;
|
||||
textBox5.Text = "https://yawaflua.ru/";
|
||||
//
|
||||
// label21
|
||||
//
|
||||
label21.AutoSize = true;
|
||||
label21.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label21.Location = new System.Drawing.Point(251, 489);
|
||||
label21.Name = "label21";
|
||||
label21.Size = new System.Drawing.Size(73, 15);
|
||||
label21.TabIndex = 57;
|
||||
label21.Text = "Button2 URL";
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
textBox6.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox6.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox6.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox6.Location = new System.Drawing.Point(251, 510);
|
||||
textBox6.MaxLength = 32;
|
||||
textBox6.Name = "textBox6";
|
||||
textBox6.Size = new System.Drawing.Size(194, 23);
|
||||
textBox6.TabIndex = 56;
|
||||
textBox6.Text = "https://rafaelchasman.ru/";
|
||||
//
|
||||
// label22
|
||||
//
|
||||
label22.AutoSize = true;
|
||||
label22.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
label22.Location = new System.Drawing.Point(251, 435);
|
||||
label22.Name = "label22";
|
||||
label22.Size = new System.Drawing.Size(73, 15);
|
||||
label22.TabIndex = 55;
|
||||
label22.Text = "Button2 Text";
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
textBox7.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
textBox7.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
textBox7.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
textBox7.Location = new System.Drawing.Point(251, 453);
|
||||
textBox7.MaxLength = 32;
|
||||
textBox7.Name = "textBox7";
|
||||
textBox7.Size = new System.Drawing.Size(194, 23);
|
||||
textBox7.TabIndex = 54;
|
||||
textBox7.Text = "https://rafaelchasman.ru/";
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
checkBox3.AutoSize = true;
|
||||
checkBox3.Checked = true;
|
||||
checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
checkBox3.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
checkBox3.Location = new System.Drawing.Point(353, 406);
|
||||
checkBox3.Name = "checkBox3";
|
||||
checkBox3.Size = new System.Drawing.Size(93, 19);
|
||||
checkBox3.TabIndex = 58;
|
||||
checkBox3.Text = "Add button2";
|
||||
checkBox3.UseVisualStyleBackColor = true;
|
||||
checkBox3.CheckedChanged += checkBox3_CheckedChanged;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
||||
button1.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
button1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
button1.Location = new System.Drawing.Point(11, 547);
|
||||
button1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new System.Drawing.Size(118, 44);
|
||||
button1.TabIndex = 59;
|
||||
button1.Text = "Save settings";
|
||||
button1.UseVisualStyleBackColor = false;
|
||||
button1.Click += SaveSettings;
|
||||
//
|
||||
// DiscordCustomStatusForm
|
||||
//
|
||||
AcceptButton = runButton;
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
ClientSize = new System.Drawing.Size(463, 603);
|
||||
ControlBox = false;
|
||||
Controls.Add(button1);
|
||||
Controls.Add(checkBox3);
|
||||
Controls.Add(label21);
|
||||
Controls.Add(textBox6);
|
||||
Controls.Add(label22);
|
||||
Controls.Add(textBox7);
|
||||
Controls.Add(label20);
|
||||
Controls.Add(textBox5);
|
||||
Controls.Add(label19);
|
||||
Controls.Add(label16);
|
||||
Controls.Add(textBox4);
|
||||
Controls.Add(isAddButtonsChecked);
|
||||
Controls.Add(ClientIDFild);
|
||||
Controls.Add(label18);
|
||||
Controls.Add(label17);
|
||||
Controls.Add(label15);
|
||||
Controls.Add(textBox3);
|
||||
Controls.Add(textBox2);
|
||||
Controls.Add(label14);
|
||||
Controls.Add(checkBox2);
|
||||
Controls.Add(textBox1);
|
||||
Controls.Add(label13);
|
||||
Controls.Add(label12);
|
||||
Controls.Add(label11);
|
||||
Controls.Add(label10);
|
||||
Controls.Add(label4);
|
||||
Controls.Add(pictureBox2);
|
||||
Controls.Add(pictureBox1);
|
||||
Controls.Add(label9);
|
||||
Controls.Add(stateTextFild);
|
||||
Controls.Add(checkBox1);
|
||||
Controls.Add(label5);
|
||||
Controls.Add(smallImgKeyFild);
|
||||
Controls.Add(label6);
|
||||
Controls.Add(largeImgKeyFild);
|
||||
Controls.Add(label7);
|
||||
Controls.Add(smallImgTextFild);
|
||||
Controls.Add(label8);
|
||||
Controls.Add(largeImgTextFild);
|
||||
Controls.Add(label3);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(detailsFild);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(runButton);
|
||||
Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
|
||||
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
MaximumSize = new System.Drawing.Size(479, 642);
|
||||
MinimumSize = new System.Drawing.Size(479, 642);
|
||||
Name = "DiscordCustomStatusForm";
|
||||
Text = "Discord Custom Status";
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button runButton;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox detailsFild;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox smallImgKeyFild;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox largeImgKeyFild;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox smallImgTextFild;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox largeImgTextFild;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.TextBox stateTextFild;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Timer timer;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Label label15;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.TextBox ClientIDFild;
|
||||
private System.Windows.Forms.CheckBox isAddButtonsChecked;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.TextBox textBox5;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.TextBox textBox7;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.Button button1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,339 +0,0 @@
|
||||
using DiscordRPC;
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Reflection.Emit;
|
||||
using System.Windows.Forms;
|
||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||
|
||||
namespace Discord_Custom_Status
|
||||
{
|
||||
public partial class DiscordCustomStatusForm : Form
|
||||
{
|
||||
private DiscordRpcClient discordRpcClient;
|
||||
private NotifyIcon trayIcon;
|
||||
public int secondss;
|
||||
public string customClientID, customLargeImgKey, customSmallImgKey, customLargeImgText, customSmallImgText, customDetails, customState;
|
||||
|
||||
public DiscordCustomStatusForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
LoadSettings(); // Load saved settings on form initialization
|
||||
InitializeDiscordRpc();
|
||||
AddToStartup();
|
||||
InitializeTrayIcon();
|
||||
}
|
||||
private void InitializeTrayIcon()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscordCustomStatusForm));
|
||||
trayIcon = new NotifyIcon();
|
||||
trayIcon.Text = "DCS v6";
|
||||
trayIcon.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon"); ; // Путь к иконке вашего приложения
|
||||
trayIcon.Visible = true;
|
||||
|
||||
// Добавление обработчика щелчка на иконке в лотке
|
||||
trayIcon.MouseClick += TrayIcon_MouseClick;
|
||||
}
|
||||
|
||||
private void TrayIcon_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
// Показать/скрыть форму приложения по щелчку на иконке
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
// Пример:
|
||||
Visible = !Visible;
|
||||
}
|
||||
}
|
||||
private void AddToStartup()
|
||||
{
|
||||
try
|
||||
{
|
||||
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
|
||||
|
||||
// Specify the name you want to give to your program in the registry
|
||||
string appName = "Discord Custom Status";
|
||||
|
||||
// Specify the path to your executable
|
||||
string appPath = Application.ExecutablePath;
|
||||
|
||||
// Add the program to auto-start
|
||||
registryKey.SetValue(appName, appPath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Handle any exceptions, such as insufficient permissions
|
||||
Console.WriteLine($"Error adding to startup: {ex.Message}");
|
||||
}
|
||||
}
|
||||
private void SaveSettings(object l, EventArgs e)
|
||||
{
|
||||
// Save settings
|
||||
Properties.Settings.Default.ClientID = ClientIDFild.Text;
|
||||
Properties.Settings.Default.LargeImageKey = largeImgKeyFild.Text;
|
||||
Properties.Settings.Default.LargeImageText = largeImgTextFild.Text;
|
||||
Properties.Settings.Default.SmallImageKey = smallImgKeyFild.Text;
|
||||
Properties.Settings.Default.SmallImageText = smallImgTextFild.Text;
|
||||
Properties.Settings.Default.Details = detailsFild.Text;
|
||||
Properties.Settings.Default.State = stateTextFild.Text;
|
||||
Properties.Settings.Default.PartyIn = textBox1.Text;
|
||||
Properties.Settings.Default.PartyMax = textBox2.Text;
|
||||
Properties.Settings.Default.Timer = checkBox1.Checked;
|
||||
Properties.Settings.Default.Party = checkBox2.Checked;
|
||||
|
||||
Properties.Settings.Default.CustomClientID = customClientID;
|
||||
Properties.Settings.Default.CustomLargeImgKey = customLargeImgKey;
|
||||
Properties.Settings.Default.CustomLargeImgText = customLargeImgText;
|
||||
Properties.Settings.Default.CustomSmallImgText = customSmallImgKey;
|
||||
Properties.Settings.Default.CustomSmallImgText = customSmallImgText;
|
||||
Properties.Settings.Default.CustomDetails = customDetails;
|
||||
Properties.Settings.Default.CustomState = customState;
|
||||
Properties.Settings.Default.Button1Label = textBox4.Text;
|
||||
Properties.Settings.Default.Button1Url = textBox5.Text;
|
||||
Properties.Settings.Default.Button2Url = textBox6.Text;
|
||||
Properties.Settings.Default.Button2Label = textBox7.Text;
|
||||
MessageBox.Show("Setting saved to next start!");
|
||||
Properties.Settings.Default.Save();
|
||||
|
||||
}
|
||||
private void LoadSettings()
|
||||
{
|
||||
// Load saved settings
|
||||
ClientIDFild.Text = Properties.Settings.Default.ClientID;
|
||||
largeImgKeyFild.Text = Properties.Settings.Default.LargeImageKey;
|
||||
largeImgTextFild.Text = Properties.Settings.Default.LargeImageText;
|
||||
smallImgKeyFild.Text = Properties.Settings.Default.SmallImageKey;
|
||||
smallImgTextFild.Text = Properties.Settings.Default.SmallImageText;
|
||||
detailsFild.Text = Properties.Settings.Default.Details;
|
||||
stateTextFild.Text = Properties.Settings.Default.State;
|
||||
textBox1.Text = Properties.Settings.Default.PartyIn;
|
||||
textBox2.Text = Properties.Settings.Default.PartyMax;
|
||||
checkBox1.Checked = Properties.Settings.Default.Timer;
|
||||
checkBox2.Checked = Properties.Settings.Default.Party;
|
||||
|
||||
customClientID = Properties.Settings.Default.CustomClientID;
|
||||
customLargeImgKey = Properties.Settings.Default.LargeImageKey;
|
||||
customLargeImgText = Properties.Settings.Default.LargeImageText;
|
||||
customSmallImgKey = Properties.Settings.Default.SmallImageKey;
|
||||
customSmallImgText = Properties.Settings.Default.SmallImageText;
|
||||
customDetails = Properties.Settings.Default.CustomDetails;
|
||||
customState = Properties.Settings.Default.CustomState;
|
||||
}
|
||||
|
||||
private void InitializeDiscordRpc()
|
||||
{
|
||||
discordRpcClient ??= new DiscordRpcClient(ClientIDFild.Text);
|
||||
|
||||
discordRpcClient.OnReady += (sender, e) =>
|
||||
{
|
||||
Console.WriteLine("Discord RPC is ready!");
|
||||
};
|
||||
|
||||
discordRpcClient.OnPresenceUpdate += (sender, e) =>
|
||||
{
|
||||
Console.WriteLine($"Presence updated: {e.Presence}");
|
||||
};
|
||||
|
||||
if (!discordRpcClient.IsInitialized)
|
||||
discordRpcClient.Initialize();
|
||||
|
||||
// Set initial presence
|
||||
UpdatePresence();
|
||||
}
|
||||
|
||||
private void UpdatePresence()
|
||||
{
|
||||
DateTime startTime = DateTime.UtcNow;
|
||||
|
||||
var buttons = new List<DiscordRPC.Button>();
|
||||
if (checkBox3.Checked)
|
||||
buttons.Add(new()
|
||||
{
|
||||
Label = textBox7.Text ?? "rafaelchasman.ru",
|
||||
Url = textBox6.Text ?? "https://rafaelchasman.ru"
|
||||
});
|
||||
if (isAddButtonsChecked.Checked)
|
||||
buttons.Add(new()
|
||||
{
|
||||
Label = textBox4.Text ?? "yawaflua.ru",
|
||||
Url = textBox5.Text ?? "https://yawaflua.ru"
|
||||
});
|
||||
if (!discordRpcClient.IsInitialized)
|
||||
discordRpcClient.SetPresence(new RichPresence
|
||||
{
|
||||
Details = detailsFild.Text,
|
||||
State = stateTextFild.Text,
|
||||
Assets = new Assets
|
||||
{
|
||||
LargeImageKey = largeImgKeyFild.Text,
|
||||
LargeImageText = largeImgTextFild.Text,
|
||||
SmallImageKey = smallImgKeyFild.Text,
|
||||
SmallImageText = smallImgTextFild.Text
|
||||
},
|
||||
Buttons = buttons.ToArray(),
|
||||
Party = checkBox2.Checked ? null : new Party
|
||||
{
|
||||
ID = new Random().Next(9999).ToString(),
|
||||
Size = int.Parse(textBox1.Text),
|
||||
Max = int.Parse(textBox2.Text)
|
||||
},
|
||||
Timestamps = checkBox1.Checked ? null : new Timestamps { Start = DateTime.Now.AddHours(-(int.Parse(textBox3.Text) + 2)) }
|
||||
});
|
||||
else
|
||||
{
|
||||
discordRpcClient.UpdateButtons(buttons.ToArray());
|
||||
discordRpcClient.UpdateDetails(detailsFild.Text);
|
||||
discordRpcClient.UpdateState(stateTextFild.Text);
|
||||
discordRpcClient.UpdateLargeAsset(largeImgKeyFild.Text, largeImgTextFild.Text);
|
||||
discordRpcClient.UpdateSmallAsset(smallImgKeyFild.Text, smallImgTextFild.Text);
|
||||
discordRpcClient.UpdateParty(checkBox2.Checked ? null : new Party
|
||||
{
|
||||
ID = new Random().Next(9999).ToString(),
|
||||
Size = int.Parse(textBox1.Text),
|
||||
Max = int.Parse(textBox2.Text)
|
||||
});
|
||||
if (checkBox1.Checked)
|
||||
discordRpcClient.UpdateStartTime(DateTime.Now.AddHours(-(int.Parse(textBox3.Text) + 2)));
|
||||
}
|
||||
}
|
||||
|
||||
private void runButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Dispose of the existing DiscordRpcClient
|
||||
|
||||
|
||||
// Create a new DiscordRpcClient with the updated client ID
|
||||
discordRpcClient ??= new DiscordRpcClient(ClientIDFild.Text);
|
||||
|
||||
// Initialize the new client
|
||||
InitializeDiscordRpc();
|
||||
|
||||
if (checkBox1.Checked)
|
||||
{
|
||||
timer.Enabled = false;
|
||||
secondss = int.Parse(textBox3.Text) * 3600;
|
||||
label12.Text = "Passed 00:00";
|
||||
}
|
||||
else
|
||||
{
|
||||
timer.Enabled = true;
|
||||
secondss = int.Parse(textBox3.Text) * 3600;
|
||||
label12.Text = "Passed 00:00";
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
label12.Visible = !checkBox1.Checked;
|
||||
label16.Enabled = !checkBox1.Checked;
|
||||
textBox3.Enabled = !checkBox1.Checked;
|
||||
label15.Enabled = !checkBox1.Checked;
|
||||
}
|
||||
|
||||
private void detailsFild_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
label10.Text = detailsFild.Text;
|
||||
}
|
||||
|
||||
private void stateTextFild_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!checkBox2.Checked)
|
||||
{
|
||||
label11.Text = stateTextFild.Text + " (" + textBox1.Text + " of " + textBox2.Text + ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
label11.Text = stateTextFild.Text;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox1_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
label11.Text = stateTextFild.Text + " (" + textBox1.Text + " of " + textBox2.Text + ")";
|
||||
if (textBox1.Text == "" || textBox2.Text == "")
|
||||
{
|
||||
textBox1.Text = "1";
|
||||
textBox2.Text = "2";
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox2_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
label11.Text = stateTextFild.Text + " (" + textBox1.Text + " of " + textBox2.Text + ")";
|
||||
if (textBox1.Text == "" || textBox2.Text == "")
|
||||
{
|
||||
textBox1.Text = "1";
|
||||
textBox2.Text = "2";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void checkBox2_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!checkBox2.Checked)
|
||||
{
|
||||
label11.Text = stateTextFild.Text + " (" + textBox1.Text + " of " + textBox2.Text + ")";
|
||||
textBox1.Enabled = true;
|
||||
textBox2.Enabled = true;
|
||||
label14.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
label11.Text = stateTextFild.Text;
|
||||
textBox1.Enabled = false;
|
||||
textBox2.Enabled = false;
|
||||
label14.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void timer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
secondss++;
|
||||
int totalSeconds = secondss;
|
||||
|
||||
int hours = totalSeconds / 3600;
|
||||
int remainingSeconds = totalSeconds % 3600;
|
||||
|
||||
int minutes = remainingSeconds / 60;
|
||||
int seconds = remainingSeconds % 60;
|
||||
|
||||
if (secondss > 3600)
|
||||
{
|
||||
label12.Text = String.Format("Passed {0:D2}:{1:D2}:{2:D2}", hours, minutes, seconds);
|
||||
}
|
||||
else
|
||||
{
|
||||
label12.Text = String.Format("Passed {0:D2}:{1:D2}", minutes, seconds);
|
||||
}
|
||||
}
|
||||
|
||||
private void label18_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Hide();
|
||||
|
||||
}
|
||||
|
||||
private void label18_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
label18.BackColor = Color.Red;
|
||||
}
|
||||
|
||||
private void label18_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
label18.BackColor = Color.White;
|
||||
}
|
||||
|
||||
private void checkBox3_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBox7.Enabled = checkBox3.Checked;
|
||||
textBox6.Enabled = checkBox3.Checked;
|
||||
}
|
||||
private void checkBox4_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
textBox4.Enabled = isAddButtonsChecked.Checked;
|
||||
textBox5.Enabled = isAddButtonsChecked.Checked;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
using Discord_Custom_Status.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Discord_Custom_Status
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Главная точка входа для приложения.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new DiscordCustomStatusForm());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
290
Discord Custom Status/Properties/Settings.Designer.cs
generated
@@ -1,290 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Discord_Custom_Status.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1166755301312180294")]
|
||||
public string ClientID {
|
||||
get {
|
||||
return ((string)(this["ClientID"]));
|
||||
}
|
||||
set {
|
||||
this["ClientID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("_premium_")]
|
||||
public string LargeImageKey {
|
||||
get {
|
||||
return ((string)(this["LargeImageKey"]));
|
||||
}
|
||||
set {
|
||||
this["LargeImageKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Premium Plus")]
|
||||
public string LargeImageText {
|
||||
get {
|
||||
return ((string)(this["LargeImageText"]));
|
||||
}
|
||||
set {
|
||||
this["LargeImageText"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("verified")]
|
||||
public string SmallImageKey {
|
||||
get {
|
||||
return ((string)(this["SmallImageKey"]));
|
||||
}
|
||||
set {
|
||||
this["SmallImageKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Verified")]
|
||||
public string SmallImageText {
|
||||
get {
|
||||
return ((string)(this["SmallImageText"]));
|
||||
}
|
||||
set {
|
||||
this["SmallImageText"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Online Shop")]
|
||||
public string Details {
|
||||
get {
|
||||
return ((string)(this["Details"]));
|
||||
}
|
||||
set {
|
||||
this["Details"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("premiumplus-il.com")]
|
||||
public string State {
|
||||
get {
|
||||
return ((string)(this["State"]));
|
||||
}
|
||||
set {
|
||||
this["State"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1")]
|
||||
public string PartyIn {
|
||||
get {
|
||||
return ((string)(this["PartyIn"]));
|
||||
}
|
||||
set {
|
||||
this["PartyIn"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("10")]
|
||||
public string PartyMax {
|
||||
get {
|
||||
return ((string)(this["PartyMax"]));
|
||||
}
|
||||
set {
|
||||
this["PartyMax"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool Party {
|
||||
get {
|
||||
return ((bool)(this["Party"]));
|
||||
}
|
||||
set {
|
||||
this["Party"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool Timer {
|
||||
get {
|
||||
return ((bool)(this["Timer"]));
|
||||
}
|
||||
set {
|
||||
this["Timer"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomClientID {
|
||||
get {
|
||||
return ((string)(this["CustomClientID"]));
|
||||
}
|
||||
set {
|
||||
this["CustomClientID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomLargeImgKey {
|
||||
get {
|
||||
return ((string)(this["CustomLargeImgKey"]));
|
||||
}
|
||||
set {
|
||||
this["CustomLargeImgKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomLargeImgText {
|
||||
get {
|
||||
return ((string)(this["CustomLargeImgText"]));
|
||||
}
|
||||
set {
|
||||
this["CustomLargeImgText"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomSmallImgKey {
|
||||
get {
|
||||
return ((string)(this["CustomSmallImgKey"]));
|
||||
}
|
||||
set {
|
||||
this["CustomSmallImgKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomSmallImgText {
|
||||
get {
|
||||
return ((string)(this["CustomSmallImgText"]));
|
||||
}
|
||||
set {
|
||||
this["CustomSmallImgText"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomDetails {
|
||||
get {
|
||||
return ((string)(this["CustomDetails"]));
|
||||
}
|
||||
set {
|
||||
this["CustomDetails"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string CustomState {
|
||||
get {
|
||||
return ((string)(this["CustomState"]));
|
||||
}
|
||||
set {
|
||||
this["CustomState"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Check our github")]
|
||||
public string Button1Label {
|
||||
get {
|
||||
return ((string)(this["Button1Label"]));
|
||||
}
|
||||
set {
|
||||
this["Button1Label"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://yawaflua.ru/r/gh")]
|
||||
public string Button1Url {
|
||||
get {
|
||||
return ((string)(this["Button1Url"]));
|
||||
}
|
||||
set {
|
||||
this["Button1Url"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Check our github")]
|
||||
public string Button2Label {
|
||||
get {
|
||||
return ((string)(this["Button2Label"]));
|
||||
}
|
||||
set {
|
||||
this["Button2Label"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://github.com/rafael1209")]
|
||||
public string Button2Url {
|
||||
get {
|
||||
return ((string)(this["Button2Url"]));
|
||||
}
|
||||
set {
|
||||
this["Button2Url"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Discord_Custom_Status.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="ClientID" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">1166755301312180294</Value>
|
||||
</Setting>
|
||||
<Setting Name="LargeImageKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">_premium_</Value>
|
||||
</Setting>
|
||||
<Setting Name="LargeImageText" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Premium Plus</Value>
|
||||
</Setting>
|
||||
<Setting Name="SmallImageKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">verified</Value>
|
||||
</Setting>
|
||||
<Setting Name="SmallImageText" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Verified</Value>
|
||||
</Setting>
|
||||
<Setting Name="Details" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Online Shop</Value>
|
||||
</Setting>
|
||||
<Setting Name="State" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">premiumplus-il.com</Value>
|
||||
</Setting>
|
||||
<Setting Name="PartyIn" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">1</Value>
|
||||
</Setting>
|
||||
<Setting Name="PartyMax" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">10</Value>
|
||||
</Setting>
|
||||
<Setting Name="Party" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="Timer" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="CustomClientID" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomLargeImgKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomLargeImgText" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomSmallImgKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomSmallImgText" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomDetails" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="CustomState" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="Button1Label" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Check our github</Value>
|
||||
</Setting>
|
||||
<Setting Name="Button1Url" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://yawaflua.ru/r/gh</Value>
|
||||
</Setting>
|
||||
<Setting Name="Button2Label" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Check our github</Value>
|
||||
</Setting>
|
||||
<Setting Name="Button2Url" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://github.com/rafael1209</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -1,28 +0,0 @@
|
||||
namespace Discord_Custom_Status.Properties {
|
||||
|
||||
|
||||
// This class allows you to handle specific events on the settings class:
|
||||
// The SettingChanging event is raised before a setting's value is changed.
|
||||
// The PropertyChanged event is raised after a setting's value is changed.
|
||||
// The SettingsLoaded event is raised after the setting values are loaded.
|
||||
// The SettingsSaving event is raised before the setting values are saved.
|
||||
internal sealed partial class Settings {
|
||||
|
||||
public Settings() {
|
||||
// // To add event handlers for saving and changing settings, uncomment the lines below:
|
||||
//
|
||||
// this.SettingChanging += this.SettingChangingEventHandler;
|
||||
//
|
||||
// this.SettingsSaving += this.SettingsSavingEventHandler;
|
||||
//
|
||||
}
|
||||
|
||||
private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
|
||||
// Add code to handle the SettingChangingEvent event here.
|
||||
}
|
||||
|
||||
private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
|
||||
// Add code to handle the SettingsSaving event here.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 789 KiB |
|
Before Width: | Height: | Size: 13 KiB |
@@ -1,904 +0,0 @@
|
||||
"DeployProject"
|
||||
{
|
||||
"VSVersion" = "3:800"
|
||||
"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"
|
||||
"IsWebType" = "8:FALSE"
|
||||
"ProjectName" = "8:DCS - Installer"
|
||||
"LanguageId" = "3:1033"
|
||||
"CodePage" = "3:1252"
|
||||
"UILanguageId" = "3:1033"
|
||||
"SccProjectName" = "8:"
|
||||
"SccLocalPath" = "8:"
|
||||
"SccAuxPath" = "8:"
|
||||
"SccProvider" = "8:"
|
||||
"Hierarchy"
|
||||
{
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_50113305B6062D444BD1C3F26077040F"
|
||||
"OwnerKey" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_A1001BDCBC16260D33A08E85766E378D"
|
||||
"OwnerKey" = "8:_50113305B6062D444BD1C3F26077040F"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_A1001BDCBC16260D33A08E85766E378D"
|
||||
"OwnerKey" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"OwnerKey" = "8:_UNDEFINED"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_CAE156FDC58747C99CAC2B74B508AF1B"
|
||||
"OwnerKey" = "8:_UNDEFINED"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_F45C1C25169CB17B03217A064DCD993D"
|
||||
"OwnerKey" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_UNDEFINED"
|
||||
"OwnerKey" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_UNDEFINED"
|
||||
"OwnerKey" = "8:_50113305B6062D444BD1C3F26077040F"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_UNDEFINED"
|
||||
"OwnerKey" = "8:_A1001BDCBC16260D33A08E85766E378D"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
"Entry"
|
||||
{
|
||||
"MsmKey" = "8:_UNDEFINED"
|
||||
"OwnerKey" = "8:_F45C1C25169CB17B03217A064DCD993D"
|
||||
"MsmSig" = "8:_UNDEFINED"
|
||||
}
|
||||
}
|
||||
"Configurations"
|
||||
{
|
||||
"Debug"
|
||||
{
|
||||
"DisplayName" = "8:Debug"
|
||||
"IsDebugOnly" = "11:TRUE"
|
||||
"IsReleaseOnly" = "11:FALSE"
|
||||
"OutputFilename" = "8:Debug\\Setup.msi"
|
||||
"PackageFilesAs" = "3:2"
|
||||
"PackageFileSize" = "3:-2147483648"
|
||||
"CabType" = "3:1"
|
||||
"Compression" = "3:2"
|
||||
"SignOutput" = "11:FALSE"
|
||||
"CertificateFile" = "8:"
|
||||
"PrivateKeyFile" = "8:"
|
||||
"TimeStampServer" = "8:"
|
||||
"InstallerBootstrapper" = "3:2"
|
||||
"BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
|
||||
{
|
||||
"Enabled" = "11:TRUE"
|
||||
"PromptEnabled" = "11:TRUE"
|
||||
"PrerequisitesLocation" = "2:1"
|
||||
"Url" = "8:"
|
||||
"ComponentsUrl" = "8:"
|
||||
"Items"
|
||||
{
|
||||
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.7.2"
|
||||
{
|
||||
"Name" = "8:Microsoft .NET Framework 4.7.2 (x86 and x64)"
|
||||
"ProductCode" = "8:.NETFramework,Version=v4.7.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"Release"
|
||||
{
|
||||
"DisplayName" = "8:Release"
|
||||
"IsDebugOnly" = "11:FALSE"
|
||||
"IsReleaseOnly" = "11:TRUE"
|
||||
"OutputFilename" = "8:Release\\Setup.msi"
|
||||
"PackageFilesAs" = "3:2"
|
||||
"PackageFileSize" = "3:-2147483648"
|
||||
"CabType" = "3:1"
|
||||
"Compression" = "3:2"
|
||||
"SignOutput" = "11:FALSE"
|
||||
"CertificateFile" = "8:"
|
||||
"PrivateKeyFile" = "8:"
|
||||
"TimeStampServer" = "8:"
|
||||
"InstallerBootstrapper" = "3:2"
|
||||
"BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
|
||||
{
|
||||
"Enabled" = "11:TRUE"
|
||||
"PromptEnabled" = "11:TRUE"
|
||||
"PrerequisitesLocation" = "2:1"
|
||||
"Url" = "8:"
|
||||
"ComponentsUrl" = "8:"
|
||||
"Items"
|
||||
{
|
||||
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:.NETFramework,Version=v4.7.2"
|
||||
{
|
||||
"Name" = "8:Microsoft .NET Framework 4.7.2 (x86 and x64)"
|
||||
"ProductCode" = "8:.NETFramework,Version=v4.7.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"Deployable"
|
||||
{
|
||||
"CustomAction"
|
||||
{
|
||||
}
|
||||
"DefaultFeature"
|
||||
{
|
||||
"Name" = "8:DefaultFeature"
|
||||
"Title" = "8:"
|
||||
"Description" = "8:"
|
||||
}
|
||||
"ExternalPersistence"
|
||||
{
|
||||
"LaunchCondition"
|
||||
{
|
||||
"{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_5A82CBDE24204A04B4E336E6AF148B1B"
|
||||
{
|
||||
"Name" = "8:.NET Framework"
|
||||
"Message" = "8:[VSDNETMSG]"
|
||||
"FrameworkVersion" = "8:.NETFramework,Version=v4.7.2"
|
||||
"AllowLaterVersions" = "11:FALSE"
|
||||
"InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=863262"
|
||||
}
|
||||
}
|
||||
}
|
||||
"File"
|
||||
{
|
||||
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_50113305B6062D444BD1C3F26077040F"
|
||||
{
|
||||
"AssemblyRegister" = "3:1"
|
||||
"AssemblyIsInGAC" = "11:FALSE"
|
||||
"AssemblyAsmDisplayName" = "8:DiscordRPC, Version=1.2.1.24, Culture=neutral, processorArchitecture=MSIL"
|
||||
"ScatterAssemblies"
|
||||
{
|
||||
"_50113305B6062D444BD1C3F26077040F"
|
||||
{
|
||||
"Name" = "8:DiscordRPC.dll"
|
||||
"Attributes" = "3:512"
|
||||
}
|
||||
}
|
||||
"SourcePath" = "8:DiscordRPC.dll"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Vital" = "11:TRUE"
|
||||
"ReadOnly" = "11:FALSE"
|
||||
"Hidden" = "11:FALSE"
|
||||
"System" = "11:FALSE"
|
||||
"Permanent" = "11:FALSE"
|
||||
"SharedLegacy" = "11:FALSE"
|
||||
"PackageAs" = "3:1"
|
||||
"Register" = "3:1"
|
||||
"Exclude" = "11:FALSE"
|
||||
"IsDependency" = "11:TRUE"
|
||||
"IsolateTo" = "8:"
|
||||
}
|
||||
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A1001BDCBC16260D33A08E85766E378D"
|
||||
{
|
||||
"AssemblyRegister" = "3:1"
|
||||
"AssemblyIsInGAC" = "11:FALSE"
|
||||
"AssemblyAsmDisplayName" = "8:Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"
|
||||
"ScatterAssemblies"
|
||||
{
|
||||
"_A1001BDCBC16260D33A08E85766E378D"
|
||||
{
|
||||
"Name" = "8:Newtonsoft.Json.dll"
|
||||
"Attributes" = "3:512"
|
||||
}
|
||||
}
|
||||
"SourcePath" = "8:Newtonsoft.Json.dll"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Vital" = "11:TRUE"
|
||||
"ReadOnly" = "11:FALSE"
|
||||
"Hidden" = "11:FALSE"
|
||||
"System" = "11:FALSE"
|
||||
"Permanent" = "11:FALSE"
|
||||
"SharedLegacy" = "11:FALSE"
|
||||
"PackageAs" = "3:1"
|
||||
"Register" = "3:1"
|
||||
"Exclude" = "11:FALSE"
|
||||
"IsDependency" = "11:TRUE"
|
||||
"IsolateTo" = "8:"
|
||||
}
|
||||
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CAE156FDC58747C99CAC2B74B508AF1B"
|
||||
{
|
||||
"SourcePath" = "8:..\\Discord Custom Status\\img\\dslogo.ico"
|
||||
"TargetName" = "8:dslogo.ico"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Vital" = "11:TRUE"
|
||||
"ReadOnly" = "11:FALSE"
|
||||
"Hidden" = "11:FALSE"
|
||||
"System" = "11:FALSE"
|
||||
"Permanent" = "11:FALSE"
|
||||
"SharedLegacy" = "11:FALSE"
|
||||
"PackageAs" = "3:1"
|
||||
"Register" = "3:1"
|
||||
"Exclude" = "11:FALSE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"IsolateTo" = "8:"
|
||||
}
|
||||
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F45C1C25169CB17B03217A064DCD993D"
|
||||
{
|
||||
"AssemblyRegister" = "3:1"
|
||||
"AssemblyIsInGAC" = "11:FALSE"
|
||||
"AssemblyAsmDisplayName" = "8:System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
|
||||
"ScatterAssemblies"
|
||||
{
|
||||
"_F45C1C25169CB17B03217A064DCD993D"
|
||||
{
|
||||
"Name" = "8:System.Net.Http.dll"
|
||||
"Attributes" = "3:512"
|
||||
}
|
||||
}
|
||||
"SourcePath" = "8:System.Net.Http.dll"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Vital" = "11:TRUE"
|
||||
"ReadOnly" = "11:FALSE"
|
||||
"Hidden" = "11:FALSE"
|
||||
"System" = "11:FALSE"
|
||||
"Permanent" = "11:FALSE"
|
||||
"SharedLegacy" = "11:FALSE"
|
||||
"PackageAs" = "3:1"
|
||||
"Register" = "3:1"
|
||||
"Exclude" = "11:FALSE"
|
||||
"IsDependency" = "11:TRUE"
|
||||
"IsolateTo" = "8:"
|
||||
}
|
||||
}
|
||||
"FileType"
|
||||
{
|
||||
}
|
||||
"Folder"
|
||||
{
|
||||
"{3C67513D-01DD-4637-8A68-80971EB9504F}:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
{
|
||||
"DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]"
|
||||
"Name" = "8:#1925"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Property" = "8:TARGETDIR"
|
||||
"Folders"
|
||||
{
|
||||
}
|
||||
}
|
||||
"{1525181F-901A-416C-8A58-119130FE478E}:_83F597640DED42B9A216090D9E9889B6"
|
||||
{
|
||||
"Name" = "8:#1919"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Property" = "8:ProgramMenuFolder"
|
||||
"Folders"
|
||||
{
|
||||
}
|
||||
}
|
||||
"{1525181F-901A-416C-8A58-119130FE478E}:_AC27C2E9ABF748F99242A7A9F79AABB0"
|
||||
{
|
||||
"Name" = "8:#1916"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Property" = "8:DesktopFolder"
|
||||
"Folders"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
"LaunchCondition"
|
||||
{
|
||||
}
|
||||
"Locator"
|
||||
{
|
||||
}
|
||||
"MsiBootstrapper"
|
||||
{
|
||||
"LangId" = "3:1033"
|
||||
"RequiresElevation" = "11:FALSE"
|
||||
}
|
||||
"Product"
|
||||
{
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:Custom Discord Status"
|
||||
"ProductCode" = "8:{14EF19A4-10E2-41A7-957F-8103E7AE0A0F}"
|
||||
"PackageCode" = "8:{FD4F366D-5448-4C15-ACB4-24E54E7CAECD}"
|
||||
"UpgradeCode" = "8:{4FB99BE1-7F2B-4C95-A3F7-8EC9CD3D750E}"
|
||||
"AspNetVersion" = "8:4.0.30319.0"
|
||||
"RestartWWWService" = "11:FALSE"
|
||||
"RemovePreviousVersions" = "11:FALSE"
|
||||
"DetectNewerInstalledVersion" = "11:TRUE"
|
||||
"InstallAllUsers" = "11:FALSE"
|
||||
"ProductVersion" = "8:5.0.5"
|
||||
"Manufacturer" = "8:Rafaello Inc."
|
||||
"ARPHELPTELEPHONE" = "8:"
|
||||
"ARPHELPLINK" = "8:"
|
||||
"Title" = "8:Setup CDS"
|
||||
"Subject" = "8:"
|
||||
"ARPCONTACT" = "8:Rafaello"
|
||||
"Keywords" = "8:"
|
||||
"ARPCOMMENTS" = "8:"
|
||||
"ARPURLINFOABOUT" = "8:"
|
||||
"ARPPRODUCTICON" = "8:"
|
||||
"ARPIconIndex" = "3:0"
|
||||
"SearchPath" = "8:"
|
||||
"UseSystemSearchPath" = "11:TRUE"
|
||||
"TargetPlatform" = "3:0"
|
||||
"PreBuildEvent" = "8:"
|
||||
"PostBuildEvent" = "8:"
|
||||
"RunPostBuildEvent" = "3:0"
|
||||
}
|
||||
"Registry"
|
||||
{
|
||||
"HKLM"
|
||||
{
|
||||
"Keys"
|
||||
{
|
||||
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_9634F4021C104FBCB487BA195BF227E9"
|
||||
{
|
||||
"Name" = "8:Software"
|
||||
"Condition" = "8:"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"DeleteAtUninstall" = "11:FALSE"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Keys"
|
||||
{
|
||||
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_0B15268162C446E79B6292D549B55C99"
|
||||
{
|
||||
"Name" = "8:[Manufacturer]"
|
||||
"Condition" = "8:"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"DeleteAtUninstall" = "11:FALSE"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Keys"
|
||||
{
|
||||
}
|
||||
"Values"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
"Values"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"HKCU"
|
||||
{
|
||||
"Keys"
|
||||
{
|
||||
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_257FD72AC8A1485D9AD8AD1A94C28E0B"
|
||||
{
|
||||
"Name" = "8:Software"
|
||||
"Condition" = "8:"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"DeleteAtUninstall" = "11:FALSE"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Keys"
|
||||
{
|
||||
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_9B9CB874C31B4DD09273144144CD18DE"
|
||||
{
|
||||
"Name" = "8:[Manufacturer]"
|
||||
"Condition" = "8:"
|
||||
"AlwaysCreate" = "11:FALSE"
|
||||
"DeleteAtUninstall" = "11:FALSE"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Keys"
|
||||
{
|
||||
}
|
||||
"Values"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
"Values"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"HKCR"
|
||||
{
|
||||
"Keys"
|
||||
{
|
||||
}
|
||||
}
|
||||
"HKU"
|
||||
{
|
||||
"Keys"
|
||||
{
|
||||
}
|
||||
}
|
||||
"HKPU"
|
||||
{
|
||||
"Keys"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
"Sequences"
|
||||
{
|
||||
}
|
||||
"Shortcut"
|
||||
{
|
||||
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_4C605521032C411FB1ACB89FC85077EE"
|
||||
{
|
||||
"Name" = "8:Custom Discord Status"
|
||||
"Arguments" = "8:"
|
||||
"Description" = "8:"
|
||||
"ShowCmd" = "3:1"
|
||||
"IconIndex" = "3:0"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Target" = "8:_ADC92BEB793C49CE98493488B9A08087"
|
||||
"Folder" = "8:_AC27C2E9ABF748F99242A7A9F79AABB0"
|
||||
"WorkingFolder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Icon" = "8:_CAE156FDC58747C99CAC2B74B508AF1B"
|
||||
"Feature" = "8:"
|
||||
}
|
||||
}
|
||||
"UserInterface"
|
||||
{
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_30575E4F4F9D42FD92240356FA3D6572"
|
||||
{
|
||||
"Name" = "8:#1901"
|
||||
"Sequence" = "3:2"
|
||||
"Attributes" = "3:2"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7A53BA3DD6FD4CF2BD4B645792982247"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Progress"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminProgressDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"ShowProgress"
|
||||
{
|
||||
"Name" = "8:ShowProgress"
|
||||
"DisplayName" = "8:#1009"
|
||||
"Description" = "8:#1109"
|
||||
"Type" = "3:5"
|
||||
"ContextData" = "8:1;True=1;False=0"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:0"
|
||||
"Value" = "3:1"
|
||||
"DefaultValue" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_3BCF4DF8434F486F8AE7203C019187E9"
|
||||
{
|
||||
"Name" = "8:#1902"
|
||||
"Sequence" = "3:1"
|
||||
"Attributes" = "3:3"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3935095436D94B40ACEBB1912A89F8D9"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Finished"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdFinishedDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"UpdateText"
|
||||
{
|
||||
"Name" = "8:UpdateText"
|
||||
"DisplayName" = "8:#1058"
|
||||
"Description" = "8:#1158"
|
||||
"Type" = "3:15"
|
||||
"ContextData" = "8:"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:1"
|
||||
"Value" = "8:#1258"
|
||||
"DefaultValue" = "8:#1258"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_751E1291FC744E61BF4D9A093320C82D"
|
||||
{
|
||||
"UseDynamicProperties" = "11:FALSE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim"
|
||||
}
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_8C5C418C655C48F8AA316B71767BA6D7"
|
||||
{
|
||||
"Name" = "8:#1902"
|
||||
"Sequence" = "3:2"
|
||||
"Attributes" = "3:3"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3BD0D0D6491C433FBCA7F4F9347D9692"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Finished"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminFinishedDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_AD912C7023174DD68FFE9F8D4DFC37DF"
|
||||
{
|
||||
"UseDynamicProperties" = "11:FALSE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim"
|
||||
}
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_AF906EEFF3C248B29DBB777E7E685023"
|
||||
{
|
||||
"Name" = "8:#1900"
|
||||
"Sequence" = "3:2"
|
||||
"Attributes" = "3:1"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_36D3603FEFD04254B49257EA78A8FC58"
|
||||
{
|
||||
"Sequence" = "3:200"
|
||||
"DisplayName" = "8:Installation Folder"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminFolderDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D540B6CC03154B7E9A74D6B85BDDB5C0"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Welcome"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminWelcomeDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"CopyrightWarning"
|
||||
{
|
||||
"Name" = "8:CopyrightWarning"
|
||||
"DisplayName" = "8:#1002"
|
||||
"Description" = "8:#1102"
|
||||
"Type" = "3:3"
|
||||
"ContextData" = "8:"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:1"
|
||||
"Value" = "8:#1202"
|
||||
"DefaultValue" = "8:#1202"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"Welcome"
|
||||
{
|
||||
"Name" = "8:Welcome"
|
||||
"DisplayName" = "8:#1003"
|
||||
"Description" = "8:#1103"
|
||||
"Type" = "3:3"
|
||||
"ContextData" = "8:"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:1"
|
||||
"Value" = "8:#1203"
|
||||
"DefaultValue" = "8:#1203"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E89D74CFB21B4B328FA02C9AD72FA9D3"
|
||||
{
|
||||
"Sequence" = "3:300"
|
||||
"DisplayName" = "8:Confirm Installation"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdAdminConfirmDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_BE1BD0F90E96424BBF9C7FA888B429DE"
|
||||
{
|
||||
"Name" = "8:#1901"
|
||||
"Sequence" = "3:1"
|
||||
"Attributes" = "3:2"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66D5F2769EA24F7AA71D252BD0590D83"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Progress"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdProgressDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"ShowProgress"
|
||||
{
|
||||
"Name" = "8:ShowProgress"
|
||||
"DisplayName" = "8:#1009"
|
||||
"Description" = "8:#1109"
|
||||
"Type" = "3:5"
|
||||
"ContextData" = "8:1;True=1;False=0"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:0"
|
||||
"Value" = "3:1"
|
||||
"DefaultValue" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"{DF760B10-853B-4699-99F2-AFF7185B4A62}:_FDD6640B3B504A85ACDA19A4BE20526E"
|
||||
{
|
||||
"Name" = "8:#1900"
|
||||
"Sequence" = "3:1"
|
||||
"Attributes" = "3:1"
|
||||
"Dialogs"
|
||||
{
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3661461F23D1400E850D5FD4C60F9B2A"
|
||||
{
|
||||
"Sequence" = "3:100"
|
||||
"DisplayName" = "8:Welcome"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdWelcomeDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"CopyrightWarning"
|
||||
{
|
||||
"Name" = "8:CopyrightWarning"
|
||||
"DisplayName" = "8:#1002"
|
||||
"Description" = "8:#1102"
|
||||
"Type" = "3:3"
|
||||
"ContextData" = "8:"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:1"
|
||||
"Value" = "8:#1202"
|
||||
"DefaultValue" = "8:#1202"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"Welcome"
|
||||
{
|
||||
"Name" = "8:Welcome"
|
||||
"DisplayName" = "8:#1003"
|
||||
"Description" = "8:#1103"
|
||||
"Type" = "3:3"
|
||||
"ContextData" = "8:"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:1"
|
||||
"Value" = "8:#1203"
|
||||
"DefaultValue" = "8:#1203"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_606B221C51C34F40A87246F89C68C27A"
|
||||
{
|
||||
"Sequence" = "3:200"
|
||||
"DisplayName" = "8:Installation Folder"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdFolderDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
"InstallAllUsersVisible"
|
||||
{
|
||||
"Name" = "8:InstallAllUsersVisible"
|
||||
"DisplayName" = "8:#1059"
|
||||
"Description" = "8:#1159"
|
||||
"Type" = "3:5"
|
||||
"ContextData" = "8:1;True=1;False=0"
|
||||
"Attributes" = "3:0"
|
||||
"Setting" = "3:0"
|
||||
"Value" = "3:1"
|
||||
"DefaultValue" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
"{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_D643F3F01CF842638E50D028E5F4656D"
|
||||
{
|
||||
"Sequence" = "3:300"
|
||||
"DisplayName" = "8:Confirm Installation"
|
||||
"UseDynamicProperties" = "11:TRUE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"SourcePath" = "8:<VsdDialogDir>\\VsdConfirmDlg.wid"
|
||||
"Properties"
|
||||
{
|
||||
"BannerBitmap"
|
||||
{
|
||||
"Name" = "8:BannerBitmap"
|
||||
"DisplayName" = "8:#1001"
|
||||
"Description" = "8:#1101"
|
||||
"Type" = "3:8"
|
||||
"ContextData" = "8:Bitmap"
|
||||
"Attributes" = "3:4"
|
||||
"Setting" = "3:1"
|
||||
"UsePlugInResources" = "11:TRUE"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"MergeModule"
|
||||
{
|
||||
}
|
||||
"ProjectOutput"
|
||||
{
|
||||
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_ADC92BEB793C49CE98493488B9A08087"
|
||||
{
|
||||
"SourcePath" = "8:..\\Discord Custom Status\\obj\\Debug\\Discord Custom Status.exe"
|
||||
"TargetName" = "8:"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_61666FF4F2D943F7B612A6534CD8C02E"
|
||||
"Condition" = "8:"
|
||||
"Transitive" = "11:FALSE"
|
||||
"Vital" = "11:TRUE"
|
||||
"ReadOnly" = "11:FALSE"
|
||||
"Hidden" = "11:FALSE"
|
||||
"System" = "11:FALSE"
|
||||
"Permanent" = "11:FALSE"
|
||||
"SharedLegacy" = "11:FALSE"
|
||||
"PackageAs" = "3:1"
|
||||
"Register" = "3:1"
|
||||
"Exclude" = "11:FALSE"
|
||||
"IsDependency" = "11:FALSE"
|
||||
"IsolateTo" = "8:"
|
||||
"ProjectOutputGroupRegister" = "3:1"
|
||||
"OutputConfiguration" = "8:"
|
||||
"OutputGroupCanonicalName" = "8:Built"
|
||||
"OutputProjectGuid" = "8:{B07BB826-E59D-4B9C-9234-9465893293A6}"
|
||||
"ShowKeyOutput" = "11:TRUE"
|
||||
"ExcludeFilters"
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||