FCA form=Control. FromHandle (User) as FCA.
In the Control. FromHandle prompt ambiguous references,
According to the change or wrong
Bosses how to modify, please?
CodePudding user response:
Qualified name and namespaceCodePudding user response:
Winform is ControlTree, WPF is VisualTree, WPF Window with Winform Form in addition to the use of the same Win32 API, other are not the same,CodePudding user response:
It I a mistake how to modify?Novice, can want to turn around to understand
CodePudding user response:
Change winform to WPF frosted glass under the form of a referenceWinform: SetWindowCompositionAttribute (this Handle, ref data);
WPF:
Var windowHelper=new WindowInteropHelper (this);
.
SetWindowCompositionAttribute (windowHelper. Handle, ref data);
CodePudding user response:
The