Пример #1
0
        //bool flag = false;

        public SlideShow()
        {
            InitializeComponent();
            timer          = new DispatcherTimer();
            device         = new Device();
            stream         = new StreamClass();
            pptLoader      = new PPTFileLoader();
            openFileDiag   = new OpenFileDialog();
            timer.Interval = new TimeSpan(0, 0, 1);

            openFileDiag.Filter = "Powerpoint file (*.ppt)|*.ppt|All files (*.*)|*.*";
            stream.StreamName   = Properties.Settings.Default.courseid;
            desktopStream       = false;
            mn = new ChatBox.MainWindow(Properties.Settings.Default.courseid);
        }
Пример #2
0
 public MainWindow()
 {
     InitializeComponent();
     pptloader = new PPTFileLoader();
     pptloader.ChangeToProjecterView();
 }