Beispiel #1
0
		public static Preview Create (TopLevelWindow window)
		{
			if (System.IO.Path.DirectorySeparatorChar != '\\')
				return null;
			try {
				Preview p = new Preview ();
				p.Add (window);
				return p;
			}
			catch {
				return null;
			}
		}
Beispiel #2
0
 public static Preview Create(TopLevelWindow window)
 {
     if (System.IO.Path.DirectorySeparatorChar != '\\')
     {
         return(null);
     }
     try {
         Preview p = new Preview();
         p.Add(window);
         return(p);
     }
     catch {
         return(null);
     }
 }