private void NewOrderButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            AdminNewOrder n = new AdminNewOrder(this, par);

            n.Show();
        }
        public Assign_Delivery_Boy(AdminNewOrder a, int id, AdminDashBoard dash, LogIn i, string p, string r, DataGridView dg)
        {
            this.back    = a;
            this.l       = i;
            this.OrderId = id;
            this.dash    = dash;
            this.rloc    = r;
            this.ploc    = p;
            this.dg      = dg;
            InitializeComponent();
            this.richTextBox1.Text = ploc;
            this.richTextBox2.Text = rloc;
            DataBase  db = new DataBase();
            DataTable dt = db.Get_DeliveryBoy_Details();

            this.DeliveryBoyGrid.DataSource = dt;
        }