I'm using awesomium WebControl.
I wanted to use method: LoadURL(String)
. But it's a private method. Is there a possible way to use private methods at all?
My code:
XAML:
<my:WindowsFormsHost Name="windowsFormsHost" Visibility="Hidden"/>
Code behind [C#]
Awesomium.Windows.Forms.WebControl Browser2 = new Awesomium.Windows.Forms.WebControl();
private void start_Click(object sender, RoutedEventArgs e)
{
windowsFormsHost.Child = Browser2;
windowsFormsHost.Visibility = Visibility.Visible;
}
And i wanted to use:
Browser2.LoadURL(String);
The method is here: http://awesomium.com/docs/1_6_3/sharp_api/?tc=163d5346-d13d-e0cf-49ba-72b2b04d7620
You can't call private methods.
Private members are accessible only within the body of the class or the struct in which they are declared