Example #1
0
        /*Todo:
         * Saving info (encryption, reading/loading accounts)
         * Placing order
         * On deliver event (closing)
         *
         * Optional:
         * More places, payment options, etc
         * Tab stops
         * Install script
         * Check https://order.dominos.com/power/store/{storeID}/profile for acceptable cards and other info
         */

        public Form1()
        {
            InitializeComponent();

            c_Profile.Items.AddRange(NewAccount.readAccounts());
            getMenu();
        }
Example #2
0
        private void b_Save_Click(object sender, EventArgs e)
        {
            NewAccount newAccount = new NewAccount();

            newAccount.ShowDialog();
            if (NewAccount.canceled)
            {
                return;
            }
            NewAccount.canceled = true;
            setPizza(newAccount);
            NewAccount.saveAccount(this);
            c_Profile.Items.AddRange(NewAccount.readAccounts());
            c_Profile.Refresh();
        }