示例#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();
            }
        }