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