I changed cefsharp winforms example.
it bound callback. browser.RegisterJsObject("bound", new BrowserForm()); it bound BrowserForm to can access from java to call AddTab from java
I successfully called c# methods from javascript via bound.
my problem is I cant hide image object when calling from java. but with button on form we can do.
c# code
public void Load_successfull()
{
MessageBox.Show("working good.");
loading_animation.Visible = false;
}
private void button2_Click(object sender, EventArgs e) { Load_successfull(); }
java code: bound.load_successfull();
when called from java cant hide loading_animation