mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
[fxcop] preview handler common (#6762)
* FxCop adjustments * initing due to change for abstract
This commit is contained in:
@@ -46,7 +46,14 @@ namespace Common
|
||||
/// </summary>
|
||||
public PreviewHandlerBase()
|
||||
{
|
||||
this.previewControl = this.CreatePreviewHandlerControl();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PreviewHandlerBase"/> class.
|
||||
/// </summary>
|
||||
public void Initialize()
|
||||
{
|
||||
previewControl = CreatePreviewHandlerControl();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
@@ -107,7 +114,7 @@ namespace Common
|
||||
/// <inheritdoc />
|
||||
public void GetWindow(out IntPtr phwnd)
|
||||
{
|
||||
phwnd = this.previewControl.GetHandle();
|
||||
phwnd = this.previewControl.GetWindowHandle();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user