Open() public method

public Open ( ) : void
return void
 public bool OpenXap(string fp)
 {
     xap = new Xap(fp);
     xap.Open();
     dgXap.ItemsSource = xap.List;
     dAppName.Text     = xap.Meta["Title"];
     try { dImage.Source = StaticBitmap.Read(xap.GetIcon()); }
     catch (Exception) { }
     dAppProp.Text          = string.Format("Version {3} ({4})\rAuthor: {0}\rPublisher: {2}", xap.Meta["Author"], xap.Meta["Genre"], xap.Meta["Publisher"], xap.Meta["Version"], xap.Meta["RuntimeType"], xap.Meta["ProductID"]);
     menu_pack.IsEnabled    = true;
     leftCol.MinWidth       = 5;
     leftCol.Width          = new GridLength(300);
     menu_close.IsEnabled   = true;
     menu_savexap.IsEnabled = true;
     SaveRecent("RecentXap", xap.Source);
     LoadRecent("RecentXap", "menu_recentxap");
     return(true);
 }
 public bool OpenXap(string fp)
 {
     xap = new Xap(fp);
     xap.Open();
     dgXap.ItemsSource = xap.List;
     dAppName.Text = xap.Meta["Title"];
     try { dImage.Source = StaticBitmap.Read(xap.GetIcon()); }
     catch (Exception) { }
     dAppProp.Text = string.Format("Version {3} ({4})\rAuthor: {0}\rPublisher: {2}", xap.Meta["Author"], xap.Meta["Genre"], xap.Meta["Publisher"], xap.Meta["Version"], xap.Meta["RuntimeType"], xap.Meta["ProductID"]);
     menu_pack.IsEnabled = true;
     leftCol.MinWidth = 5;
     leftCol.Width = new GridLength(300);
     menu_close.IsEnabled = true;
     menu_savexap.IsEnabled = true;
     SaveRecent("RecentXap", xap.Source);
     LoadRecent("RecentXap", "menu_recentxap");
     return true;
 }