private void button1_Click(object sender, EventArgs e)
        {
            parentButtonActivation(false);
            create_order co = create_order.getCreateOrder(splitContainer1, this);

            co.setParentForm(this);
            co.MdiParent = this;
            splitContainer1.Panel2.Controls.Add(co);
            co.Location        = new Point((splitContainer1.Panel2.Width - co.Width) / 2, (splitContainer1.Panel2.Height - co.Height) / 2);
            co.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            co.Show();
        }
        public static create_order getCreateOrder(SplitContainer s, Form f)
        {
            if (inst4 == null || inst4.IsDisposed)
            {
                inst4 = new create_order();

                inst4.MdiParent = f;
                s.Panel2.Controls.Add(inst4);
                return(inst4);
            }
            else
            {
                return(inst4);
            }
        }