private void MnuBranch_Click(object sender, EventArgs e) { FrmBranch frm = new FrmBranch(); frm.MdiParent = this; frm.StartPosition = FormStartPosition.CenterScreen; frm.WindowState = FormWindowState.Normal; frm.Show(); }
private void CmdAddBranch_Click(object sender, Janus.Windows.Ribbon.CommandEventArgs e) { FrmBranch frm = new FrmBranch { TopLevel = false, AutoScroll = true }; panelList.Controls.Add(frm); panelList.Visible = true; frm.Show(); }
private void MenuBranch_Click(object sender, EventArgs e) { FrmBranch branch = new FrmBranch(); branch.ShowDialog(this); }