Exemplo n.º 1
0
 protected void loadWindow(string path, object dataSource = null)
 {
     try {
         Widget w = crow.FindByName(path);
         if (w != null)
         {
             crow.PutOnTop(w);
             return;
         }
         w            = crow.Load(path);
         w.Name       = path;
         w.DataSource = dataSource;
     } catch (Exception ex) {
         System.Diagnostics.Debug.WriteLine(ex.ToString());
     }
 }