调用:
- using System; using System.Collections.Generic;
- using System.ComponentModel; using System.Data;
- using System.Drawing; using System.Text;
- using System.Windows.Forms; namespace CSImageFullScreenSlideShow
- { public partial class Test : Form
- { public Test()
- { InitializeComponent();
- } private FullScreen fullScreen = new FullScreen();
- private void button1_Click(object sender, EventArgs e) {
- if (fullScreen.IsFullScreen) {
- fullScreen.LeaveFullScreen(this); }
- else {
- fullScreen.EnterFullScreen(this); }
- } }
- }










