Пример #1
0
 private void Edit_Click(object sender, EventArgs e)
 {
     SetupCategory form = new SetupCategory(); form.Show();
 }
Пример #2
0
        private void Setup_Click(object sender, EventArgs e)
        {
            // create SDF file and sub-tables
            if (Form1_Helper.CreateSDF())
            {
                MessageBox.Show("Okay, time to make a budget! Ready? Good!");
                SetupCategory form = new SetupCategory(); form.Show();

                //MessageBox.Show("You are completely setup! Add expenses manually or import Chase activity files from the main menu.");
                Edit.Enabled = true;
                Clear.Enabled = true;
                Setup.Enabled = false;
                View.Enabled = true;
                Import.Enabled = true;
                Manual.Enabled = true;
            }
            else MessageBox.Show("New database setup failed. Please try again.");
            // 1. create categories with monthly targets
            // 2. display final setup, click on anything to edit it
            // 3. and re-enable functions
        }