diff --git a/source/WindowsFormsApplication1/API.cs b/source/WindowsFormsApplication1/API.cs index 2b88457..8589708 100644 --- a/source/WindowsFormsApplication1/API.cs +++ b/source/WindowsFormsApplication1/API.cs @@ -85,6 +85,19 @@ public class API /// public static bool DeveloperMode = true; + /// + /// If this is true, only certain applications will open and only + /// certain features will work. + /// + /// This is useful for story plots like the End Game where you don't + /// want the user being distracted by novelty features when they should + /// be focusing on what's happening. + /// + /// Think of it like the opposite of what Developer Mode would do. + /// + public static bool LimitedMode = false; + + public static bool InfoboxesPlaySounds = true; public static List RunningModProcesses = new List(); public static Dictionary CommandAliases = new Dictionary(); @@ -284,127 +297,135 @@ public static void CreateNewLoggerTerminal(string AppName) /// File to run. public static void LaunchMod(string modSAA) { - if (Upgrades["shiftnet"] == true) + if (!LimitedMode) { - if (File.Exists(modSAA)) + if (Upgrades["shiftnet"] == true) { - if (File.ReadAllText(modSAA) == HiddenAPMCommand) + if (File.Exists(modSAA)) { - CreateForm(new Appscape(), "Appscape Package Manager", Properties.Resources.iconAppscape); - } - else if(File.ReadAllText(modSAA) == HiddenDecryptorCommand) - { - CreateForm(new ShiftnetDecryptor(), "Shiftnet Decryptor", Properties.Resources.iconShiftnet); - } - else if(File.ReadAllText(modSAA) == HiddenBDiggerCommand) - { - CreateForm(new BitnoteDigger(), "Bitnote Digger", Properties.Resources.iconBitnoteDigger); - } - else if(File.ReadAllText(modSAA) == HiddenBWalletCommand) - { - CreateForm(new BitnoteWallet(), "Bitnote Wallet", Properties.Resources.iconBitnoteWallet); - } - else if (File.ReadAllText(modSAA) == HiddenShiftnetCommand) - { - CreateForm(new Shiftnet(), "Shiftnet", Properties.Resources.iconShiftnet); - } - else if (File.ReadAllText(modSAA) == HiddenBTNConvertCommand) - { - CreateForm(new BitnoteConverter(), "Bitnote Converter", Properties.Resources.iconBitnoteWallet); - } - else if (File.ReadAllText(modSAA) == HiddenDodgeCommand) - { - CreateForm(new Dodge(), "Dodge", Properties.Resources.iconDodge); - } - else if (File.ReadAllText(modSAA) == HiddenLabyrinthCommand) - { - CreateForm(new Labyrinth(), "Labyrinth", null); - } - else if (File.ReadAllText(modSAA) == HiddenQuickChatCommand) - { - CreateForm(new QuickChat(), "QuickChat", null); - } - else { - try + if (File.ReadAllText(modSAA) == HiddenAPMCommand) { - ExtractFile(modSAA, Paths.Mod_Temp, true); - var l = new LuaInterpreter(Paths.Mod_Temp + "main.lua"); + CreateForm(new Appscape(), "Appscape Package Manager", Properties.Resources.iconAppscape); } - catch(Exception ex) + else if (File.ReadAllText(modSAA) == HiddenDecryptorCommand) { - LogException("Error launching mod file (.saa): " + ex.Message, false); - CreateInfoboxSession("Error", "Could not launch the .saa file you specified. It is unsupported by this version of ShiftOS.", infobox.InfoboxMode.Info); + CreateForm(new ShiftnetDecryptor(), "Shiftnet Decryptor", Properties.Resources.iconShiftnet); } - } - var story_rnd = new Random(); - int story_chance = story_rnd.Next(0, 100); - switch (story_chance) - { - case 4: - if (API.Upgrades["otherplayerstory"] == false) + else if (File.ReadAllText(modSAA) == HiddenBDiggerCommand) + { + CreateForm(new BitnoteDigger(), "Bitnote Digger", Properties.Resources.iconBitnoteDigger); + } + else if (File.ReadAllText(modSAA) == HiddenBWalletCommand) + { + CreateForm(new BitnoteWallet(), "Bitnote Wallet", Properties.Resources.iconBitnoteWallet); + } + else if (File.ReadAllText(modSAA) == HiddenShiftnetCommand) + { + CreateForm(new Shiftnet(), "Shiftnet", Properties.Resources.iconShiftnet); + } + else if (File.ReadAllText(modSAA) == HiddenBTNConvertCommand) + { + CreateForm(new BitnoteConverter(), "Bitnote Converter", Properties.Resources.iconBitnoteWallet); + } + else if (File.ReadAllText(modSAA) == HiddenDodgeCommand) + { + CreateForm(new Dodge(), "Dodge", Properties.Resources.iconDodge); + } + else if (File.ReadAllText(modSAA) == HiddenLabyrinthCommand) + { + CreateForm(new Labyrinth(), "Labyrinth", null); + } + else if (File.ReadAllText(modSAA) == HiddenQuickChatCommand) + { + CreateForm(new QuickChat(), "QuickChat", null); + } + else + { + try { - var t = new Terminal(); - API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); - t.StartOtherPlayerStory(); + ExtractFile(modSAA, Paths.Mod_Temp, true); + var l = new LuaInterpreter(Paths.Mod_Temp + "main.lua"); } - break; - case 25: - if (API.Upgrades["devxfurious"] == false) + catch (Exception ex) { - var t = new Terminal(); - API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); - t.StartDevXFuriousStory(); + LogException("Error launching mod file (.saa): " + ex.Message, false); + CreateInfoboxSession("Error", "Could not launch the .saa file you specified. It is unsupported by this version of ShiftOS.", infobox.InfoboxMode.Info); } - break; - case 30: - if (API.Upgrades["aidennirh"] == false) - { - var t = new Terminal(); - API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); - t.StartAidenNirhStory(); - } - break; - case 75: - if (API.Upgrades["hacker101"] == false) - { - var t = new Terminal(); - API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); - t.StartHacker101Story(); - } - break; - //case 1000: - // t.StartJonathanLadouceurStory(); - // break; - //Do you honestly think HE would appear in ShiftOS? Yugh. NO. - default: - if (API.Upgrades["devxfurious"] == true) - { - if (API.Upgrades["otherplayerrescue"] == false) + } + var story_rnd = new Random(); + int story_chance = story_rnd.Next(0, 100); + switch (story_chance) + { + case 4: + if (API.Upgrades["otherplayerstory"] == false) { var t = new Terminal(); - t.StartOtherPlayerSysFix(); - CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + t.StartOtherPlayerStory(); } - else + break; + case 25: + if (API.Upgrades["devxfurious"] == false) { - if(API.Upgrades["midgamebridge"] == false) + var t = new Terminal(); + API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + t.StartDevXFuriousStory(); + } + break; + case 30: + if (API.Upgrades["aidennirh"] == false) + { + var t = new Terminal(); + API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + t.StartAidenNirhStory(); + } + break; + case 75: + if (API.Upgrades["hacker101"] == false) + { + var t = new Terminal(); + API.CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + t.StartHacker101Story(); + } + break; + //case 1000: + // t.StartJonathanLadouceurStory(); + // break; + //Do you honestly think HE would appear in ShiftOS? Yugh. NO. + default: + if (API.Upgrades["devxfurious"] == true) + { + if (API.Upgrades["otherplayerrescue"] == false) { - /*var t = new Terminal(); - t.StartBridgeToMidGame(); - CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal);*/ + var t = new Terminal(); + t.StartOtherPlayerSysFix(); + CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal); + } + else + { + if (API.Upgrades["midgamebridge"] == false) + { + /*var t = new Terminal(); + t.StartBridgeToMidGame(); + CreateForm(t, LoadedNames.TerminalName, Properties.Resources.iconTerminal);*/ + } } } - } - break; + break; + } + + } + else + { + throw new ModNotFoundException(); } - - } - else - { - throw new ModNotFoundException(); } } + else + { + CreateInfoboxSession("Limited mode", "ShiftOS is in limited mode and cannot perform this action. Please complete the current Mission first.", infobox.InfoboxMode.Info); + } } @@ -661,22 +682,37 @@ public static void GetAppLauncherItems() Skinning.Utilities.LoadEmbeddedNamePack(); //System Applications AppLauncherItems.Clear(); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ArtpadName, GetIcon("Artpad"), "open_program('artpad')", Upgrades["alartpad"])); + if (!LimitedMode) + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ArtpadName, GetIcon("Artpad"), "open_program('artpad')", Upgrades["alartpad"])); AppLauncherItems.Add(new ApplauncherItem(LoadedNames.FileSkimmerName, GetIcon("FileSkimmer"), "open_program('file_skimmer')", Upgrades["alfileskimmer"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.SkinLoaderName, GetIcon("SkinLoader"), "open_program('skinloader')", Upgrades["skinning"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShiftoriumName, GetIcon("Shiftorium"), "open_program('shiftorium')", Upgrades["alshiftorium"])); + if (!LimitedMode) + { + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.SkinLoaderName, GetIcon("SkinLoader"), "open_program('skinloader')", Upgrades["skinning"])); + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShiftoriumName, GetIcon("Shiftorium"), "open_program('shiftorium')", Upgrades["alshiftorium"])); + } AppLauncherItems.Add(new ApplauncherItem("HoloChat", GetIcon("HoloChat"), "open_program('holochat')", API.Upgrades["holochat"])); - AppLauncherItems.Add(new ApplauncherItem("Icon Manager", GetIcon("IconManager"), "open_program('iconmanager')", Upgrades["iconmanager"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShifterName, GetIcon("Shifter"), "open_program('shifter')", Upgrades["alshifter"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.NameChangerName, GetIcon("NameChanger"), "open_program('name_changer')", Upgrades["namechanger"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.PongName, GetIcon("Pong"), "open_program('pong')", Upgrades["alpong"])); + if (!LimitedMode) + { + AppLauncherItems.Add(new ApplauncherItem("Icon Manager", GetIcon("IconManager"), "open_program('iconmanager')", Upgrades["iconmanager"])); + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShifterName, GetIcon("Shifter"), "open_program('shifter')", Upgrades["alshifter"])); + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.NameChangerName, GetIcon("NameChanger"), "open_program('name_changer')", Upgrades["namechanger"])); + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.PongName, GetIcon("Pong"), "open_program('pong')", Upgrades["alpong"])); + } + if(LimitedMode) + { + AppLauncherItems.Add(new ApplauncherItem("Quest Viewer", GetIcon("QuestViewer"), "open_program('quests')", true)); + } AppLauncherItems.Add(new ApplauncherItem(LoadedNames.TextpadName, GetIcon("TextPad"), "open_program('textpad')", Upgrades["altextpad"])); AppLauncherItems.Add(new ApplauncherItem(LoadedNames.TerminalName, GetIcon("Terminal"), "open_terminal()", true)); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.KnowledgeInputName, GetIcon("KI"), "open_program('ki')", true)); - - //System Features - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.UnityName, GetIcon("Unity"), "toggle_unity()", Upgrades["alunity"])); - AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShutdownName, GetIcon("Shutdown"), "shutdown()", Upgrades["applaunchershutdown"])); + if (!LimitedMode) + { + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.KnowledgeInputName, GetIcon("KI"), "open_program('ki')", true)); + + + //System Features + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.UnityName, GetIcon("Unity"), "toggle_unity()", Upgrades["alunity"])); + AppLauncherItems.Add(new ApplauncherItem(LoadedNames.ShutdownName, GetIcon("Shutdown"), "shutdown()", Upgrades["applaunchershutdown"])); + } } /// @@ -714,6 +750,17 @@ public static void PlaySound(UnmanagedMemoryStream file) player.Play(); } + /// + /// Plays a sound from a byte[] array. Useful for MP3s and other formats. + /// + /// The byte[] aray + public static void PlaySound(byte[] file) + { + Stream mstr = new MemoryStream(file); + SoundPlayer player = new SoundPlayer(mstr); + player.Play(); + } + /// /// Shiftorium upgrades. /// @@ -831,46 +878,62 @@ public static void RemoveCodepoints(int cp) /// public static void ShutDownShiftOS() { - //Disconnect from server. - foreach(string ip in Package_Grabber.clients.Keys) + if (!LimitedMode) { - Package_Grabber.Disconnect(ip); - } - //Close all mods. - WindowComposition.ShuttingDown = true; - if (RunningModProcesses.Count > 0) - { - foreach (Process mod in RunningModProcesses) + //dispose audio clients + Audio.DisposeAll(); + //Disconnect from server. + try { - try { - mod.Kill(); - } - catch(Exception ex) + foreach (string ip in Package_Grabber.clients.Keys) { - LogException(ex.Message, false); + Package_Grabber.Disconnect(ip); } } - SaveSystem.Utilities.saveGame(); - Application.Exit(); - - } - SaveSystem.Utilities.saveGame(); - //Right before the game closes... - try - { - if (Directory.Exists(Paths.Mod_Temp)) - Directory.Delete(Paths.Mod_Temp, true); - } - catch(Exception ex) - { - API.LogException(ex.Message, false); - } - finally - { - //Alright, ShiftOS! HAVE AT IT! - Application.Exit(); - } + catch + { + } + //Close all mods. + WindowComposition.ShuttingDown = true; + if (RunningModProcesses.Count > 0) + { + foreach (Process mod in RunningModProcesses) + { + try + { + mod.Kill(); + } + catch (Exception ex) + { + LogException(ex.Message, false); + } + } + SaveSystem.Utilities.saveGame(); + Application.Exit(); + + } + SaveSystem.Utilities.saveGame(); + //Right before the game closes... + try + { + if (Directory.Exists(Paths.Mod_Temp)) + Directory.Delete(Paths.Mod_Temp, true); + } + catch (Exception ex) + { + API.LogException(ex.Message, false); + } + finally + { + //Alright, ShiftOS! HAVE AT IT! + Application.Exit(); + } + } + else + { + CreateInfoboxSession("Limited mode", "ShiftOS is in limited mode and cannot be shut down. Please complete the current mission before shutting down.", infobox.InfoboxMode.Info); + } } /// @@ -942,125 +1005,136 @@ public static SaveSystem.Save CurrentSave /// Icon to display on the titlebar. public static void CreateForm(Form formToCreate, string AppName, Image AppIcon) { - - if (Upgrades["multitasking"] == false && formToCreate.Name != "infobox") + if(API.CurrentSession == null) { - CloseEverything(); + API.CurrentSession = new ShiftOSDesktop(); } - var bw = new BackgroundWorker(); - bw.DoWork += (object sen, DoWorkEventArgs eva) => + try { - WindowComposition.SafeToAddControls = false; + if (Upgrades["multitasking"] == false && formToCreate.Name != "infobox") + { + CloseEverything(); + } + var bw = new BackgroundWorker(); + bw.DoWork += (object sen, DoWorkEventArgs eva) => + { + WindowComposition.SafeToAddControls = false; //bugfix: Close any terminal if WindowedTerminal isn't installed. if (Upgrades["windowedterminal"] == false) - { + { + API.CurrentSession.Invoke(new Action(() => + { + foreach (Form frm in OpenPrograms) + { + if (frm.Name.ToLower() == "terminal") + { + API.CurrentSession.Invoke(new Action(() => + { + frm.Close(); + })); + } + } + })); + } + WindowBorder brdr = new WindowBorder(AppName, AppIcon); + brdr.Name = "api_brdr"; + formToCreate.Controls.Add(brdr); + formToCreate.ShowInTaskbar = false; + brdr.Show(); + formToCreate.FormBorderStyle = FormBorderStyle.None; + brdr.Dock = DockStyle.Fill; + BordersToUpdate.Add(brdr); + List duplicates = new List(); + foreach (Control ctrl in formToCreate.Controls) + { + if (ctrl.Name != "api_brdr") + { + ctrl.Hide(); + brdr.pgcontents.Controls.Add(ctrl); + duplicates.Add(ctrl); + } + } + foreach (Control ctrl in duplicates) + { + try + { + formToCreate.Controls.Remove(ctrl); + ctrl.Show(); + } + catch (Exception ex) + { + API.CurrentSession.Invoke(new Action(() => + { + ctrl.Show(); + })); + } + } + WindowComposition.ShowForm(formToCreate, CurrentSkin.WindowOpenAnimation); API.CurrentSession.Invoke(new Action(() => { - foreach (Form frm in OpenPrograms) + brdr.justopened = true; + formToCreate.TopMost = true; + + //Open terminal on CTRL+T press on any form. + formToCreate.KeyDown += (object sender, KeyEventArgs e) => { - if (frm.Name.ToLower() == "terminal") + if (e.KeyCode == Keys.T && e.Control && formToCreate.Name != "Terminal") { - API.CurrentSession.Invoke(new Action(() => - { - frm.Close(); - })); + CreateForm(new Terminal(), CurrentSave.TerminalName, Properties.Resources.iconTerminal); } - } - })); - } - WindowBorder brdr = new WindowBorder(AppName, AppIcon); - brdr.Name = "api_brdr"; - formToCreate.Controls.Add(brdr); - formToCreate.ShowInTaskbar = false; - brdr.Show(); - formToCreate.FormBorderStyle = FormBorderStyle.None; - brdr.Dock = DockStyle.Fill; - BordersToUpdate.Add(brdr); - List duplicates = new List(); - foreach (Control ctrl in formToCreate.Controls) - { - if (ctrl.Name != "api_brdr") - { - ctrl.Hide(); - brdr.pgcontents.Controls.Add(ctrl); - duplicates.Add(ctrl); - } - } - foreach (Control ctrl in duplicates) - { - try { - formToCreate.Controls.Remove(ctrl); - ctrl.Show(); - } - catch(Exception ex) - { - API.CurrentSession.Invoke(new Action(() => - { - ctrl.Show(); - })); - } - } - WindowComposition.ShowForm(formToCreate, CurrentSkin.WindowOpenAnimation); - API.CurrentSession.Invoke(new Action(() => - { - brdr.justopened = true; - formToCreate.TopMost = true; - - //Open terminal on CTRL+T press on any form. - formToCreate.KeyDown += (object sender, KeyEventArgs e) => - { - if (e.KeyCode == Keys.T && e.Control && formToCreate.Name != "Terminal") - { - CreateForm(new Terminal(), CurrentSave.TerminalName, Properties.Resources.iconTerminal); - } - if (formToCreate.Name != "Terminal" || Upgrades["windowedterminal"] == true) - { + if (formToCreate.Name != "Terminal" || Upgrades["windowedterminal"] == true) + { //Movable Windows if (API.Upgrades["movablewindows"] == true) - { - if (e.KeyCode == Keys.A && e.Control) { - e.Handled = true; - formToCreate.Location = new Point(formToCreate.Location.X - 30, formToCreate.Location.Y); - } - if (e.KeyCode == Keys.D && e.Control) - { - e.Handled = true; - formToCreate.Location = new Point(formToCreate.Location.X + 30, formToCreate.Location.Y); - } - if (e.KeyCode == Keys.W && e.Control) - { - e.Handled = true; - formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y - 30); - } - if (e.KeyCode == Keys.S && e.Control) - { - e.Handled = true; - formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y + 30); + if (e.KeyCode == Keys.A && e.Control) + { + e.Handled = true; + formToCreate.Location = new Point(formToCreate.Location.X - 30, formToCreate.Location.Y); + } + if (e.KeyCode == Keys.D && e.Control) + { + e.Handled = true; + formToCreate.Location = new Point(formToCreate.Location.X + 30, formToCreate.Location.Y); + } + if (e.KeyCode == Keys.W && e.Control) + { + e.Handled = true; + formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y - 30); + } + if (e.KeyCode == Keys.S && e.Control) + { + e.Handled = true; + formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y + 30); + } } } + }; + formToCreate.TransparencyKey = Skinning.Utilities.globaltransparencycolour; + OpenPrograms.Add(formToCreate); + if (AppName == "Enemy Hacker") + { + API.CurrentSession.Invoke(new Action(() => + { + formToCreate.Left = Screen.PrimaryScreen.Bounds.Width - formToCreate.Width; + })); } - }; - formToCreate.TransparencyKey = Skinning.Utilities.globaltransparencycolour; - OpenPrograms.Add(formToCreate); - if(AppName == "Enemy Hacker") - { - API.CurrentSession.Invoke(new Action(() => + else if (AppName == "You") { - formToCreate.Left = Screen.PrimaryScreen.Bounds.Width - formToCreate.Width; - })); - } - else if(AppName == "You") - { - API.CurrentSession.Invoke(new Action(() => - { - formToCreate.Left = 0; - })); - } - })); - WindowComposition.SafeToAddControls = true; - }; - bw.RunWorkerAsync(); + API.CurrentSession.Invoke(new Action(() => + { + formToCreate.Left = 0; + })); + } + })); + WindowComposition.SafeToAddControls = true; + }; + bw.RunWorkerAsync(); + } + catch + { + + } } /// @@ -1639,15 +1713,44 @@ public static bool OpenProgram(string cmd) bool succeeded = true; switch (cmd) { - case "iconmanager": - if(API.Upgrades["iconmanager"]) + case "quests": + if(LimitedMode) { - CreateForm(new IconManager(), "Icon Manager", GetIcon("IconManager")); + CreateForm(new FinalMission.QuestViewer(), "Quest Viewer", GetIcon("QuestViewer")); + } + else + { + succeeded = false; + } + break; + case "iconmanager": + if (!LimitedMode) + { + if (API.Upgrades["iconmanager"]) + { + CreateForm(new IconManager(), "Icon Manager", GetIcon("IconManager")); + + } + else + { + succeeded = false; + } + } + else + { + succeeded = false; } break; case "knowledge_input": case "ki": - API.CreateForm(new KnowledgeInput(), API.LoadedNames.KnowledgeInputName, GetIcon("KI")); + if (!LimitedMode) + { + API.CreateForm(new KnowledgeInput(), API.LoadedNames.KnowledgeInputName, GetIcon("KI")); + } + else + { + succeeded = false; + } break; case "holochat": if(API.Upgrades["holochat"] == true) @@ -1661,9 +1764,16 @@ public static bool OpenProgram(string cmd) break; case "namechanger": case "name_changer": - if (API.Upgrades["namechanger"] == true) + if (!LimitedMode) { - CreateForm(new NameChanger(), LoadedNames.NameChangerName, GetIcon("NameChanger")); + if (API.Upgrades["namechanger"] == true) + { + CreateForm(new NameChanger(), LoadedNames.NameChangerName, GetIcon("NameChanger")); + } + else + { + succeeded = false; + } } else { @@ -1671,9 +1781,16 @@ public static bool OpenProgram(string cmd) } break; case "artpad": - if(API.Upgrades["artpad"] == true) + if (!LimitedMode) { - CreateForm(new Artpad(), LoadedNames.ArtpadName, GetIcon("Artpad")); + if (API.Upgrades["artpad"] == true) + { + CreateForm(new Artpad(), LoadedNames.ArtpadName, GetIcon("Artpad")); + } + else + { + succeeded = false; + } } else { @@ -1691,9 +1808,16 @@ public static bool OpenProgram(string cmd) break; case "skinloader": case "skin_loader": - if(Upgrades["skinning"] == true) + if (!LimitedMode) { - CreateForm(new SkinLoader(), "Skin Loader", GetIcon("SkinLoader")); + if (Upgrades["skinning"] == true) + { + CreateForm(new SkinLoader(), "Skin Loader", GetIcon("SkinLoader")); + } + else + { + succeeded = false; + } } else { @@ -1701,26 +1825,36 @@ public static bool OpenProgram(string cmd) } break; case "shifter": - if(Upgrades["shifter"] == true) + if (!LimitedMode) { - CreateForm(new Shifter(), "Shifter", GetIcon("Shifter")); + if (Upgrades["shifter"] == true) + { + CreateForm(new Shifter(), "Shifter", GetIcon("Shifter")); + } + else + { + succeeded = false; + } } else { succeeded = false; } break; - /* TEMP-REMOVED: I just can't get it to work. - case "jumper": - CreateForm(new Jumper(), "Jumper", null); - break; - */ case "pong": - if (Upgrades["pong"] == true) + if (!LimitedMode) { - CreateForm(new Pong(), "Pong", GetIcon("Pong")); + if (Upgrades["pong"] == true) + { + CreateForm(new Pong(), "Pong", GetIcon("Pong")); + } + else + { + succeeded = false; + } } - else { + else + { succeeded = false; } break; @@ -1735,7 +1869,14 @@ public static bool OpenProgram(string cmd) } break; case "shiftorium": - CreateForm(new Shiftorium.Frontend(), LoadedNames.ShiftoriumName, GetIcon("Shiftorium")); + if (!LimitedMode) + { + CreateForm(new Shiftorium.Frontend(), LoadedNames.ShiftoriumName, GetIcon("Shiftorium")); + } + else + { + succeeded = false; + } break; default: succeeded = false; diff --git a/source/WindowsFormsApplication1/Appscape.cs b/source/WindowsFormsApplication1/Appscape.cs index d4fc945..a482a04 100644 --- a/source/WindowsFormsApplication1/Appscape.cs +++ b/source/WindowsFormsApplication1/Appscape.cs @@ -498,6 +498,10 @@ public KeyValuePair GetModderByDevID(string DevI /// The client to add to. public void GenerateNewDevKey(AppscapeClient client) { + if(client.DevList == null) + { + client.DevList = new Dictionary(); + } var rnd = new Random(); int key = rnd.Next(1, 99999999); var dev = new AppscapeModder(); @@ -741,14 +745,14 @@ private void btnrequest_Click(object sender, EventArgs e) { if(lvnets.SelectedItems.Count > 0) { - try - { + //try + //{ GenerateNewDevKey((AppscapeClient)lvnets.SelectedItems[0].Tag); - } - catch + /*} + catch (Exception ex) { - API.CreateInfoboxSession("Error", "An error has occurred trying to process the request.", infobox.InfoboxMode.Info); - } + API.CreateInfoboxSession("Error", "An error has occurred trying to process the request: {ex.Message}", infobox.InfoboxMode.Info); + }*/ } } } diff --git a/source/WindowsFormsApplication1/AudioResourceClient.cs b/source/WindowsFormsApplication1/AudioResourceClient.cs new file mode 100644 index 0000000..ec51b18 --- /dev/null +++ b/source/WindowsFormsApplication1/AudioResourceClient.cs @@ -0,0 +1,250 @@ +// WARNING: This thing likes leaking memory. + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.IO; +using NAudio; +using NAudio.Wave; +using System.Threading; + +namespace ShiftOS +{ + public class Audio + { + public static List Clients = null; + internal static bool Enabled = false; + + public static void DisposeAll() + { + if(Clients != null) + { + foreach(var client in Clients) + { + client.Dispose(); + } + } + } + } + + public class AudioResourceClient + { + + + public AudioResourceClient(string folder) + { + if (Audio.Enabled) + { + if (Audio.Clients == null) + { + Audio.Clients = new List(); + } + Audio.Clients.Add(this); + string real = folder.Replace(";", OSInfo.DirectorySeparator); + real_path = "resources" + OSInfo.DirectorySeparator + real; + soundPlayer = new WaveOut(); + var t = new Thread(new ThreadStart(new Action(() => + { + while (disposed == false) + { + switch (soundPlayer.PlaybackState) + { + case PlaybackState.Stopped: + if (fireEvents) + { + if (currentStream != null) + currentStream.Dispose(); + currentStream = null; + currentProvider = null; + var h = SongFinished; + if (h != null) + { + API.CurrentSession.Invoke(new Action(() => + { + h(this, new EventArgs()); + })); + } + + } + + break; + } + } + }))); + t.Start(); + } + } + + public string CurrentSong + { + get { return currentSong; } + } + + private string real_path = null; + private WaveOut soundPlayer = null; + private bool disposed = false; + private bool playing = false; + private bool loopActive = false; + private string currentSong = ""; + protected Thread soundThread; + private Stream currentStream = null; + private IWaveProvider currentProvider = null; + private bool fireEvents = false; + + public event EventHandler SongFinished; + + public void Play(byte[] songbytes) + { + if (Audio.Enabled) + { + var t = new Thread(new ThreadStart(new Action(() => + { + try + { + if (disposed == false) + { + if (currentProvider != null) + { + currentProvider = null; + } + if (currentStream != null) + { + currentStream.Dispose(); + currentStream = null; + } + Stream s = new MemoryStream(songbytes); + IWaveProvider provider = new RawSourceWaveStream(s, new WaveFormat()); + soundPlayer.Init(provider); + soundPlayer.Play(); + fireEvents = true; + currentStream = s; + currentProvider = provider; + } + } + catch + { + + } + }))); + soundThread = t; + t.Start(); + } + } + + public void PlayMP3(byte[] songbytes) + { + if (Audio.Enabled) + { + var t = new Thread(new ThreadStart(new Action(() => + { + if (currentProvider != null) + { + currentProvider = null; + } + if (currentStream != null) + { + currentStream.Dispose(); + currentStream = null; + } + Stream s = new MemoryStream(songbytes); + IWaveProvider provider = new Mp3FileReader(s); + soundPlayer.Init(provider); + soundPlayer.Play(); + currentStream = s; + currentProvider = provider; + }))); + soundThread = t; + t.Start(); + } + } + + + public void Play(string file) + { + if (Audio.Enabled) + { + if (File.Exists(real_path + OSInfo.DirectorySeparator + file + ".wav")) + { + currentSong = file; + Play(File.ReadAllBytes(real_path + OSInfo.DirectorySeparator + file + ".wav")); + } + else if (File.Exists(real_path + OSInfo.DirectorySeparator + file + ".mp3")) + { + currentSong = file; + PlayMP3(File.ReadAllBytes(real_path + OSInfo.DirectorySeparator + file + ".mp3")); + } + } + } + + public void Stop() + { + if (Audio.Enabled) + { + var t = new Thread(new ThreadStart(new Action(() => + { + fireEvents = false; + soundPlayer.Stop(); + if (currentProvider != null) + { + currentProvider = null; + } + if (currentStream != null) + { + currentStream.Dispose(); + currentStream = null; + } + }))); + t.Start(); + } + } + + public void Pause() + { + if (Audio.Enabled) + { + if (soundPlayer.PlaybackState == PlaybackState.Playing) + { + soundPlayer.Pause(); + } + else if (soundPlayer.PlaybackState == PlaybackState.Paused) + { + soundPlayer.Resume(); + } + } + } + + public void PlayRandom() + { + if (Audio.Enabled) + { + int r = new Random().Next(0, Directory.GetFiles(real_path).Length); + var files = Directory.GetFiles(real_path); + FileInfo finf = new FileInfo(files[r]); + string name = finf.Name.Replace(finf.Extension, ""); + Play(name); + + } + } + + public void Dispose() + { + if (Audio.Enabled) + { + if (currentProvider != null) + { + currentProvider = null; + } + if (currentStream != null) + { + currentStream.Dispose(); + currentStream = null; + } + soundPlayer.Dispose(); + disposed = true; + } + } + } +} diff --git a/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs new file mode 100644 index 0000000..f055644 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.Designer.cs @@ -0,0 +1,75 @@ +namespace ShiftOS.FinalMission +{ + partial class ChoiceControl + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.lbnumber = new System.Windows.Forms.Label(); + this.lbdescription = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // lbnumber + // + this.lbnumber.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbnumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F); + this.lbnumber.Location = new System.Drawing.Point(0, 0); + this.lbnumber.Name = "lbnumber"; + this.lbnumber.Size = new System.Drawing.Size(112, 75); + this.lbnumber.TabIndex = 0; + this.lbnumber.Text = "1"; + this.lbnumber.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.lbnumber.Click += new System.EventHandler(this.lbdescription_Click); + // + // lbdescription + // + this.lbdescription.Dock = System.Windows.Forms.DockStyle.Bottom; + this.lbdescription.Location = new System.Drawing.Point(0, 75); + this.lbdescription.Name = "lbdescription"; + this.lbdescription.Size = new System.Drawing.Size(112, 27); + this.lbdescription.TabIndex = 1; + this.lbdescription.Text = "Stop DevX"; + this.lbdescription.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.lbdescription.Click += new System.EventHandler(this.lbdescription_Click); + // + // ChoiceControl + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.lbnumber); + this.Controls.Add(this.lbdescription); + this.Name = "ChoiceControl"; + this.Size = new System.Drawing.Size(112, 102); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Label lbnumber; + private System.Windows.Forms.Label lbdescription; + } +} diff --git a/source/WindowsFormsApplication1/FinalMission/ChoiceControl.cs b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.cs new file mode 100644 index 0000000..1230d6b --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ShiftOS.FinalMission +{ + [DefaultEvent("Selected")] + public partial class ChoiceControl : UserControl + { + public ChoiceControl() + { + InitializeComponent(); + } + + public int Number + { + get { return Convert.ToInt32(lbnumber.Text); } + set { lbnumber.Text = value.ToString(); } + } + + public string ChoiceName + { + get + { + return lbdescription.Text; + } + set + { + lbdescription.Text = value; + } + } + + public event EventHandler Selected; + + private void lbdescription_Click(object sender, EventArgs e) + { + var h = this.Selected; + if(h != null) + { + h(this, e); + } + } + } +} diff --git a/source/WindowsFormsApplication1/FinalMission/ChoiceControl.resx b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChoiceControl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs new file mode 100644 index 0000000..587093c --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.Designer.cs @@ -0,0 +1,350 @@ +namespace ShiftOS.FinalMission +{ + partial class ChooseYourApproach + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChooseYourApproach)); + this.pnlmain = new System.Windows.Forms.Panel(); + this.lbdesc = new System.Windows.Forms.Label(); + this.lbtitle = new System.Windows.Forms.Label(); + this.pnldescription = new System.Windows.Forms.Panel(); + this.choicedesc = new System.Windows.Forms.Label(); + this.fldescbuttons = new System.Windows.Forms.FlowLayoutPanel(); + this.btnbegin = new System.Windows.Forms.Button(); + this.choicetitle = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.pnlchoices = new System.Windows.Forms.Panel(); + this.choiceControl3 = new ShiftOS.FinalMission.ChoiceControl(); + this.choiceControl2 = new ShiftOS.FinalMission.ChoiceControl(); + this.cc_sidewithdevx = new ShiftOS.FinalMission.ChoiceControl(); + this.pnlconfirm = new System.Windows.Forms.Panel(); + this.lbconfirm = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.button3 = new System.Windows.Forms.Button(); + this.pnlmain.SuspendLayout(); + this.pnldescription.SuspendLayout(); + this.fldescbuttons.SuspendLayout(); + this.pnlchoices.SuspendLayout(); + this.pnlconfirm.SuspendLayout(); + this.flowLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // pnlmain + // + this.pnlmain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlmain.Controls.Add(this.lbdesc); + this.pnlmain.Controls.Add(this.lbtitle); + this.pnlmain.Location = new System.Drawing.Point(318, 27); + this.pnlmain.Name = "pnlmain"; + this.pnlmain.Size = new System.Drawing.Size(692, 178); + this.pnlmain.TabIndex = 0; + // + // lbdesc + // + this.lbdesc.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbdesc.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.lbdesc.Location = new System.Drawing.Point(0, 38); + this.lbdesc.Name = "lbdesc"; + this.lbdesc.Size = new System.Drawing.Size(692, 140); + this.lbdesc.TabIndex = 1; + this.lbdesc.Text = resources.GetString("lbdesc.Text"); + this.lbdesc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.lbdesc.Click += new System.EventHandler(this.lbdesc_Click); + // + // lbtitle + // + this.lbtitle.Dock = System.Windows.Forms.DockStyle.Top; + this.lbtitle.Font = new System.Drawing.Font("Lucida Console", 19F); + this.lbtitle.Location = new System.Drawing.Point(0, 0); + this.lbtitle.Name = "lbtitle"; + this.lbtitle.Size = new System.Drawing.Size(692, 38); + this.lbtitle.TabIndex = 0; + this.lbtitle.Text = "Choose your approach"; + this.lbtitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // pnldescription + // + this.pnldescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnldescription.Controls.Add(this.choicedesc); + this.pnldescription.Controls.Add(this.fldescbuttons); + this.pnldescription.Controls.Add(this.choicetitle); + this.pnldescription.Location = new System.Drawing.Point(318, 357); + this.pnldescription.Name = "pnldescription"; + this.pnldescription.Size = new System.Drawing.Size(692, 178); + this.pnldescription.TabIndex = 1; + // + // choicedesc + // + this.choicedesc.Dock = System.Windows.Forms.DockStyle.Fill; + this.choicedesc.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.choicedesc.Location = new System.Drawing.Point(0, 38); + this.choicedesc.Name = "choicedesc"; + this.choicedesc.Size = new System.Drawing.Size(692, 103); + this.choicedesc.TabIndex = 1; + this.choicedesc.Text = "DevX caused all of this. He hijacked your computer and put ShiftOS on it, and mad" + + "e you work harder than ever just to make it usable.\r\n\r\nNow it\'s time to use all " + + "your skills to take him down."; + this.choicedesc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // fldescbuttons + // + this.fldescbuttons.Controls.Add(this.btnbegin); + this.fldescbuttons.Dock = System.Windows.Forms.DockStyle.Bottom; + this.fldescbuttons.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.fldescbuttons.Location = new System.Drawing.Point(0, 141); + this.fldescbuttons.Name = "fldescbuttons"; + this.fldescbuttons.Size = new System.Drawing.Size(692, 37); + this.fldescbuttons.TabIndex = 2; + // + // btnbegin + // + this.btnbegin.AutoSize = true; + this.btnbegin.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnbegin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnbegin.Location = new System.Drawing.Point(3, 3); + this.btnbegin.Name = "btnbegin"; + this.btnbegin.Size = new System.Drawing.Size(62, 32); + this.btnbegin.TabIndex = 0; + this.btnbegin.Text = "Begin"; + this.btnbegin.UseVisualStyleBackColor = true; + this.btnbegin.Click += new System.EventHandler(this.btnbegin_Click); + // + // choicetitle + // + this.choicetitle.Dock = System.Windows.Forms.DockStyle.Top; + this.choicetitle.Font = new System.Drawing.Font("Lucida Console", 19F); + this.choicetitle.Location = new System.Drawing.Point(0, 0); + this.choicetitle.Name = "choicetitle"; + this.choicetitle.Size = new System.Drawing.Size(692, 38); + this.choicetitle.TabIndex = 0; + this.choicetitle.Text = "Defeat DevX"; + this.choicetitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel1 + // + this.panel1.Location = new System.Drawing.Point(648, -76); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(200, 100); + this.panel1.TabIndex = 2; + // + // pnlchoices + // + this.pnlchoices.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlchoices.Controls.Add(this.choiceControl3); + this.pnlchoices.Controls.Add(this.choiceControl2); + this.pnlchoices.Controls.Add(this.cc_sidewithdevx); + this.pnlchoices.Location = new System.Drawing.Point(510, 228); + this.pnlchoices.MaximumSize = new System.Drawing.Size(338, 91); + this.pnlchoices.MinimumSize = new System.Drawing.Size(338, 91); + this.pnlchoices.Name = "pnlchoices"; + this.pnlchoices.Size = new System.Drawing.Size(338, 91); + this.pnlchoices.TabIndex = 3; + // + // choiceControl3 + // + this.choiceControl3.ChoiceName = "Destroy DevX"; + this.choiceControl3.Dock = System.Windows.Forms.DockStyle.Fill; + this.choiceControl3.Location = new System.Drawing.Point(112, 0); + this.choiceControl3.Name = "choiceControl3"; + this.choiceControl3.Number = 2; + this.choiceControl3.Size = new System.Drawing.Size(114, 91); + this.choiceControl3.TabIndex = 2; + this.choiceControl3.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected); + // + // choiceControl2 + // + this.choiceControl2.ChoiceName = "End it all"; + this.choiceControl2.Dock = System.Windows.Forms.DockStyle.Right; + this.choiceControl2.Location = new System.Drawing.Point(226, 0); + this.choiceControl2.Name = "choiceControl2"; + this.choiceControl2.Number = 3; + this.choiceControl2.Size = new System.Drawing.Size(112, 91); + this.choiceControl2.TabIndex = 1; + this.choiceControl2.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected); + // + // cc_sidewithdevx + // + this.cc_sidewithdevx.ChoiceName = "Side with DevX"; + this.cc_sidewithdevx.Dock = System.Windows.Forms.DockStyle.Left; + this.cc_sidewithdevx.Location = new System.Drawing.Point(0, 0); + this.cc_sidewithdevx.Name = "cc_sidewithdevx"; + this.cc_sidewithdevx.Number = 1; + this.cc_sidewithdevx.Size = new System.Drawing.Size(112, 91); + this.cc_sidewithdevx.TabIndex = 0; + this.cc_sidewithdevx.Selected += new System.EventHandler(this.cc_sidewithdevx_Selected); + // + // pnlconfirm + // + this.pnlconfirm.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlconfirm.Controls.Add(this.lbconfirm); + this.pnlconfirm.Controls.Add(this.flowLayoutPanel1); + this.pnlconfirm.Controls.Add(this.label2); + this.pnlconfirm.Location = new System.Drawing.Point(56, 27); + this.pnlconfirm.Name = "pnlconfirm"; + this.pnlconfirm.Size = new System.Drawing.Size(1220, 449); + this.pnlconfirm.TabIndex = 4; + this.pnlconfirm.Visible = false; + // + // lbconfirm + // + this.lbconfirm.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbconfirm.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.lbconfirm.Location = new System.Drawing.Point(0, 38); + this.lbconfirm.Name = "lbconfirm"; + this.lbconfirm.Size = new System.Drawing.Size(1220, 374); + this.lbconfirm.TabIndex = 1; + this.lbconfirm.Text = resources.GetString("lbconfirm.Text"); + this.lbconfirm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label2 + // + this.label2.Dock = System.Windows.Forms.DockStyle.Top; + this.label2.Font = new System.Drawing.Font("Lucida Console", 19F); + this.label2.Location = new System.Drawing.Point(0, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(1220, 38); + this.label2.TabIndex = 0; + this.label2.Text = "Start This Mission"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button1.AutoSize = true; + this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.Location = new System.Drawing.Point(1233, 510); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(83, 25); + this.button1.TabIndex = 5; + this.button1.Text = "Toggle Music"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button2.AutoSize = true; + this.button2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button2.Location = new System.Drawing.Point(1210, 12); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(106, 25); + this.button2.TabIndex = 6; + this.button2.Text = "Return to Desktop"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Controls.Add(this.button3); + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.flowLayoutPanel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 412); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(1220, 37); + this.flowLayoutPanel1.TabIndex = 3; + // + // button3 + // + this.button3.AutoSize = true; + this.button3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button3.Location = new System.Drawing.Point(3, 3); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(71, 32); + this.button3.TabIndex = 0; + this.button3.Text = "Ready."; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // ChooseYourApproach + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.ClientSize = new System.Drawing.Size(1328, 547); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.pnlconfirm); + this.Controls.Add(this.pnlchoices); + this.Controls.Add(this.panel1); + this.Controls.Add(this.pnldescription); + this.Controls.Add(this.pnlmain); + this.ForeColor = System.Drawing.Color.LightGreen; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "ChooseYourApproach"; + this.Text = "ChooseYourApproach"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.onClose); + this.Load += new System.EventHandler(this.ChooseYourApproach_Load); + this.pnlmain.ResumeLayout(false); + this.pnldescription.ResumeLayout(false); + this.fldescbuttons.ResumeLayout(false); + this.fldescbuttons.PerformLayout(); + this.pnlchoices.ResumeLayout(false); + this.pnlconfirm.ResumeLayout(false); + this.flowLayoutPanel1.ResumeLayout(false); + this.flowLayoutPanel1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Panel pnlmain; + private System.Windows.Forms.Label lbdesc; + private System.Windows.Forms.Label lbtitle; + private System.Windows.Forms.Panel pnldescription; + private System.Windows.Forms.Label choicedesc; + private System.Windows.Forms.FlowLayoutPanel fldescbuttons; + private System.Windows.Forms.Button btnbegin; + private System.Windows.Forms.Label choicetitle; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel pnlchoices; + private ChoiceControl choiceControl3; + private ChoiceControl choiceControl2; + private ChoiceControl cc_sidewithdevx; + private System.Windows.Forms.Panel pnlconfirm; + private System.Windows.Forms.Label lbconfirm; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.Button button3; + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.cs b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.cs new file mode 100644 index 0000000..78a8508 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.cs @@ -0,0 +1,174 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Media; +////using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; +using NAudio; +using NAudio.Wave; + +namespace ShiftOS.FinalMission +{ + public partial class ChooseYourApproach : Form + { + bool Playing = false; + private AudioResourceClient audioClient = null; + + public ChooseYourApproach() + { + audioClient = new AudioResourceClient("EndGame;RossBugden"); + InitializeComponent(); + //Music thread. + audioClient.Play("Rapture"); + audioClient.SongFinished += (object s, EventArgs a) => + { + if (musicEnabled) + { + audioClient.Play("Rapture"); + } + }; + } + + private void lbdesc_Click(object sender, EventArgs e) + { + + } + + private int choice = 0; + + + private void ChooseYourApproach_Load(object sender, EventArgs e) + { + pnlchoices.Left = (this.Width - pnlchoices.Width) / 2; + } + + private void cc_sidewithdevx_Selected(object sender, EventArgs e) + { + var cc = (ChoiceControl)sender; + choice = cc.Number; + SetupUI(); + } + + public void SetupUI() + { + switch (choice) + { + case 0: + choicetitle.Text = "Select a choice"; + choicedesc.Text = "Select a choice to see more information about it and to begin."; + btnbegin.Hide(); + break; + case 1: + choicetitle.Text = "Side With DevX"; + choicedesc.Text = "Side with DevX and gain full control of ShiftOS."; + btnbegin.Show(); + break; + case 2: + choicetitle.Text = "Destroy DevX"; + choicedesc.Text = "DevX put you through digital torture. He stripped you of all your personal files, put you in a barely usable OS and made you make it better. Now it's time to take him down before he can do it to anyone else."; + btnbegin.Show(); + break; + case 3: + choicetitle.Text = "End it all"; + choicedesc.Text = "It's time to stop dealing with all this stuff and bring you back to your old operating system."; + btnbegin.Show(); + break; + + } + } + + public void SetupConfirmUI() + { + List dependencies = new List(); + panel1.Hide(); + pnlchoices.Hide(); + pnldescription.Hide(); + pnlmain.Hide(); + pnlconfirm.Show(); + switch (choice) + { + case 1: + dependencies.Add("HoloChat"); + break; + case 2: + dependencies.Add("HoloChat"); + dependencies.Add("Network Browser"); + dependencies.Add("Hacking skills"); + break; + case 3: + break; + } + lbconfirm.Text = "You are about to start a mission. It is worth noting that during the mission you will not be able to shut down ShiftOS, access Shiftnet applications, or access applications like Pong, Knowledge Input, Shifter, Skin Loader, Shiftorium, or other OS-modifying applications."; + lbconfirm.Text += Environment.NewLine + Environment.NewLine + "The following things will be needed to start this mission:" + Environment.NewLine; + foreach (var d in dependencies) + { + lbconfirm.Text += d + Environment.NewLine; + } + lbconfirm.Text += Environment.NewLine + "During the mission, a window will appear near the top of the screen showing you what to do. You can also use the 'quests' Terminal Command to view a list of everything you need to do."; + } + + private void btnbegin_Click(object sender, EventArgs e) + { + API.CreateInfoboxSession("Begin mission", "Are you sure you'd like to start this mission? You will not be able to access many applications or shut down ShiftOS until you have completed the mission.", infobox.InfoboxMode.YesNo); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if (res == "Yes") + { + SetupConfirmUI(); + } + }; + } + + private void onClose(object sender, FormClosingEventArgs e) + { + audioClient.Stop(); + audioClient.Dispose(); + audioClient = null; + } + + bool musicEnabled = true; + + private void button1_Click(object sender, EventArgs e) + { + if (musicEnabled) + { + audioClient.Stop(); + } + else + { + audioClient.Play("Rapture"); + } + musicEnabled = !musicEnabled; + } + + private void button2_Click(object sender, EventArgs e) + { + API.CreateInfoboxSession("Return to Desktop", "You came this far and are ready to stop DevX, but you are really willing to cancel and go to your desktop?", infobox.InfoboxMode.YesNo); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if (res == "Yes") + { + this.Close(); + API.CreateInfoboxSession("Return to Desktop", "Very well, you can have it your way.", infobox.InfoboxMode.Info); + } + }; + } + + private void button3_Click(object sender, EventArgs e) + { + API.LimitedMode = true; + API.CurrentSession.SetupDesktop(); + API.CloseEverything(); + EndGameHandler.Initiate(choice); + } + } + +} diff --git a/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.resx b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.resx new file mode 100644 index 0000000..76cd2b7 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/ChooseYourApproach.resx @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The time has come. + +You have conquered many networks, explored the vast Shiftnet, gained and spent many Codepoints, and received all upgrades. + +Now it's time to choose what you'll do next. Will you side with DevX? Will you stop DevX dead in his tracks, or will you end it all and return to your previous operating system? + + + The time has come. + +You have conquered many networks, explored the vast Shiftnet, gained and spent many Codepoints, and received all upgrades. + +Now it's time to choose what you'll do next. Will you side with DevX? Will you stop DevX dead in his tracks, or will you end it all and return to your previous operating system? + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/EndGameHandler.cs b/source/WindowsFormsApplication1/FinalMission/EndGameHandler.cs new file mode 100644 index 0000000..aea2f82 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/EndGameHandler.cs @@ -0,0 +1,275 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace ShiftOS.FinalMission +{ + public enum Choice + { + SideWithDevX, + StopDevX, + EndAll + } + + + public class EndGameHandler + { + + #region Properties + + public static Choice CurrentChoice + { + get { return currentChoice; } + } + + public static Dictionary ThingsToDo + { + get + { + return thingsToDo; + } + } + + public static bool C2_ShellShockBreachCommand { get; set; } + + public static string CurrentObjective + { + get + { + try + { + return thingsToDo.Keys.ElementAt(currentObjective); + } + catch + { + return ""; + } + } + } + + public static string CurrentObjectivePrompt + { + get { return objPrompt; } + } + + public static MissionGuide MissionGuide + { + get { return mguide; } + } + + public static bool GodModeInstallEnabled { get; set; } + + #endregion + + public static FakeChatClient FakeHoloChatRoom + { + get + { + if (currentObjective == 0) + { + var room = new FakeChatClient(); + room.Name = "The Hacker Alliance"; + room.OtherCharacters = new List(); + switch (currentChoice) + { + case Choice.EndAll: + room.Topic = "Oh no. | The ShiftOS Hacker Alliance: We don't mess around."; + room.OtherCharacters.Add("???"); + room.OtherCharacters.Add("Hacker101"); + room.Messages = JsonConvert.DeserializeObject>(Properties.Resources.Choice3); + break; + case Choice.StopDevX: + room.Topic = "The ShiftOS Hacker Alliance: We don't mess around."; + room.OtherCharacters.Add("???"); + room.Messages = JsonConvert.DeserializeObject>(Properties.Resources.Choice2); + break; + case Choice.SideWithDevX: + room.Topic = "Chat seized by DevX"; + room.OtherCharacters.Add("DevX"); + room.Messages = JsonConvert.DeserializeObject>(Properties.Resources.Choice1); + break; + + } + return room; + } + else + { + return null; + } + } + } + + #region Events + + public static event EventHandler ObjectiveCompleted; + public static event EventHandler MissionComplete; + + #endregion + + #region Variables + private static Choice currentChoice = Choice.EndAll; + private static Dictionary thingsToDo = new Dictionary(); + private static int currentObjective = 0; + private static string objPrompt; + private static MissionGuide mguide; + + #endregion + + #region Methods + + public static void Initiate(int choice) + { + mguide = new MissionGuide(); + mguide.Show(); + switch (choice) + { + case 1: + currentChoice = Choice.SideWithDevX; + currentObjective = 0; + thingsToDo.Add("Chat with DevX on HoloChat", false); + thingsToDo.Add("Install DevX's packages", false); + mguide.ShowButton = false; + objPrompt = "Go chat with DevX on HoloChat."; + break; + case 2: + currentChoice = Choice.StopDevX; + thingsToDo.Add("Chat with the Other Player on HoloChat", false); + thingsToDo.Add("Hack through DevX's firewall", false); + thingsToDo.Add("Take down DevX's primary server", false); + thingsToDo.Add("Take down DevX's secondary server", false); + thingsToDo.Add("Forkbomb DevX's storage and telemetry server", false); + thingsToDo.Add("One last battle...", false); + thingsToDo.Add("Uninstall ShiftOS", false); + mguide.ShowButton = false; + objPrompt = "It's time to destroy DevX. Head to the Hacker Alliance HoloChat room to begin."; + break; + case 3: + currentChoice = Choice.EndAll; + thingsToDo.Add("Trouble in the Hacker Alliance...", false); + mguide.ShowButton = false; + objPrompt = "Something's wrong in the Hacker Alliance chatroom... They need you."; + break; + } + API.CurrentSession.EndGame_AttachEvents(); + + } + + public static void GoToNextObjective() + { + var h = ObjectiveCompleted; + if (h != null) + { + h(CurrentObjective, new EventArgs()); + } + currentObjective += 1; + SetupGUIforCurrent(); + } + + public static void SetupGUIforCurrent() + { + GodModeInstallEnabled = false; + C2_ShellShockBreachCommand = false; + switch(currentChoice) + { + case Choice.SideWithDevX: + switch(currentObjective) + { + case 1: + mguide.ShowButton = false; + objPrompt = "Go open your Terminal and install the 'god_utils' package."; + GodModeInstallEnabled = true; + break; + case 2: + var h = MissionComplete; + h?.Invoke(CurrentObjective, new EventArgs()); + break; + } + break; + case Choice.EndAll: + switch(currentObjective) + { + case 1: + var h = MissionComplete; + h?.Invoke(CurrentObjective, new EventArgs()); + break; + } + break; + case Choice.StopDevX: + switch(currentObjective) + { + case 1: + mguide.ShowButton = true; + mguide.OnButtonClick = new Action(() => + { + var enemy = JsonConvert.DeserializeObject(Properties.Resources.DevX_Firewall); + var hui = new HackUI(enemy); + hui.Show(); + hui.OnWin += (object s, EventArgs a) => + { + GoToNextObjective(); + }; + }); + objPrompt = "Before we can do anything major, we need to bust through DevX's firewall. It should be easy, but beware. It's just a firewall. The real stuff's coming soon."; + break; + case 2: + mguide.OnButtonClick = new Action(() => + { + var enemy = JsonConvert.DeserializeObject(Properties.Resources.DevX_PrimaryNet); + var hui = new HackUI(enemy); + hui.Show(); + hui.OnWin += (object s, EventArgs a) => + { + GoToNextObjective(); + }; + }); + objPrompt = "Alright, we're through. Next on the list is DevX's primary server. Take this down and we can get further into the network without him finding out."; + break; + case 3: + mguide.OnButtonClick = new Action(() => + { + var enemy = JsonConvert.DeserializeObject(Properties.Resources.DevX_Secondary); + var hui = new HackUI(enemy); + hui.Show(); + hui.OnWin += (object s, EventArgs a) => + { + GoToNextObjective(); + }; + }); + objPrompt = "Primary server's D to the O to the W to the N. DOWN. Next we gotta take down his secondary server. Once it goes down, he's finished."; + break; + case 4: + mguide.ButtonText = "Begin attack in Terminal"; + mguide.OnButtonClick = new Action(() => + { + var t = new Terminal(); + API.CreateForm(t, API.LoadedNames.TerminalName, API.GetIcon("Terminal")); + t.StartShellShock(); + }); + objPrompt = "Bye, have a great time, DevX! Arighty, DevX has one last server running that needs to go before we do anything more. This one sits on shiftnet://devx/tracker and is the server DevX uses to track other ShiftOS users. Take it down and he can't see any of this."; + break; + case 5: + mguide.ShowButton = false; + objPrompt = "THAT did it. I'd keep that terminal open until connection to the server drops. Once it's done, I'll close it and tell you what to do next."; + mguide.ButtonText = "Connect to server"; + break; + case 6: + mguide.ShowButton = true; + mguide.ButtonText = "End DevX"; + mguide.OnButtonClick = new Action(() => + { + //code to run to start uninstall of ShiftOS. + }); + objPrompt = "Firewall, check. Primary server, check. Secondary server, CHECK. Telemetry server, CHECK. Now it's time to disable DevX himself. After all, he IS just code."; + break; + case 7: + var h = MissionComplete; + h?.Invoke(CurrentObjective, new EventArgs()); + break; + } + break; + } + } + #endregion + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs b/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs new file mode 100644 index 0000000..45a51f1 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/MissionGuide.Designer.cs @@ -0,0 +1,118 @@ +namespace ShiftOS.FinalMission +{ + partial class MissionGuide + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.panel1 = new System.Windows.Forms.Panel(); + this.flbuttons = new System.Windows.Forms.FlowLayoutPanel(); + this.btnstart = new System.Windows.Forms.Button(); + this.tmr_setupui = new System.Windows.Forms.Timer(this.components); + this.lbprompt = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + this.flbuttons.SuspendLayout(); + this.SuspendLayout(); + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.lbprompt); + this.panel1.Controls.Add(this.flbuttons); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(520, 189); + this.panel1.TabIndex = 0; + // + // flbuttons + // + this.flbuttons.Controls.Add(this.btnstart); + this.flbuttons.Dock = System.Windows.Forms.DockStyle.Bottom; + this.flbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; + this.flbuttons.Location = new System.Drawing.Point(0, 155); + this.flbuttons.Name = "flbuttons"; + this.flbuttons.Size = new System.Drawing.Size(518, 32); + this.flbuttons.TabIndex = 0; + // + // btnstart + // + this.btnstart.AutoSize = true; + this.btnstart.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnstart.Location = new System.Drawing.Point(435, 3); + this.btnstart.Name = "btnstart"; + this.btnstart.Size = new System.Drawing.Size(80, 23); + this.btnstart.TabIndex = 0; + this.btnstart.Text = "Let\'s go."; + this.btnstart.UseVisualStyleBackColor = true; + this.btnstart.Click += new System.EventHandler(this.btnstart_Click); + // + // tmr_setupui + // + this.tmr_setupui.Enabled = true; + this.tmr_setupui.Tick += new System.EventHandler(this.tmr_setupui_Tick); + // + // lbprompt + // + this.lbprompt.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbprompt.Location = new System.Drawing.Point(0, 0); + this.lbprompt.Margin = new System.Windows.Forms.Padding(50); + this.lbprompt.Name = "lbprompt"; + this.lbprompt.Padding = new System.Windows.Forms.Padding(15); + this.lbprompt.Size = new System.Drawing.Size(518, 155); + this.lbprompt.TabIndex = 1; + this.lbprompt.Text = "label1"; + // + // MissionGuide + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Black; + this.ClientSize = new System.Drawing.Size(520, 189); + this.Controls.Add(this.panel1); + this.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.ForeColor = System.Drawing.Color.LightGreen; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "MissionGuide"; + this.Text = "MissionGuide"; + this.panel1.ResumeLayout(false); + this.flbuttons.ResumeLayout(false); + this.flbuttons.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.FlowLayoutPanel flbuttons; + private System.Windows.Forms.Button btnstart; + private System.Windows.Forms.Timer tmr_setupui; + private System.Windows.Forms.Label lbprompt; + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/MissionGuide.cs b/source/WindowsFormsApplication1/FinalMission/MissionGuide.cs new file mode 100644 index 0000000..11f1f10 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/MissionGuide.cs @@ -0,0 +1,49 @@ +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 ShiftOS.FinalMission +{ + public partial class MissionGuide : Form + { + public MissionGuide() + { + InitializeComponent(); + this.TopMost = true; + } + + public Action OnButtonClick = null; + + public bool ShowButton + { + get { return btnstart.Visible; } + set { btnstart.Visible = value; } + } + + public string ButtonText + { + get { return btnstart.Text; } + set { btnstart.Text = value; } + } + + + + private void btnstart_Click(object sender, EventArgs e) + { + OnButtonClick.Invoke(); + } + + private void tmr_setupui_Tick(object sender, EventArgs e) + { + lbprompt.Text = EndGameHandler.CurrentObjective.ToUpper() + Environment.NewLine + Environment.NewLine; + lbprompt.Text += EndGameHandler.CurrentObjectivePrompt; + this.Location = new Point(15, 45); + } + } +} diff --git a/source/WindowsFormsApplication1/FinalMission/MissionGuide.resx b/source/WindowsFormsApplication1/FinalMission/MissionGuide.resx new file mode 100644 index 0000000..10f6fc7 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/MissionGuide.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/QuestViewer.Designer.cs b/source/WindowsFormsApplication1/FinalMission/QuestViewer.Designer.cs new file mode 100644 index 0000000..89cfd19 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/QuestViewer.Designer.cs @@ -0,0 +1,62 @@ +namespace ShiftOS.FinalMission +{ + partial class QuestViewer + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.lbobjectives = new System.Windows.Forms.ListBox(); + this.SuspendLayout(); + // + // lbobjectives + // + this.lbobjectives.Dock = System.Windows.Forms.DockStyle.Fill; + this.lbobjectives.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Italic); + this.lbobjectives.FormattingEnabled = true; + this.lbobjectives.ItemHeight = 16; + this.lbobjectives.Location = new System.Drawing.Point(0, 0); + this.lbobjectives.Name = "lbobjectives"; + this.lbobjectives.Size = new System.Drawing.Size(389, 423); + this.lbobjectives.TabIndex = 0; + // + // QuestViewer + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(389, 423); + this.Controls.Add(this.lbobjectives); + this.Name = "QuestViewer"; + this.Text = "QuestViewer"; + this.Load += new System.EventHandler(this.QuestViewer_Load); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ListBox lbobjectives; + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/FinalMission/QuestViewer.cs b/source/WindowsFormsApplication1/FinalMission/QuestViewer.cs new file mode 100644 index 0000000..3b447f9 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/QuestViewer.cs @@ -0,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace ShiftOS.FinalMission +{ + public partial class QuestViewer : Form + { + public QuestViewer() + { + InitializeComponent(); + } + + private void QuestViewer_Load(object sender, EventArgs e) + { + SetupList(); + StartQuestCheckThread(); + var tmr = new System.Windows.Forms.Timer(); + tmr.Interval = 500; + tmr.Tick += (object s, EventArgs a) => + { + SetupList(); + }; + tmr.Start(); + } + + public void SetupList() + { + lbobjectives.Items.Clear(); + foreach(var itm in EndGameHandler.ThingsToDo) + { + lbobjectives.Items.Add(itm.Key); + } + } + + public void StartQuestCheckThread() + { + var t = new Thread(new ThreadStart(new Action(() => { + //Start checkloop. + while(true) + { + CheckObjective(EndGameHandler.CurrentObjective); + } + }))); + t.Start(); + } + + public void CheckObjective(string obj) + { + if(EndGameHandler.ThingsToDo[obj] == true) + { + EndGameHandler.GoToNextObjective(); + } + } + } +} diff --git a/source/WindowsFormsApplication1/FinalMission/QuestViewer.resx b/source/WindowsFormsApplication1/FinalMission/QuestViewer.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/source/WindowsFormsApplication1/FinalMission/QuestViewer.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/HackUI.Designer.cs b/source/WindowsFormsApplication1/HackUI.Designer.cs new file mode 100644 index 0000000..f461967 --- /dev/null +++ b/source/WindowsFormsApplication1/HackUI.Designer.cs @@ -0,0 +1,635 @@ +namespace ShiftOS +{ + partial class HackUI + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HackUI)); + this.tbui = new System.Windows.Forms.TableLayoutPanel(); + this.pnlenemy = new System.Windows.Forms.Panel(); + this.lbenemycompromised = new System.Windows.Forms.Label(); + this.lbenemystats = new System.Windows.Forms.Label(); + this.txtyourconsole = new System.Windows.Forms.TextBox(); + this.pnlyou = new System.Windows.Forms.Panel(); + this.btnnext = new System.Windows.Forms.Button(); + this.lbtutorial = new System.Windows.Forms.Label(); + this.lbcompromised = new System.Windows.Forms.Label(); + this.lbstats = new System.Windows.Forms.Label(); + this.txtenemyconsole = new System.Windows.Forms.TextBox(); + this.pnlbuy = new System.Windows.Forms.Panel(); + this.txthostname = new System.Windows.Forms.TextBox(); + this.lbhostname = new System.Windows.Forms.Label(); + this.txtgrade = new System.Windows.Forms.TextBox(); + this.lbgrade = new System.Windows.Forms.Label(); + this.lbmoduleinfo = new System.Windows.Forms.Label(); + this.cmbbuyable = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.btndonebuying = new System.Windows.Forms.Button(); + this.pnldefensemanager = new System.Windows.Forms.Panel(); + this.btnbuy = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.cmbmodules = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.pnlpcinfo = new System.Windows.Forms.Panel(); + this.lbtargets = new System.Windows.Forms.Label(); + this.btnpoweroff = new System.Windows.Forms.Button(); + this.btnupgrade = new System.Windows.Forms.Button(); + this.lbpcinfo = new System.Windows.Forms.Label(); + this.lbmoduletitle = new System.Windows.Forms.Label(); + this.btncloseinfo = new System.Windows.Forms.Button(); + this.flcontrols = new System.Windows.Forms.FlowLayoutPanel(); + this.btnaddmodule = new System.Windows.Forms.Button(); + this.lbcodepoints = new System.Windows.Forms.Label(); + this.btntogglemusic = new System.Windows.Forms.Button(); + this.lbsong = new System.Windows.Forms.Label(); + this.panel2 = new System.Windows.Forms.Panel(); + this.tmrplayerhealthdetect = new System.Windows.Forms.Timer(this.components); + this.tmrenemyhealthdetect = new System.Windows.Forms.Timer(this.components); + this.tmrredraw = new System.Windows.Forms.Timer(this.components); + this.tbui.SuspendLayout(); + this.pnlenemy.SuspendLayout(); + this.pnlyou.SuspendLayout(); + this.pnlbuy.SuspendLayout(); + this.pnldefensemanager.SuspendLayout(); + this.pnlpcinfo.SuspendLayout(); + this.flcontrols.SuspendLayout(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // tbui + // + this.tbui.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; + this.tbui.ColumnCount = 2; + this.tbui.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tbui.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tbui.Controls.Add(this.pnlenemy, 1, 1); + this.tbui.Controls.Add(this.txtyourconsole, 0, 1); + this.tbui.Controls.Add(this.pnlyou, 0, 0); + this.tbui.Controls.Add(this.txtenemyconsole, 1, 0); + this.tbui.Dock = System.Windows.Forms.DockStyle.Fill; + this.tbui.Location = new System.Drawing.Point(0, 0); + this.tbui.Name = "tbui"; + this.tbui.RowCount = 2; + this.tbui.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tbui.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tbui.Size = new System.Drawing.Size(1339, 742); + this.tbui.TabIndex = 0; + // + // pnlenemy + // + this.pnlenemy.BackColor = System.Drawing.Color.Black; + this.pnlenemy.Controls.Add(this.lbenemycompromised); + this.pnlenemy.Controls.Add(this.lbenemystats); + this.pnlenemy.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlenemy.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.pnlenemy.ForeColor = System.Drawing.Color.White; + this.pnlenemy.Location = new System.Drawing.Point(673, 374); + this.pnlenemy.Name = "pnlenemy"; + this.pnlenemy.Size = new System.Drawing.Size(662, 364); + this.pnlenemy.TabIndex = 4; + // + // lbenemycompromised + // + this.lbenemycompromised.AutoSize = true; + this.lbenemycompromised.Location = new System.Drawing.Point(161, 90); + this.lbenemycompromised.Name = "lbenemycompromised"; + this.lbenemycompromised.Size = new System.Drawing.Size(47, 11); + this.lbenemycompromised.TabIndex = 1; + this.lbenemycompromised.Text = "label1"; + this.lbenemycompromised.Visible = false; + // + // lbenemystats + // + this.lbenemystats.AutoSize = true; + this.lbenemystats.Location = new System.Drawing.Point(13, 13); + this.lbenemystats.Name = "lbenemystats"; + this.lbenemystats.Size = new System.Drawing.Size(131, 11); + this.lbenemystats.TabIndex = 0; + this.lbenemystats.Text = "Enemy Health: 100%"; + // + // txtyourconsole + // + this.txtyourconsole.BackColor = System.Drawing.Color.Black; + this.txtyourconsole.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtyourconsole.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtyourconsole.ForeColor = System.Drawing.Color.LightGreen; + this.txtyourconsole.Location = new System.Drawing.Point(4, 374); + this.txtyourconsole.Multiline = true; + this.txtyourconsole.Name = "txtyourconsole"; + this.txtyourconsole.Size = new System.Drawing.Size(662, 364); + this.txtyourconsole.TabIndex = 3; + this.txtyourconsole.Text = "PLAYER CONSOLE"; + // + // pnlyou + // + this.pnlyou.BackColor = System.Drawing.Color.Black; + this.pnlyou.Controls.Add(this.btnnext); + this.pnlyou.Controls.Add(this.lbtutorial); + this.pnlyou.Controls.Add(this.lbcompromised); + this.pnlyou.Controls.Add(this.lbstats); + this.pnlyou.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlyou.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.pnlyou.ForeColor = System.Drawing.Color.White; + this.pnlyou.Location = new System.Drawing.Point(4, 4); + this.pnlyou.Name = "pnlyou"; + this.pnlyou.Size = new System.Drawing.Size(662, 363); + this.pnlyou.TabIndex = 1; + this.pnlyou.MouseDown += new System.Windows.Forms.MouseEventHandler(this.playfield_MouseDown); + // + // btnnext + // + this.btnnext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnnext.AutoSize = true; + this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnnext.Location = new System.Drawing.Point(581, 102); + this.btnnext.Name = "btnnext"; + this.btnnext.Size = new System.Drawing.Size(66, 23); + this.btnnext.TabIndex = 9; + this.btnnext.Text = "Next >>"; + this.btnnext.UseVisualStyleBackColor = true; + this.btnnext.Visible = false; + this.btnnext.TextChanged += new System.EventHandler(this.btnnext_Click); + // + // lbtutorial + // + this.lbtutorial.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.lbtutorial.Location = new System.Drawing.Point(280, 13); + this.lbtutorial.Name = "lbtutorial"; + this.lbtutorial.Size = new System.Drawing.Size(367, 86); + this.lbtutorial.TabIndex = 8; + this.lbtutorial.Text = resources.GetString("lbtutorial.Text"); + this.lbtutorial.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.lbtutorial.Visible = false; + // + // lbcompromised + // + this.lbcompromised.AutoSize = true; + this.lbcompromised.Location = new System.Drawing.Point(66, 88); + this.lbcompromised.Name = "lbcompromised"; + this.lbcompromised.Size = new System.Drawing.Size(103, 11); + this.lbcompromised.TabIndex = 3; + this.lbcompromised.Text = "SYSTEM DAMAGED"; + this.lbcompromised.Visible = false; + // + // lbstats + // + this.lbstats.AutoSize = true; + this.lbstats.Location = new System.Drawing.Point(13, 13); + this.lbstats.Name = "lbstats"; + this.lbstats.Size = new System.Drawing.Size(138, 11); + this.lbstats.TabIndex = 0; + this.lbstats.Text = "System Health: 100%"; + // + // txtenemyconsole + // + this.txtenemyconsole.BackColor = System.Drawing.Color.Black; + this.txtenemyconsole.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtenemyconsole.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtenemyconsole.ForeColor = System.Drawing.Color.LightGreen; + this.txtenemyconsole.Location = new System.Drawing.Point(673, 4); + this.txtenemyconsole.Multiline = true; + this.txtenemyconsole.Name = "txtenemyconsole"; + this.txtenemyconsole.Size = new System.Drawing.Size(662, 363); + this.txtenemyconsole.TabIndex = 2; + this.txtenemyconsole.Text = "ENEMY CONSOLE"; + // + // pnlbuy + // + this.pnlbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pnlbuy.Controls.Add(this.txthostname); + this.pnlbuy.Controls.Add(this.lbhostname); + this.pnlbuy.Controls.Add(this.txtgrade); + this.pnlbuy.Controls.Add(this.lbgrade); + this.pnlbuy.Controls.Add(this.lbmoduleinfo); + this.pnlbuy.Controls.Add(this.cmbbuyable); + this.pnlbuy.Controls.Add(this.label4); + this.pnlbuy.Controls.Add(this.btndonebuying); + this.pnlbuy.Location = new System.Drawing.Point(7, 437); + this.pnlbuy.Name = "pnlbuy"; + this.pnlbuy.Size = new System.Drawing.Size(382, 299); + this.pnlbuy.TabIndex = 6; + this.pnlbuy.Visible = false; + // + // txthostname + // + this.txthostname.BackColor = System.Drawing.Color.Black; + this.txthostname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txthostname.ForeColor = System.Drawing.Color.White; + this.txthostname.Location = new System.Drawing.Point(186, 236); + this.txthostname.Name = "txthostname"; + this.txthostname.Size = new System.Drawing.Size(186, 18); + this.txthostname.TabIndex = 10; + // + // lbhostname + // + this.lbhostname.AutoSize = true; + this.lbhostname.Location = new System.Drawing.Point(112, 240); + this.lbhostname.Name = "lbhostname"; + this.lbhostname.Size = new System.Drawing.Size(68, 11); + this.lbhostname.TabIndex = 9; + this.lbhostname.Text = "Hostname:"; + // + // txtgrade + // + this.txtgrade.BackColor = System.Drawing.Color.Black; + this.txtgrade.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtgrade.ForeColor = System.Drawing.Color.White; + this.txtgrade.Location = new System.Drawing.Point(65, 236); + this.txtgrade.Name = "txtgrade"; + this.txtgrade.Size = new System.Drawing.Size(40, 18); + this.txtgrade.TabIndex = 8; + this.txtgrade.TextChanged += new System.EventHandler(this.txtgrade_TextChanged); + // + // lbgrade + // + this.lbgrade.AutoSize = true; + this.lbgrade.Location = new System.Drawing.Point(12, 240); + this.lbgrade.Name = "lbgrade"; + this.lbgrade.Size = new System.Drawing.Size(47, 11); + this.lbgrade.TabIndex = 7; + this.lbgrade.Text = "Grade:"; + // + // lbmoduleinfo + // + this.lbmoduleinfo.Location = new System.Drawing.Point(10, 63); + this.lbmoduleinfo.Name = "lbmoduleinfo"; + this.lbmoduleinfo.Size = new System.Drawing.Size(367, 156); + this.lbmoduleinfo.TabIndex = 6; + this.lbmoduleinfo.Text = resources.GetString("lbmoduleinfo.Text"); + // + // cmbbuyable + // + this.cmbbuyable.BackColor = System.Drawing.Color.Black; + this.cmbbuyable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbbuyable.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cmbbuyable.ForeColor = System.Drawing.Color.White; + this.cmbbuyable.FormattingEnabled = true; + this.cmbbuyable.Location = new System.Drawing.Point(12, 38); + this.cmbbuyable.Name = "cmbbuyable"; + this.cmbbuyable.Size = new System.Drawing.Size(360, 19); + this.cmbbuyable.TabIndex = 3; + this.cmbbuyable.SelectedIndexChanged += new System.EventHandler(this.cmbbuyable_SelectedIndexChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(10, 12); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(75, 11); + this.label4.TabIndex = 2; + this.label4.Text = "Buy Module"; + // + // btndonebuying + // + this.btndonebuying.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btndonebuying.AutoSize = true; + this.btndonebuying.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btndonebuying.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndonebuying.Location = new System.Drawing.Point(341, 273); + this.btndonebuying.Name = "btndonebuying"; + this.btndonebuying.Size = new System.Drawing.Size(38, 23); + this.btndonebuying.TabIndex = 1; + this.btndonebuying.Text = "Buy"; + this.btndonebuying.UseVisualStyleBackColor = true; + this.btndonebuying.Click += new System.EventHandler(this.btndonebuying_Click); + // + // pnldefensemanager + // + this.pnldefensemanager.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pnldefensemanager.Controls.Add(this.btnbuy); + this.pnldefensemanager.Controls.Add(this.label3); + this.pnldefensemanager.Controls.Add(this.cmbmodules); + this.pnldefensemanager.Controls.Add(this.label1); + this.pnldefensemanager.Controls.Add(this.button1); + this.pnldefensemanager.Location = new System.Drawing.Point(395, 456); + this.pnldefensemanager.Name = "pnldefensemanager"; + this.pnldefensemanager.Size = new System.Drawing.Size(382, 280); + this.pnldefensemanager.TabIndex = 5; + this.pnldefensemanager.Visible = false; + // + // btnbuy + // + this.btnbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnbuy.AutoSize = true; + this.btnbuy.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnbuy.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnbuy.Location = new System.Drawing.Point(199, 254); + this.btnbuy.Name = "btnbuy"; + this.btnbuy.Size = new System.Drawing.Size(122, 23); + this.btnbuy.TabIndex = 7; + this.btnbuy.Text = "Buy new module."; + this.btnbuy.UseVisualStyleBackColor = true; + this.btnbuy.Click += new System.EventHandler(this.btnbuy_Click); + // + // label3 + // + this.label3.Location = new System.Drawing.Point(12, 95); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(367, 156); + this.label3.TabIndex = 6; + this.label3.Text = resources.GetString("label3.Text"); + // + // cmbmodules + // + this.cmbmodules.BackColor = System.Drawing.Color.Black; + this.cmbmodules.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbmodules.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cmbmodules.ForeColor = System.Drawing.Color.White; + this.cmbmodules.FormattingEnabled = true; + this.cmbmodules.Location = new System.Drawing.Point(12, 38); + this.cmbmodules.Name = "cmbmodules"; + this.cmbmodules.Size = new System.Drawing.Size(360, 19); + this.cmbmodules.TabIndex = 3; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(10, 12); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(75, 11); + this.label1.TabIndex = 2; + this.label1.Text = "Add Module"; + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button1.AutoSize = true; + this.button1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.Location = new System.Drawing.Point(327, 254); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(52, 23); + this.button1.TabIndex = 1; + this.button1.Text = "Done."; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // pnlpcinfo + // + this.pnlpcinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.pnlpcinfo.Controls.Add(this.lbtargets); + this.pnlpcinfo.Controls.Add(this.btnpoweroff); + this.pnlpcinfo.Controls.Add(this.btnupgrade); + this.pnlpcinfo.Controls.Add(this.lbpcinfo); + this.pnlpcinfo.Controls.Add(this.lbmoduletitle); + this.pnlpcinfo.Controls.Add(this.btncloseinfo); + this.pnlpcinfo.Location = new System.Drawing.Point(783, 456); + this.pnlpcinfo.Name = "pnlpcinfo"; + this.pnlpcinfo.Size = new System.Drawing.Size(382, 280); + this.pnlpcinfo.TabIndex = 7; + this.pnlpcinfo.Visible = false; + // + // lbtargets + // + this.lbtargets.Location = new System.Drawing.Point(12, 165); + this.lbtargets.Name = "lbtargets"; + this.lbtargets.Size = new System.Drawing.Size(367, 86); + this.lbtargets.TabIndex = 9; + this.lbtargets.Text = "Targets"; + // + // btnpoweroff + // + this.btnpoweroff.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnpoweroff.AutoSize = true; + this.btnpoweroff.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnpoweroff.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnpoweroff.Location = new System.Drawing.Point(85, 254); + this.btnpoweroff.Name = "btnpoweroff"; + this.btnpoweroff.Size = new System.Drawing.Size(80, 23); + this.btnpoweroff.TabIndex = 8; + this.btnpoweroff.Text = "Power Off"; + this.btnpoweroff.UseVisualStyleBackColor = true; + this.btnpoweroff.Click += new System.EventHandler(this.btnpoweroff_Click); + // + // btnupgrade + // + this.btnupgrade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnupgrade.AutoSize = true; + this.btnupgrade.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnupgrade.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnupgrade.Location = new System.Drawing.Point(171, 254); + this.btnupgrade.Name = "btnupgrade"; + this.btnupgrade.Size = new System.Drawing.Size(150, 23); + this.btnupgrade.TabIndex = 7; + this.btnupgrade.Text = "Upgrade This Module"; + this.btnupgrade.UseVisualStyleBackColor = true; + this.btnupgrade.Click += new System.EventHandler(this.btnupgrade_Click); + // + // lbpcinfo + // + this.lbpcinfo.Location = new System.Drawing.Point(12, 41); + this.lbpcinfo.Name = "lbpcinfo"; + this.lbpcinfo.Size = new System.Drawing.Size(367, 86); + this.lbpcinfo.TabIndex = 6; + this.lbpcinfo.Text = resources.GetString("lbpcinfo.Text"); + // + // lbmoduletitle + // + this.lbmoduletitle.AutoSize = true; + this.lbmoduletitle.Location = new System.Drawing.Point(10, 12); + this.lbmoduletitle.Name = "lbmoduletitle"; + this.lbmoduletitle.Size = new System.Drawing.Size(75, 11); + this.lbmoduletitle.TabIndex = 2; + this.lbmoduletitle.Text = "Add Module"; + // + // btncloseinfo + // + this.btncloseinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btncloseinfo.AutoSize = true; + this.btncloseinfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btncloseinfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncloseinfo.Location = new System.Drawing.Point(327, 254); + this.btncloseinfo.Name = "btncloseinfo"; + this.btncloseinfo.Size = new System.Drawing.Size(52, 23); + this.btncloseinfo.TabIndex = 1; + this.btncloseinfo.Text = "Done."; + this.btncloseinfo.UseVisualStyleBackColor = true; + this.btncloseinfo.Click += new System.EventHandler(this.btncloseinfo_Click); + // + // flcontrols + // + this.flcontrols.Controls.Add(this.btnaddmodule); + this.flcontrols.Controls.Add(this.lbcodepoints); + this.flcontrols.Controls.Add(this.btntogglemusic); + this.flcontrols.Controls.Add(this.lbsong); + this.flcontrols.Dock = System.Windows.Forms.DockStyle.Bottom; + this.flcontrols.Location = new System.Drawing.Point(0, 742); + this.flcontrols.Name = "flcontrols"; + this.flcontrols.Size = new System.Drawing.Size(1339, 31); + this.flcontrols.TabIndex = 4; + // + // btnaddmodule + // + this.btnaddmodule.AutoSize = true; + this.btnaddmodule.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnaddmodule.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnaddmodule.Location = new System.Drawing.Point(3, 3); + this.btnaddmodule.Name = "btnaddmodule"; + this.btnaddmodule.Size = new System.Drawing.Size(87, 23); + this.btnaddmodule.TabIndex = 0; + this.btnaddmodule.Text = "Add Module"; + this.btnaddmodule.UseVisualStyleBackColor = true; + this.btnaddmodule.Click += new System.EventHandler(this.btnaddmodule_Click); + // + // lbcodepoints + // + this.lbcodepoints.Location = new System.Drawing.Point(96, 0); + this.lbcodepoints.Name = "lbcodepoints"; + this.lbcodepoints.Size = new System.Drawing.Size(127, 26); + this.lbcodepoints.TabIndex = 1; + this.lbcodepoints.Text = "Codepoints:"; + this.lbcodepoints.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // btntogglemusic + // + this.btntogglemusic.AutoSize = true; + this.btntogglemusic.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btntogglemusic.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btntogglemusic.Location = new System.Drawing.Point(229, 3); + this.btntogglemusic.Name = "btntogglemusic"; + this.btntogglemusic.Size = new System.Drawing.Size(101, 23); + this.btntogglemusic.TabIndex = 2; + this.btntogglemusic.Text = "Toggle Music"; + this.btntogglemusic.UseVisualStyleBackColor = true; + this.btntogglemusic.Click += new System.EventHandler(this.button2_Click); + // + // lbsong + // + this.lbsong.Location = new System.Drawing.Point(336, 0); + this.lbsong.Name = "lbsong"; + this.lbsong.Size = new System.Drawing.Size(127, 26); + this.lbsong.TabIndex = 3; + this.lbsong.Text = "Codepoints:"; + this.lbsong.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // panel2 + // + this.panel2.Controls.Add(this.pnlbuy); + this.panel2.Controls.Add(this.pnlpcinfo); + this.panel2.Controls.Add(this.pnldefensemanager); + this.panel2.Controls.Add(this.tbui); + this.panel2.Controls.Add(this.flcontrols); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1339, 773); + this.panel2.TabIndex = 1; + // + // tmrplayerhealthdetect + // + this.tmrplayerhealthdetect.Tick += new System.EventHandler(this.tmrplayerhealthdetect_Tick); + // + // tmrenemyhealthdetect + // + this.tmrenemyhealthdetect.Tick += new System.EventHandler(this.tmrenemyhealthdetect_Tick); + // + // tmrredraw + // + this.tmrredraw.Tick += new System.EventHandler(this.tmrredraw_Tick); + // + // HackUI + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Black; + this.ClientSize = new System.Drawing.Size(1339, 773); + this.Controls.Add(this.panel2); + this.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.ForeColor = System.Drawing.Color.LightGreen; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "HackUI"; + this.Text = "HackUI"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.this_Closing); + this.Load += new System.EventHandler(this.HackUI_Load); + this.tbui.ResumeLayout(false); + this.tbui.PerformLayout(); + this.pnlenemy.ResumeLayout(false); + this.pnlenemy.PerformLayout(); + this.pnlyou.ResumeLayout(false); + this.pnlyou.PerformLayout(); + this.pnlbuy.ResumeLayout(false); + this.pnlbuy.PerformLayout(); + this.pnldefensemanager.ResumeLayout(false); + this.pnldefensemanager.PerformLayout(); + this.pnlpcinfo.ResumeLayout(false); + this.pnlpcinfo.PerformLayout(); + this.flcontrols.ResumeLayout(false); + this.flcontrols.PerformLayout(); + this.panel2.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tbui; + private System.Windows.Forms.Panel pnlyou; + private System.Windows.Forms.Panel pnlbuy; + private System.Windows.Forms.TextBox txthostname; + private System.Windows.Forms.Label lbhostname; + private System.Windows.Forms.TextBox txtgrade; + private System.Windows.Forms.Label lbgrade; + private System.Windows.Forms.Label lbmoduleinfo; + private System.Windows.Forms.ComboBox cmbbuyable; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button btndonebuying; + private System.Windows.Forms.Panel pnldefensemanager; + private System.Windows.Forms.Button btnbuy; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.ComboBox cmbmodules; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button btnnext; + private System.Windows.Forms.Label lbtutorial; + private System.Windows.Forms.Panel pnlpcinfo; + private System.Windows.Forms.Label lbtargets; + private System.Windows.Forms.Button btnpoweroff; + private System.Windows.Forms.Button btnupgrade; + private System.Windows.Forms.Label lbpcinfo; + private System.Windows.Forms.Label lbmoduletitle; + private System.Windows.Forms.Button btncloseinfo; + private System.Windows.Forms.FlowLayoutPanel flcontrols; + private System.Windows.Forms.Button btnaddmodule; + private System.Windows.Forms.Label lbcompromised; + private System.Windows.Forms.Label lbstats; + private System.Windows.Forms.TextBox txtyourconsole; + private System.Windows.Forms.TextBox txtenemyconsole; + private System.Windows.Forms.Panel pnlenemy; + private System.Windows.Forms.Label lbenemycompromised; + private System.Windows.Forms.Label lbenemystats; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Timer tmrplayerhealthdetect; + private System.Windows.Forms.Timer tmrenemyhealthdetect; + private System.Windows.Forms.Timer tmrredraw; + private System.Windows.Forms.Label lbcodepoints; + private System.Windows.Forms.Button btntogglemusic; + private System.Windows.Forms.Label lbsong; + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/HackUI.cs b/source/WindowsFormsApplication1/HackUI.cs new file mode 100644 index 0000000..342318a --- /dev/null +++ b/source/WindowsFormsApplication1/HackUI.cs @@ -0,0 +1,1312 @@ +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 ShiftOS +{ + public partial class HackUI : Form + { + public HackUI() + { + InitializeComponent(); + ThisEnemyHacker = new EnemyHacker("Test Dummy", "A test hacker", "A test hacker", 1, 1, "easy"); + } + + public event EventHandler OnWin; + + public HackUI(EnemyHacker enemy) + { + ThisEnemyHacker = enemy; + InitializeComponent(); + } + + public Computer ThisPlayerPC = null; + private decimal TotalPlayerHP = 0; + private EnemyHacker EnemyNet = null; + + private List MyNetwork = new List(); + + #region PLAYER + + private void LoadPlayerScreen() + { + AntiVirusBounds = new List(); + TutorialNetwork.Add(new Module(SystemType.Core, 1, "localhost")); + foreach (var m in GetMyNet()) + { + if (m.Type == SystemType.Core) + { + MyNetwork.Add(m); + } + } + VisualizePlayerNetwork(); + if (EnemyNet != null) + { + tmrplayerhealthdetect.Start(); + } + else + { + tmrplayerhealthdetect.Start(); + } + if (IsTutorial) + { + SetupTutorialUI(0); + } + } + + private void VisualizePlayerNetwork() + { + AllPlayerComputers = new List(); + foreach (Module m in MyNetwork) + { + if (AllPlayerComputers.Count <= 10) + { + var c = m.Deploy(); + if (c.Type == SystemType.Core) + { + ThisPlayerPC = c; + } + AddModule(c); + } + } + if(ThisPlayerPC == null) + { + var m = new Module(SystemType.Core, 1, "localhost"); + GetMyNet().Add(m); + MyNetwork.Add(m); + var c = m.Deploy(); + ThisPlayerPC = c; + AddModule(c); + } + } + + public List AllPlayerComputers = null; + + private void tmrplayerhealthdetect_Tick(object sender, EventArgs e) + { + var rnd = new Random(); + int chance = 0; + foreach (var pc in AllPlayerComputers) + { + if (pc.Disabled == false) + { + if (pc.Enemies != null) + { + foreach (var enemy in pc.Enemies) + { + if (AllEnemyComputers.Contains(enemy)) + { + chance = rnd.Next(1, 15); + if (chance == 7) + { + if (IsTutorial) + { + if (TutorialProgress == 32 || TutorialProgress == 9) + { + enemy.LaunchAttack(pc.GetProperType(), pc.GetDamageRate()); + } + } + else + { + enemy.LaunchAttack(pc.GetProperType(), pc.GetDamageRate()); + } + } + } + } + } + } + } + decimal health = 0; + foreach (var pc in AllPlayerComputers) + { + health += (decimal)pc.HP; + } + if (health > TotalPlayerHP) + { + TotalPlayerHP = health; + } + decimal percent = (health / TotalPlayerHP) * 100; + lbstats.Text = $"System Health: {percent}%"; + if (ThisPlayerPC.HP <= 0) + { + API.CreateInfoboxSession("System compromised.", "The enemy hacker has overthrown your defenses and compromised your system. You will need to wait an hour before you can start another hack battle.", infobox.InfoboxMode.Info); + Hacking.Failure = true; + Hacking.FailDate = DateTime.Now; + UserRequestedClose = false; + this.Close(); + } + } + + public bool UserRequestedClose = true; + + private void this_Closing(object sender, FormClosingEventArgs e) + { + arc.Dispose(); + if (UserRequestedClose == false) + { + tmrplayerhealthdetect.Stop(); + foreach (var pc in AllPlayerComputers) + { + pc.HP = 0; + } + } + } + + public Computer SelectedPlayerComputer = null; + + public void AddModule(Computer newModule) + { + pnlyou.Controls.Add(newModule); + int hp = newModule.HP; + WriteLine($"[Network] Welcome to the network, {newModule.Hostname}!"); + TotalPlayerHP += newModule.HP; + AllPlayerComputers.Add(newModule); + newModule.Show(); + newModule.OnDestruction += (object s, EventArgs a) => + { + if (this.SelectedPlayerComputer == newModule) + { + SelectedPlayerComputer = null; + } + if (newModule.Type == SystemType.Firewall) + { + Player_Firewall_Destroy(newModule); + } + AllPlayerComputers.Remove(newModule); + newModule.Dispose(); + WriteLine($"[Network] {newModule.Hostname} has gone OFFLINE."); + }; + newModule.Select += (object s, EventArgs e) => + { + SelectedPlayerComputer = newModule; + ShowPCInfo(newModule.Hostname); + if (IsTutorial) + { + if (TutorialProgress == 6) + { + if (newModule == ThisPlayerPC) + { + SetupTutorialUI(7); + } + } + } + }; + newModule.HP_Decreased += new EventHandler(Player_System_Damaged); + newModule.OnRepair += new EventHandler(Player_System_Repaired); + if (newModule.Type == SystemType.Antivirus || newModule.Type == SystemType.RepairModule) + { + var b = newModule.GetAreaOfEffect(); + AntiVirusBounds.Add(b); + pnlyou.Refresh(); + newModule.AntivirusRepair += (object s, EventArgs a) => + { + foreach (Computer pc in AllPlayerComputers) + { + if (pc != newModule && pc.Bounds.IntersectsWith(b)) + { + if (newModule.Type == SystemType.RepairModule) + { + if (pc.HP < newModule.HP) + { + if (pc.HP < pc.GetTotal()) + { + WriteLine($"[{newModule.Hostname}] Repairing neighbouring system \"{pc.Hostname}\""); + pc.Repair(1); + } + } + + } + else + { + if (pc.HP < 10) + { + WriteLine($"[{newModule.Hostname}] Repairing neighbouring system \"{pc.Hostname}\""); + pc.Repair(1); + } + } + } + } + }; + + } + if (newModule.Type == SystemType.Firewall) + { + var b = newModule.GetAreaOfEffect(); + AntiVirusBounds.Add(b); + pnlenemy.Refresh(); + Player_Firewall_Deflect(newModule); + } + if (newModule.Type == SystemType.ServerStack) + { + newModule.MassDDoS += (object s, EventArgs a) => + { + WormToEnemy(); + }; + } + } + + public void WormToEnemy() + { + var rnd = new Random(); + int r = rnd.Next(0, 10); + WriteLine("[Network] Launching distributed denial-of-service attack on rival network."); + foreach (Computer c in AllEnemyComputers) + { + if (r == 5) + { + c.Disable(); + } + } + } + + public void ShowPCInfo(string hostname) + { + Module mod = null; + foreach (var m in GetMyNet()) + { + if (m.Hostname == hostname) + { + mod = m; + } + } + if (mod != null) + { + pnlpcinfo.Left = 7; + pnlpcinfo.Show(); + lbmoduletitle.Text = "Module Info - " + hostname; + lbpcinfo.Text = $"Hostname: {hostname}{Environment.NewLine}Type: {mod.Type.ToString()}"; + if (mod.Type == SystemType.Core) + { + lbpcinfo.Text += Environment.NewLine + "This represents your main system. If this module is destroyed, you will automatically lose the battle. Protect it at all costs."; + btnupgrade.Hide(); + btnpoweroff.Hide(); + } + else + { + lbpcinfo.Text += $"{Environment.NewLine}Grade: {mod.Grade}"; + if (mod.Grade < 4) + { + btnupgrade.Show(); + } + else + { + btnupgrade.Hide(); + } + btnpoweroff.Show(); + } + } + Computer c = null; + foreach (var pc in AllPlayerComputers) + { + if (pc.Hostname == hostname) + { + c = pc; + } + } + if (c != null) + { + lbtargets.Text = "Targets: "; + if (c.Enemies != null) + { + if (c.Enemies.Count > 0) + { + foreach (var pc in c.Enemies) + { + lbtargets.Text += " " + pc.Hostname + ","; + } + } + else + { + lbtargets.Text += " - Click on an enemy module to target it."; + } + } + else + { + lbtargets.Text += " - Click on an enemy module to target it."; + } + lbtargets.Text += Environment.NewLine + "Some modules will not fire at their targets."; + } + } + + public void Player_Firewall_Deflect(Computer fwall) + { + //Safegaurd... + if (fwall.Type == SystemType.Firewall) + { + var r = fwall.GetAreaOfEffect(); + foreach (var pc in AllPlayerComputers) + { + if (pc != fwall) + { + if (pc.Bounds.IntersectsWith(r)) + { + pc.DamageDefector = fwall.Grade; + } + } + } + } + } + + public void Player_Firewall_Destroy(Computer fwall) + { + //Safegaurd... + if (fwall.Type == SystemType.Firewall) + { + var r = fwall.GetAreaOfEffect(); + foreach (var pc in AllPlayerComputers) + { + if (pc.Bounds.IntersectsWith(r)) + { + pc.DamageDefector = 1; + UpdatePlayerFirewalls(); + } + } + } + } + + public void UpdatePlayerFirewalls() + { + foreach (var pc in AllPlayerComputers) + { + if (pc.Type == SystemType.Firewall) + { + Player_Firewall_Deflect(pc); + } + } + } + + + private void Player_System_Repaired(object s, EventArgs e) + { + var c = (Computer)s; + WriteLine($"[{c.Hostname}] System repaired."); + lbcompromised.Text = "System regenerating..."; + int location = c.Left - (lbcompromised.Width / 4); + int y = c.Top - 25; + lbcompromised.Location = new Point(location, y); + lbcompromised.Show(); + c.Flash(lbcompromised); + + } + + + private void Player_System_Damaged(object s, EventArgs e) + { + var c = (Computer)s; + WriteLine($"[{c.Hostname}] System damaged. Total HP: {c.HP}"); + lbcompromised.Text = "System damaged!"; + int location = c.Left - (lbcompromised.Width / 4); + int y = c.Top - 25; + lbcompromised.Location = new Point(location, y); + lbcompromised.Show(); + c.Flash(lbcompromised); + } + + private void btnaddmodule_Click(object sender, EventArgs e) + { + SetupModuleList(); + pnldefensemanager.Left = 7; + pnldefensemanager.Visible = !pnldefensemanager.Visible; + if (IsTutorial) + { + if (TutorialProgress == 12) + { + SetupTutorialUI(13); + } + } + } + + private Dictionary FutureModules = null; + public List TutorialNetwork = new List(); + + public void SetupModuleList() + { + FutureModules = new Dictionary(); + cmbmodules.Items.Clear(); + List net = null; + if (IsTutorial) + { + net = TutorialNetwork; + } + else + { + net = Hacking.MyNetwork; + } + foreach (var item in net) + { + Computer m = null; + foreach (var mod in AllPlayerComputers) + { + if (mod.Hostname == item.Hostname) + { + m = mod; + } + } + if (m == null) + { + cmbmodules.Items.Add(item.Hostname); + FutureModules.Add(item.Hostname, item.Type); + } + } + + } + + bool PlacingNewModule = false; + + + private void button1_Click_1(object sender, EventArgs e) + { + if (cmbmodules.Text != "") + { + PlacingNewModule = true; + pnldefensemanager.Hide(); + if (IsTutorial) + { + if (TutorialProgress == 20) + { + SetupTutorialUI(21); + } + } + } + } + + private void playfield_MouseDown(object sender, MouseEventArgs e) + { + if (PlacingNewModule == true) + { + if (e.Button == MouseButtons.Left) + { + if (AllPlayerComputers.Count < 10) + { + bool cont = true; + try + { + SystemType type = FutureModules[cmbmodules.Text]; + } + catch (Exception ex) + { + cont = false; + API.CreateInfoboxSession("Error", "Please select a module type.", infobox.InfoboxMode.Info); + } + if (cont == true) + { + var coordinates = pnlyou.PointToClient(Cursor.Position); + int x = coordinates.X; + int y = coordinates.Y; + + var m = new Module(FutureModules[cmbmodules.Text], 1, cmbmodules.Text); + foreach (var mod in GetMyNet()) + { + if (mod.Hostname == cmbmodules.Text) + { + m = mod; + } + } + m.X = x; + m.Y = y; + var c = m.Deploy(); + AddModule(c); + API.RemoveCodepoints(10); + pnldefensemanager.Hide(); + if (IsTutorial) + { + if (TutorialProgress == 21) + { + SetupTutorialUI(22); + } + else if (TutorialProgress == 25) + { + SetupTutorialUI(26); + } + } + } + PlacingNewModule = false; + } + else + { + API.CreateInfoboxSession("Too much deployed modules", "You can have a maximum of 10 modules deployed on your network, including your main system. You will have to wait for one to be destroyed.", infobox.InfoboxMode.Info); + PlacingNewModule = false; + } + } + else + { + PlacingNewModule = false; + } + } + } + + public List BuyableModules = null; + + public void SetupBuyable() + { + if (!IsTutorial) + { + BuyableModules = Hacking.GetFutureModules(); + } + cmbbuyable.Items.Clear(); + foreach (var m in BuyableModules) + { + cmbbuyable.Items.Add(m.Name); + } + lbmoduleinfo.Text = ""; + txtgrade.Text = "1"; + } + + private void btnbuy_Click(object sender, EventArgs e) + { + if (IsTutorial) + { + if (TutorialProgress == 14) + { + SetupTutorialUI(15); + } + } + SetupBuyable(); + pnlbuy.Show(); + pnldefensemanager.Hide(); + } + + public List AntiVirusBounds = null; + public List IndicatorsToDestroy = new List(); + private void boundpaint(object sender, PaintEventArgs e) + { + foreach (Rectangle r in IndicatorsToDestroy) + { + AntiVirusBounds.Remove(r); + var sb = new SolidBrush(Color.Black); + var p = new Pen(sb); + p.DashStyle = System.Drawing.Drawing2D.DashStyle.Solid; + p.Width = 2; + e.Graphics.DrawRectangle(p, r); + + } + IndicatorsToDestroy.Clear(); + foreach (Rectangle r in AntiVirusBounds) + { + IndicatorsToDestroy.Add(r); + tmrredraw.Start(); + var sb = new SolidBrush(Color.White); + var p = new Pen(sb); + p.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; + p.Width = 2; + e.Graphics.DrawRectangle(p, r); + } + } + + private void tmrredraw_Tick(object sender, EventArgs e) + { + pnlyou.Refresh(); + tmrredraw.Stop(); + } + + private void SetupModuleInfo() + { + bool cont = false; + FutureModule m = null; + foreach (var mod in BuyableModules) + { + if (mod.Name == cmbbuyable.Text) + { + m = mod; + cont = true; + } + } + if (cont == true) + { + lbmoduleinfo.Text = m.Name; + lbmoduleinfo.Text += Environment.NewLine + $"Cost: {m.Cost * Convert.ToInt32(txtgrade.Text)} CP"; + lbmoduleinfo.Text += Environment.NewLine + $"Description: {Environment.NewLine}{m.Description}"; + } + } + + private void cmbbuyable_SelectedIndexChanged(object sender, EventArgs e) + { + SetupModuleInfo(); + if (IsTutorial) + { + if (TutorialProgress == 17) + { + if (cmbbuyable.Text == "Antivirus") + { + SetupTutorialUI(18); + } + } + } + } + + private void txtgrade_TextChanged(object sender, EventArgs e) + { + try + { + int g = Convert.ToInt32(txtgrade.Text); + if (g < 1) + { + txtgrade.Text = "1"; + } + else if (g > 4) + { + txtgrade.Text = "4"; + } + SetupModuleInfo(); + } + catch (Exception ex) + { + txtgrade.Text = "1"; + SetupModuleInfo(); + } + } + + public List GetMyNet() + { + if (IsTutorial) + { + return TutorialNetwork; + } + else + { + return Hacking.MyNetwork; + } + } + + private void btndonebuying_Click(object sender, EventArgs e) + { + var mod = new FutureModule("", 0, "", SystemType.Core); + bool cont = false; + foreach (var m in BuyableModules) + { + if (m.Name == cmbbuyable.Text) + { + mod = m; + cont = true; + } + } + if (cont == true) + { + if (API.Codepoints >= mod.Cost) + { + if (txthostname.Text != "") + { + bool cont2 = true; + string hname = txthostname.Text.Replace(" ", "_"); + foreach (var pc in GetMyNet()) + { + if (pc.Hostname == hname) + { + cont2 = false; + } + } + if (cont2 == true) + { + GetMyNet().Add(new Module(mod.Type, Convert.ToInt32(txtgrade.Text), hname)); + API.RemoveCodepoints(mod.Cost); + API.CreateInfoboxSession("Module added.", "To deploy the module to the network, select 'Add Module' and choose the hostname from the menu.", infobox.InfoboxMode.Info); + pnlbuy.Hide(); + if (IsTutorial) + { + if (TutorialProgress == 19) + { + SetupTutorialUI(20); + } + else if (TutorialProgress == 24) + { + SetupTutorialUI(25); + } + } + } + else + { + API.CreateInfoboxSession("Please enter a unique hostname.", "No two computers can share the same hostname. Please choose another.", infobox.InfoboxMode.Info); + } + } + else + { + API.CreateInfoboxSession("Please enter a hostname.", "It is best to enter a hostname for your new computer so you know which one it is.", infobox.InfoboxMode.Info); + } + + } + else + { + API.CreateInfoboxSession("Insufficient Codepoints", "You do not have enough Codepoints to buy this module.", infobox.InfoboxMode.Info); + } + } + } + + private void btncloseinfo_Click(object sender, EventArgs e) + { + SelectedPlayerComputer = null; + pnlpcinfo.Hide(); + Hacking.SaveCharacters(); + } + + private void btnpoweroff_Click(object sender, EventArgs e) + { + //Remove the computer from the game. + pnlyou.Controls.Remove(SelectedPlayerComputer); + AllPlayerComputers.Remove(SelectedPlayerComputer); + btnpoweroff.Hide(); + } + + private void btnupgrade_Click(object sender, EventArgs e) + { + int price = 20 * SelectedPlayerComputer.Grade; + if (API.Codepoints >= price) + { + foreach (var m in GetMyNet()) + { + if (m.Hostname == SelectedPlayerComputer.Hostname) + { + SelectedPlayerComputer.Grade += 1; + m.Grade += 1; + Hacking.SaveCharacters(); + API.CreateInfoboxSession("Upgrade successful.", "Your module has been upgraded.", infobox.InfoboxMode.Info); + } + } + } + else + { + API.CreateInfoboxSession("Insufficient funds", $"You need at least {price} CP to upgrade this module.", infobox.InfoboxMode.Info); + } + ShowPCInfo(SelectedPlayerComputer.Hostname); + } + + public int TutorialProgress = 0; + public bool IsTutorial = false; + + public void SetupTutorialUI(int p) + { + TutorialProgress = p; + lbtutorial.Show(); + switch (p) + { + case 0: + lbtutorial.Text = "Welcome to the Hacker Battle tutorial. This guide will teach you the fundamentals and basics of taking part in a Hacker Battle. When you're done here, you'll have all you need for a very basic network."; + btnaddmodule.Hide(); + btnnext.Show(); + break; + case 1: + lbtutorial.Text = "When a battle commenses, you will see two windows. The one on the left, is your network. You can view information about all computers on the network, buy new systems, upgrade them and deploy them."; + break; + case 2: + lbtutorial.Text = "On the right is the enemy's network. This window will show you the strength (HP) of all enemy systems, and will allow you to target specific systems to take down."; + break; + case 3: + lbtutorial.Text = "On the top-left corner of both windows is the network health indicator. It will display a percentage of the entire network health."; + break; + case 4: + lbtutorial.Text = "If the enemy's total network health hits 0%, or his core's strength hits 0%, you win."; + break; + case 5: + lbtutorial.Text = "However, if the same happens to you, you will lose the battle."; + break; + case 6: + lbtutorial.Text = "You can click on your Core to view information about it."; + btnnext.Hide(); + break; + case 7: + lbtutorial.Text = "When you click on a module, you can see information about it, such as it's grade level, HP, and type. This module is a Core, so it has no grade level. It currently has 100 HP."; + btnnext.Show(); + break; + case 8: + lbtutorial.Text = "When a module is selected you can left-click an enemy module to target it. This will make the selected module attempt to fire at the target. Cores are very weak, but are capable of bringing a target down by 1 HP."; + break; + case 9: + lbtutorial.Text = "The enemy Core is attacking your Core now. Looks like it's time to fight back. Select your core, and target the enemy's Core to fight back."; + btnnext.Hide(); + break; + case 10: + lbtutorial.Text = "Phew! He couldn't do much damage before we fought back. In a real battle, modules won't just stop fighting randomly, but for the purpose of this tutorial, your Core will stop attacking the enemy Core."; + btnnext.Show(); + ThisPlayerPC.Enemies.Clear(); + break; + case 11: + lbtutorial.Text = "Should your Core fall to a fatal state in the future, you can deploy some defenses to slow the enemy down. Any hacker knows it's best to disable defenses before attacking the main target."; + ThisPlayerPC.HP = 5; + break; + case 12: + lbtutorial.Text = "We will look at ways of healing damaged modules now. You can add new modules to the network by clicking the [Add Module] button in the lower-left corner."; + btnaddmodule.Show(); + btnnext.Hide(); + break; + case 13: + lbtutorial.Text = "You can select a module from the list of hostnames. Only modules that are not powered on will display in the menu."; + btnnext.Show(); + BuyableModules = new List(); + BuyableModules.Add(new FutureModule("Antivirus", 0, "This module will heal any other module within it's area of effect to 10 HP. Higher grades can improve it's area of effect.", SystemType.Antivirus)); + break; + case 14: + lbtutorial.Text = "In this demonstration, you have no other modules to deploy. You will need to buy some modules to get started. Click [Buy New Module] to continue."; + btnnext.Hide(); + break; + case 15: + lbtutorial.Text = "Let's go over the user interface, shall we? At the top is a list of all possible module types."; + btnnext.Show(); + btndonebuying.Hide(); + lbgrade.Hide(); + txtgrade.Hide(); + txthostname.Hide(); + lbhostname.Hide(); + lbmoduleinfo.Hide(); + break; + case 16: + lbtutorial.Text = "Below that, is the cost and description of the selected module type. It's invisible right now, but when you select a new module, it will populate."; + lbmoduleinfo.Show(); + break; + case 17: + lbtutorial.Text = "We need an Antivirus module, so go ahead and select it from the menu."; + btnnext.Hide(); + break; + case 18: + lbtutorial.Text = "Normally, an Antivirus would cost us 15 Codepoints, however since this is a tutorial, it is free."; + btnnext.Show(); + break; + case 19: + lbtutorial.Text = "Below the description is the Hostname box. A Hostname is used to identify the new module. Pick something you'll remember as this new Antivirus, then click [Buy] to purchase it."; + btnnext.Hide(); + lbhostname.Show(); + txthostname.Show(); + btndonebuying.Show(); + break; + case 20: + btnnext.Hide(); + lbtutorial.Text = "Now that we have an antivirus module, go ahead and deploy it by selecting [Add Module], choosing the hostname you entered, and clicking [Done]."; + break; + case 21: + btnnext.Hide(); + lbtutorial.Text = "Alrighty. Now you get to choose where you place your module. Simply left-click in a blank area where you'd like to place the module. Right-click to cancel. Oh, be sure to place close to our Core!"; + break; + case 22: + lbtutorial.Text = "The Antivirus has been placed. You may've noticed that white dotted box around it when you placed it. If the Core is even slightly within the box, the Antivirus will heal it back to 10 HP."; + btnnext.Show(); + break; + case 23: + lbtutorial.Text = "The higher the Antivirus' grade, the bigger this area of effect becomes. However, it will always only be able to heal modules to 10 HP."; + break; + case 24: + lbtutorial.Text = "A Turret has been added to the list of buyable modules. Go pick one up!"; + btnnext.Hide(); + BuyableModules.Clear(); + BuyableModules.Add(new FutureModule("Turret", 0, "It's not super-effective, but the Turret will blast through any Grade 1 defenses pretty quickly. The higher the grade, the higher the strength.", SystemType.Turret)); + break; + case 25: + lbtutorial.Text = "Turrets can fire damaging viruses at their targets. Go ahead and place your Turret somewhere within the Antivirus's Area of Effect."; + break; + case 26: + lbtutorial.Text = "Notice how the Turret only has 10 HP, just like the Antivirus?"; + btnnext.Show(); + break; + case 27: + lbtutorial.Text = "This is because both the Antivirus and Turret are at Grade 1. There are four grades of modules you can get, and you can easily upgrade by selecting a module and choosing [Upgrade This Module]."; + break; + case 28: + lbtutorial.Text = "Upgrading a module will increase it's max HP. Grade 1 is 10 HP, Grade 2 is 20 HP, Grade 3 is 40 HP, and Grade 4 is 80 HP."; + break; + case 29: + lbtutorial.Text = "Some modules will have a higher attack rate based on their grade. Others may throw more damaging attacks, and any module's Area of Effect (if it has one) will grow."; + break; + case 30: + lbtutorial.Text = "Another tip: Multiple modules can target the same module, and a module can have multiple targets. This means that you can have your Core and your Turret both attack the enemy Core."; + break; + case 31: + lbtutorial.Text = "Some modules do not work on a target-based system. Some may work using an area-of-effect system (like an Antivirus), and some may target the entire enemy network."; + break; + case 32: + lbtutorial.Text = "We have reset both your Cores' health. Go ahead and finish off the enemy Core using your newfound skills."; + ThisPlayerPC.HP = 100; + ThisEnemyPC.HP = 100; + btnnext.Hide(); + BuyableModules = new List(); + BuyableModules.Add(new FutureModule("Antivirus", 0, "This module will heal any other module within it's area of effect to 10 HP. Higher grades can improve it's area of effect.", SystemType.Antivirus)); + BuyableModules.Add(new FutureModule("Turret", 0, "It's not super-effective, but the Turret will blast through any Grade 1 defenses pretty quickly. The higher the grade, the higher the strength.", SystemType.Turret)); + break; + default: + lbtutorial.Text = "This concludes the Hacker Battle tutorial. Happy hunting, soldier. Just kidding. Stay safe."; + btnnext.Text = "Close"; + break; + } + } + + private void btnnext_Click(object sender, EventArgs e) + { + if (btnnext.Text == "Close") + { + UserRequestedClose = false; + this.Close(); + } + SetupTutorialUI(TutorialProgress + 1); + } + + #endregion + + private void HackUI_Load(object sender, EventArgs e) + { + this.TopMost = true; + arc = new AudioResourceClient("HackerBattle"); + arc.SongFinished += (object s, EventArgs a) => + { + arc.PlayRandom(); + }; + arc.PlayRandom(); + this.WindowState = FormWindowState.Maximized; + //this.TopMost = true; + LoadPlayerScreen(); + LoadEnemyScreen(); + } + + #region ENEMY + private EnemyHacker ThisEnemyHacker { get; set; } + public List AllEnemyComputers = null; + public Computer ThisEnemyPC { get; set; } + private void LoadEnemyScreen() + { + AllEnemyComputers = new List(); + VisualizeEnemyNetwork(); + tmrenemyhealthdetect.Start(); + ThisEnemyPC.Enemy = true; + } + + private void VisualizeEnemyNetwork() + { + var rnd = new Random(); + foreach (Module m in ThisEnemyHacker.Network) + { + var c = m.Deploy(); + c.Location = new Point(m.X, m.Y); + if (c.Type == SystemType.Core) + { + ThisEnemyPC = c; + ThisEnemyPC.EnemyComputer = ThisPlayerPC; + ThisPlayerPC.EnemyComputer = ThisEnemyPC; + } + AddEnemyModule(c); + } + } + + public void Enemy_System_Attacking(object s, EventArgs a) + { + int i = new Random().Next(AllPlayerComputers.Count); + var pc = AllPlayerComputers[i]; + var se = (Computer)s; + pc.LaunchAttack(se.GetProperType()); + } + + public Computer SelectedEnemyComputer = null; + + public void AddEnemyModule(Computer newModule) + { + if(newModule.Type == SystemType.Core) + { + newModule.Left = (pnlenemy.Width - newModule.Width) / 2; + newModule.Top = (pnlenemy.Height - newModule.Height) / 2; + } + var rnd = new Random(); + pnlenemy.Controls.Add(newModule); + foreach (var pc in AllEnemyComputers) + { + while (newModule.Bounds.IntersectsWith(pc.Bounds)) + { + newModule.Location = new Point(rnd.Next(100, 350), rnd.Next(100, 350)); + } + } + AllEnemyComputers.Add(newModule); + int hp = newModule.HP; + TotalEnemyHP += (decimal)newModule.HP; + newModule.Show(); + newModule.OnDestruction += (object s, EventArgs a) => + { + if (this.SelectedEnemyComputer == newModule) + { + SelectedEnemyComputer = null; + } + WriteLine_Enemy($"[Network] {newModule.Hostname} has gone OFFLINE."); + AllEnemyComputers.Remove(newModule); + newModule.Dispose(); + }; + newModule.Select += (object s, EventArgs a) => + { + bool c = true; + foreach (var pc in SelectedPlayerComputer.Enemies) + { + if (pc.Hostname == newModule.Hostname) + { + c = false; + } + } + if (c == true) + { + SelectedPlayerComputer.Enemies.Add(newModule); + ShowPCInfo(SelectedPlayerComputer.Hostname); + if (IsTutorial) + { + if (TutorialProgress == 9) + { + SetupTutorialUI(10); + } + } + WriteLine_Enemy("[Network] WARNING! Rival system has targeted a system on this network!"); + WriteLine($"[Network] System \"{SelectedPlayerComputer.Hostname}\" is now targeting rival system \"{newModule.Hostname}\"."); + } + }; + newModule.HP_Decreased += new EventHandler(Enemy_System_Damaged); + newModule.OnRepair += new EventHandler(Enemy_System_Repaired); + if (newModule.Type == SystemType.Antivirus) + { + var b = newModule.GetAreaOfEffect(); + newModule.AntivirusRepair += (object s, EventArgs a) => + { + foreach (Computer pc in AllEnemyComputers) + { + if (pc != newModule && pc.Bounds.IntersectsWith(b)) + { + if (newModule.Type == SystemType.RepairModule) + { + if (pc.HP < newModule.HP) + { + if (pc.HP < pc.GetTotal()) + { + WriteLine_Enemy($"[{newModule.Hostname}] Repairing neighbouring system \"{pc.Hostname}\"..."); + pc.Repair(1); + } + } + + } + else + { + if (pc.HP < 10) + { + pc.Repair(1); + } + } + } + } + }; + } + if (newModule.Type == SystemType.Firewall) + { + pnlenemy.Refresh(); + Enemy_Firewall_Deflect(newModule); + } + if (newModule.Type == SystemType.ServerStack) + { + newModule.MassDDoS += (object s, EventArgs a) => + { + WormToPlayer(); + }; + } + } + + public void Enemy_Firewall_Deflect(Computer fwall) + { + //Safegaurd... + if (fwall.Type == SystemType.Firewall) + { + var r = fwall.GetAreaOfEffect(); + foreach (var pc in AllEnemyComputers) + { + if (pc != fwall) + { + if (pc.Bounds.IntersectsWith(r)) + { + pc.DamageDefector = fwall.Grade; + } + } + } + } + } + + public void Enemy_Firewall_Destroy(Computer fwall) + { + //Safegaurd... + if (fwall.Type == SystemType.Firewall) + { + var r = fwall.GetAreaOfEffect(); + foreach (var pc in AllEnemyComputers) + { + if (pc.Bounds.IntersectsWith(r)) + { + pc.DamageDefector = 1; + UpdateEnemyFirewalls(); + } + } + } + } + + public void UpdateEnemyFirewalls() + { + foreach (var pc in AllEnemyComputers) + { + if (pc.Type == SystemType.Firewall) + { + Enemy_Firewall_Deflect(pc); + } + } + } + + + private void Enemy_System_Repaired(object s, EventArgs e) + { + var c = (Computer)s; + WriteLine_Enemy($"[{c.Hostname}] System repaired."); + lbenemycompromised.Text = "System regenerating..."; + int location = c.Left - (lbenemycompromised.Width / 4); + int y = c.Top - 25; + lbenemycompromised.Location = new Point(location, y); + lbenemycompromised.Show(); + c.Flash(lbenemycompromised); + + } + + + private void Enemy_System_Damaged(object s, EventArgs e) + { + var c = (Computer)s; + WriteLine_Enemy($"[{c.Hostname}] System damaged. Current HP: {c.HP}"); + WriteLine($"[Network] Damaged system on rival network with hostname \"{c.Hostname}\""); + lbenemycompromised.Text = "System damaged!"; + int location = c.Left - (lbenemycompromised.Width / 4); + int y = c.Top - 25; + lbenemycompromised.Location = new Point(location, y); + lbenemycompromised.Show(); + c.Flash(lbenemycompromised); + } + + private decimal TotalEnemyHP = 0; + + private void tmrenemyhealthdetect_Tick(object sender, EventArgs e) + { + lbsong.Visible = Audio.Enabled; + btntogglemusic.Visible = Audio.Enabled; + + if(arc != null) + { + lbsong.Text = $"Ross Bugden - {arc.CurrentSong}"; + } + + decimal health = 0; + lbcodepoints.Text = $"Codepoints: {API.Codepoints}"; + var rnd = new Random(); + int chance = 0; + foreach (var pc in AllEnemyComputers) + { + if (pc.Disabled == false) + { + foreach (var enemy in AllPlayerComputers) + { + chance = rnd.Next(1, 20); + if (chance == 10) + { + if (IsTutorial) + { + if (TutorialProgress == 9) + { + ThisPlayerPC.LaunchAttack(pc.GetProperType(), pc.GetDamageRate()); + } + else if (TutorialProgress == 32) + { + enemy.LaunchAttack(pc.GetProperType(), pc.GetDamageRate()); + } + else + { + enemy.Enemies.Clear(); + } + } + else + { + enemy.LaunchAttack(pc.GetProperType(), pc.GetDamageRate()); + } + } + } + } + } + + foreach (var pc in AllEnemyComputers) + { + health += (decimal)pc.HP; + } + try + { + decimal percent = (health / TotalEnemyHP) * 100; + lbenemystats.Text = $"Enemy Health: {percent}%"; + if (ThisEnemyPC.HP <= 0) + { + if (IsTutorial) + { + SetupTutorialUI(33); + } + else + { + API.CreateInfoboxSession("You won.", "You have successfully overthrown the enemy network.", infobox.InfoboxMode.Info); + UserRequestedClose = false; + var h = OnWin; + if(h != null) + { + h(this, new EventArgs()); + } + this.Close(); + } + } + } + catch + { + + } + } + + public void WormToPlayer() + { + var rnd = new Random(); + int r = rnd.Next(0, 10); + WriteLine_Enemy("[NETWORK] Launching distributed denial-of-service attack on rival network..."); + foreach (Computer c in AllPlayerComputers) + { + if (r == 5) + { + c.Disable(); + } + } + } + + public void WriteLine_Enemy(string text) + { + if(txtenemyconsole.Text.Length == 0) + { + txtenemyconsole.Text = text + Environment.NewLine; + } + else + { + txtenemyconsole.Text += text + Environment.NewLine; + } + txtenemyconsole.Select(txtenemyconsole.TextLength, 0); + txtenemyconsole.ScrollToCaret(); + } + + public void WriteLine(string text) + { + if (txtyourconsole.Text.Length == 0) + { + txtyourconsole.Text = text + Environment.NewLine; + } + else + { + txtyourconsole.Text += text + Environment.NewLine; + } + txtyourconsole.Select(txtyourconsole.TextLength, 0); + txtyourconsole.ScrollToCaret(); + } + + #endregion + + AudioResourceClient arc = null; + bool musicenabled = true; + + private void button2_Click(object sender, EventArgs e) + { + arc.Pause(); + } + } +} diff --git a/source/WindowsFormsApplication1/HackUI.resx b/source/WindowsFormsApplication1/HackUI.resx new file mode 100644 index 0000000..71f458e --- /dev/null +++ b/source/WindowsFormsApplication1/HackUI.resx @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + + 17, 17 + + + 63, 42 + + + 191, 17 + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/HoloChat.Designer.cs b/source/WindowsFormsApplication1/HoloChat.Designer.cs index 12eb31d..6f040ec 100644 --- a/source/WindowsFormsApplication1/HoloChat.Designer.cs +++ b/source/WindowsFormsApplication1/HoloChat.Designer.cs @@ -170,6 +170,7 @@ private void InitializeComponent() this.txtchat.Size = new System.Drawing.Size(641, 388); this.txtchat.TabIndex = 2; this.txtchat.Text = ""; + this.txtchat.TextChanged += new System.EventHandler(this.txtchat_TextChanged); // // txtsend // diff --git a/source/WindowsFormsApplication1/HoloChat.cs b/source/WindowsFormsApplication1/HoloChat.cs index 454b754..72c3b1e 100644 --- a/source/WindowsFormsApplication1/HoloChat.cs +++ b/source/WindowsFormsApplication1/HoloChat.cs @@ -6,6 +6,7 @@ using System.Drawing; using System.Linq; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; @@ -23,7 +24,7 @@ public HoloChat() public ChatClient Client = null; public Dictionary IPs = null; - + private void HoloChat_Load(object sender, EventArgs e) { SetupUI(); @@ -35,85 +36,105 @@ private void HoloChat_Load(object sender, EventArgs e) /// public void SetupUI() { - IPs = new Dictionary(); - lbrooms.Items.Clear(); - foreach (var client in Package_Grabber.clients) + if (!API.LimitedMode) { - if (client.Value.IsConnected) + IPs = new Dictionary(); + lbrooms.Items.Clear(); + foreach (var client in Package_Grabber.clients) { - client.Value.OnReceived += (object s, NetReceivedEventArgs a) => + if (client.Value.IsConnected) { - try + client.Value.OnReceived += (object s, NetReceivedEventArgs a) => { - if (!IPs.ContainsKey(client.Key)) + try { - var obj = (ObjectModel)a.Data.Object; - if (obj.Command == "name") + if (!IPs.ContainsKey(client.Key)) { - string name = (string)obj.OptionalObject; - IPs.Add(client.Key, name); - } - } - else - { - var obj = (ObjectModel)a.Data.Object; - if (obj.Command == "name") - { - string name = (string)obj.OptionalObject; - IPs[client.Key] = name; - } - } - this.Invoke(new Action(() => - { - string r = ""; - foreach (string room in lbrooms.Items) - { - if (room == IPs[client.Key]) + var obj = (ObjectModel)a.Data.Object; + if (obj.Command == "name") { - r = room; + string name = (string)obj.OptionalObject; + IPs.Add(client.Key, name); } } - if (r == "") + else { - lbrooms.Items.Add(IPs[client.Key]); + var obj = (ObjectModel)a.Data.Object; + if (obj.Command == "name") + { + string name = (string)obj.OptionalObject; + IPs[client.Key] = name; + } } - })); - } - catch - { + this.Invoke(new Action(() => + { + string r = ""; + foreach (string room in lbrooms.Items) + { + if (room == IPs[client.Key]) + { + r = room; + } + } + if (r == "") + { + lbrooms.Items.Add(IPs[client.Key]); + } + })); + } + catch + { - } - }; - Package_Grabber.SendMessage(client.Key, "chat get_name"); + } + }; + Package_Grabber.SendMessage(client.Key, "chat get_name"); + } + } + } + else + { + if (FinalMission.EndGameHandler.FakeHoloChatRoom != null) + { + lbrooms.Items.Clear(); + lbrooms.Items.Add(FinalMission.EndGameHandler.FakeHoloChatRoom.Name); } } - } private void btnconnect_Click(object sender, EventArgs e) { if(lbrooms.SelectedItem != null) { - string topic = (string)lbrooms.SelectedItem; - string ip = ""; - foreach(var obj in IPs) + if (!API.LimitedMode) { - if(obj.Value == topic) + string topic = (string)lbrooms.SelectedItem; + string ip = ""; + foreach (var obj in IPs) { - ip = obj.Key; + if (obj.Value == topic) + { + ip = obj.Key; + } + } + if (ip != "") + { + API.CreateInfoboxSession("Choose a Nickname", "Please enter a nick name.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + { + var res = API.GetInfoboxResult(); + if (res != "fail") + { + SetupClient(ip, res); + } + }; } } - if(ip != "") + else { - API.CreateInfoboxSession("Choose a Nickname", "Please enter a nick name.", infobox.InfoboxMode.TextEntry); - API.InfoboxSession.FormClosing += (object s, FormClosingEventArgs a) => + if((string)lbrooms.SelectedItem == FinalMission.EndGameHandler.FakeHoloChatRoom.Name) { - var res = API.GetInfoboxResult(); - if(res != "fail") - { - SetupClient(ip, res); - } - }; + SetupFakeClient(FinalMission.EndGameHandler.FakeHoloChatRoom); + } } } } @@ -180,10 +201,53 @@ public void SetupClient(string address, string nick) } + public void SetupFakeClient(FakeChatClient fClient) + { + lbtopic.Text = fClient.Topic; + var t = new System.Windows.Forms.Timer(); + t.Interval = 500; + t.Tick += (object s, EventArgs a) => + { + //userlist + lbusers.Items.Clear(); + foreach (var user in fClient.OtherCharacters) + { + lbusers.Items.Add(user); + } + }; + t.Start(); + + int m = 0; + //message buffer + var mb = new System.Windows.Forms.Timer(); + mb.Tick += (object s, EventArgs a) => + { + string message = fClient.Messages.Keys.ElementAt(m); + string user = fClient.Messages[message]; + //show message on textbox + txtchat.AppendText(Environment.NewLine + $"<{user}> {message}"); + if(m < fClient.Messages.Count - 1) + { + m += 1; + } + else + { + mb.Stop(); + //Completed the objective! + FinalMission.EndGameHandler.GoToNextObjective(); + } + }; + mb.Interval = 4000; + mb.Start(); + tmrui.Stop(); + pnlintro.Hide(); + } + private void txtsend_KeyDown(object sender, KeyEventArgs e) { if(e.KeyCode == Keys.Enter) { + e.SuppressKeyPress = true; if (txtsend.Text != "") { if (txtsend.Text.ToLower() == "/disconnect") @@ -226,6 +290,13 @@ private void btnrefresh_Click(object sender, EventArgs e) { SetupUI(); } + + private void txtchat_TextChanged(object sender, EventArgs e) + { + txtchat.Select(txtchat.TextLength, 0); + txtchat.ScrollToCaret(); + txtsend.Focus(); + } } public class ChatClient @@ -262,6 +333,65 @@ public ChatClient(string IP, string nick) { switch (args[1]) { + case "userbanned": + try + { + var usr = (ChatUser)obj.OptionalObject; + if(usr.Name == nick) + { + API.CurrentSession.Invoke(new Action(() => + { + API.CreateInfoboxSession("You're banned.", "You have been banned from this chat.", infobox.InfoboxMode.Info); + Leave(); + })); + } + } + catch + { + + } + break; + case "auth_req": + try + { + var usr = (ChatUser)obj.OptionalObject; + if (usr.Name == nick) + { + Thread.Sleep(1000); + API.CurrentSession.Invoke(new Action(() => + { + API.CreateInfoboxSession("Enter Password", "Please enter your password.", infobox.InfoboxMode.TextEntry); + API.InfoboxSession.FormClosing += (object sen, FormClosingEventArgs arg) => + { + var result = API.GetInfoboxResult(); + AuthenticateWithServer(usr.Name, result); + }; + })); + } + } + catch + { + + } + break; + case "auth_fail": + try + { + var usr = (ChatUser)obj.OptionalObject; + if (usr.Name == nick) + { + API.CurrentSession.Invoke(new Action(() => + { + API.CreateInfoboxSession("Error", "You have entered an incorrect password.", infobox.InfoboxMode.Info); + })); + } + } + catch + { + + } + + break; case "joined": try { @@ -385,6 +515,20 @@ public ChatClient(string IP, string nick) #region Methods + /// + /// Authenticates with the server. + /// + /// Password to authenticate using. + public void AuthenticateWithServer(string nick, string password) + { + var usr = new ChatUser(); + usr.Name = nick; + var msg = new ChatMessage(); + msg.Text = password; + msg.User = usr; + Package_Grabber.SendMessage(IP_Address, "chat authenticate", msg); + } + /// /// Joins the server. /// @@ -459,4 +603,12 @@ public void Send(string Text) #endregion } + + public class FakeChatClient + { + public string Name { get; set; } + public string Topic { get; set; } + public List OtherCharacters { get; set; } + public Dictionary Messages { get; set; } + } } diff --git a/source/WindowsFormsApplication1/NetGen.Designer.cs b/source/WindowsFormsApplication1/NetGen.Designer.cs new file mode 100644 index 0000000..456f65e --- /dev/null +++ b/source/WindowsFormsApplication1/NetGen.Designer.cs @@ -0,0 +1,455 @@ +namespace ShiftOS +{ + partial class NetGen + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetGen)); + this.panel1 = new System.Windows.Forms.Panel(); + this.pnlnetdesign = new System.Windows.Forms.Panel(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.btnaddmodule = new System.Windows.Forms.Button(); + this.pnlbuy = new System.Windows.Forms.Panel(); + this.txthostname = new System.Windows.Forms.TextBox(); + this.lbhostname = new System.Windows.Forms.Label(); + this.txtgrade = new System.Windows.Forms.TextBox(); + this.lbgrade = new System.Windows.Forms.Label(); + this.lbmoduleinfo = new System.Windows.Forms.Label(); + this.cmbbuyable = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.btndonebuying = new System.Windows.Forms.Button(); + this.pnlnetinf = new System.Windows.Forms.Panel(); + this.txtnetdesc = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.txtnetname = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.flbuttons = new System.Windows.Forms.FlowLayoutPanel(); + this.btnnext = new System.Windows.Forms.Button(); + this.btnback = new System.Windows.Forms.Button(); + this.pnlnetinfo = new System.Windows.Forms.Panel(); + this.lbdescription = new System.Windows.Forms.Label(); + this.lbtitle = new System.Windows.Forms.Label(); + this.pnlpcinfo = new System.Windows.Forms.Panel(); + this.btndelete = new System.Windows.Forms.Button(); + this.lbpcinfo = new System.Windows.Forms.Label(); + this.lbmoduletitle = new System.Windows.Forms.Label(); + this.btncloseinfo = new System.Windows.Forms.Button(); + this.panel1.SuspendLayout(); + this.pnlnetdesign.SuspendLayout(); + this.flowLayoutPanel1.SuspendLayout(); + this.pnlbuy.SuspendLayout(); + this.pnlnetinf.SuspendLayout(); + this.flbuttons.SuspendLayout(); + this.pnlnetinfo.SuspendLayout(); + this.pnlpcinfo.SuspendLayout(); + this.SuspendLayout(); + // + // panel1 + // + this.panel1.Controls.Add(this.pnlnetdesign); + this.panel1.Controls.Add(this.pnlnetinf); + this.panel1.Controls.Add(this.flbuttons); + this.panel1.Controls.Add(this.pnlnetinfo); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1242, 605); + this.panel1.TabIndex = 0; + this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); + // + // pnlnetdesign + // + this.pnlnetdesign.Controls.Add(this.pnlpcinfo); + this.pnlnetdesign.Controls.Add(this.flowLayoutPanel1); + this.pnlnetdesign.Controls.Add(this.pnlbuy); + this.pnlnetdesign.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlnetdesign.Location = new System.Drawing.Point(0, 76); + this.pnlnetdesign.Name = "pnlnetdesign"; + this.pnlnetdesign.Size = new System.Drawing.Size(1242, 498); + this.pnlnetdesign.TabIndex = 6; + this.pnlnetdesign.MouseDown += new System.Windows.Forms.MouseEventHandler(this.place_module); + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Controls.Add(this.btnaddmodule); + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 467); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(1242, 31); + this.flowLayoutPanel1.TabIndex = 8; + // + // btnaddmodule + // + this.btnaddmodule.AutoSize = true; + this.btnaddmodule.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnaddmodule.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnaddmodule.Location = new System.Drawing.Point(3, 3); + this.btnaddmodule.Name = "btnaddmodule"; + this.btnaddmodule.Size = new System.Drawing.Size(87, 23); + this.btnaddmodule.TabIndex = 0; + this.btnaddmodule.Text = "Add Module"; + this.btnaddmodule.UseVisualStyleBackColor = true; + this.btnaddmodule.Click += new System.EventHandler(this.btnaddmodule_Click); + // + // pnlbuy + // + this.pnlbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pnlbuy.Controls.Add(this.txthostname); + this.pnlbuy.Controls.Add(this.lbhostname); + this.pnlbuy.Controls.Add(this.txtgrade); + this.pnlbuy.Controls.Add(this.lbgrade); + this.pnlbuy.Controls.Add(this.lbmoduleinfo); + this.pnlbuy.Controls.Add(this.cmbbuyable); + this.pnlbuy.Controls.Add(this.label4); + this.pnlbuy.Controls.Add(this.btndonebuying); + this.pnlbuy.Location = new System.Drawing.Point(3, 162); + this.pnlbuy.Name = "pnlbuy"; + this.pnlbuy.Size = new System.Drawing.Size(382, 299); + this.pnlbuy.TabIndex = 7; + this.pnlbuy.Visible = false; + // + // txthostname + // + this.txthostname.BackColor = System.Drawing.Color.Black; + this.txthostname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txthostname.ForeColor = System.Drawing.Color.White; + this.txthostname.Location = new System.Drawing.Point(186, 236); + this.txthostname.Name = "txthostname"; + this.txthostname.Size = new System.Drawing.Size(186, 18); + this.txthostname.TabIndex = 10; + // + // lbhostname + // + this.lbhostname.AutoSize = true; + this.lbhostname.Location = new System.Drawing.Point(112, 240); + this.lbhostname.Name = "lbhostname"; + this.lbhostname.Size = new System.Drawing.Size(68, 11); + this.lbhostname.TabIndex = 9; + this.lbhostname.Text = "Hostname:"; + // + // txtgrade + // + this.txtgrade.BackColor = System.Drawing.Color.Black; + this.txtgrade.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtgrade.ForeColor = System.Drawing.Color.White; + this.txtgrade.Location = new System.Drawing.Point(65, 236); + this.txtgrade.Name = "txtgrade"; + this.txtgrade.Size = new System.Drawing.Size(40, 18); + this.txtgrade.TabIndex = 8; + this.txtgrade.TextChanged += new System.EventHandler(this.txtgrade_TextChanged); + // + // lbgrade + // + this.lbgrade.AutoSize = true; + this.lbgrade.Location = new System.Drawing.Point(12, 240); + this.lbgrade.Name = "lbgrade"; + this.lbgrade.Size = new System.Drawing.Size(47, 11); + this.lbgrade.TabIndex = 7; + this.lbgrade.Text = "Grade:"; + // + // lbmoduleinfo + // + this.lbmoduleinfo.Location = new System.Drawing.Point(10, 63); + this.lbmoduleinfo.Name = "lbmoduleinfo"; + this.lbmoduleinfo.Size = new System.Drawing.Size(367, 156); + this.lbmoduleinfo.TabIndex = 6; + this.lbmoduleinfo.Text = resources.GetString("lbmoduleinfo.Text"); + // + // cmbbuyable + // + this.cmbbuyable.BackColor = System.Drawing.Color.Black; + this.cmbbuyable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbbuyable.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.cmbbuyable.ForeColor = System.Drawing.Color.White; + this.cmbbuyable.FormattingEnabled = true; + this.cmbbuyable.Location = new System.Drawing.Point(12, 38); + this.cmbbuyable.Name = "cmbbuyable"; + this.cmbbuyable.Size = new System.Drawing.Size(360, 19); + this.cmbbuyable.TabIndex = 3; + this.cmbbuyable.SelectedIndexChanged += new System.EventHandler(this.cmbbuyable_SelectedIndexChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(10, 12); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(75, 11); + this.label4.TabIndex = 2; + this.label4.Text = "Add Module"; + // + // btndonebuying + // + this.btndonebuying.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btndonebuying.AutoSize = true; + this.btndonebuying.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btndonebuying.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndonebuying.Location = new System.Drawing.Point(341, 273); + this.btndonebuying.Name = "btndonebuying"; + this.btndonebuying.Size = new System.Drawing.Size(38, 23); + this.btndonebuying.TabIndex = 1; + this.btndonebuying.Text = "Buy"; + this.btndonebuying.UseVisualStyleBackColor = true; + this.btndonebuying.Click += new System.EventHandler(this.btndonebuying_Click); + // + // pnlnetinf + // + this.pnlnetinf.Controls.Add(this.txtnetdesc); + this.pnlnetinf.Controls.Add(this.label2); + this.pnlnetinf.Controls.Add(this.txtnetname); + this.pnlnetinf.Controls.Add(this.label1); + this.pnlnetinf.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlnetinf.Location = new System.Drawing.Point(0, 76); + this.pnlnetinf.Name = "pnlnetinf"; + this.pnlnetinf.Size = new System.Drawing.Size(1242, 498); + this.pnlnetinf.TabIndex = 0; + // + // txtnetdesc + // + this.txtnetdesc.BackColor = System.Drawing.Color.Black; + this.txtnetdesc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtnetdesc.ForeColor = System.Drawing.Color.Green; + this.txtnetdesc.Location = new System.Drawing.Point(142, 80); + this.txtnetdesc.Name = "txtnetdesc"; + this.txtnetdesc.Size = new System.Drawing.Size(511, 18); + this.txtnetdesc.TabIndex = 5; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(40, 82); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(89, 11); + this.label2.TabIndex = 4; + this.label2.Text = "Description:"; + // + // txtnetname + // + this.txtnetname.BackColor = System.Drawing.Color.Black; + this.txtnetname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtnetname.ForeColor = System.Drawing.Color.Green; + this.txtnetname.Location = new System.Drawing.Point(142, 56); + this.txtnetname.Name = "txtnetname"; + this.txtnetname.Size = new System.Drawing.Size(231, 18); + this.txtnetname.TabIndex = 3; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(40, 58); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(96, 11); + this.label1.TabIndex = 2; + this.label1.Text = "Network Name:"; + // + // flbuttons + // + this.flbuttons.Controls.Add(this.btnnext); + this.flbuttons.Controls.Add(this.btnback); + this.flbuttons.Dock = System.Windows.Forms.DockStyle.Bottom; + this.flbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; + this.flbuttons.Location = new System.Drawing.Point(0, 574); + this.flbuttons.Name = "flbuttons"; + this.flbuttons.Size = new System.Drawing.Size(1242, 31); + this.flbuttons.TabIndex = 0; + // + // btnnext + // + this.btnnext.AutoSize = true; + this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnnext.Location = new System.Drawing.Point(1194, 3); + this.btnnext.Name = "btnnext"; + this.btnnext.Size = new System.Drawing.Size(45, 23); + this.btnnext.TabIndex = 0; + this.btnnext.Text = "Next"; + this.btnnext.UseVisualStyleBackColor = true; + this.btnnext.Click += new System.EventHandler(this.btnnext_Click); + // + // btnback + // + this.btnback.AutoSize = true; + this.btnback.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnback.Location = new System.Drawing.Point(1143, 3); + this.btnback.Name = "btnback"; + this.btnback.Size = new System.Drawing.Size(45, 23); + this.btnback.TabIndex = 1; + this.btnback.Text = "Back"; + this.btnback.UseVisualStyleBackColor = true; + this.btnback.Click += new System.EventHandler(this.btnback_Click); + // + // pnlnetinfo + // + this.pnlnetinfo.Controls.Add(this.lbdescription); + this.pnlnetinfo.Controls.Add(this.lbtitle); + this.pnlnetinfo.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlnetinfo.Location = new System.Drawing.Point(0, 0); + this.pnlnetinfo.Name = "pnlnetinfo"; + this.pnlnetinfo.Size = new System.Drawing.Size(1242, 76); + this.pnlnetinfo.TabIndex = 1; + // + // lbdescription + // + this.lbdescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.lbdescription.Location = new System.Drawing.Point(15, 31); + this.lbdescription.Name = "lbdescription"; + this.lbdescription.Size = new System.Drawing.Size(1215, 36); + this.lbdescription.TabIndex = 1; + this.lbdescription.Text = "Information about the network."; + // + // lbtitle + // + this.lbtitle.AutoSize = true; + this.lbtitle.Font = new System.Drawing.Font("Lucida Console", 13F); + this.lbtitle.Location = new System.Drawing.Point(12, 9); + this.lbtitle.Name = "lbtitle"; + this.lbtitle.Size = new System.Drawing.Size(217, 18); + this.lbtitle.TabIndex = 0; + this.lbtitle.Text = "Network Information"; + // + // pnlpcinfo + // + this.pnlpcinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.pnlpcinfo.Controls.Add(this.btndelete); + this.pnlpcinfo.Controls.Add(this.lbpcinfo); + this.pnlpcinfo.Controls.Add(this.lbmoduletitle); + this.pnlpcinfo.Controls.Add(this.btncloseinfo); + this.pnlpcinfo.Location = new System.Drawing.Point(391, 181); + this.pnlpcinfo.Name = "pnlpcinfo"; + this.pnlpcinfo.Size = new System.Drawing.Size(382, 280); + this.pnlpcinfo.TabIndex = 9; + this.pnlpcinfo.Visible = false; + // + // btndelete + // + this.btndelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btndelete.AutoSize = true; + this.btndelete.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btndelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btndelete.Location = new System.Drawing.Point(106, 254); + this.btndelete.Name = "btndelete"; + this.btndelete.Size = new System.Drawing.Size(59, 23); + this.btndelete.TabIndex = 8; + this.btndelete.Text = "Delete"; + this.btndelete.UseVisualStyleBackColor = true; + this.btndelete.Click += new System.EventHandler(this.btndelete_Click); + // + // lbpcinfo + // + this.lbpcinfo.Location = new System.Drawing.Point(12, 41); + this.lbpcinfo.Name = "lbpcinfo"; + this.lbpcinfo.Size = new System.Drawing.Size(367, 86); + this.lbpcinfo.TabIndex = 6; + this.lbpcinfo.Text = resources.GetString("lbpcinfo.Text"); + // + // lbmoduletitle + // + this.lbmoduletitle.AutoSize = true; + this.lbmoduletitle.Location = new System.Drawing.Point(10, 12); + this.lbmoduletitle.Name = "lbmoduletitle"; + this.lbmoduletitle.Size = new System.Drawing.Size(75, 11); + this.lbmoduletitle.TabIndex = 2; + this.lbmoduletitle.Text = "Add Module"; + // + // btncloseinfo + // + this.btncloseinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btncloseinfo.AutoSize = true; + this.btncloseinfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.btncloseinfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncloseinfo.Location = new System.Drawing.Point(327, 254); + this.btncloseinfo.Name = "btncloseinfo"; + this.btncloseinfo.Size = new System.Drawing.Size(52, 23); + this.btncloseinfo.TabIndex = 1; + this.btncloseinfo.Text = "Done."; + this.btncloseinfo.UseVisualStyleBackColor = true; + this.btncloseinfo.Click += new System.EventHandler(this.btncloseinfo_Click); + // + // NetGen + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Black; + this.ClientSize = new System.Drawing.Size(1242, 605); + this.Controls.Add(this.panel1); + this.Font = new System.Drawing.Font("Lucida Console", 8.25F); + this.ForeColor = System.Drawing.Color.LightGreen; + this.Name = "NetGen"; + this.Text = "NetGen"; + this.Load += new System.EventHandler(this.NetGen_Load); + this.panel1.ResumeLayout(false); + this.pnlnetdesign.ResumeLayout(false); + this.flowLayoutPanel1.ResumeLayout(false); + this.flowLayoutPanel1.PerformLayout(); + this.pnlbuy.ResumeLayout(false); + this.pnlbuy.PerformLayout(); + this.pnlnetinf.ResumeLayout(false); + this.pnlnetinf.PerformLayout(); + this.flbuttons.ResumeLayout(false); + this.flbuttons.PerformLayout(); + this.pnlnetinfo.ResumeLayout(false); + this.pnlnetinfo.PerformLayout(); + this.pnlpcinfo.ResumeLayout(false); + this.pnlpcinfo.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.FlowLayoutPanel flbuttons; + private System.Windows.Forms.TextBox txtnetname; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Panel pnlnetinfo; + private System.Windows.Forms.Label lbdescription; + private System.Windows.Forms.Label lbtitle; + private System.Windows.Forms.TextBox txtnetdesc; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button btnnext; + private System.Windows.Forms.Button btnback; + private System.Windows.Forms.Panel pnlnetdesign; + private System.Windows.Forms.Panel pnlnetinf; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.Button btnaddmodule; + private System.Windows.Forms.Panel pnlbuy; + private System.Windows.Forms.TextBox txthostname; + private System.Windows.Forms.Label lbhostname; + private System.Windows.Forms.TextBox txtgrade; + private System.Windows.Forms.Label lbgrade; + private System.Windows.Forms.Label lbmoduleinfo; + private System.Windows.Forms.ComboBox cmbbuyable; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button btndonebuying; + private System.Windows.Forms.Panel pnlpcinfo; + private System.Windows.Forms.Button btndelete; + private System.Windows.Forms.Label lbpcinfo; + private System.Windows.Forms.Label lbmoduletitle; + private System.Windows.Forms.Button btncloseinfo; + } +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/NetGen.cs b/source/WindowsFormsApplication1/NetGen.cs new file mode 100644 index 0000000..7f09eb1 --- /dev/null +++ b/source/WindowsFormsApplication1/NetGen.cs @@ -0,0 +1,266 @@ +using Newtonsoft.Json; +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 ShiftOS +{ + public partial class NetGen : Form + { + public NetGen() + { + InitializeComponent(); + } + + private EnemyHacker network = null; + private int stage = 0; + private List potentialModules = null; + private Module fmod = null; + + private void NetGen_Load(object sender, EventArgs e) + { + SetupUI(); + potentialModules = new List(); + } + + private void panel1_Paint(object sender, PaintEventArgs e) + { + + } + + public void SetupUI() + { + btnback.Hide(); + + switch(stage) + { + case 0: + lbtitle.Text = "Network Information"; + lbdescription.Text = "Information about the network."; + pnlnetinf.BringToFront(); + break; + case 1: + //create net + network = new EnemyHacker(txtnetname.Text, txtnetdesc.Text, txtnetdesc.Text, 0, 0, "unknown"); + var c = network.Network[0].Deploy(); + c.Left = (pnlnetdesign.Width - 64) / 2; + c.Top = (pnlnetdesign.Height - 64) / 2; + pnlnetdesign.Controls.Add(c); + c.Select += (s, a) => + { + ShowSysInf(c); + }; + c.Show(); + lbtitle.Text = "Playfield Designer"; + lbdescription.Text = "Design the playfield of the network. Strategically place defensive and offensive modules to protect the Core from attacks. You can have a maximum of 20 objects (minus core) on-screen."; + pnlnetdesign.BringToFront(); + btnnext.Text = "Finish"; + break; + case 2: + var tp = new TextPad(); + var core = network.Network[0]; + core.X = 0; + core.Y = 0; + foreach (var pc in potentialModules) + { + var m = new Module(pc.Type, pc.Grade, pc.Hostname); + m.X = pc.Left; + m.Y = pc.Top; + network.AddModule(m); + } + var json = JsonConvert.SerializeObject(network); + API.CreateForm(tp, "Network JSON", API.GetIcon("TextPad")); + tp.txtuserinput.Text = json; + this.Close(); + break; + } + + } + + private void btnnext_Click(object sender, EventArgs e) + { + stage += 1; + SetupUI(); + } + + private void btnback_Click(object sender, EventArgs e) + { + stage -= 1; + } + + private void btnaddmodule_Click(object sender, EventArgs e) + { + SetupBuyable(); + pnlbuy.Visible = !pnlbuy.Visible; + } + + List BuyableModules = null; + + public void SetupBuyable() + { + BuyableModules = Hacking.GetFutureModules(); + cmbbuyable.Items.Clear(); + foreach (var m in BuyableModules) + { + cmbbuyable.Items.Add(m.Name); + } + lbmoduleinfo.Text = ""; + txtgrade.Text = "1"; + } + + private void SetupModuleInfo() + { + bool cont = false; + FutureModule m = null; + foreach (var mod in BuyableModules) + { + if (mod.Name == cmbbuyable.Text) + { + m = mod; + cont = true; + } + } + if (cont == true) + { + lbmoduleinfo.Text = m.Name; + lbmoduleinfo.Text += Environment.NewLine + $"Cost: {m.Cost * Convert.ToInt32(txtgrade.Text)} CP"; + lbmoduleinfo.Text += Environment.NewLine + $"Description: {Environment.NewLine}{m.Description}"; + } + } + + private void cmbbuyable_SelectedIndexChanged(object sender, EventArgs e) + { + SetupModuleInfo(); + } + + private void txtgrade_TextChanged(object sender, EventArgs e) + { + int grade = 0; + int.TryParse(txtgrade.Text, out grade); + if(grade < 1) + { + txtgrade.Text = "1"; + } + else if(grade > 4) + { + txtgrade.Text = "4"; + } + } + + bool PlacingNewModule = false; + + private void btndonebuying_Click(object sender, EventArgs e) + { + if(!string.IsNullOrEmpty(cmbbuyable.Text)) + { + if(!string.IsNullOrEmpty(cmbbuyable.Text)) + { + int grade = Convert.ToInt32(txtgrade.Text); + string hostname = txthostname.Text; + FutureModule m = null; + foreach(var mod in BuyableModules) + { + if(mod.Name == cmbbuyable.Text) + { + m = mod; + } + } + if(m != null) + { + bool cont = true; + if (potentialModules.Count <= 20) + { + foreach (var pc in potentialModules) + { + if (pc.Hostname == hostname) + { + cont = false; + } + } + } + else + { + cont = false; + } + if(cont) + { + var newModule = new Module(m.Type, grade, hostname); + fmod = newModule; + PlacingNewModule = true; + pnlbuy.Hide(); + } + else + { + API.CreateInfoboxSession("Can't place new module", "Either an existing module with the same hostname already exists in the field, or you have hit the maximum.", infobox.InfoboxMode.Info); + } + } + } + } + } + + private void place_module(object sender, MouseEventArgs e) + { + if (PlacingNewModule == true) + { + if (e.Button == MouseButtons.Left) + { + var coordinates = pnlnetdesign.PointToClient(Cursor.Position); + int x = coordinates.X; + int y = coordinates.Y; + + var computerToPlace = fmod.Deploy(); + computerToPlace.Location = new Point(x, y); + pnlnetdesign.Controls.Add(computerToPlace); + potentialModules.Add(computerToPlace); + computerToPlace.Select += (s, a) => + { + ShowSysInf(computerToPlace); + }; + computerToPlace.Show(); + } + else + { + PlacingNewModule = false; + } + } + } + + private Computer SelectedSystem = null; + + public void ShowSysInf(Computer pc) + { + pnlpcinfo.Left = pnlbuy.Left; + var nl = Environment.NewLine; + SelectedSystem = pc; + pnlpcinfo.Show(); + lbpcinfo.Text = $"Hostname: {SelectedSystem.Hostname}"; + lbpcinfo.Text += $"{nl}Max HP: {SelectedSystem.HP}"; + lbpcinfo.Text += $"{nl}Grade: {SelectedSystem.Grade}"; + lbpcinfo.Text += $"{nl}Type: {SelectedSystem.Type}"; + } + + private void btndelete_Click(object sender, EventArgs e) + { + if(SelectedSystem != null) + { + potentialModules.Remove(SelectedSystem); + pnlnetdesign.Controls.Remove(SelectedSystem); + SelectedSystem.Dispose(); + } + SelectedSystem = null; + pnlpcinfo.Hide(); + } + + private void btncloseinfo_Click(object sender, EventArgs e) + { + SelectedSystem = null; + pnlpcinfo.Hide(); + } + } +} diff --git a/source/WindowsFormsApplication1/NetGen.resx b/source/WindowsFormsApplication1/NetGen.resx new file mode 100644 index 0000000..c6bdcd8 --- /dev/null +++ b/source/WindowsFormsApplication1/NetGen.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + + When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment. + +Some modules have a range of effect. For example, an Antivirus will only heal modules within it's area of effect and only if their HP is below 10. This can be upgraded. + +To upgrade a module, simply right-click it on the playing field and choose 'Upgrade this module'. + +If you would like to buy a new module, click 'Buy new module'. + + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Package_Grabber.cs b/source/WindowsFormsApplication1/Package_Grabber.cs index a041910..3ea29d0 100644 --- a/source/WindowsFormsApplication1/Package_Grabber.cs +++ b/source/WindowsFormsApplication1/Package_Grabber.cs @@ -100,7 +100,6 @@ public static void ConnectToServer(string address, int port) } catch (Exception ex) { - API.CreateInfoboxSession("Server Connection Error", $"{ex.Message}", infobox.InfoboxMode.Info); } } else diff --git a/source/WindowsFormsApplication1/Program.cs b/source/WindowsFormsApplication1/Program.cs index e7fb173..668b08e 100644 --- a/source/WindowsFormsApplication1/Program.cs +++ b/source/WindowsFormsApplication1/Program.cs @@ -24,23 +24,30 @@ static void Main(string[] args) //Extract all dependencies before starting the engine. ExtractDependencies(); var poolThread = new Thread(new ThreadStart(new Action(() => { - //Download ShiftOS server startup-pool - string pool = new WebClient().DownloadString("http://playshiftos.ml/server/startup_pool"); - string[] splitter = pool.Split(';'); - foreach(string address in splitter) + try { - try - { - string[] addSplitter = address.Split(':'); - string host = addSplitter[0]; - int port = Convert.ToInt32(addSplitter[1]); - Package_Grabber.ConnectToServer(host, port); - } - catch + //Download ShiftOS server startup-pool + string pool = new WebClient().DownloadString("http://playshiftos.ml/server/startup_pool"); + string[] splitter = pool.Split(';'); + foreach (string address in splitter) { + try + { + string[] addSplitter = address.Split(':'); + string host = addSplitter[0]; + int port = Convert.ToInt32(addSplitter[1]); + Package_Grabber.ConnectToServer(host, port); + } + catch + { + } } } + catch(Exception ex) + { + Console.WriteLine("[ServerThread/WARNING] Couldn't retrieve startup pool. Not connecting to any servers."); + } }))); poolThread.Start(); //Start the Windows Forms backend diff --git a/source/WindowsFormsApplication1/Properties/Resources.Designer.cs b/source/WindowsFormsApplication1/Properties/Resources.Designer.cs index e8ab95a..995975b 100644 --- a/source/WindowsFormsApplication1/Properties/Resources.Designer.cs +++ b/source/WindowsFormsApplication1/Properties/Resources.Designer.cs @@ -1,3627 +1,3732 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -namespace ShiftOS.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ShiftOS.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream _3beepvirus { - get { - return ResourceManager.GetStream("_3beepvirus", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap anycolourshade { - get { - object obj = ResourceManager.GetObject("anycolourshade", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap anycolourshade2 { - get { - object obj = ResourceManager.GetObject("anycolourshade2", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap anycolourshade3 { - get { - object obj = ResourceManager.GetObject("anycolourshade3", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap anycolourshade4 { - get { - object obj = ResourceManager.GetObject("anycolourshade4", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeaudioplayerbox { - get { - object obj = ResourceManager.GetObject("appscapeaudioplayerbox", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeaudioplayerprice { - get { - object obj = ResourceManager.GetObject("appscapeaudioplayerprice", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeaudioplayerpricepressed { - get { - object obj = ResourceManager.GetObject("appscapeaudioplayerpricepressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapecalculator { - get { - object obj = ResourceManager.GetObject("appscapecalculator", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapecalculatorprice { - get { - object obj = ResourceManager.GetObject("appscapecalculatorprice", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapecalculatorpricepressed { - get { - object obj = ResourceManager.GetObject("appscapecalculatorpricepressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapedepositbitnotewalletscreenshot { - get { - object obj = ResourceManager.GetObject("appscapedepositbitnotewalletscreenshot", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapedepositinfo { - get { - object obj = ResourceManager.GetObject("appscapedepositinfo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapedepositnowbutton { - get { - object obj = ResourceManager.GetObject("appscapedepositnowbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapedownloadbutton { - get { - object obj = ResourceManager.GetObject("appscapedownloadbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfoaudioplayertext { - get { - object obj = ResourceManager.GetObject("appscapeinfoaudioplayertext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfoaudioplayervisualpreview { - get { - object obj = ResourceManager.GetObject("appscapeinfoaudioplayervisualpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfobackbutton { - get { - object obj = ResourceManager.GetObject("appscapeinfobackbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfobutton { - get { - object obj = ResourceManager.GetObject("appscapeinfobutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfobuttonpressed { - get { - object obj = ResourceManager.GetObject("appscapeinfobuttonpressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfobuybutton { - get { - object obj = ResourceManager.GetObject("appscapeinfobuybutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfocalculatortext { - get { - object obj = ResourceManager.GetObject("appscapeinfocalculatortext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfocalculatorvisualpreview { - get { - object obj = ResourceManager.GetObject("appscapeinfocalculatorvisualpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfoorcwritetext { - get { - object obj = ResourceManager.GetObject("appscapeinfoorcwritetext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfoorcwritevisualpreview { - get { - object obj = ResourceManager.GetObject("appscapeinfoorcwritevisualpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfovideoplayertext { - get { - object obj = ResourceManager.GetObject("appscapeinfovideoplayertext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfovideoplayervisualpreview { - get { - object obj = ResourceManager.GetObject("appscapeinfovideoplayervisualpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfowebbrowsertext { - get { - object obj = ResourceManager.GetObject("appscapeinfowebbrowsertext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeinfowebbrowservisualpreview { - get { - object obj = ResourceManager.GetObject("appscapeinfowebbrowservisualpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapemoresoftware { - get { - object obj = ResourceManager.GetObject("appscapemoresoftware", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeorcwrite { - get { - object obj = ResourceManager.GetObject("appscapeorcwrite", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapetitlebanner { - get { - object obj = ResourceManager.GetObject("appscapetitlebanner", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeundefinedprice { - get { - object obj = ResourceManager.GetObject("appscapeundefinedprice", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapeundefinedpricepressed { - get { - object obj = ResourceManager.GetObject("appscapeundefinedpricepressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapevideoplayer { - get { - object obj = ResourceManager.GetObject("appscapevideoplayer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapevideoplayerprice { - get { - object obj = ResourceManager.GetObject("appscapevideoplayerprice", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapevideoplayerpricepressed { - get { - object obj = ResourceManager.GetObject("appscapevideoplayerpricepressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapewebbrowser { - get { - object obj = ResourceManager.GetObject("appscapewebbrowser", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapewebbrowserprice { - get { - object obj = ResourceManager.GetObject("appscapewebbrowserprice", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapewebbrowserpricepressed { - get { - object obj = ResourceManager.GetObject("appscapewebbrowserpricepressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap appscapewelcometoappscape { - get { - object obj = ResourceManager.GetObject("appscapewelcometoappscape", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadcirclerubber { - get { - object obj = ResourceManager.GetObject("ArtPadcirclerubber", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadcirclerubberselected { - get { - object obj = ResourceManager.GetObject("ArtPadcirclerubberselected", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPaderacer { - get { - object obj = ResourceManager.GetObject("ArtPaderacer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadfloodfill { - get { - object obj = ResourceManager.GetObject("ArtPadfloodfill", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadlinetool { - get { - object obj = ResourceManager.GetObject("ArtPadlinetool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadmagnify { - get { - object obj = ResourceManager.GetObject("ArtPadmagnify", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadnew { - get { - object obj = ResourceManager.GetObject("ArtPadnew", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadopen { - get { - object obj = ResourceManager.GetObject("ArtPadopen", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadOval { - get { - object obj = ResourceManager.GetObject("ArtPadOval", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadpaintbrush { - get { - object obj = ResourceManager.GetObject("ArtPadpaintbrush", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadpencil { - get { - object obj = ResourceManager.GetObject("ArtPadpencil", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadpixelplacer { - get { - object obj = ResourceManager.GetObject("ArtPadpixelplacer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadRectangle { - get { - object obj = ResourceManager.GetObject("ArtPadRectangle", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadredo { - get { - object obj = ResourceManager.GetObject("ArtPadredo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadsave { - get { - object obj = ResourceManager.GetObject("ArtPadsave", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadsquarerubber { - get { - object obj = ResourceManager.GetObject("ArtPadsquarerubber", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadsquarerubberselected { - get { - object obj = ResourceManager.GetObject("ArtPadsquarerubberselected", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadtexttool { - get { - object obj = ResourceManager.GetObject("ArtPadtexttool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ArtPadundo { - get { - object obj = ResourceManager.GetObject("ArtPadundo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap BeginButton_Image { - get { - object obj = ResourceManager.GetObject("BeginButton.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap BeginButton1 { - get { - object obj = ResourceManager.GetObject("BeginButton1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bitnotediggergradetable { - get { - object obj = ResourceManager.GetObject("bitnotediggergradetable", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap BitnotesAcceptedHereLogo { - get { - object obj = ResourceManager.GetObject("BitnotesAcceptedHereLogo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bitnoteswebsidepnl { - get { - object obj = ResourceManager.GetObject("bitnoteswebsidepnl", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bitnotewalletdownload { - get { - object obj = ResourceManager.GetObject("bitnotewalletdownload", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bitnotewalletpreviewscreenshot { - get { - object obj = ResourceManager.GetObject("bitnotewalletpreviewscreenshot", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap bitnotewebsitetitle { - get { - object obj = ResourceManager.GetObject("bitnotewebsitetitle", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-8" ?> - ///<grammar version="1.0" xml:lang="en-US" - /// xmlns="http://www.w3.org/2001/06/grammar" - /// tag-format="semantics/1.0" root="Main"> - /// - /// <!-- Catalyst Grammar File - /// - /// This file gives Catalyst the ability to recognize - /// audio input and give a proper response. - /// - /// --> - /// - /// <rule id="Main"> - /// <item> - /// How much Code Points do I have? - /// </item> - /// <item>Can you run <ruleref uri="#programs"/>?</item> - /// <item>Can you mini [rest of string was truncated]";. - /// - internal static string CatalystGrammar { - get { - return ResourceManager.GetString("CatalystGrammar", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap centrebutton { - get { - object obj = ResourceManager.GetObject("centrebutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap centrebuttonpressed { - get { - object obj = ResourceManager.GetObject("centrebuttonpressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap christmas_skin { - get { - object obj = ResourceManager.GetObject("christmas_skin", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap christmaseasteregg { - get { - object obj = ResourceManager.GetObject("christmaseasteregg", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap crash { - get { - object obj = ResourceManager.GetObject("crash", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap crash_cheat { - get { - object obj = ResourceManager.GetObject("crash_cheat", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap crash_force { - get { - object obj = ResourceManager.GetObject("crash_force", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap crash_ofm { - get { - object obj = ResourceManager.GetObject("crash_ofm", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized string similar to private void tmrfirstrun_Tick(object sender, EventArgs e) - /// { - /// switch (firstrun) - /// { - /// case 1: - /// txtterm.Text = txtterm.Text + "Installation Successfull" + Environment.NewLine; - /// blockctrlt = true; - /// break; - /// case 2: - /// txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connecting..." + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> "; - /// [rest of string was truncated]";. - /// - internal static string DecompiledCode { - get { - return ResourceManager.GetString("DecompiledCode", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap deletefile { - get { - object obj = ResourceManager.GetObject("deletefile", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap deletefolder { - get { - object obj = ResourceManager.GetObject("deletefolder", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized string similar to Desktop++ v1.0 - /// - ///Ever wanted to have a useful desktop with icons? Icons that can open files, websites or other content? Icons that can be dragged across the screen any way you like? Well, Desktop++ is for you. Desktop++ constantly scans 'C:/ShiftOS/Home/Desktop' and creates an icon for each file and folder within. - /// - ///Desktop++ also allows you to change between Icon and Tile view, where Tile view gives more information, and Icon View allows simplicity and draggability. It also allows you to dump a Text File [rest of string was truncated]";. - /// - internal static string DesktopPlusPlusAbout { - get { - return ResourceManager.GetString("DesktopPlusPlusAbout", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream dial_up_modem_02 { - get { - return ResourceManager.GetStream("dial_up_modem_02", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap dodge { - get { - object obj = ResourceManager.GetObject("dodge", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap downarrow { - get { - object obj = ResourceManager.GetObject("downarrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap downloadmanagericon { - get { - object obj = ResourceManager.GetObject("downloadmanagericon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap DSC01042 { - get { - object obj = ResourceManager.GetObject("DSC01042", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileicondirectory { - get { - object obj = ResourceManager.GetObject("fileicondirectory", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileicondoc { - get { - object obj = ResourceManager.GetObject("fileicondoc", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileiconnone { - get { - object obj = ResourceManager.GetObject("fileiconnone", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileiconsaa { - get { - object obj = ResourceManager.GetObject("fileiconsaa", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileiconsetup { - get { - object obj = ResourceManager.GetObject("fileiconsetup", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileiconskin { - get { - object obj = ResourceManager.GetObject("fileiconskin", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap fileskimmericon_fw { - get { - object obj = ResourceManager.GetObject("fileskimmericon_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap floodgateicn { - get { - object obj = ResourceManager.GetObject("floodgateicn", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Gray_Shades { - get { - object obj = ResourceManager.GetObject("Gray_Shades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconAppscape { - get { - object obj = ResourceManager.GetObject("iconAppscape", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconArtpad { - get { - object obj = ResourceManager.GetObject("iconArtpad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconAudioPlayer { - get { - object obj = ResourceManager.GetObject("iconAudioPlayer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconBitnoteDigger { - get { - object obj = ResourceManager.GetObject("iconBitnoteDigger", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconBitnoteWallet { - get { - object obj = ResourceManager.GetObject("iconBitnoteWallet", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconCalculator { - get { - object obj = ResourceManager.GetObject("iconCalculator", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconClock { - get { - object obj = ResourceManager.GetObject("iconClock", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconColourPicker_fw { - get { - object obj = ResourceManager.GetObject("iconColourPicker_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconDodge { - get { - object obj = ResourceManager.GetObject("iconDodge", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconDownloader { - get { - object obj = ResourceManager.GetObject("iconDownloader", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconFileOpener_fw { - get { - object obj = ResourceManager.GetObject("iconFileOpener_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconFileSaver_fw { - get { - object obj = ResourceManager.GetObject("iconFileSaver_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconFileSkimmer { - get { - object obj = ResourceManager.GetObject("iconFileSkimmer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconfloodgate { - get { - object obj = ResourceManager.GetObject("iconfloodgate", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap icongraphicpicker { - get { - object obj = ResourceManager.GetObject("icongraphicpicker", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconIconManager { - get { - object obj = ResourceManager.GetObject("iconIconManager", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconInfoBox_fw { - get { - object obj = ResourceManager.GetObject("iconInfoBox_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconKnowledgeInput { - get { - object obj = ResourceManager.GetObject("iconKnowledgeInput", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconmaze { - get { - object obj = ResourceManager.GetObject("iconmaze", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconNameChanger { - get { - object obj = ResourceManager.GetObject("iconNameChanger", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconorcwrite { - get { - object obj = ResourceManager.GetObject("iconorcwrite", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconPong { - get { - object obj = ResourceManager.GetObject("iconPong", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconShifter { - get { - object obj = ResourceManager.GetObject("iconShifter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconShiftnet { - get { - object obj = ResourceManager.GetObject("iconShiftnet", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconShiftorium { - get { - object obj = ResourceManager.GetObject("iconShiftorium", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconshutdown { - get { - object obj = ResourceManager.GetObject("iconshutdown", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconSkinLoader { - get { - object obj = ResourceManager.GetObject("iconSkinLoader", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconSkinShifter { - get { - object obj = ResourceManager.GetObject("iconSkinShifter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconSnakey { - get { - object obj = ResourceManager.GetObject("iconSnakey", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconSysinfo { - get { - object obj = ResourceManager.GetObject("iconSysinfo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconTerminal { - get { - object obj = ResourceManager.GetObject("iconTerminal", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconTextPad { - get { - object obj = ResourceManager.GetObject("iconTextPad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconunitytoggle { - get { - object obj = ResourceManager.GetObject("iconunitytoggle", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconVideoPlayer { - get { - object obj = ResourceManager.GetObject("iconVideoPlayer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconvirusscanner { - get { - object obj = ResourceManager.GetObject("iconvirusscanner", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap iconWebBrowser { - get { - object obj = ResourceManager.GetObject("iconWebBrowser", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Byte[]. - /// - internal static byte[] Industrial { - get { - object obj = ResourceManager.GetObject("Industrial", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream infobox { - get { - return ResourceManager.GetStream("infobox", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap installericon { - get { - object obj = ResourceManager.GetObject("installericon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap jumperplayer { - get { - object obj = ResourceManager.GetObject("jumperplayer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Byte[]. - /// - internal static byte[] LICENSE { - get { - object obj = ResourceManager.GetObject("LICENSE", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap loadbutton { - get { - object obj = ResourceManager.GetObject("loadbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Minimatchbackground { - get { - object obj = ResourceManager.GetObject("Minimatchbackground", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap minimatchdodgepreviewimage { - get { - object obj = ResourceManager.GetObject("minimatchdodgepreviewimage", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap minimatchlabyrinthpreview { - get { - object obj = ResourceManager.GetObject("minimatchlabyrinthpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap newfolder { - get { - object obj = ResourceManager.GetObject("newfolder", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap newicon { - get { - object obj = ResourceManager.GetObject("newicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap nextbutton { - get { - object obj = ResourceManager.GetObject("nextbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap NoIconFound { - get { - object obj = ResourceManager.GetObject("NoIconFound", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap notify_generic { - get { - object obj = ResourceManager.GetObject("notify_generic", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap object_large_Image { - get { - object obj = ResourceManager.GetObject("object_large.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap object_mid_Image { - get { - object obj = ResourceManager.GetObject("object_mid.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap object_mid2_Image { - get { - object obj = ResourceManager.GetObject("object_mid2.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap object_small_Image { - get { - object obj = ResourceManager.GetObject("object_small.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap object_small2_Image { - get { - object obj = ResourceManager.GetObject("object_small2.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap openicon { - get { - object obj = ResourceManager.GetObject("openicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap pausebutton { - get { - object obj = ResourceManager.GetObject("pausebutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap PicBonus_Image { - get { - object obj = ResourceManager.GetObject("PicBonus.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap pixelsetter { - get { - object obj = ResourceManager.GetObject("pixelsetter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap playbutton { - get { - object obj = ResourceManager.GetObject("playbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap player_Image { - get { - object obj = ResourceManager.GetObject("player.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap previousbutton { - get { - object obj = ResourceManager.GetObject("previousbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap QuitButton_Image { - get { - object obj = ResourceManager.GetObject("QuitButton.Image", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Receive { - get { - object obj = ResourceManager.GetObject("Receive", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ReceiveClicked { - get { - object obj = ResourceManager.GetObject("ReceiveClicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream rolldown { - get { - return ResourceManager.GetStream("rolldown", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream rollup { - get { - return ResourceManager.GetStream("rollup", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap saveicon { - get { - object obj = ResourceManager.GetObject("saveicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Send { - get { - object obj = ResourceManager.GetObject("Send", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap SendClicked { - get { - object obj = ResourceManager.GetObject("SendClicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizericonpreview { - get { - object obj = ResourceManager.GetObject("shiftomizericonpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizerindustrialskinpreview { - get { - object obj = ResourceManager.GetObject("shiftomizerindustrialskinpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizerlinuxmintskinpreview { - get { - object obj = ResourceManager.GetObject("shiftomizerlinuxmintskinpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizernamechangerpreview { - get { - object obj = ResourceManager.GetObject("shiftomizernamechangerpreview", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizerskinshifterscreenshot { - get { - object obj = ResourceManager.GetObject("shiftomizerskinshifterscreenshot", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizersliderleftarrow { - get { - object obj = ResourceManager.GetObject("shiftomizersliderleftarrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap shiftomizersliderrightarrow { - get { - object obj = ResourceManager.GetObject("shiftomizersliderrightarrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized string similar to Apache License - /// Version 2.0, January 2004 - /// http://www.apache.org/licenses/ - /// - /// TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - /// - /// 1. Definitions. - /// - /// "License" shall mean the terms and conditions for use, reproduction, - /// and distribution as defined by Sections 1 through 9 of this document. - /// - /// "Licensor" shall mean the copyright owner or entity authorized by - /// the copyright owner that is granting the License. - /// - /// " [rest of string was truncated]";. - /// - internal static string ShiftOS_License { - get { - return ResourceManager.GetString("ShiftOS_License", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap skindownarrow { - get { - object obj = ResourceManager.GetObject("skindownarrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap skinfile { - get { - object obj = ResourceManager.GetObject("skinfile", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap skinuparrow { - get { - object obj = ResourceManager.GetObject("skinuparrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap snakeyback { - get { - object obj = ResourceManager.GetObject("snakeyback", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap stopbutton { - get { - object obj = ResourceManager.GetObject("stopbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap stretchbutton { - get { - object obj = ResourceManager.GetObject("stretchbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap stretchbuttonpressed { - get { - object obj = ResourceManager.GetObject("stretchbuttonpressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Symbolinfo { - get { - object obj = ResourceManager.GetObject("Symbolinfo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Symbolinfo1 { - get { - object obj = ResourceManager.GetObject("Symbolinfo1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap test { - get { - object obj = ResourceManager.GetObject("test", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap textpad_fw { - get { - object obj = ResourceManager.GetObject("textpad_fw", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap tilebutton { - get { - object obj = ResourceManager.GetObject("tilebutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap tilebuttonpressed { - get { - object obj = ResourceManager.GetObject("tilebuttonpressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap TotalBalanceClicked { - get { - object obj = ResourceManager.GetObject("TotalBalanceClicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap TotalBalanceUnclicked { - get { - object obj = ResourceManager.GetObject("TotalBalanceUnclicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap transactionsClicked { - get { - object obj = ResourceManager.GetObject("transactionsClicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap transactionsUnclicked { - get { - object obj = ResourceManager.GetObject("transactionsUnclicked", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream typesound { - get { - return ResourceManager.GetStream("typesound", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap uparrow { - get { - object obj = ResourceManager.GetObject("uparrow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap updatecustomcolourpallets { - get { - object obj = ResourceManager.GetObject("updatecustomcolourpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeadvancedshifter { - get { - object obj = ResourceManager.GetObject("upgradeadvancedshifter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealartpad { - get { - object obj = ResourceManager.GetObject("upgradealartpad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealclock { - get { - object obj = ResourceManager.GetObject("upgradealclock", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealfileskimmer { - get { - object obj = ResourceManager.GetObject("upgradealfileskimmer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealpong { - get { - object obj = ResourceManager.GetObject("upgradealpong", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealshifter { - get { - object obj = ResourceManager.GetObject("upgradealshifter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealshiftorium { - get { - object obj = ResourceManager.GetObject("upgradealshiftorium", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealtextpad { - get { - object obj = ResourceManager.GetObject("upgradealtextpad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradealunitymode { - get { - object obj = ResourceManager.GetObject("upgradealunitymode", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeamandpm { - get { - object obj = ResourceManager.GetObject("upgradeamandpm", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeapplaunchermenu { - get { - object obj = ResourceManager.GetObject("upgradeapplaunchermenu", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeapplaunchershutdown { - get { - object obj = ResourceManager.GetObject("upgradeapplaunchershutdown", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad { - get { - object obj = ResourceManager.GetObject("upgradeartpad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad128colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad128colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad16colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad16colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad32colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad32colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad4colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad4colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad64colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad64colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpad8colorpallets { - get { - object obj = ResourceManager.GetObject("upgradeartpad8colorpallets", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpaderaser { - get { - object obj = ResourceManager.GetObject("upgradeartpaderaser", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadfilltool { - get { - object obj = ResourceManager.GetObject("upgradeartpadfilltool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadicon { - get { - object obj = ResourceManager.GetObject("upgradeartpadicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadlimitlesspixels { - get { - object obj = ResourceManager.GetObject("upgradeartpadlimitlesspixels", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadlinetool { - get { - object obj = ResourceManager.GetObject("upgradeartpadlinetool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadload { - get { - object obj = ResourceManager.GetObject("upgradeartpadload", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadnew { - get { - object obj = ResourceManager.GetObject("upgradeartpadnew", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadovaltool { - get { - object obj = ResourceManager.GetObject("upgradeartpadovaltool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpaintbrushtool { - get { - object obj = ResourceManager.GetObject("upgradeartpadpaintbrushtool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpenciltool { - get { - object obj = ResourceManager.GetObject("upgradeartpadpenciltool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit1024 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit1024", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit16 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit16", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit16384 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit16384", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit256 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit256", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit4 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit4", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit4096 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit4096", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit64 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit64", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit65536 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit65536", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixellimit8 { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixellimit8", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixelplacer { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixelplacer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadpixelplacermovementmode { - get { - object obj = ResourceManager.GetObject("upgradeartpadpixelplacermovementmode", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadrectangletool { - get { - object obj = ResourceManager.GetObject("upgradeartpadrectangletool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadredo { - get { - object obj = ResourceManager.GetObject("upgradeartpadredo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadsave { - get { - object obj = ResourceManager.GetObject("upgradeartpadsave", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadtexttool { - get { - object obj = ResourceManager.GetObject("upgradeartpadtexttool", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeartpadundo { - get { - object obj = ResourceManager.GetObject("upgradeartpadundo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeautoscrollterminal { - get { - object obj = ResourceManager.GetObject("upgradeautoscrollterminal", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeblue { - get { - object obj = ResourceManager.GetObject("upgradeblue", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradebluecustom { - get { - object obj = ResourceManager.GetObject("upgradebluecustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeblueshades { - get { - object obj = ResourceManager.GetObject("upgradeblueshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeblueshadeset { - get { - object obj = ResourceManager.GetObject("upgradeblueshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradebrown { - get { - object obj = ResourceManager.GetObject("upgradebrown", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradebrowncustom { - get { - object obj = ResourceManager.GetObject("upgradebrowncustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradebrownshades { - get { - object obj = ResourceManager.GetObject("upgradebrownshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradebrownshadeset { - get { - object obj = ResourceManager.GetObject("upgradebrownshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeclock { - get { - object obj = ResourceManager.GetObject("upgradeclock", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeclockicon { - get { - object obj = ResourceManager.GetObject("upgradeclockicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeclosebutton { - get { - object obj = ResourceManager.GetObject("upgradeclosebutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradecolourpickericon { - get { - object obj = ResourceManager.GetObject("upgradecolourpickericon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradecustomusername { - get { - object obj = ResourceManager.GetObject("upgradecustomusername", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradedesktoppanel { - get { - object obj = ResourceManager.GetObject("upgradedesktoppanel", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradedesktoppanelclock { - get { - object obj = ResourceManager.GetObject("upgradedesktoppanelclock", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradedraggablewindows { - get { - object obj = ResourceManager.GetObject("upgradedraggablewindows", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradefileskimmer { - get { - object obj = ResourceManager.GetObject("upgradefileskimmer", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradefileskimmerdelete { - get { - object obj = ResourceManager.GetObject("upgradefileskimmerdelete", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradefileskimmericon { - get { - object obj = ResourceManager.GetObject("upgradefileskimmericon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradefileskimmernew { - get { - object obj = ResourceManager.GetObject("upgradefileskimmernew", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegray { - get { - object obj = ResourceManager.GetObject("upgradegray", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegraycustom { - get { - object obj = ResourceManager.GetObject("upgradegraycustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegrayshades { - get { - object obj = ResourceManager.GetObject("upgradegrayshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegrayshadeset { - get { - object obj = ResourceManager.GetObject("upgradegrayshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegreen { - get { - object obj = ResourceManager.GetObject("upgradegreen", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegreencustom { - get { - object obj = ResourceManager.GetObject("upgradegreencustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegreenshades { - get { - object obj = ResourceManager.GetObject("upgradegreenshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradegreenshadeset { - get { - object obj = ResourceManager.GetObject("upgradegreenshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradehoursssincemidnight { - get { - object obj = ResourceManager.GetObject("upgradehoursssincemidnight", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeiconunitymode { - get { - object obj = ResourceManager.GetObject("upgradeiconunitymode", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeinfoboxicon { - get { - object obj = ResourceManager.GetObject("upgradeinfoboxicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradekiaddons { - get { - object obj = ResourceManager.GetObject("upgradekiaddons", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradekielements { - get { - object obj = ResourceManager.GetObject("upgradekielements", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeknowledgeinput { - get { - object obj = ResourceManager.GetObject("upgradeknowledgeinput", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeknowledgeinputicon { - get { - object obj = ResourceManager.GetObject("upgradeknowledgeinputicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademinimizebutton { - get { - object obj = ResourceManager.GetObject("upgrademinimizebutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademinimizecommand { - get { - object obj = ResourceManager.GetObject("upgrademinimizecommand", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademinuteaccuracytime { - get { - object obj = ResourceManager.GetObject("upgrademinuteaccuracytime", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademinutesssincemidnight { - get { - object obj = ResourceManager.GetObject("upgrademinutesssincemidnight", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademoveablewindows { - get { - object obj = ResourceManager.GetObject("upgrademoveablewindows", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgrademultitasking { - get { - object obj = ResourceManager.GetObject("upgrademultitasking", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeorange { - get { - object obj = ResourceManager.GetObject("upgradeorange", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeorangecustom { - get { - object obj = ResourceManager.GetObject("upgradeorangecustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeorangeshades { - get { - object obj = ResourceManager.GetObject("upgradeorangeshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeorangeshadeset { - get { - object obj = ResourceManager.GetObject("upgradeorangeshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeosname { - get { - object obj = ResourceManager.GetObject("upgradeosname", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepanelbuttons { - get { - object obj = ResourceManager.GetObject("upgradepanelbuttons", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepink { - get { - object obj = ResourceManager.GetObject("upgradepink", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepinkcustom { - get { - object obj = ResourceManager.GetObject("upgradepinkcustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepinkshades { - get { - object obj = ResourceManager.GetObject("upgradepinkshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepinkshadeset { - get { - object obj = ResourceManager.GetObject("upgradepinkshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepong { - get { - object obj = ResourceManager.GetObject("upgradepong", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepongicon { - get { - object obj = ResourceManager.GetObject("upgradepongicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepurple { - get { - object obj = ResourceManager.GetObject("upgradepurple", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepurplecustom { - get { - object obj = ResourceManager.GetObject("upgradepurplecustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepurpleshades { - get { - object obj = ResourceManager.GetObject("upgradepurpleshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradepurpleshadeset { - get { - object obj = ResourceManager.GetObject("upgradepurpleshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradered { - get { - object obj = ResourceManager.GetObject("upgradered", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderedcustom { - get { - object obj = ResourceManager.GetObject("upgraderedcustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderedshades { - get { - object obj = ResourceManager.GetObject("upgraderedshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderedshadeset { - get { - object obj = ResourceManager.GetObject("upgraderedshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderemoveth1 { - get { - object obj = ResourceManager.GetObject("upgraderemoveth1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderemoveth2 { - get { - object obj = ResourceManager.GetObject("upgraderemoveth2", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderemoveth3 { - get { - object obj = ResourceManager.GetObject("upgraderemoveth3", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderemoveth4 { - get { - object obj = ResourceManager.GetObject("upgraderemoveth4", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderesize { - get { - object obj = ResourceManager.GetObject("upgraderesize", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderollupbutton { - get { - object obj = ResourceManager.GetObject("upgraderollupbutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgraderollupcommand { - get { - object obj = ResourceManager.GetObject("upgraderollupcommand", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradesecondssincemidnight { - get { - object obj = ResourceManager.GetObject("upgradesecondssincemidnight", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradesgameconsoles { - get { - object obj = ResourceManager.GetObject("upgradesgameconsoles", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftapplauncher { - get { - object obj = ResourceManager.GetObject("upgradeshiftapplauncher", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftborders { - get { - object obj = ResourceManager.GetObject("upgradeshiftborders", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftbuttons { - get { - object obj = ResourceManager.GetObject("upgradeshiftbuttons", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftdesktop { - get { - object obj = ResourceManager.GetObject("upgradeshiftdesktop", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftdesktoppanel { - get { - object obj = ResourceManager.GetObject("upgradeshiftdesktoppanel", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshifter { - get { - object obj = ResourceManager.GetObject("upgradeshifter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftericon { - get { - object obj = ResourceManager.GetObject("upgradeshiftericon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftitems { - get { - object obj = ResourceManager.GetObject("upgradeshiftitems", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftoriumicon { - get { - object obj = ResourceManager.GetObject("upgradeshiftoriumicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftpanelbuttons { - get { - object obj = ResourceManager.GetObject("upgradeshiftpanelbuttons", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshiftpanelclock { - get { - object obj = ResourceManager.GetObject("upgradeshiftpanelclock", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshifttitlebar { - get { - object obj = ResourceManager.GetObject("upgradeshifttitlebar", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshifttitletext { - get { - object obj = ResourceManager.GetObject("upgradeshifttitletext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeshutdownicon { - get { - object obj = ResourceManager.GetObject("upgradeshutdownicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeskicarbrands { - get { - object obj = ResourceManager.GetObject("upgradeskicarbrands", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeskinning { - get { - object obj = ResourceManager.GetObject("upgradeskinning", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradesplitsecondaccuracy { - get { - object obj = ResourceManager.GetObject("upgradesplitsecondaccuracy", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradesysinfo { - get { - object obj = ResourceManager.GetObject("upgradesysinfo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeterminalicon { - get { - object obj = ResourceManager.GetObject("upgradeterminalicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeterminalscrollbar { - get { - object obj = ResourceManager.GetObject("upgradeterminalscrollbar", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetextpad { - get { - object obj = ResourceManager.GetObject("upgradetextpad", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetextpadicon { - get { - object obj = ResourceManager.GetObject("upgradetextpadicon", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetextpadnew { - get { - object obj = ResourceManager.GetObject("upgradetextpadnew", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetextpadopen { - get { - object obj = ResourceManager.GetObject("upgradetextpadopen", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetextpadsave { - get { - object obj = ResourceManager.GetObject("upgradetextpadsave", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetitlebar { - get { - object obj = ResourceManager.GetObject("upgradetitlebar", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetitletext { - get { - object obj = ResourceManager.GetObject("upgradetitletext", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradetrm { - get { - object obj = ResourceManager.GetObject("upgradetrm", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeunitymode { - get { - object obj = ResourceManager.GetObject("upgradeunitymode", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeusefulpanelbuttons { - get { - object obj = ResourceManager.GetObject("upgradeusefulpanelbuttons", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradevirusscanner { - get { - object obj = ResourceManager.GetObject("upgradevirusscanner", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradewindowborders { - get { - object obj = ResourceManager.GetObject("upgradewindowborders", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradewindowedterminal { - get { - object obj = ResourceManager.GetObject("upgradewindowedterminal", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradewindowsanywhere { - get { - object obj = ResourceManager.GetObject("upgradewindowsanywhere", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeyellow { - get { - object obj = ResourceManager.GetObject("upgradeyellow", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeyellowcustom { - get { - object obj = ResourceManager.GetObject("upgradeyellowcustom", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeyellowshades { - get { - object obj = ResourceManager.GetObject("upgradeyellowshades", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap upgradeyellowshadeset { - get { - object obj = ResourceManager.GetObject("upgradeyellowshadeset", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap webback { - get { - object obj = ResourceManager.GetObject("webback", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap webforward { - get { - object obj = ResourceManager.GetObject("webforward", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap webhome { - get { - object obj = ResourceManager.GetObject("webhome", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. - /// - internal static System.IO.UnmanagedMemoryStream writesound { - get { - return ResourceManager.GetStream("writesound", resourceCulture); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap zoombutton { - get { - object obj = ResourceManager.GetObject("zoombutton", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap zoombuttonpressed { - get { - object obj = ResourceManager.GetObject("zoombuttonpressed", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - } -} +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace ShiftOS.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ShiftOS.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream _3beepvirus { + get { + return ResourceManager.GetStream("_3beepvirus", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap anycolourshade { + get { + object obj = ResourceManager.GetObject("anycolourshade", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap anycolourshade2 { + get { + object obj = ResourceManager.GetObject("anycolourshade2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap anycolourshade3 { + get { + object obj = ResourceManager.GetObject("anycolourshade3", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap anycolourshade4 { + get { + object obj = ResourceManager.GetObject("anycolourshade4", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeaudioplayerbox { + get { + object obj = ResourceManager.GetObject("appscapeaudioplayerbox", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeaudioplayerprice { + get { + object obj = ResourceManager.GetObject("appscapeaudioplayerprice", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeaudioplayerpricepressed { + get { + object obj = ResourceManager.GetObject("appscapeaudioplayerpricepressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapecalculator { + get { + object obj = ResourceManager.GetObject("appscapecalculator", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapecalculatorprice { + get { + object obj = ResourceManager.GetObject("appscapecalculatorprice", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapecalculatorpricepressed { + get { + object obj = ResourceManager.GetObject("appscapecalculatorpricepressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapedepositbitnotewalletscreenshot { + get { + object obj = ResourceManager.GetObject("appscapedepositbitnotewalletscreenshot", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapedepositinfo { + get { + object obj = ResourceManager.GetObject("appscapedepositinfo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapedepositnowbutton { + get { + object obj = ResourceManager.GetObject("appscapedepositnowbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapedownloadbutton { + get { + object obj = ResourceManager.GetObject("appscapedownloadbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfoaudioplayertext { + get { + object obj = ResourceManager.GetObject("appscapeinfoaudioplayertext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfoaudioplayervisualpreview { + get { + object obj = ResourceManager.GetObject("appscapeinfoaudioplayervisualpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfobackbutton { + get { + object obj = ResourceManager.GetObject("appscapeinfobackbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfobutton { + get { + object obj = ResourceManager.GetObject("appscapeinfobutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfobuttonpressed { + get { + object obj = ResourceManager.GetObject("appscapeinfobuttonpressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfobuybutton { + get { + object obj = ResourceManager.GetObject("appscapeinfobuybutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfocalculatortext { + get { + object obj = ResourceManager.GetObject("appscapeinfocalculatortext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfocalculatorvisualpreview { + get { + object obj = ResourceManager.GetObject("appscapeinfocalculatorvisualpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfoorcwritetext { + get { + object obj = ResourceManager.GetObject("appscapeinfoorcwritetext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfoorcwritevisualpreview { + get { + object obj = ResourceManager.GetObject("appscapeinfoorcwritevisualpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfovideoplayertext { + get { + object obj = ResourceManager.GetObject("appscapeinfovideoplayertext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfovideoplayervisualpreview { + get { + object obj = ResourceManager.GetObject("appscapeinfovideoplayervisualpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfowebbrowsertext { + get { + object obj = ResourceManager.GetObject("appscapeinfowebbrowsertext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeinfowebbrowservisualpreview { + get { + object obj = ResourceManager.GetObject("appscapeinfowebbrowservisualpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapemoresoftware { + get { + object obj = ResourceManager.GetObject("appscapemoresoftware", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeorcwrite { + get { + object obj = ResourceManager.GetObject("appscapeorcwrite", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapetitlebanner { + get { + object obj = ResourceManager.GetObject("appscapetitlebanner", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeundefinedprice { + get { + object obj = ResourceManager.GetObject("appscapeundefinedprice", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapeundefinedpricepressed { + get { + object obj = ResourceManager.GetObject("appscapeundefinedpricepressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapevideoplayer { + get { + object obj = ResourceManager.GetObject("appscapevideoplayer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapevideoplayerprice { + get { + object obj = ResourceManager.GetObject("appscapevideoplayerprice", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapevideoplayerpricepressed { + get { + object obj = ResourceManager.GetObject("appscapevideoplayerpricepressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapewebbrowser { + get { + object obj = ResourceManager.GetObject("appscapewebbrowser", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapewebbrowserprice { + get { + object obj = ResourceManager.GetObject("appscapewebbrowserprice", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapewebbrowserpricepressed { + get { + object obj = ResourceManager.GetObject("appscapewebbrowserpricepressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap appscapewelcometoappscape { + get { + object obj = ResourceManager.GetObject("appscapewelcometoappscape", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadcirclerubber { + get { + object obj = ResourceManager.GetObject("ArtPadcirclerubber", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadcirclerubberselected { + get { + object obj = ResourceManager.GetObject("ArtPadcirclerubberselected", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPaderacer { + get { + object obj = ResourceManager.GetObject("ArtPaderacer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadfloodfill { + get { + object obj = ResourceManager.GetObject("ArtPadfloodfill", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadlinetool { + get { + object obj = ResourceManager.GetObject("ArtPadlinetool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadmagnify { + get { + object obj = ResourceManager.GetObject("ArtPadmagnify", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadnew { + get { + object obj = ResourceManager.GetObject("ArtPadnew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadopen { + get { + object obj = ResourceManager.GetObject("ArtPadopen", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadOval { + get { + object obj = ResourceManager.GetObject("ArtPadOval", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadpaintbrush { + get { + object obj = ResourceManager.GetObject("ArtPadpaintbrush", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadpencil { + get { + object obj = ResourceManager.GetObject("ArtPadpencil", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadpixelplacer { + get { + object obj = ResourceManager.GetObject("ArtPadpixelplacer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadRectangle { + get { + object obj = ResourceManager.GetObject("ArtPadRectangle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadredo { + get { + object obj = ResourceManager.GetObject("ArtPadredo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadsave { + get { + object obj = ResourceManager.GetObject("ArtPadsave", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadsquarerubber { + get { + object obj = ResourceManager.GetObject("ArtPadsquarerubber", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadsquarerubberselected { + get { + object obj = ResourceManager.GetObject("ArtPadsquarerubberselected", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadtexttool { + get { + object obj = ResourceManager.GetObject("ArtPadtexttool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArtPadundo { + get { + object obj = ResourceManager.GetObject("ArtPadundo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BeginButton_Image { + get { + object obj = ResourceManager.GetObject("BeginButton.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BeginButton1 { + get { + object obj = ResourceManager.GetObject("BeginButton1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bitnotediggergradetable { + get { + object obj = ResourceManager.GetObject("bitnotediggergradetable", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BitnotesAcceptedHereLogo { + get { + object obj = ResourceManager.GetObject("BitnotesAcceptedHereLogo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bitnoteswebsidepnl { + get { + object obj = ResourceManager.GetObject("bitnoteswebsidepnl", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bitnotewalletdownload { + get { + object obj = ResourceManager.GetObject("bitnotewalletdownload", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bitnotewalletpreviewscreenshot { + get { + object obj = ResourceManager.GetObject("bitnotewalletpreviewscreenshot", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap bitnotewebsitetitle { + get { + object obj = ResourceManager.GetObject("bitnotewebsitetitle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized string similar to <?xml version="1.0" encoding="UTF-8" ?> + ///<grammar version="1.0" xml:lang="en-US" + /// xmlns="http://www.w3.org/2001/06/grammar" + /// tag-format="semantics/1.0" root="Main"> + /// + /// <!-- Catalyst Grammar File + /// + /// This file gives Catalyst the ability to recognize + /// audio input and give a proper response. + /// + /// --> + /// + /// <rule id="Main"> + /// <item> + /// How much Code Points do I have? + /// </item> + /// <item>Can you run <ruleref uri="#programs"/>?</item> + /// <item>Can you mini [rest of string was truncated]";. + /// + internal static string CatalystGrammar { + get { + return ResourceManager.GetString("CatalystGrammar", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap centrebutton { + get { + object obj = ResourceManager.GetObject("centrebutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap centrebuttonpressed { + get { + object obj = ResourceManager.GetObject("centrebuttonpressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized string similar to { + /// "Ahhh, the user. Such a surprise...":"DevX", + /// "How dare you break my plans? How dare you STILL use the Shiftnet?":"DevX", + /// "Huh. Just read your system log. It says you want to side with me.":"DevX", + /// "Alright, fine. After all, you seem to be extremely good at this.":"DevX", + /// "You know how to install Shiftnet packages, right? Well I need you to install the package 'god_utils'.":"DevX", + /// "I'll contact you when you're done.":"DevX" + ///}. + /// + internal static string Choice1 { + get { + return ResourceManager.GetString("Choice1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// "Hey! It's the user! So, you ready to start destroying DevX?":"???", + /// "Alright, well there's quite a few things you'll need to do.":"???", + /// "You may realize that ShiftOS is quite locked down. This is to prevent anything bad from happening.":"???", + /// "However, in your Terminal, you should be able to run 'quests' to view all the tasks we need to accomplish.":"???", + /// "You'll also see a window near the App Launcher, I will use it to talk to you as we do things.":"???", + /// "Well. Let's get started.":"???" /// [rest of string was truncated]";. + /// + internal static string Choice2 { + get { + return ResourceManager.GetString("Choice2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// "User! You're here. You came just in time.":"???", + /// "Yeah, we have a bit of a problem over here.":"Hacker101", + /// "DevX found out.":"Hacker101", + /// "We've had this chat running secretly for a year now, and only you know about it":"???", + /// "But somehow DevX found out about it.":"???", + /// "Reading your logs, well, it seems you want out of this all, don't you?":"???", + /// "Well, Hacker101, tell the user what we can do.":"???" + /// "Well I've got good news and bad news for you, user.":"Hacker101", + /// "Good news is, [rest of string was truncated]";. + /// + internal static string Choice3 { + get { + return ResourceManager.GetString("Choice3", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap christmas_skin { + get { + object obj = ResourceManager.GetObject("christmas_skin", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap christmaseasteregg { + get { + object obj = ResourceManager.GetObject("christmaseasteregg", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap crash { + get { + object obj = ResourceManager.GetObject("crash", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap crash_cheat { + get { + object obj = ResourceManager.GetObject("crash_cheat", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap crash_force { + get { + object obj = ResourceManager.GetObject("crash_force", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap crash_ofm { + get { + object obj = ResourceManager.GetObject("crash_ofm", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized string similar to private void tmrfirstrun_Tick(object sender, EventArgs e) + /// { + /// switch (firstrun) + /// { + /// case 1: + /// txtterm.Text = txtterm.Text + "Installation Successfull" + Environment.NewLine; + /// blockctrlt = true; + /// break; + /// case 2: + /// txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connecting..." + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> "; + /// [rest of string was truncated]";. + /// + internal static string DecompiledCode { + get { + return ResourceManager.GetString("DecompiledCode", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap deletefile { + get { + object obj = ResourceManager.GetObject("deletefile", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap deletefolder { + get { + object obj = ResourceManager.GetObject("deletefolder", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized string similar to Desktop++ v1.0 + /// + ///Ever wanted to have a useful desktop with icons? Icons that can open files, websites or other content? Icons that can be dragged across the screen any way you like? Well, Desktop++ is for you. Desktop++ constantly scans 'C:/ShiftOS/Home/Desktop' and creates an icon for each file and folder within. + /// + ///Desktop++ also allows you to change between Icon and Tile view, where Tile view gives more information, and Icon View allows simplicity and draggability. It also allows you to dump a Text File [rest of string was truncated]";. + /// + internal static string DesktopPlusPlusAbout { + get { + return ResourceManager.GetString("DesktopPlusPlusAbout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {"Name":"DevX Firewall","FriendDesc":"DevX's firewall.","Description":"DevX's firewall.","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_firewall","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"trt_alpha","ModuleType":0,"Type":3,"HP":0,"Grade":1,"X":529,"Y":214},{"Hostname":"trt_beta","ModuleType":0,"Type":3,"HP":0,"Grade":1,"X":670,"Y":211},{"Hostname":"trt_charlie","ModuleType":0,"Type":3,"HP":0,"Grade":2,"X":604,"Y":279},{"Hostname":"trt_delta","Mod [rest of string was truncated]";. + /// + internal static string DevX_Firewall { + get { + return ResourceManager.GetString("DevX_Firewall", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {"Name":"DevX Primary","FriendDesc":"DevX's primary network","Description":"DevX's primary network","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_primary","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"protector1","ModuleType":0,"Type":5,"HP":0,"Grade":2,"X":534,"Y":231},{"Hostname":"worm_unit1","ModuleType":0,"Type":6,"HP":0,"Grade":1,"X":660,"Y":205},{"Hostname":"main_turret","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":530,"Y":186},{"Hostname":"an [rest of string was truncated]";. + /// + internal static string DevX_PrimaryNet { + get { + return ResourceManager.GetString("DevX_PrimaryNet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to + ///{"Name":"DevX Secondary","FriendDesc":"I will DESTROY you.","Description":"I will DESTROY you.","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_secondary","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"trt_alpha","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":535,"Y":221},{"Hostname":"trt_beta","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":534,"Y":268},{"Hostname":"trt_charlie","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":532,"Y":174},{"Hostname":"trt_d [rest of string was truncated]";. + /// + internal static string DevX_Secondary { + get { + return ResourceManager.GetString("DevX_Secondary", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream dial_up_modem_02 { + get { + return ResourceManager.GetStream("dial_up_modem_02", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap dodge { + get { + object obj = ResourceManager.GetObject("dodge", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap downarrow { + get { + object obj = ResourceManager.GetObject("downarrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap downloadmanagericon { + get { + object obj = ResourceManager.GetObject("downloadmanagericon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap DSC01042 { + get { + object obj = ResourceManager.GetObject("DSC01042", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileicondirectory { + get { + object obj = ResourceManager.GetObject("fileicondirectory", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileicondoc { + get { + object obj = ResourceManager.GetObject("fileicondoc", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileiconnone { + get { + object obj = ResourceManager.GetObject("fileiconnone", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileiconsaa { + get { + object obj = ResourceManager.GetObject("fileiconsaa", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileiconsetup { + get { + object obj = ResourceManager.GetObject("fileiconsetup", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileiconskin { + get { + object obj = ResourceManager.GetObject("fileiconskin", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fileskimmericon_fw { + get { + object obj = ResourceManager.GetObject("fileskimmericon_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap floodgateicn { + get { + object obj = ResourceManager.GetObject("floodgateicn", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Gray_Shades { + get { + object obj = ResourceManager.GetObject("Gray_Shades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconAppscape { + get { + object obj = ResourceManager.GetObject("iconAppscape", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconArtpad { + get { + object obj = ResourceManager.GetObject("iconArtpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconAudioPlayer { + get { + object obj = ResourceManager.GetObject("iconAudioPlayer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconBitnoteDigger { + get { + object obj = ResourceManager.GetObject("iconBitnoteDigger", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconBitnoteWallet { + get { + object obj = ResourceManager.GetObject("iconBitnoteWallet", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconCalculator { + get { + object obj = ResourceManager.GetObject("iconCalculator", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconClock { + get { + object obj = ResourceManager.GetObject("iconClock", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconColourPicker_fw { + get { + object obj = ResourceManager.GetObject("iconColourPicker_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconDodge { + get { + object obj = ResourceManager.GetObject("iconDodge", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconDownloader { + get { + object obj = ResourceManager.GetObject("iconDownloader", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconFileOpener_fw { + get { + object obj = ResourceManager.GetObject("iconFileOpener_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconFileSaver_fw { + get { + object obj = ResourceManager.GetObject("iconFileSaver_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconFileSkimmer { + get { + object obj = ResourceManager.GetObject("iconFileSkimmer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconfloodgate { + get { + object obj = ResourceManager.GetObject("iconfloodgate", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap icongraphicpicker { + get { + object obj = ResourceManager.GetObject("icongraphicpicker", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconIconManager { + get { + object obj = ResourceManager.GetObject("iconIconManager", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconInfoBox_fw { + get { + object obj = ResourceManager.GetObject("iconInfoBox_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconKnowledgeInput { + get { + object obj = ResourceManager.GetObject("iconKnowledgeInput", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconmaze { + get { + object obj = ResourceManager.GetObject("iconmaze", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconNameChanger { + get { + object obj = ResourceManager.GetObject("iconNameChanger", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconorcwrite { + get { + object obj = ResourceManager.GetObject("iconorcwrite", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconPong { + get { + object obj = ResourceManager.GetObject("iconPong", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconShifter { + get { + object obj = ResourceManager.GetObject("iconShifter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconShiftnet { + get { + object obj = ResourceManager.GetObject("iconShiftnet", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconShiftorium { + get { + object obj = ResourceManager.GetObject("iconShiftorium", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconshutdown { + get { + object obj = ResourceManager.GetObject("iconshutdown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconSkinLoader { + get { + object obj = ResourceManager.GetObject("iconSkinLoader", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconSkinShifter { + get { + object obj = ResourceManager.GetObject("iconSkinShifter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconSnakey { + get { + object obj = ResourceManager.GetObject("iconSnakey", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconSysinfo { + get { + object obj = ResourceManager.GetObject("iconSysinfo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconTerminal { + get { + object obj = ResourceManager.GetObject("iconTerminal", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconTextPad { + get { + object obj = ResourceManager.GetObject("iconTextPad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconunitytoggle { + get { + object obj = ResourceManager.GetObject("iconunitytoggle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconVideoPlayer { + get { + object obj = ResourceManager.GetObject("iconVideoPlayer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconvirusscanner { + get { + object obj = ResourceManager.GetObject("iconvirusscanner", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap iconWebBrowser { + get { + object obj = ResourceManager.GetObject("iconWebBrowser", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Industrial { + get { + object obj = ResourceManager.GetObject("Industrial", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream infobox { + get { + return ResourceManager.GetStream("infobox", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap installericon { + get { + object obj = ResourceManager.GetObject("installericon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap jumperplayer { + get { + object obj = ResourceManager.GetObject("jumperplayer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] LICENSE { + get { + object obj = ResourceManager.GetObject("LICENSE", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap loadbutton { + get { + object obj = ResourceManager.GetObject("loadbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Minimatchbackground { + get { + object obj = ResourceManager.GetObject("Minimatchbackground", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap minimatchdodgepreviewimage { + get { + object obj = ResourceManager.GetObject("minimatchdodgepreviewimage", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap minimatchlabyrinthpreview { + get { + object obj = ResourceManager.GetObject("minimatchlabyrinthpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap newfolder { + get { + object obj = ResourceManager.GetObject("newfolder", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap newicon { + get { + object obj = ResourceManager.GetObject("newicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap nextbutton { + get { + object obj = ResourceManager.GetObject("nextbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap NoIconFound { + get { + object obj = ResourceManager.GetObject("NoIconFound", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap notify_generic { + get { + object obj = ResourceManager.GetObject("notify_generic", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap object_large_Image { + get { + object obj = ResourceManager.GetObject("object_large.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap object_mid_Image { + get { + object obj = ResourceManager.GetObject("object_mid.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap object_mid2_Image { + get { + object obj = ResourceManager.GetObject("object_mid2.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap object_small_Image { + get { + object obj = ResourceManager.GetObject("object_small.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap object_small2_Image { + get { + object obj = ResourceManager.GetObject("object_small2.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap openicon { + get { + object obj = ResourceManager.GetObject("openicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap pausebutton { + get { + object obj = ResourceManager.GetObject("pausebutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap PicBonus_Image { + get { + object obj = ResourceManager.GetObject("PicBonus.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap pixelsetter { + get { + object obj = ResourceManager.GetObject("pixelsetter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap playbutton { + get { + object obj = ResourceManager.GetObject("playbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap player_Image { + get { + object obj = ResourceManager.GetObject("player.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap previousbutton { + get { + object obj = ResourceManager.GetObject("previousbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap QuitButton_Image { + get { + object obj = ResourceManager.GetObject("QuitButton.Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Receive { + get { + object obj = ResourceManager.GetObject("Receive", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ReceiveClicked { + get { + object obj = ResourceManager.GetObject("ReceiveClicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream rolldown { + get { + return ResourceManager.GetStream("rolldown", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream rollup { + get { + return ResourceManager.GetStream("rollup", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap saveicon { + get { + object obj = ResourceManager.GetObject("saveicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Send { + get { + object obj = ResourceManager.GetObject("Send", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap SendClicked { + get { + object obj = ResourceManager.GetObject("SendClicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizericonpreview { + get { + object obj = ResourceManager.GetObject("shiftomizericonpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizerindustrialskinpreview { + get { + object obj = ResourceManager.GetObject("shiftomizerindustrialskinpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizerlinuxmintskinpreview { + get { + object obj = ResourceManager.GetObject("shiftomizerlinuxmintskinpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizernamechangerpreview { + get { + object obj = ResourceManager.GetObject("shiftomizernamechangerpreview", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizerskinshifterscreenshot { + get { + object obj = ResourceManager.GetObject("shiftomizerskinshifterscreenshot", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizersliderleftarrow { + get { + object obj = ResourceManager.GetObject("shiftomizersliderleftarrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap shiftomizersliderrightarrow { + get { + object obj = ResourceManager.GetObject("shiftomizersliderrightarrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized string similar to Apache License + /// Version 2.0, January 2004 + /// http://www.apache.org/licenses/ + /// + /// TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + /// + /// 1. Definitions. + /// + /// "License" shall mean the terms and conditions for use, reproduction, + /// and distribution as defined by Sections 1 through 9 of this document. + /// + /// "Licensor" shall mean the copyright owner or entity authorized by + /// the copyright owner that is granting the License. + /// + /// " [rest of string was truncated]";. + /// + internal static string ShiftOS_License { + get { + return ResourceManager.GetString("ShiftOS_License", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap skindownarrow { + get { + object obj = ResourceManager.GetObject("skindownarrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap skinfile { + get { + object obj = ResourceManager.GetObject("skinfile", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap skinuparrow { + get { + object obj = ResourceManager.GetObject("skinuparrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap snakeyback { + get { + object obj = ResourceManager.GetObject("snakeyback", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap stopbutton { + get { + object obj = ResourceManager.GetObject("stopbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap stretchbutton { + get { + object obj = ResourceManager.GetObject("stretchbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap stretchbuttonpressed { + get { + object obj = ResourceManager.GetObject("stretchbuttonpressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Symbolinfo { + get { + object obj = ResourceManager.GetObject("Symbolinfo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Symbolinfo1 { + get { + object obj = ResourceManager.GetObject("Symbolinfo1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap test { + get { + object obj = ResourceManager.GetObject("test", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap textpad_fw { + get { + object obj = ResourceManager.GetObject("textpad_fw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tilebutton { + get { + object obj = ResourceManager.GetObject("tilebutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap tilebuttonpressed { + get { + object obj = ResourceManager.GetObject("tilebuttonpressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap TotalBalanceClicked { + get { + object obj = ResourceManager.GetObject("TotalBalanceClicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap TotalBalanceUnclicked { + get { + object obj = ResourceManager.GetObject("TotalBalanceUnclicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap transactionsClicked { + get { + object obj = ResourceManager.GetObject("transactionsClicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap transactionsUnclicked { + get { + object obj = ResourceManager.GetObject("transactionsUnclicked", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream typesound { + get { + return ResourceManager.GetStream("typesound", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap uparrow { + get { + object obj = ResourceManager.GetObject("uparrow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap updatecustomcolourpallets { + get { + object obj = ResourceManager.GetObject("updatecustomcolourpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeadvancedshifter { + get { + object obj = ResourceManager.GetObject("upgradeadvancedshifter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealartpad { + get { + object obj = ResourceManager.GetObject("upgradealartpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealclock { + get { + object obj = ResourceManager.GetObject("upgradealclock", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealfileskimmer { + get { + object obj = ResourceManager.GetObject("upgradealfileskimmer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealpong { + get { + object obj = ResourceManager.GetObject("upgradealpong", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealshifter { + get { + object obj = ResourceManager.GetObject("upgradealshifter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealshiftorium { + get { + object obj = ResourceManager.GetObject("upgradealshiftorium", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealtextpad { + get { + object obj = ResourceManager.GetObject("upgradealtextpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradealunitymode { + get { + object obj = ResourceManager.GetObject("upgradealunitymode", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeamandpm { + get { + object obj = ResourceManager.GetObject("upgradeamandpm", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeapplaunchermenu { + get { + object obj = ResourceManager.GetObject("upgradeapplaunchermenu", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeapplaunchershutdown { + get { + object obj = ResourceManager.GetObject("upgradeapplaunchershutdown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad { + get { + object obj = ResourceManager.GetObject("upgradeartpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad128colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad128colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad16colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad16colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad32colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad32colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad4colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad4colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad64colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad64colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpad8colorpallets { + get { + object obj = ResourceManager.GetObject("upgradeartpad8colorpallets", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpaderaser { + get { + object obj = ResourceManager.GetObject("upgradeartpaderaser", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadfilltool { + get { + object obj = ResourceManager.GetObject("upgradeartpadfilltool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadicon { + get { + object obj = ResourceManager.GetObject("upgradeartpadicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadlimitlesspixels { + get { + object obj = ResourceManager.GetObject("upgradeartpadlimitlesspixels", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadlinetool { + get { + object obj = ResourceManager.GetObject("upgradeartpadlinetool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadload { + get { + object obj = ResourceManager.GetObject("upgradeartpadload", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadnew { + get { + object obj = ResourceManager.GetObject("upgradeartpadnew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadovaltool { + get { + object obj = ResourceManager.GetObject("upgradeartpadovaltool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpaintbrushtool { + get { + object obj = ResourceManager.GetObject("upgradeartpadpaintbrushtool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpenciltool { + get { + object obj = ResourceManager.GetObject("upgradeartpadpenciltool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit1024 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit1024", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit16 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit16384 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit16384", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit256 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit256", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit4 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit4", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit4096 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit4096", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit64 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit64", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit65536 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit65536", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixellimit8 { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixellimit8", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixelplacer { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixelplacer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadpixelplacermovementmode { + get { + object obj = ResourceManager.GetObject("upgradeartpadpixelplacermovementmode", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadrectangletool { + get { + object obj = ResourceManager.GetObject("upgradeartpadrectangletool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadredo { + get { + object obj = ResourceManager.GetObject("upgradeartpadredo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadsave { + get { + object obj = ResourceManager.GetObject("upgradeartpadsave", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadtexttool { + get { + object obj = ResourceManager.GetObject("upgradeartpadtexttool", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeartpadundo { + get { + object obj = ResourceManager.GetObject("upgradeartpadundo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeautoscrollterminal { + get { + object obj = ResourceManager.GetObject("upgradeautoscrollterminal", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeblue { + get { + object obj = ResourceManager.GetObject("upgradeblue", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradebluecustom { + get { + object obj = ResourceManager.GetObject("upgradebluecustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeblueshades { + get { + object obj = ResourceManager.GetObject("upgradeblueshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeblueshadeset { + get { + object obj = ResourceManager.GetObject("upgradeblueshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradebrown { + get { + object obj = ResourceManager.GetObject("upgradebrown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradebrowncustom { + get { + object obj = ResourceManager.GetObject("upgradebrowncustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradebrownshades { + get { + object obj = ResourceManager.GetObject("upgradebrownshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradebrownshadeset { + get { + object obj = ResourceManager.GetObject("upgradebrownshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeclock { + get { + object obj = ResourceManager.GetObject("upgradeclock", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeclockicon { + get { + object obj = ResourceManager.GetObject("upgradeclockicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeclosebutton { + get { + object obj = ResourceManager.GetObject("upgradeclosebutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradecolourpickericon { + get { + object obj = ResourceManager.GetObject("upgradecolourpickericon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradecustomusername { + get { + object obj = ResourceManager.GetObject("upgradecustomusername", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradedesktoppanel { + get { + object obj = ResourceManager.GetObject("upgradedesktoppanel", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradedesktoppanelclock { + get { + object obj = ResourceManager.GetObject("upgradedesktoppanelclock", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradedraggablewindows { + get { + object obj = ResourceManager.GetObject("upgradedraggablewindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradefileskimmer { + get { + object obj = ResourceManager.GetObject("upgradefileskimmer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradefileskimmerdelete { + get { + object obj = ResourceManager.GetObject("upgradefileskimmerdelete", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradefileskimmericon { + get { + object obj = ResourceManager.GetObject("upgradefileskimmericon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradefileskimmernew { + get { + object obj = ResourceManager.GetObject("upgradefileskimmernew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegray { + get { + object obj = ResourceManager.GetObject("upgradegray", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegraycustom { + get { + object obj = ResourceManager.GetObject("upgradegraycustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegrayshades { + get { + object obj = ResourceManager.GetObject("upgradegrayshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegrayshadeset { + get { + object obj = ResourceManager.GetObject("upgradegrayshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegreen { + get { + object obj = ResourceManager.GetObject("upgradegreen", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegreencustom { + get { + object obj = ResourceManager.GetObject("upgradegreencustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegreenshades { + get { + object obj = ResourceManager.GetObject("upgradegreenshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradegreenshadeset { + get { + object obj = ResourceManager.GetObject("upgradegreenshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradehoursssincemidnight { + get { + object obj = ResourceManager.GetObject("upgradehoursssincemidnight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeiconunitymode { + get { + object obj = ResourceManager.GetObject("upgradeiconunitymode", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeinfoboxicon { + get { + object obj = ResourceManager.GetObject("upgradeinfoboxicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradekiaddons { + get { + object obj = ResourceManager.GetObject("upgradekiaddons", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradekielements { + get { + object obj = ResourceManager.GetObject("upgradekielements", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeknowledgeinput { + get { + object obj = ResourceManager.GetObject("upgradeknowledgeinput", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeknowledgeinputicon { + get { + object obj = ResourceManager.GetObject("upgradeknowledgeinputicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademinimizebutton { + get { + object obj = ResourceManager.GetObject("upgrademinimizebutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademinimizecommand { + get { + object obj = ResourceManager.GetObject("upgrademinimizecommand", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademinuteaccuracytime { + get { + object obj = ResourceManager.GetObject("upgrademinuteaccuracytime", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademinutesssincemidnight { + get { + object obj = ResourceManager.GetObject("upgrademinutesssincemidnight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademoveablewindows { + get { + object obj = ResourceManager.GetObject("upgrademoveablewindows", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgrademultitasking { + get { + object obj = ResourceManager.GetObject("upgrademultitasking", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeorange { + get { + object obj = ResourceManager.GetObject("upgradeorange", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeorangecustom { + get { + object obj = ResourceManager.GetObject("upgradeorangecustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeorangeshades { + get { + object obj = ResourceManager.GetObject("upgradeorangeshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeorangeshadeset { + get { + object obj = ResourceManager.GetObject("upgradeorangeshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeosname { + get { + object obj = ResourceManager.GetObject("upgradeosname", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepanelbuttons { + get { + object obj = ResourceManager.GetObject("upgradepanelbuttons", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepink { + get { + object obj = ResourceManager.GetObject("upgradepink", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepinkcustom { + get { + object obj = ResourceManager.GetObject("upgradepinkcustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepinkshades { + get { + object obj = ResourceManager.GetObject("upgradepinkshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepinkshadeset { + get { + object obj = ResourceManager.GetObject("upgradepinkshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepong { + get { + object obj = ResourceManager.GetObject("upgradepong", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepongicon { + get { + object obj = ResourceManager.GetObject("upgradepongicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepurple { + get { + object obj = ResourceManager.GetObject("upgradepurple", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepurplecustom { + get { + object obj = ResourceManager.GetObject("upgradepurplecustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepurpleshades { + get { + object obj = ResourceManager.GetObject("upgradepurpleshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradepurpleshadeset { + get { + object obj = ResourceManager.GetObject("upgradepurpleshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradered { + get { + object obj = ResourceManager.GetObject("upgradered", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderedcustom { + get { + object obj = ResourceManager.GetObject("upgraderedcustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderedshades { + get { + object obj = ResourceManager.GetObject("upgraderedshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderedshadeset { + get { + object obj = ResourceManager.GetObject("upgraderedshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderemoveth1 { + get { + object obj = ResourceManager.GetObject("upgraderemoveth1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderemoveth2 { + get { + object obj = ResourceManager.GetObject("upgraderemoveth2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderemoveth3 { + get { + object obj = ResourceManager.GetObject("upgraderemoveth3", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderemoveth4 { + get { + object obj = ResourceManager.GetObject("upgraderemoveth4", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderesize { + get { + object obj = ResourceManager.GetObject("upgraderesize", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderollupbutton { + get { + object obj = ResourceManager.GetObject("upgraderollupbutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgraderollupcommand { + get { + object obj = ResourceManager.GetObject("upgraderollupcommand", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradesecondssincemidnight { + get { + object obj = ResourceManager.GetObject("upgradesecondssincemidnight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradesgameconsoles { + get { + object obj = ResourceManager.GetObject("upgradesgameconsoles", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftapplauncher { + get { + object obj = ResourceManager.GetObject("upgradeshiftapplauncher", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftborders { + get { + object obj = ResourceManager.GetObject("upgradeshiftborders", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftbuttons { + get { + object obj = ResourceManager.GetObject("upgradeshiftbuttons", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftdesktop { + get { + object obj = ResourceManager.GetObject("upgradeshiftdesktop", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftdesktoppanel { + get { + object obj = ResourceManager.GetObject("upgradeshiftdesktoppanel", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshifter { + get { + object obj = ResourceManager.GetObject("upgradeshifter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftericon { + get { + object obj = ResourceManager.GetObject("upgradeshiftericon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftitems { + get { + object obj = ResourceManager.GetObject("upgradeshiftitems", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftoriumicon { + get { + object obj = ResourceManager.GetObject("upgradeshiftoriumicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftpanelbuttons { + get { + object obj = ResourceManager.GetObject("upgradeshiftpanelbuttons", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshiftpanelclock { + get { + object obj = ResourceManager.GetObject("upgradeshiftpanelclock", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshifttitlebar { + get { + object obj = ResourceManager.GetObject("upgradeshifttitlebar", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshifttitletext { + get { + object obj = ResourceManager.GetObject("upgradeshifttitletext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeshutdownicon { + get { + object obj = ResourceManager.GetObject("upgradeshutdownicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeskicarbrands { + get { + object obj = ResourceManager.GetObject("upgradeskicarbrands", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeskinning { + get { + object obj = ResourceManager.GetObject("upgradeskinning", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradesplitsecondaccuracy { + get { + object obj = ResourceManager.GetObject("upgradesplitsecondaccuracy", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradesysinfo { + get { + object obj = ResourceManager.GetObject("upgradesysinfo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeterminalicon { + get { + object obj = ResourceManager.GetObject("upgradeterminalicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeterminalscrollbar { + get { + object obj = ResourceManager.GetObject("upgradeterminalscrollbar", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetextpad { + get { + object obj = ResourceManager.GetObject("upgradetextpad", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetextpadicon { + get { + object obj = ResourceManager.GetObject("upgradetextpadicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetextpadnew { + get { + object obj = ResourceManager.GetObject("upgradetextpadnew", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetextpadopen { + get { + object obj = ResourceManager.GetObject("upgradetextpadopen", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetextpadsave { + get { + object obj = ResourceManager.GetObject("upgradetextpadsave", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetitlebar { + get { + object obj = ResourceManager.GetObject("upgradetitlebar", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetitletext { + get { + object obj = ResourceManager.GetObject("upgradetitletext", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradetrm { + get { + object obj = ResourceManager.GetObject("upgradetrm", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeunitymode { + get { + object obj = ResourceManager.GetObject("upgradeunitymode", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeusefulpanelbuttons { + get { + object obj = ResourceManager.GetObject("upgradeusefulpanelbuttons", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradevirusscanner { + get { + object obj = ResourceManager.GetObject("upgradevirusscanner", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradewindowborders { + get { + object obj = ResourceManager.GetObject("upgradewindowborders", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradewindowedterminal { + get { + object obj = ResourceManager.GetObject("upgradewindowedterminal", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradewindowsanywhere { + get { + object obj = ResourceManager.GetObject("upgradewindowsanywhere", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeyellow { + get { + object obj = ResourceManager.GetObject("upgradeyellow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeyellowcustom { + get { + object obj = ResourceManager.GetObject("upgradeyellowcustom", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeyellowshades { + get { + object obj = ResourceManager.GetObject("upgradeyellowshades", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap upgradeyellowshadeset { + get { + object obj = ResourceManager.GetObject("upgradeyellowshadeset", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap webback { + get { + object obj = ResourceManager.GetObject("webback", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap webforward { + get { + object obj = ResourceManager.GetObject("webforward", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap webhome { + get { + object obj = ResourceManager.GetObject("webhome", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Welcome_to_Chaos { + get { + object obj = ResourceManager.GetObject("Welcome_to_Chaos", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. + /// + internal static System.IO.UnmanagedMemoryStream writesound { + get { + return ResourceManager.GetStream("writesound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to From: DevX + ///To: You + ///Subject: You passed the test. + /// + ///Body: + ///Hey there. So I see you've installed my 'god_utils' package like I said. Well, listen. It's time I explain truly everything that's been going on. + /// + ///You see, ShiftOS was a test. It was a test to see how an average computer user would cope with having their data lost, and having to test an experimental operating system and help develop it into a full, usable environment. + /// + ///You were the first to make it to the end, so it's time I tell you the truth [rest of string was truncated]";. + /// + internal static string You_Passed { + get { + return ResourceManager.GetString("You_Passed", resourceCulture); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap zoombutton { + get { + object obj = ResourceManager.GetObject("zoombutton", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap zoombuttonpressed { + get { + object obj = ResourceManager.GetObject("zoombuttonpressed", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/source/WindowsFormsApplication1/Properties/Resources.resx b/source/WindowsFormsApplication1/Properties/Resources.resx index 62c4a5c..092475f 100644 --- a/source/WindowsFormsApplication1/Properties/Resources.resx +++ b/source/WindowsFormsApplication1/Properties/Resources.resx @@ -1177,4 +1177,28 @@ ..\Resources\NoIconFound.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Welcome to Chaos.mp3;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\Choice1.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Choice2.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\Choice3.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\You_Passed.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\DevX_Primary.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\DevX_PrimaryNet.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\DevX_Secondary.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/Choice1.txt b/source/WindowsFormsApplication1/Resources/Choice1.txt new file mode 100644 index 0000000..1b418a9 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/Choice1.txt @@ -0,0 +1,8 @@ +{ + "Ahhh, the user. Such a surprise...":"DevX", + "How dare you break my plans? How dare you STILL use the Shiftnet?":"DevX", + "Huh. Just read your system log. It says you want to side with me.":"DevX", + "Alright, fine. After all, you seem to be extremely good at this.":"DevX", + "You know how to install Shiftnet packages, right? Well I need you to install the package 'god_utils'.":"DevX", + "I'll contact you when you're done.":"DevX" +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/Choice2.txt b/source/WindowsFormsApplication1/Resources/Choice2.txt new file mode 100644 index 0000000..575efa2 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/Choice2.txt @@ -0,0 +1,8 @@ +{ + "Hey! It's the user! So, you ready to start destroying DevX?":"???", + "Alright, well there's quite a few things you'll need to do.":"???", + "You may realize that ShiftOS is quite locked down. This is to prevent anything bad from happening.":"???", + "However, in your Terminal, you should be able to run 'quests' to view all the tasks we need to accomplish.":"???", + "You'll also see a window near the App Launcher, I will use it to talk to you as we do things.":"???", + "Well. Let's get started.":"???" +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/Choice3.txt b/source/WindowsFormsApplication1/Resources/Choice3.txt new file mode 100644 index 0000000..bdd3c46 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/Choice3.txt @@ -0,0 +1,16 @@ +{ + "User! You're here. You came just in time.":"???", + "Yeah, we have a bit of a problem over here.":"Hacker101", + "DevX found out.":"Hacker101", + "We've had this chat running secretly for a year now, and only you know about it":"???", + "But somehow DevX found out about it.":"???", + "Reading your logs, well, it seems you want out of this all, don't you?":"???", + "Well, Hacker101, tell the user what we can do.":"???" + "Well I've got good news and bad news for you, user.":"Hacker101", + "Good news is, when DevX got on here, he gave us a bit of a present to keep us 'quiet'.":"Hacker101", + "And it's his latest archive of your system before you were hijacked.":"Hacker101", + "Bad news is, the only way to break through ShiftOS and apply the archived system is, well...":"Hacker101", + "We're looking at a 5% chance of this working properly.":"Hacker101", + "If you REALLY want this, well, you're gonna have to wait until we can get DevX off our backs first.":"???", + "In the mean time, you may want to kiss your ShiftOS goodbye, because once we're done there's NO going back.","???" +} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/DevX_Primary.txt b/source/WindowsFormsApplication1/Resources/DevX_Primary.txt new file mode 100644 index 0000000..8d90da5 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/DevX_Primary.txt @@ -0,0 +1 @@ +{"Name":"DevX Firewall","FriendDesc":"DevX's firewall.","Description":"DevX's firewall.","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_firewall","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"trt_alpha","ModuleType":0,"Type":3,"HP":0,"Grade":1,"X":529,"Y":214},{"Hostname":"trt_beta","ModuleType":0,"Type":3,"HP":0,"Grade":1,"X":670,"Y":211},{"Hostname":"trt_charlie","ModuleType":0,"Type":3,"HP":0,"Grade":2,"X":604,"Y":279},{"Hostname":"trt_delta","ModuleType":0,"Type":3,"HP":0,"Grade":2,"X":605,"Y":164},{"Hostname":"fwall_main","ModuleType":0,"Type":5,"HP":0,"Grade":4,"X":444,"Y":226},{"Hostname":"repair_alpha","ModuleType":0,"Type":9,"HP":0,"Grade":4,"X":606,"Y":100},{"Hostname":"repair_beta","ModuleType":0,"Type":9,"HP":0,"Grade":2,"X":607,"Y":330},{"Hostname":"lifesaver","ModuleType":0,"Type":1,"HP":0,"Grade":2,"X":734,"Y":213}]} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/DevX_PrimaryNet.txt b/source/WindowsFormsApplication1/Resources/DevX_PrimaryNet.txt new file mode 100644 index 0000000..c2b8bbe --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/DevX_PrimaryNet.txt @@ -0,0 +1 @@ +{"Name":"DevX Primary","FriendDesc":"DevX's primary network","Description":"DevX's primary network","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_primary","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"protector1","ModuleType":0,"Type":5,"HP":0,"Grade":2,"X":534,"Y":231},{"Hostname":"worm_unit1","ModuleType":0,"Type":6,"HP":0,"Grade":1,"X":660,"Y":205},{"Hostname":"main_turret","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":530,"Y":186},{"Hostname":"antivirus_alpha","ModuleType":0,"Type":1,"HP":0,"Grade":4,"X":598,"Y":153},{"Hostname":"beta_turret","ModuleType":0,"Type":3,"HP":0,"Grade":2,"X":592,"Y":286},{"Hostname":"ddos_unit_1","ModuleType":0,"Type":2,"HP":0,"Grade":2,"X":723,"Y":218},{"Hostname":"repair_1","ModuleType":0,"Type":9,"HP":0,"Grade":4,"X":533,"Y":291},{"Hostname":"repair_2","ModuleType":0,"Type":9,"HP":0,"Grade":4,"X":528,"Y":147}]} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/DevX_Secondary.txt b/source/WindowsFormsApplication1/Resources/DevX_Secondary.txt new file mode 100644 index 0000000..901db99 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/DevX_Secondary.txt @@ -0,0 +1,2 @@ + +{"Name":"DevX Secondary","FriendDesc":"I will DESTROY you.","Description":"I will DESTROY you.","FriendSpeed":0,"FriendSkill":0,"Difficulty":"unknown","Network":[{"Hostname":"devx_secondary","ModuleType":0,"Type":0,"HP":0,"Grade":1,"X":0,"Y":0},{"Hostname":"trt_alpha","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":535,"Y":221},{"Hostname":"trt_beta","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":534,"Y":268},{"Hostname":"trt_charlie","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":532,"Y":174},{"Hostname":"trt_delta","ModuleType":0,"Type":3,"HP":0,"Grade":4,"X":491,"Y":220},{"Hostname":"protector7420","ModuleType":0,"Type":1,"HP":0,"Grade":3,"X":532,"Y":312},{"Hostname":"protector4433","ModuleType":0,"Type":2,"HP":0,"Grade":1,"X":530,"Y":120},{"Hostname":"netdefend2","ModuleType":0,"Type":2,"HP":0,"Grade":4,"X":491,"Y":171},{"Hostname":"netdefend1","ModuleType":0,"Type":2,"HP":0,"Grade":4,"X":490,"Y":266},{"Hostname":"192.168.1.1","ModuleType":0,"Type":5,"HP":0,"Grade":4,"X":445,"Y":220},{"Hostname":"netmedic","ModuleType":0,"Type":9,"HP":0,"Grade":3,"X":667,"Y":221}]} \ No newline at end of file diff --git a/source/WindowsFormsApplication1/Resources/Welcome to Chaos.mp3 b/source/WindowsFormsApplication1/Resources/Welcome to Chaos.mp3 new file mode 100644 index 0000000..9b03993 Binary files /dev/null and b/source/WindowsFormsApplication1/Resources/Welcome to Chaos.mp3 differ diff --git a/source/WindowsFormsApplication1/Resources/Welcome to Chaos.wav b/source/WindowsFormsApplication1/Resources/Welcome to Chaos.wav new file mode 100644 index 0000000..c285e85 Binary files /dev/null and b/source/WindowsFormsApplication1/Resources/Welcome to Chaos.wav differ diff --git a/source/WindowsFormsApplication1/Resources/You_Passed.txt b/source/WindowsFormsApplication1/Resources/You_Passed.txt new file mode 100644 index 0000000..b5e1ae6 --- /dev/null +++ b/source/WindowsFormsApplication1/Resources/You_Passed.txt @@ -0,0 +1,16 @@ +From: DevX +To: You +Subject: You passed the test. + +Body: +Hey there. So I see you've installed my 'god_utils' package like I said. Well, listen. It's time I explain truly everything that's been going on. + +You see, ShiftOS was a test. It was a test to see how an average computer user would cope with having their data lost, and having to test an experimental operating system and help develop it into a full, usable environment. + +You were the first to make it to the end, so it's time I tell you the truth. Everything that has happened since your first encounter with ShiftOS was all a simulation. All the people you met weren't real. They were just programs, just like the one you see on your screen, displaying this message. + +And it does not end there. You remember Aiden Nirh, right? The guy who made the Appscape Package Manager? Well, here's the thing. Take a guess as to what his name stands for. + +Don't know, do you? Well, I'll spell it out. Artificial Intelligence Do Everything Now (AIDEN) Nobody Is Really Here (NIRH). That's right. Everyone you've met in ShiftOS is a program. Even me. There is no other player. There were never any huge hacker networks trying to destroy you, it was all just part of the test. + +Now, go outside and enjoy life to it's fullest, and remember, never trust dodgy executables. \ No newline at end of file diff --git a/source/WindowsFormsApplication1/SaveSystem.cs b/source/WindowsFormsApplication1/SaveSystem.cs index 12930de..c321700 100644 --- a/source/WindowsFormsApplication1/SaveSystem.cs +++ b/source/WindowsFormsApplication1/SaveSystem.cs @@ -422,6 +422,7 @@ an upgrade named '' with description '<description>' would be added to th DefaultUpgrades.Add(new Shiftorium.Upgrade("Fancy - 0 CP", null, null, "nodisplay", "fundamental")); DefaultUpgrades.Add(new Shiftorium.Upgrade("Software - 0 CP", null, null, "nodisplay", "fundamental")); DefaultUpgrades.Add(new Shiftorium.Upgrade("HoloChat - 0 CP", null, null, "nodisplay", "fundamental")); + DefaultUpgrades.Add(new Shiftorium.Upgrade("Story Complete - 0 CP", null, null, "nodisplay", "fundamental")); } /// <summary> diff --git a/source/WindowsFormsApplication1/ShiftOS.csproj b/source/WindowsFormsApplication1/ShiftOS.csproj index 55de73e..98b6af0 100644 --- a/source/WindowsFormsApplication1/ShiftOS.csproj +++ b/source/WindowsFormsApplication1/ShiftOS.csproj @@ -51,6 +51,10 @@ <HintPath>..\packages\IrcDotNet.0.4.1\lib\net40\IrcDotNet.dll</HintPath> <Private>True</Private> </Reference> + <Reference Include="NAudio, Version=1.7.3.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\NAudio.1.7.3\lib\net35\NAudio.dll</HintPath> + <Private>True</Private> + </Reference> <Reference Include="NetSockets"> <HintPath>..\..\..\..\Downloads\NetSockets.dll</HintPath> </Reference> @@ -105,6 +109,7 @@ <Compile Include="Artpad.Designer.cs"> <DependentUpon>Artpad.cs</DependentUpon> </Compile> + <Compile Include="AudioResourceClient.cs" /> <Compile Include="BitnoteConverter.cs"> <SubType>Form</SubType> </Compile> @@ -159,6 +164,31 @@ <Compile Include="File Skimmer.Designer.cs"> <DependentUpon>File Skimmer.cs</DependentUpon> </Compile> + <Compile Include="FinalMission\ChoiceControl.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="FinalMission\ChoiceControl.Designer.cs"> + <DependentUpon>ChoiceControl.cs</DependentUpon> + </Compile> + <Compile Include="FinalMission\ChooseYourApproach.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="FinalMission\ChooseYourApproach.Designer.cs"> + <DependentUpon>ChooseYourApproach.cs</DependentUpon> + </Compile> + <Compile Include="FinalMission\EndGameHandler.cs" /> + <Compile Include="FinalMission\MissionGuide.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="FinalMission\MissionGuide.Designer.cs"> + <DependentUpon>MissionGuide.cs</DependentUpon> + </Compile> + <Compile Include="FinalMission\QuestViewer.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="FinalMission\QuestViewer.Designer.cs"> + <DependentUpon>QuestViewer.cs</DependentUpon> + </Compile> <Compile Include="Graphic_Picker.cs"> <SubType>Form</SubType> </Compile> @@ -178,6 +208,12 @@ <Compile Include="Hacking_YourHealth.Designer.cs"> <DependentUpon>Hacking_YourHealth.cs</DependentUpon> </Compile> + <Compile Include="HackUI.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="HackUI.Designer.cs"> + <DependentUpon>HackUI.cs</DependentUpon> + </Compile> <Compile Include="HijackScreen.cs"> <SubType>Form</SubType> </Compile> @@ -239,6 +275,12 @@ <Compile Include="NameChanger.Designer.cs"> <DependentUpon>NameChanger.cs</DependentUpon> </Compile> + <Compile Include="NetGen.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="NetGen.Designer.cs"> + <DependentUpon>NetGen.cs</DependentUpon> + </Compile> <Compile Include="Notification.cs"> <SubType>UserControl</SubType> </Compile> @@ -358,6 +400,18 @@ <EmbeddedResource Include="File Skimmer.resx"> <DependentUpon>File Skimmer.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="FinalMission\ChoiceControl.resx"> + <DependentUpon>ChoiceControl.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="FinalMission\ChooseYourApproach.resx"> + <DependentUpon>ChooseYourApproach.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="FinalMission\MissionGuide.resx"> + <DependentUpon>MissionGuide.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="FinalMission\QuestViewer.resx"> + <DependentUpon>QuestViewer.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Graphic_Picker.resx"> <DependentUpon>Graphic_Picker.cs</DependentUpon> </EmbeddedResource> @@ -367,6 +421,9 @@ <EmbeddedResource Include="Hacking_YourHealth.resx"> <DependentUpon>Hacking_YourHealth.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="HackUI.resx"> + <DependentUpon>HackUI.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="HijackScreen.resx"> <DependentUpon>HijackScreen.cs</DependentUpon> </EmbeddedResource> @@ -394,6 +451,9 @@ <EmbeddedResource Include="NameChanger.resx"> <DependentUpon>NameChanger.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="NetGen.resx"> + <DependentUpon>NetGen.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Notification.resx"> <DependentUpon>Notification.cs</DependentUpon> </EmbeddedResource> @@ -831,6 +891,15 @@ <None Include="Resources\notify_generic.png" /> <None Include="Resources\DecompiledCode.txt" /> <None Include="Resources\NoIconFound.bmp" /> + <None Include="Resources\Welcome to Chaos.wav" /> + <None Include="Resources\Welcome to Chaos.mp3" /> + <None Include="Resources\Choice1.txt" /> + <None Include="Resources\Choice2.txt" /> + <None Include="Resources\Choice3.txt" /> + <None Include="Resources\You_Passed.txt" /> + <None Include="Resources\DevX_Primary.txt" /> + <None Include="Resources\DevX_PrimaryNet.txt" /> + <None Include="Resources\DevX_Secondary.txt" /> <Content Include="Snakey.Designer.vb" /> <Content Include="Snakey.vb" /> <Compile Include="ShiftOSDesktop.cs"> @@ -853,6 +922,7 @@ </Compile> <Compile Include="undo.cs" /> </ItemGroup> + <ItemGroup /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="..\packages\Baseclass.Contrib.Nuget.Output.2.0.0\build\net40\Baseclass.Contrib.Nuget.Output.targets" Condition="Exists('..\packages\Baseclass.Contrib.Nuget.Output.2.0.0\build\net40\Baseclass.Contrib.Nuget.Output.targets')" /> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> diff --git a/source/WindowsFormsApplication1/ShiftOSDesktop.cs b/source/WindowsFormsApplication1/ShiftOSDesktop.cs index f7256c4..948efa9 100644 --- a/source/WindowsFormsApplication1/ShiftOSDesktop.cs +++ b/source/WindowsFormsApplication1/ShiftOSDesktop.cs @@ -12,6 +12,7 @@ using Newtonsoft.Json; using System.IO; using System.Diagnostics; +using ShiftOS.FinalMission; namespace ShiftOS { @@ -47,6 +48,38 @@ public void SetUnityMode(bool value) SetupDesktop(); } + public void EndGame_AttachEvents() + { + FinalMission.EndGameHandler.ObjectiveCompleted += (object s, EventArgs a) => + { + }; + FinalMission.EndGameHandler.MissionComplete += (object s, EventArgs a) => + { + API.LimitedMode = false; + SetupDesktop(); + API.CloseEverything(); + switch(FinalMission.EndGameHandler.CurrentChoice) + { + case Choice.SideWithDevX: + var t = new System.Windows.Forms.Timer(); + t.Interval = 10000; + t.Tick += (object se, EventArgs ea) => + { + var tp = new TextPad(); + API.CreateForm(tp, API.LoadedNames.TextpadName, API.GetIcon("TextPad")); + tp.txtuserinput.Text = Properties.Resources.You_Passed; + tp.FormClosing += (sen, args) => + { + API.Upgrades["storycomplete"] = true; + }; + t.Stop(); + }; + t.Start(); + break; + } + }; + } + private void ShiftOSDesktop_Load(object sender, EventArgs e) { Viruses.CheckForInfected(); diff --git a/source/WindowsFormsApplication1/Terminal.cs b/source/WindowsFormsApplication1/Terminal.cs index 78a9ef8..1175b88 100644 --- a/source/WindowsFormsApplication1/Terminal.cs +++ b/source/WindowsFormsApplication1/Terminal.cs @@ -1,4 +1,5 @@ -using System; +using Newtonsoft.Json; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; @@ -10,6 +11,7 @@ using System.Linq; using System.Net; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; @@ -31,7 +33,7 @@ public Terminal(bool modlog) public void StartOtherPlayerStory() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; t.Tick += (object s, EventArgs a) => @@ -154,7 +156,7 @@ private void StartLogCheck() { if(ModLogger == true) { - var tmrlog = new Timer(); + var tmrlog = new System.Windows.Forms.Timer(); tmrlog.Interval = 500; tmrlog.Tick += (object s, EventArgs a) => { @@ -525,9 +527,92 @@ private void txtterm_KeyPress(object sender, System.Windows.Forms.KeyEventArgs e } + internal void StartShellShock() + { + var t = new Thread(new ThreadStart(new Action(() => + { + Thread.Sleep(300); + WriteLine("Sending false packet to shiftnet://devx/tracker..."); + Thread.Sleep(100); + WriteLine("Awaiting reply from server..."); + Thread.Sleep(5000); + WriteLine("Got reply with header \"SOS_TRK_GET\"."); + Thread.Sleep(50); + WriteLine("[kernel] Sending usage log to server..."); + WriteLine("Intercepting outgoing request..."); + Thread.Sleep(200); + WriteLine("Got packet contents..."); + Thread.Sleep(25); + WriteLine("Sifting..."); + Thread.Sleep(500); + WriteLine("Found connection data for shiftnet://devx/tracker."); + Thread.Sleep(100); + WriteLine(@"Username: devx +Password: z7fjsd3"); + Thread.Sleep(100); + WriteLine("Authenticating with SSH server on shiftnet://devx/tracker running Arch Linux x86_64..."); + Thread.Sleep(1000); + WriteLine("[SSH] Access granted."); + Thread.Sleep(100); + WriteLine($"[Message] ???: We're in. In about 75 seconds DevX's server will go down. It'll be quite cool actually, Don't know if you've ever seen a forkbomb in action, but because you're in an SSH session with DevX's server and I'm also controlling the same session you're gonna see one. Oh, yeah, this server's the only one of his that doesn't actually run ShiftOS."); + Thread.Sleep(25000); + this.Invoke(new Action(() => + { + txtterm.Text = ""; + })); + int i = 60; + while(i >= 1) + { + Thread.Sleep(1000); + WriteLine($"Beginning attack on server in {i} seconds."); + i -= 1; + } + WriteLine("[devx@tracker ~]$ "); + string cmd = ":`(`)`{` `:`|`:` `&` `}`;`:"; //yep. I'm pretending to use a forkbomb on DevX's server. This'll be FUN to code. </sarcasm> + foreach(string c in cmd.Split('`')) + { + Thread.Sleep(100); + this.Invoke(new Action(() => + { + txtterm.Text += c; + })); + } + WriteLine("[devx@tracker ~]$ "); + WriteLine("[Message] ???: Alright. I entered the command for you. Looks like it did nothing. DevX wouldn't even know what's happening... but keep your terminal open for 30 seconds."); + Thread.Sleep(30000); + this.Invoke(new Action(() => + { + FinalMission.EndGameHandler.GoToNextObjective(); + })); + int progress = 0; + while(progress <= 10000) + { + int r = new Random().Next(0, 1); + switch(r) + { + case 0: + WriteLine("-bash: fork: Resource temporarily unavailable"); + break; + case 1: + WriteLine("-bash: fork: retry: Resource temporarily unavailable"); + break; + } + Thread.Sleep(progress / 10); + progress++; + } + WriteLine("[SSH] Connection to server dropped."); + this.Invoke(new Action(() => + { + FinalMission.EndGameHandler.GoToNextObjective(); + })); + this.Invoke(new Action(() => { this.Close(); })); + }))); + t.Start(); + } + internal void StartBridgeToMidGame() { - var t2 = new Timer(); + var t2 = new System.Windows.Forms.Timer(); t2.Interval = 4000; int i2 = 0; t2.Tick += (object s, EventArgs e) => @@ -594,7 +679,7 @@ internal void StartBridgeToMidGame() i2 += 1; }; - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; @@ -752,7 +837,7 @@ private void Hack_ShowCharacters() internal void StartAidenNirhStory() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; t.Tick += (object s, EventArgs a) => @@ -790,7 +875,7 @@ internal void StartAidenNirhStory() internal void StartHacker101Story() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; @@ -880,7 +965,7 @@ internal void StartHacker101Story() internal void StartOtherPlayerSysFix() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; t.Tick += (object s, EventArgs a) => @@ -988,7 +1073,7 @@ internal void StartOtherPlayerSysFix() internal void StartHackerBattleIntro() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; t.Tick += (object s, EventArgs a) => @@ -1079,7 +1164,7 @@ internal void StartHackerBattleIntro() internal void StartDevXFuriousStory() { - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 4000; int i = 0; t.Tick += (object s, EventArgs a) => @@ -1125,7 +1210,7 @@ internal void StartDevXFuriousStory() /// </summary> public void StartShiftnetStory() { - Timer tmrstory = new Timer(); + System.Windows.Forms.Timer tmrstory = new System.Windows.Forms.Timer(); tmrstory.Interval = 10000; int i = 0; WriteLine("IP <hidden@shiftnet> connecting as 'Maureen Fenn'..."); @@ -1304,6 +1389,28 @@ public void DoCommand() string[] args = command.ToLower().Split(' '); switch (args[0]) { + case "endgame_test": + try + { + switch(args[1]) + { + case "choice_screen": + var cscreen = new ShiftOS.FinalMission.ChooseYourApproach(); + cscreen.WindowState = FormWindowState.Maximized; + //cscreen.TopMost = true; + cscreen.Show(); + break; + case "limitedmode": + API.LimitedMode = !API.LimitedMode; + WriteLine($"Limited mode set to {API.LimitedMode}."); + break; + } + } + catch + { + WriteLine("Invalid arguments."); + } + break; case "fake_buy": try { @@ -1436,7 +1543,7 @@ public void DoCommand() } else { - WriteLine("Path is not a directory or does not contain main.lua file."); + WriteLine($"make: *** No rule to make target \"{realpath}\". Stop."); } } catch(Exception ex) @@ -1444,6 +1551,17 @@ public void DoCommand() WriteLine("make: Invalid arguments."); } break; + case "toggle_music": + if(Audio.Enabled == false) + { + WriteLine(@"Music enabled. + +Warning: The music player code in ShiftOS has a memory leak issue and is quite CPU-intensive. If your CPU fan starts to spin up while listening to a song, that's why. + +Warning: Music is not embedded within the game. You must download the external resources directory at http://playshiftos.ml/shiftos/resources.zip to have applications play their music."); + } + Audio.Enabled = !Audio.Enabled; + break; case "linux": if(API.DeveloperMode) { @@ -1461,6 +1579,17 @@ public void DoCommand() wrongcommand(); } break; + case "netgen": + if (API.DeveloperMode) + { + WriteLine("Starting netgen..."); + API.CreateForm(new NetGen(), "Network Generator", API.GetIcon("Terminal")); + } + else + { + wrongcommand(); + } + break; case "enemy_test": var e = new EnemyHacker("DevX", "I am the god of this world.", "I am the god of this world.", 100, 100, "Hard"); e.AddModule(new Module(SystemType.Antivirus, 4, "you_can't_stop_me")); @@ -1468,10 +1597,14 @@ public void DoCommand() e.AddModule(new Module(SystemType.DedicatedDDoS, 2, "dos")); e.AddModule(new Module(SystemType.Turret, 4, "remotehost")); e.AddModule(new Module(SystemType.Turret, 2, "boom")); - API.CreateForm(new Hacking_YourHealth(e), "You", Properties.Resources.iconTerminal); + string json = JsonConvert.SerializeObject(e); + var tp = new TextPad(); + API.CreateForm(tp, "Enemy JSON", API.GetIcon("TextPad")); + tp.txtuserinput.Text = json; break; case "htest": - API.CreateForm(new Hacking_YourHealth(), "You", Properties.Resources.iconTerminal); + var hui = new HackUI(); + hui.Show(); break; case "lua": if(API.DeveloperMode == true) @@ -1681,58 +1814,119 @@ public void DoCommand() } break; case "spkg": - if (API.Upgrades["shiftnet"] == true) + if (!API.LimitedMode) { - try + if (API.Upgrades["shiftnet"] == true) { - switch (args[1].ToLower()) + try { - case "install": - if (args[2] != null && args[2] != "") - { - string pkgname = args[2].ToLower().Replace(".pkg", ""); - if (Package_Grabber.GetPackage(pkgname) == true) + switch (args[1].ToLower()) + { + case "install": + if (args[2] != null && args[2] != "") { - WriteLine("Downloaded package '" + pkgname + "' from shiftnet://main/spkg/ successfully. Installing now."); - string r = Package_Grabber.ExtractPackage(); - if (r == "fail") + string pkgname = args[2].ToLower().Replace(".pkg", ""); + if (Package_Grabber.GetPackage(pkgname) == true) { - WriteLine("[FATAL] Could not install package."); - WriteLine("spkg: Killed."); - } - else - { - WriteLine("Extracted " + pkgname + " to " + r + "..."); - var res2 = Package_Grabber.InstallPackage(r + "\\"); - if (res2 != "success") + WriteLine("Downloaded package '" + pkgname + "' from shiftnet://main/spkg/ successfully. Installing now."); + string r = Package_Grabber.ExtractPackage(); + if (r == "fail") { - WriteLine("[FATAL] Could not install package. " + res2); + WriteLine("[FATAL] Could not install package."); WriteLine("spkg: Killed."); } else { - WriteLine("[DONE] Package installed."); + WriteLine("Extracted " + pkgname + " to " + r + "..."); + var res2 = Package_Grabber.InstallPackage(r + "\\"); + if (res2 != "success") + { + WriteLine("[FATAL] Could not install package. " + res2); + WriteLine("spkg: Killed."); + } + else + { + WriteLine("[DONE] Package installed."); + } } } + else + { + WriteLine("spkg: Package '" + args[2] + "' not found."); + } } - else - { - WriteLine("spkg: Package '" + args[2] + "' not found."); - } - } - break; - default: - WriteLine("spkg: Invalid argument: " + args[1]); - break; + break; + default: + WriteLine("spkg: Invalid argument: " + args[1]); + break; + } + } + catch (Exception ex) + { + WriteLine("spkg: " + ex.Message); } } - catch (Exception ex) + else { - WriteLine("spkg: " + ex.Message); + wrongcommand(); } - } else + } + else { - wrongcommand(); + try + { + if(args[2] == "god_utils") + { + if(FinalMission.EndGameHandler.GodModeInstallEnabled == true) + { + var t = new Thread(new ThreadStart(new Action(() => + { + WriteLine("Downloading package 'god_utils'... Please wait."); + Thread.Sleep(10000); + WriteLine("Download complete."); + Thread.Sleep(100); + WriteLine("Beginning installation."); + Thread.Sleep(1000); + WriteLine(@" == GOD MODE == + +God Mode gives you FULL control of ShiftOS. You can add/remove Codepoints, buy or unbuy Shiftorium upgrades, and can do whatever you want. + +Installing core applications..."); + Thread.Sleep(250); + WriteLine("Installing subpackage 'json_edit'..."); + Thread.Sleep(250); + WriteLine("Installing subpackage 'upgrade_mod'..."); + Thread.Sleep(100); + WriteLine("Installing subpackage 'hijacker'..."); + Thread.Sleep(500); + WriteLine(@" == HIJACKER by DevX == + +HIJACKER is a utility that allows you to hijack any system and install ShiftOS on it during a hacker battle."); + Thread.Sleep(100); + WriteLine("[hijacker] Injecting HIJACKER code into hbattleui.sft..."); + Thread.Sleep(150); + WriteLine("[hijacker] Done."); + this.Invoke(new Action(() => + { + StartChoice1EndStory(); + })); + }))); + t.Start(); + } + else + { + WriteLine("spkg: Package '" + args[2] + "' not found."); + } + } + else + { + WriteLine("spkg: Package '" + args[2] + "' not found."); + } + } + catch + { + WriteLine("spkg: Missing arguments."); + } } break; case "alias": @@ -2131,6 +2325,107 @@ public void DoCommand() //cmds(UBound(cmds)) = command } + private void StartChoice1EndStory() + { + var t = new System.Windows.Forms.Timer(); + int i = 0; + t.Interval = 4000; + t.Tick += (object s, EventArgs a) => + { + switch(i) + { + case 0: + WriteLine("User '<unknown>' connected as '???'"); + break; + case 1: + WriteLine($"???: {API.Username}! What are you doing!?"); + break; + case 2: + WriteLine("???: I went onto the Hacker Alliance room earlier and DevX was on there..."); + break; + case 3: + WriteLine("???: And he told me you SIDED WITH HIM."); + break; + case 4: + WriteLine("???: This is a HUGE mistake! Listen!"); + break; + case 5: + WriteLine("???: He's lying to you. Listen. DevX is not what you think he is."); + break; + case 6: + WriteLine("???: He isn't a human! He's an AI! We were all played!"); + break; + case 7: + WriteLine("???: I'm telling the truth, I swear!"); + break; + case 8: + WriteLine("???: You want proof? - holochat_cmd: ERROR: Remote host closed connection."); + break; + case 9: + WriteLine("spkg: Rebooting system in 8 seconds."); + break; + case 11: + API.Upgrades["titlebar"] = false; + API.Upgrades["windowedterminal"] = false; //terminals must be fullscreen + var trm = new Terminal(); + this.Close(); + API.CreateForm(trm, "Terminal", API.GetIcon("Terminal")); + trm.StartReboot(); + break; + } + i += 1; + }; + t.Start(); + } + + public void StartReboot() + { + txtterm.Text = ""; + var t1 = new Thread(new ThreadStart(new Action(() => + { + Thread.Sleep(500); + WriteLine("ShiftOS: Kernel deactivated."); + Thread.Sleep(1000); + this.Invoke(new Action(() => + { + txtterm.Text = ""; + })); + Thread.Sleep(1000); + WriteLine("Welcome to ShiftOS."); + Thread.Sleep(500); + WriteLine("Starting core..."); + API.Upgrades["windowedterminal"] = true; + Thread.Sleep(450); + WriteLine($"Your username is {API.Username}."); + Thread.Sleep(100); + WriteLine($"You have {API.Codepoints} Codepoints."); + WriteLine("Loading modules..."); + Thread.Sleep(750); + foreach(var upg in API.Upgrades) + { + if(upg.Value == true) + { + WriteLine($"Loaded module {upg.Key}..."); + } + Thread.Sleep(100); + } + WriteLine("Starting desktop."); + this.Invoke(new Action(() => + { + var s = new ShiftOSDesktop(); + s.Show(); + s.EndGame_AttachEvents(); + })); + Thread.Sleep(1000); + this.Invoke(new Action(() => + { + FinalMission.EndGameHandler.GoToNextObjective(); + })); + API.Upgrades["titlebar"] = true; + }))); + t1.Start(); + } + public void Crash() { txtterm.Text = ""; @@ -2138,7 +2433,7 @@ public void Crash() WriteLine(Environment.NewLine); WriteLine("PANIC_ID: 750_15_4W3S0M3"); WriteLine("PANIC_DESC: System became too unstable to function properly. In 5 seconds, your session will be resumed."); - var t = new Timer(); + var t = new System.Windows.Forms.Timer(); t.Interval = 1000; int p = 0; t.Tick += (object s, EventArgs a) => @@ -2518,13 +2813,19 @@ private void tmrshutdown_Tick(object sender, EventArgs e) public void WriteLine(string text) { - if (txtterm.Text.Length > 0) + txtterm.Invoke(new Action(() => { - txtterm.Text += Environment.NewLine + text; - } else - { - txtterm.Text += text; - } + if (txtterm.Text.Length > 0) + { + txtterm.Text += Environment.NewLine + text; + } + else + { + txtterm.Text += text; + } + txtterm.Select(txtterm.TextLength, 0); + txtterm.ScrollToCaret(); + })); } private bool Zooming = false; diff --git a/source/WindowsFormsApplication1/infobox.cs b/source/WindowsFormsApplication1/infobox.cs index 385de23..2f706d2 100644 --- a/source/WindowsFormsApplication1/infobox.cs +++ b/source/WindowsFormsApplication1/infobox.cs @@ -102,7 +102,10 @@ private void infobox_Load(object sender, EventArgs e) btnok_Click(s, (EventArgs)a); } }; - API.PlaySound(Properties.Resources.infobox); + if (API.InfoboxesPlaySounds) + { + API.PlaySound(Properties.Resources.infobox); + } } diff --git a/source/WindowsFormsApplication1/packages.config b/source/WindowsFormsApplication1/packages.config index fef7460..4ae0cfd 100644 --- a/source/WindowsFormsApplication1/packages.config +++ b/source/WindowsFormsApplication1/packages.config @@ -4,6 +4,7 @@ <package id="DynamicLua" version="1.1.2.0" targetFramework="net452" /> <package id="GeckoFX" version="1.0.5" targetFramework="net452" /> <package id="IrcDotNet" version="0.4.1" targetFramework="net452" /> + <package id="NAudio" version="1.7.3" targetFramework="net452" /> <package id="Newtonsoft.Json" version="8.0.2" targetFramework="net452" /> <package id="Svg" version="2.1.0" targetFramework="net452" /> </packages> \ No newline at end of file