80 lines
2.6 KiB
C#
80 lines
2.6 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Raton.Forms.ClientForms.Monitor.ratonGPS
|
|
// 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 Server.Connection;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
#nullable disable
|
|
namespace Raton.Forms.ClientForms.Monitor;
|
|
|
|
public class ratonGPS : Form
|
|
{
|
|
private IContainer components;
|
|
private Timer timer1;
|
|
private Timer timer2;
|
|
public Label label1;
|
|
|
|
public SillyClient SillyClient { get; set; }
|
|
|
|
public ratonGPS()
|
|
{
|
|
this.InitializeComponent();
|
|
DarkMode.Start((Form) this);
|
|
}
|
|
|
|
private void ratonGPS_Load(object sender, EventArgs e) => this.timer1.Start();
|
|
|
|
private void timer1_Tick(object sender, EventArgs e)
|
|
{
|
|
if (this.SillyClient != null && this.SillyClient.isConnected())
|
|
return;
|
|
this.Close();
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && this.components != null)
|
|
this.components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = (IContainer) new System.ComponentModel.Container();
|
|
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ratonGPS));
|
|
this.timer1 = new Timer(this.components);
|
|
this.timer2 = new Timer(this.components);
|
|
this.label1 = new Label();
|
|
this.SuspendLayout();
|
|
this.timer1.Tick += new EventHandler(this.timer1_Tick);
|
|
this.timer2.Interval = 10000;
|
|
this.label1.BackColor = Color.Transparent;
|
|
this.label1.Font = new Font("Microsoft JhengHei", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
|
this.label1.Location = new Point(0, 219);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new Size(656, 23);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Please wait...";
|
|
this.label1.TextAlign = ContentAlignment.MiddleCenter;
|
|
this.AutoScaleDimensions = new SizeF(6f, 13f);
|
|
this.AutoScaleMode = AutoScaleMode.Font;
|
|
this.ClientSize = new Size(656, 453);
|
|
this.Controls.Add((Control) this.label1);
|
|
this.FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
|
|
this.MaximizeBox = false;
|
|
this.Name = nameof (ratonGPS);
|
|
this.StartPosition = FormStartPosition.CenterScreen;
|
|
this.Text = nameof (ratonGPS);
|
|
this.Load += new EventHandler(this.ratonGPS_Load);
|
|
this.ResumeLayout(false);
|
|
}
|
|
}
|