Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Initialization of SDK in C#

$
0
0

I'm trying to use the SDK with C# (VS2012).

I have a form, and I'm trying to call the Initialization from the Form_Load function

MultipointSdk.Instance.Register(this);

But I get a compilation error saying that this cannot be converted to System.Windows.Window

"Register(this) method have any illegal arguments.Argument "1":type conversion from "MyApp.MainForm" to "System.Windows.Window" is impossible;"

Is there a way to initialize the SDK with a form object? Or, somehow convert the form object to a window object which would make the Register function happy?

Thanks,

-- Shay



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>