private static void InitializeComponents() { PrintInfo("> Initializing controls"); cursor = new SharpDXCursor(); windowGraphs = new SharpDXWindow(); windowGraphs.Caption.Text = "Performance"; graphMemRead = new SharpDXGraph(); graphMemRead.DynamicMaximum = true; graphMemRead.Width = 256; graphMemRead.Height = 48; graphMemRead.Text = "RPM data/s"; graphMemWrite = new SharpDXGraph(); graphMemWrite.DynamicMaximum = true; graphMemWrite.Width = 256; graphMemWrite.Height = 48; graphMemWrite.Text = "WPM data/s"; windowGraphs.Panel.AddChildControl(graphMemRead); windowGraphs.Panel.AddChildControl(graphMemWrite); windowMenu = new SharpDXWindow(); windowMenu.Caption.Text = "[CSGO] Multihack"; windowMenu.X = 500; windowMenu.Panel.DynamicWidth = false; windowMenu.Panel.Width = 200; InitLabel(ref labelHotkeys, "[INS] Toggle mouse\n[DEL] Terminate hack", false, 150, SharpDXLabel.TextAlignment.Center); InitLabel(ref labelBoxESPCaption, "~~~ ESP ~~~", true, 150, SharpDXLabel.TextAlignment.Center); InitPanel(ref panelESPContent, false, true, true, true); InitToggleButton(ref buttonESPToggle, "[Toggle ESP-menu]", panelESPContent); InitCheckBox(ref checkBoxESPEnabled, "Enabled", "espEnabled", true); InitCheckBox(ref checkBoxESPBox, "Draw box", "espBox", false); InitCheckBox(ref checkBoxESPSkeleton, "Draw skeleton", "espSkeleton", true); InitCheckBox(ref checkBoxESPName, "Draw name", "espName", false); InitCheckBox(ref checkBoxESPHealth, "Draw health", "espHealth", true); InitLabel(ref labelBoxAimCaption, "~~~ Aim ~~~", true, 150, SharpDXLabel.TextAlignment.Center); InitPanel(ref panelAimContent, false, true, true, true); InitToggleButton(ref buttonAimToggle, "[Toggle aim-menu]", panelAimContent); InitCheckBox(ref checkBoxAimEnabled, "Enabled", "aimEnabled", true); InitButtonKey(ref keyAimKey, "Key", "aimKey"); InitTrackBar(ref trackBarAimFov, "Aimbot FOV", "aimFov", 1, 180, 20, 0); InitRadioButton(ref radioAimHold, "Mode: Hold key", "aimHold", true); InitRadioButton(ref radioAimToggle, "Mode: Toggle", "aimToggle", false); InitCheckBox(ref checkBoxAimSmoothEnaled, "Smoothing", "aimSmoothEnabled", true); InitTrackBar(ref trackBarAimSmoothValue, "Smooth-factor", "aimSmoothValue", 0, 1, 0.2f, 4); InitCheckBox(ref checkBoxAimFilterSpotted, "Filter: Spotted by me", "aimFilterSpotted", false); InitCheckBox(ref checkBoxAimFilterSpottedBy, "Filter: Spotted me", "aimFilterSpottedBy", false); InitCheckBox(ref checkBoxAimFilterEnemies, "Filter: Enemies", "aimFilterEnemies", true); InitCheckBox(ref checkBoxAimFilterAllies, "Filter: Allies", "aimFilterAllies", false); InitLabel(ref labelBoxRCSCaption, "~~~ RCS ~~~", true, 150, SharpDXLabel.TextAlignment.Center); InitPanel(ref panelRCSContent, false, true, true, true); InitToggleButton(ref buttonRCSToggle, "[Toggle RCS-menu]", panelRCSContent); InitCheckBox(ref checkBoxRCSEnabled, "Enabled", "rcsEnabled", true); InitTrackBar(ref trackBarRCSForce, "Force (%)", "rcsForce", 1, 100, 100, 2); windowMenu.Panel.AddChildControl(labelHotkeys); windowMenu.Panel.AddChildControl(buttonESPToggle); windowMenu.Panel.AddChildControl(panelESPContent); windowMenu.Panel.AddChildControl(buttonAimToggle); windowMenu.Panel.AddChildControl(panelAimContent); windowMenu.Panel.AddChildControl(buttonRCSToggle); windowMenu.Panel.AddChildControl(panelRCSContent); panelESPContent.AddChildControl(labelBoxESPCaption); panelESPContent.AddChildControl(checkBoxESPEnabled); panelESPContent.AddChildControl(checkBoxESPBox); panelESPContent.AddChildControl(checkBoxESPSkeleton); panelESPContent.AddChildControl(checkBoxESPName); panelESPContent.AddChildControl(checkBoxESPHealth); panelAimContent.AddChildControl(labelBoxAimCaption); panelAimContent.AddChildControl(checkBoxAimEnabled); panelAimContent.AddChildControl(keyAimKey); panelAimContent.AddChildControl(trackBarAimFov); panelAimContent.AddChildControl(radioAimHold); panelAimContent.AddChildControl(radioAimToggle); panelAimContent.AddChildControl(checkBoxAimSmoothEnaled); panelAimContent.AddChildControl(trackBarAimSmoothValue); panelAimContent.AddChildControl(checkBoxAimFilterSpotted); panelAimContent.AddChildControl(checkBoxAimFilterSpottedBy); panelAimContent.AddChildControl(checkBoxAimFilterEnemies); panelAimContent.AddChildControl(checkBoxAimFilterAllies); panelRCSContent.AddChildControl(labelBoxRCSCaption); panelRCSContent.AddChildControl(checkBoxRCSEnabled); panelRCSContent.AddChildControl(trackBarRCSForce); windowSpectators = new SharpDXWindow(); windowSpectators.Caption.Text = "Spectators"; windowSpectators.Y = 500; InitLabel(ref labelSpectators, "<none>", false, 200f, SharpDXLabel.TextAlignment.Left); windowSpectators.Panel.AddChildControl(labelSpectators); ctrlRadar = new PlayerRadar(); ctrlRadar.Width = 128; ctrlRadar.Height = 128; ctrlRadar.Scaling = 0.02f; ctrlRadar.DotRadius = 2f; ctrlRadar.Rotating = true; ctrlPlayerESP = new PlayerESP[64]; for (int i = 0; i < ctrlPlayerESP.Length;i++) { ctrlPlayerESP[i] = new PlayerESP(); ctrlPlayerESP[i].Visible = false; } }