Advertisement
benkow_

Untitled

Jun 17th, 2016
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.29 KB | None | 0 0
  1. using Microsoft.VisualBasic.CompilerServices;
  2. using System;
  3. using System.ComponentModel;
  4. using System.Diagnostics;
  5. using System.Drawing;
  6. using System.Windows.Forms;
  7.  
  8. namespace WindowsApplication1
  9. {
  10.     [DesignerGenerated]
  11.     public class Form1 : Form
  12.     {
  13.         private IContainer components;
  14.  
  15.         public Form1()
  16.         {
  17.             base.Click += new EventHandler(this.Form1_Load);
  18.             this.InitializeComponent();
  19.         }
  20.  
  21.         private void Form1_Load(object sender, EventArgs e)
  22.         {
  23.             Process.Start("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
  24.         }
  25.  
  26.         [DebuggerNonUserCode]
  27.         protected override void Dispose(bool disposing)
  28.         {
  29.             try
  30.             {
  31.                 if (disposing && this.components != null)
  32.                 {
  33.                     this.components.Dispose();
  34.                 }
  35.             }
  36.             finally
  37.             {
  38.                 base.Dispose(disposing);
  39.             }
  40.         }
  41.  
  42.         [DebuggerStepThrough]
  43.         private void InitializeComponent()
  44.         {
  45.             ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1));
  46.             base.SuspendLayout();
  47.             base.AutoScaleDimensions = new SizeF(6f, 13f);
  48.             base.AutoScaleMode = AutoScaleMode.Font;
  49.             this.BackgroundImage = (Image)componentResourceManager.GetObject("$this.BackgroundImage");
  50.             base.ClientSize = new Size(549, 306);
  51.             base.Name = "Form1";
  52.             this.Text = "PIZZAAAA!!!";
  53.             base.ResumeLayout(false);
  54.         }
  55.     }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement