Example #1
0
 public WidgetGAL()
 {
     InitializeComponent();
     var first_item = new KeyValuePair<string, string> (arcStrings.ArcIgnoreEncryption, "");
     var items = new KeyValuePair<string, string>[] { first_item };
     this.Title.ItemsSource = items.Concat (GalFormat.KnownKeys.OrderBy (x => x.Key));
 }
Example #2
0
 public WidgetMCG()
 {
     InitializeComponent();
     var none = new KeyValuePair<string, byte>[] { new KeyValuePair<string, byte> (arcStrings.ArcIgnoreEncryption, 0) };
     Title.ItemsSource = none.Concat (McgFormat.KnownKeys.OrderBy (x => x.Key));
 }