using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace CustomUserControl { public partial class ProductDetails : UserControl { public ProductDetails() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { MessageBox.Show("The company name is PCTalk"); } private void button2_Click(object sender, EventArgs e) { MessageBox.Show("The product name is customers application"); } private void button3_Click(object sender, EventArgs e) { MessageBox.Show("The product version is 1.0.0.0"); } } }