Ejemplo n.º 1
0
        private void btnSalary_Click(object sender, EventArgs e)
        {
            frmSlaryDetails frm = new frmSlaryDetails();

            frm.TopLevel = false;
            panel4.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
 public frmAddSalary(frmSlaryDetails f)
 {
     InitializeComponent();
     con = new SqlConnection(dbcon.MyCon());
     frm = f;
 }