Hi the community mpgh.
Can you tell me how to put an image on an overlay are there any other options?
I tried this, does not work the hack crash at startup..-->
example screen : prnt.sc/fhwsim
Overlay.Designer.cs
Code:
private void InitializeComponent()
{
global::System.ComponentModel.ComponentResourceManager componentResourceManager = new global::System.ComponentModel.ComponentResourceManager(typeof(global::dx_mouse_timer_dialog.Overlay));
this.pBox = new global::System.Windows.Forms.PictureBox();
((global::System.ComponentModel.ISupportInitialize)this.pBox).BeginInit();
base.SuspendLayout();
this.pBox.Name = "pBox";
this.pBox.Size = new global::System.Drawing.Size(10, 10);
this.pBox.TabIndex = 0;
this.pBox.TabStop = false;
global::System****.Stream manifestResourceStream = global::dx_mouse_timer_dialog.Program.thisAssembly.GetManifestResourceStream(typeof(global::dx_mouse_timer_dialog.Program).Namespace + ".Resources.Battie.png");
global::System.Drawing.Image image = global::System.Drawing.Image.FromStream(manifestResourceStream);
this.pBox.Image = image;
this.pBox.Height = image.Height;
this.pBox.Width = image.Width;
Overlay.Designer.cs
Code:
private global::System.Windows.Forms.PictureBox pBox;
Program.cs
Code:
public static Assembly thisAssembly = Assembly.GetExecutingAssembly();
DrawMenu
Code:
this.pBox.Left = 22 + Program.customMarginLeft;
this.pBox.Top = num + 2 + Program.customMarginTop;
this.pBox.Visible = true;
I thank you in advance for your answer.