示例#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);
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="adapter"></param>
 public void SelectAdapter(string adapter)
 {
     DxModel.SelectAdapter(adapter);
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 public Duplication()
 {
     DuplBuffer = new BlockingCollection <BitMapCollection>();
     DxModel    = new DxModel();
     StaticData.ThreadMgr.ManageObject["Duplicator"] = new Thread(Capture);
 }