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