private void LoadDefaultIcon(string Location)
        {
            Image img = LayoutObjects.CreateImage();

            img.Source = LayoutObjects.GetIcon(Location);
            TheEventsHolder.Children.Add(img);
        }
Esempio n. 2
0
 public void CreateIconFromexe(string Location)
 {
     System.Windows.Controls.Image img = LayoutObjects.CreateImage();
     img.Source   = LayoutObjects.GetIcon(Location);
     ShortcutIcon = img;
 }