AdvancedLauncher.SDK.Management.Windows.ApplicationWindowControl.ApplicationWindowControl C# (CSharp) Method

ApplicationWindowControl() public method

Initializes a new instance of ApplicationWindowControl for specified ProcessStartInfo and wait timeout.
public ApplicationWindowControl ( ProcessStartInfo StartInfo, int WaitTimeout ) : System
StartInfo System.Diagnostics.ProcessStartInfo Process start information
WaitTimeout int Event action (0 by default)
return System
        public ApplicationWindowControl(ProcessStartInfo StartInfo, int WaitTimeout = 0)
        {
            this.StartInfo = StartInfo;
            this.WaitTimeout = WaitTimeout;
            this.Loaded += OnLoaded;
            this.SizeChanged += OnSizeChanged;
        }