Exemplo n.º 1
0
        private void navBarItem6_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            GRN ObjGRN = new GRN();

            ObjGRN.MdiParent = this;
            ObjGRN.Show();
            ObjGRN.BringToFront();
        }
        private void pURCHASEGRNToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(GRN))
                {
                    f.Activate();
                    return;
                }
            }
            Form ITEMS = new GRN();

            ITEMS.MdiParent = this;
            ITEMS.Show();
        }
        private void shapedButton3_Click_1(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(GRN))
                {
                    f.Activate();
                    return;
                }
            }
            Form ITEMS = new GRN();

            ITEMS.MdiParent = this;
            ITEMS.Show();
        }
        private void btn_NewGRN_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(GRN))
                {
                    f.Activate();
                    return;
                }
            }
            Form room = new GRN();

            room.MdiParent = this;
            room.Show();
        }