private void CallForm(string form)
        {
            switch (form)
            {
            case "Technical Enquiry":
                TE_Form te = new TE_Form(model);
                //te.txt_TEtext.Text = text;
                te.MdiParent = this.MdiParent;
                te.Dock      = DockStyle.Fill;
                te.Show();
                break;

            case "Customer Order Enquiry":
                COE_Form coe = new COE_Form();
                coe.MdiParent = this.MdiParent;
                coe.Dock      = DockStyle.Fill;
                coe.Show();
                break;

            case "Returned Goods":
                RGA_RequestFrom rga = new RGA_RequestFrom(model);
                rga.MdiParent = this.MdiParent;
                rga.Dock      = DockStyle.Fill;
                rga.Show();
                break;
            }
        }
Beispiel #2
0
        private void btn_CreateCOE_Click(object sender, EventArgs e)
        {
            COE_Form coe = new COE_Form();

            coe.MdiParent = this.MdiParent;
            coe.Dock      = DockStyle.Fill;
            coe.Show();
        }