private void btnWeightLog_Click(object sender, EventArgs e) { BSFrmWeightLog frm = new BSFrmWeightLog(); frm.TopLevel = false; frm.AutoScroll = true; this.splitContainer1.Panel2.Controls.Add(frm); frm.FormBorderStyle = FormBorderStyle.None; frm.Show(); }
public BSFrmAddWeightLog(BSFrmWeightLog _frmWeightLog) { frmWeightLog = _frmWeightLog; InitializeComponent(); }