Пример #1
0
        // Shows the shop form.
        private void actionButtonShop_Action(object sender, EventArgs e)
        {
            if (!IsUserInputValid())
            {
                return;
            }

            SaveUserInput();

            using (var dialog = new ShopDialog(App.CurrentContext.AccountManager.SelectedAccount, shop))
            {
                dialog.ShowDialog();
            }
        }
Пример #2
0
        // Shows the shop form.
        private void actionButtonShop_Action(object sender, EventArgs e)
        {
            if (!IsUserInputValid()) return;

            SaveUserInput();

            using (var dialog = new ShopDialog(App.CurrentContext.AccountManager.SelectedAccount, shop))
            {
                dialog.ShowDialog();
            }
        }