MalwareSourceCode/MSIL/Virus/Win32/L/Virus.Win32.Lykov.b-5b4c66fd4c89a7645d7912c18b43ddd7b8db068aa896fea714881ce355eaf833/modGlobal.cs

68 lines
2.3 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: Boggle.modGlobal
// Assembly: Boggle, Version=1.0.1320.31511, Culture=neutral, PublicKeyToken=null
// MVID: B8BB850A-887A-43B2-B89D-3D1301289D01
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Virus.Win32.Lykov.b-5b4c66fd4c89a7645d7912c18b43ddd7b8db068aa896fea714881ce355eaf833.exe
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System.Data.OleDb;
using System.Windows.Forms;
namespace Boggle
{
[StandardModule]
internal sealed class modGlobal
{
public static string AppPath = Strings.Mid(Application.StartupPath, 1, Strings.InStr(Application.StartupPath, "\\Boggle")) + Application.ProductName;
public static OleDbConnection conBoggle = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Password=\"\";User ID=Admin;Data Source=" + modGlobal.AppPath + "\\Boggle.mdb;Mode=Share Deny None;Extended Properties=" + "\"" + "\"" + ";Jet OLEDB:System database=" + "\"" + "\"" + ";Jet OLEDB:Registry Path=" + "\"" + "\"" + ";Jet OLEDB:Database Password=" + "\"" + "\"" + ";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=" + "\"" + "\"" + ";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False");
public static OleDbCommand cmdBog = new OleDbCommand("Space Fill", modGlobal.conBoggle);
public static CubesCollection Cubes = new CubesCollection();
public static Cube myCube;
public static modGlobal.Mode GameMode;
public static modGlobal.Level GameLevel;
public static modGlobal.Interval TimerInterval;
public enum Interval
{
Sec030,
Sec100,
Sec130,
Sec200,
Sec230,
Sec300,
Sec330,
Sec400,
Sec430,
Sec500,
}
public enum Direction
{
Right,
LowerRight,
Below,
LowerLeft,
Left,
UpperLeft,
Above,
UpperRight,
}
public enum Level
{
Easy,
Medium,
Hard,
Impossible,
}
public enum Mode
{
Vs,
BoardGame,
Teaching,
}
}
}