Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="output"></param>
 public void SelectOutput(string output)
 {
     DxModel.SelectOutput(output);
     ScreenDpi = new Rectangle(0, 0,
                               DxModel.SelectedOutput.Description.DesktopBounds.Right - DxModel.SelectedOutput.Description.DesktopBounds.Left,
                               DxModel.SelectedOutput.Description.DesktopBounds.Bottom - DxModel.SelectedOutput.Description.DesktopBounds.Top);
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="adapter"></param>
 public void SelectAdapter(string adapter)
 {
     DxModel.SelectAdapter(adapter);
 }
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 public Duplication()
 {
     DuplBuffer = new BlockingCollection <BitMapCollection>();
     DxModel    = new DxModel();
     StaticData.ThreadMgr.ManageObject["Duplicator"] = new Thread(Capture);
 }