예제 #1
0
        void MI_Click(object sender, EventArgs e)
        {
            MenuItem MI = (MenuItem)sender;

            if (MI.Name == "Exit")
            {
                Application.Exit();
            }
            if (MI.Name == "View notes")
            {
                ViewNote NoteWin = new ViewNote();
                NoteWin.Show();
            }
            if (MI.Name == "View statistics")
            {
                Statistics StatisticsWin = new Statistics();
                StatisticsWin.Show();
                //TakeNote Tk = new TakeNote();
                //Tk.Show();
            }
        }
예제 #2
0
        private void button1_MouseClick(object sender, MouseEventArgs e)
        {
            ViewNote NoteWin = new ViewNote();

            NoteWin.Show();
        }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            ViewNote Note1 = new ViewNote();

            Note1.Show();
        }