Exemplo n.º 1
0
 public void Load(String url, object onload)
 {
     if (url.StartsWith("/"))
     {
         url = Global.ServiceUrl + "/" + url;
     }
     onload_callback_ = onload;
     window_.LoadWindow(url);
 }
Exemplo n.º 2
0
 public void Load(String url, object onload)
 {
     onload_callback_ = onload;
     if (url.StartsWith("http://", StringComparison.CurrentCultureIgnoreCase))
     {
         window_.LoadWindow(url);
     }
     else
     {
         window_.LoadWindow(String.Format("{0}/{1}/{2}", Setting.Instance.ServiceUrl, Setting.Instance.ResPath, url));
     }
 }