Exemplo n.º 1
0
 private static void SetResource(E_KitchenImages ResourceName, string Value)
 {
     SetResource(ResourceName.ToString(), Value);
 }
Exemplo n.º 2
0
 public static void ModifyKitchenImagesPath(E_KitchenImages ResourceName)
 {
     string wvRightPath = CurrentDirectory;
     wvRightPath += CreatePath(GetResource(E_Direcetories.ImagesDir));
     wvRightPath += CreatePath(GetResource(ResourceName));
     SetResource(ResourceName, wvRightPath);
     //     Application.Current.Resources[roomImage] = wvRightPath;
 }
Exemplo n.º 3
0
 // not used
 /// <summary>
 /// Method to set the right path to the resources of the sketches in the kitchen room
 /// </summary>
 /// <param name="rightPath"></param>
 /// <param name="numHat"></param>
 public static void SetClothSketchesPath(string rightPath, E_KitchenImages numHat)
 {
     SetResource(numHat, rightPath);
 }
Exemplo n.º 4
0
 //public because I need them in Room.xaml.cs
 public static string GetResource(E_KitchenImages ResourceName)
 {
     return GetResource(ResourceName.ToString()).ToString();
 }