Exemple #1
0
        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();
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        private void MenuBranch_Click(object sender, EventArgs e)
        {
            FrmBranch branch = new FrmBranch();

            branch.ShowDialog(this);
        }