using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace HOZProject { public partial class UControl_Init : UserControl { public UControl_Init() { InitializeComponent(); } private void btnClose_Click(object sender, EventArgs e) { Form fParent = this.ParentForm; fParent.Close(); } } }