Report a paste

Please put a quick comment for the admin.

If it looks like spam, the admin will mark it as spam so that the spam filter picks it up in the future.

If the paste contains something private or offensive, it'll probably just be deleted.

No title

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MoreDialogExamples
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            label1.Text = "";
            label2.Text = "";
            label3.Text = "";
            label4.Text = "";
        }

        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            label1.Text = "";
            // launch the openFileDialog
            if( openFileDialog1.ShowDialog() == DialogResult.OK )
            {
                label1.Text = openFileDialog1.FileName;
            }
        }

        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            label1.Text = "";
            // launch the saveFileDialog
            if( saveFileDialog1.ShowDialog() == DialogResult.OK)
            {
                label1.Text = saveFileDialog1.FileName;
            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            label1.Text = sender.ToString();
            label2.Text = e.ToString();
        }

        private void button1_MouseClick(object sender, MouseEventArgs e)
        {
            label1.Text = sender.ToString();
            label2.Text = String.Format("X {0} Y{1}", e.X, e.Y);
            if( e.Y < button1.Height/2.0 )
            {
                label3.Text = "You clicked the top of the button!";
            }
            else
            {
                label3.Text = "Bottomclicker!!!";
            }
            
        }

        private void button1_DragDrop(object sender, DragEventArgs e)
        {
            
        }
    }
}