예제 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
            var m = new CategoriesLoad();

            m.Show();
        }
예제 #2
0
        private void Item_Click(object sender, EventArgs e)
        {
            ToolStripMenuItem item = sender as ToolStripMenuItem;

            if (item.Text == "Add Income")
            {
                this.Hide();
                var m = new IncomeInput();
                m.Show();
            }
            else if (item.Text == "Add Expense")
            {
                this.Hide();
                var m = new CategoriesLoad();
                m.Show();
            }
            else if (item.Text == "Log out")
            {
                //go to login window
            }
            else
            {
                //go to profile window
            }
        }