public void LoadNewForm()
        {
            frmShopDelivery shopDelivery = new frmShopDelivery
            {
                FormMode     = "New",
                LoggedInUser = UserID
            };

            shopDelivery.ShowDialog();
        }
        public void LoadSelectedForm()
        {
            frmShopDelivery shopDelivery = new frmShopDelivery
            {
                FormMode     = "Old",
                LoggedInUser = UserID
            };

            shopDelivery.txtDelNoteNumber.Text = ShopDelID.ToString();
            shopDelivery.ShowDialog();
        }