public frmImage(int mainWidth, int mainHeight, WinType wType, ImgList il) { InitializeComponent(); _wType = wType; _il = il; _mainWidth = mainWidth; _mainHeight = mainHeight; //Debug.WriteLine("Screen W / H: {0}/{1}", _scWidth, _scHeight); //Debug.WriteLine("main W / H: {0}/{1}", mainWidth, mainHeight); }
public FullScreen(ImgList il) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); _il = il; _fHeight = Screen.FromControl(this).Bounds.Height; _fWidth = Screen.FromControl(this).Bounds.Width; Debug.WriteLine("Full Image W / H: {0}/{1}", _fWidth, _fHeight); }
public SearchForm(string pPath, string lastSearchStr, ImgList il) { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); _il = il; if (File.Exists(pPath)) { _pDir = Path.GetDirectoryName(pPath); } _lastSearchStr = lastSearchStr; _SearchReturn = false; // // TODO: Add constructor code after the InitializeComponent() call. // }