31 lines
639 B
C#
31 lines
639 B
C#
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 BaseFormLibrary
|
|
{
|
|
public partial class Form1 : Form
|
|
{
|
|
public Form1()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnProtected_Click(object sender, EventArgs e)
|
|
{
|
|
MessageBox.Show("Hello, World!");
|
|
}
|
|
|
|
private void btnPrivate_Click(object sender, EventArgs e)
|
|
{
|
|
MessageBox.Show("Goodbye!");
|
|
}
|
|
}
|
|
}
|