private void btnComment_Click(object sender, EventArgs e) { BSFrmComment frm = new BSFrmComment(); frm.TopLevel = false; frm.AutoScroll = true; this.splitContainer1.Panel2.Controls.Add(frm); frm.FormBorderStyle = FormBorderStyle.None; frm.Show(); }
public BSFrmAddComment(BSFrmComment _frmComment) { frmComment = _frmComment; InitializeComponent(); }