예제 #1
0
        void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case Keys.Right:
                next();
                break;

            case Keys.Left:
                prev();
                break;

            case Keys.Escape:
            case Keys.F:
                this.Close();
                break;

            case Keys.I:
                Information info = new Information(files[i]);
                info.Show();
                break;
            }
        }
예제 #2
0
        private void info_Click(object sender, EventArgs e)
        {
            Information info = new Information(files[i]);

            info.Show();
        }