private void batchB_Login1_loginClk(object sender, EventArgs e) { MyDll.Emp e1 = new MyDll.Emp("EEE", 101, 10000); MessageBox.Show(e1.ToString()); }