예제 #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();
            }
        }