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 WindowsFormsApplication17
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("New button is clicked");
}
private void openToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("Open button is clicked");
}
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("Save button is clicked");
}
private void quitToolStripMenuItem_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Really Quit?", "Exit", MessageBoxButtons.OKCancel) ==
DialogResult.OK)
{
Application.Exit();
}
}
private void aboutPTESToolStripMenuItem_Click(object sender, EventArgs e)
{
Form2 f = new Form2();
f.Show();
}
private void coursesToolStripMenuItem_Click(object sender, EventArgs e)
{
Form3 f = new Form3();
f.Show();
}
}
}
 
 
0 Comments