예제 #1
0
        public void LoadNewRecord()
        {
            // load new shop form.
            frmShop shop = new frmShop
            {
                FormMode = "New"
            };

            shop.UserIDs = UserID;
            shop.ShowDialog();
        }
예제 #2
0
        public void LoadSelectedRecord()
        {
            // load old shop form
            frmShop shop = new frmShop
            {
                FormMode = "Old"
            };

            shop.UserIDs         = UserID;
            shop.TxtShopRef.Text = ShopRef;
            shop.ShowDialog();
        }