119 lines
4.7 KiB
C#
119 lines
4.7 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Raton.Forms.ClientForms.Dialogs.inputDialog
|
|
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
|
|
|
|
using Raton.Classes;
|
|
using Raton.Properties;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
#nullable disable
|
|
namespace Raton.Forms.ClientForms.Dialogs;
|
|
|
|
public class inputDialog : Form
|
|
{
|
|
private IContainer components;
|
|
public Label label1;
|
|
public TextBox textBox1;
|
|
private RgbBuildButton rgbBuildButton1;
|
|
private RgbBuildButton rgbBuildButton2;
|
|
|
|
public inputDialog()
|
|
{
|
|
this.InitializeComponent();
|
|
DarkMode.Start((Form) this);
|
|
}
|
|
|
|
private void inputDialog_Load(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void inputDialog_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
if (this.DialogResult != DialogResult.None)
|
|
return;
|
|
this.DialogResult = DialogResult.Cancel;
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e) => this.DialogResult = DialogResult.OK;
|
|
|
|
private void button2_Click(object sender, EventArgs e) => this.DialogResult = DialogResult.Cancel;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && this.components != null)
|
|
this.components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (inputDialog));
|
|
this.label1 = new Label();
|
|
this.textBox1 = new TextBox();
|
|
this.rgbBuildButton1 = new RgbBuildButton();
|
|
this.rgbBuildButton2 = new RgbBuildButton();
|
|
this.SuspendLayout();
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new Point(13, 13);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new Size(128 /*0x80*/, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Please enter your input";
|
|
this.textBox1.BorderStyle = BorderStyle.FixedSingle;
|
|
this.textBox1.Font = new Font("Microsoft JhengHei", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|
this.textBox1.Location = new Point(16 /*0x10*/, 31 /*0x1F*/);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new Size(413, 23);
|
|
this.textBox1.TabIndex = 1;
|
|
this.rgbBuildButton1.Cursor = Cursors.Arrow;
|
|
this.rgbBuildButton1.Font = new Font("Segoe UI Semibold", 10.5f);
|
|
this.rgbBuildButton1.ForeColor = Color.White;
|
|
this.rgbBuildButton1.Icon = (Image) Resources.ic_fluent_person_available_24_filled;
|
|
this.rgbBuildButton1.IconSize = 23;
|
|
this.rgbBuildButton1.IconSpacing = 8;
|
|
this.rgbBuildButton1.Location = new Point(16 /*0x10*/, 60);
|
|
this.rgbBuildButton1.Name = "rgbBuildButton1";
|
|
this.rgbBuildButton1.Size = new Size(413, 46);
|
|
this.rgbBuildButton1.TabIndex = 2;
|
|
this.rgbBuildButton1.Text = "Accept";
|
|
this.rgbBuildButton1.Click += new EventHandler(this.button1_Click);
|
|
this.rgbBuildButton2.Cursor = Cursors.Arrow;
|
|
this.rgbBuildButton2.Font = new Font("Segoe UI Semibold", 10.5f);
|
|
this.rgbBuildButton2.ForeColor = Color.White;
|
|
this.rgbBuildButton2.Icon = (Image) Resources.ic_fluent_person_delete_24_filled;
|
|
this.rgbBuildButton2.IconSize = 23;
|
|
this.rgbBuildButton2.IconSpacing = 8;
|
|
this.rgbBuildButton2.Location = new Point(16 /*0x10*/, 112 /*0x70*/);
|
|
this.rgbBuildButton2.Name = "rgbBuildButton2";
|
|
this.rgbBuildButton2.Size = new Size(413, 46);
|
|
this.rgbBuildButton2.TabIndex = 3;
|
|
this.rgbBuildButton2.Text = "Cancel";
|
|
this.rgbBuildButton2.Click += new EventHandler(this.button2_Click);
|
|
this.AutoScaleDimensions = new SizeF(7f, 15f);
|
|
this.AutoScaleMode = AutoScaleMode.Font;
|
|
this.ClientSize = new Size(446, 174);
|
|
this.ControlBox = true;
|
|
this.Controls.Add((Control) this.textBox1);
|
|
this.Controls.Add((Control) this.rgbBuildButton2);
|
|
this.Controls.Add((Control) this.rgbBuildButton1);
|
|
this.Controls.Add((Control) this.label1);
|
|
this.Font = new Font("Microsoft JhengHei", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|
this.FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
|
|
this.Name = nameof (inputDialog);
|
|
this.StartPosition = FormStartPosition.CenterScreen;
|
|
this.Text = nameof (inputDialog);
|
|
this.Load += new EventHandler(this.inputDialog_Load);
|
|
this.FormClosing += new FormClosingEventHandler(this.inputDialog_FormClosing);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
}
|
|
}
|