Пример #1
0
 private void LogStats_Click(object sender, RoutedEventArgs e)
 {
     foreach (MyItemServers item in lbCurrentServers.SelectedItems)
     {
         XAML.ScoreboardBasic scoreboard = new XAML.ScoreboardBasic(item.svguid);
         scoreboard.Show();
     }
 }
Пример #2
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     string[] guidArray = { "6846208b-0054-4d61-946e-983c43b93378",
                            "44511019-2c41-470a-a074-ba0a68bc6de6",
                            "be9790a7-1b47-42fd-8bb0-77bf53738694",
                            "cede121d-1840-4c26-84eb-677f8e35a5d3",
                            "8efa81c4-bf42-4e94-b168-79f60c80ad0f",
                            "" };
     foreach (var guida in guidArray)
     {
         XAML.ScoreboardBasic basic = new XAML.ScoreboardBasic(guida);
         basic.Show();
     }
 }
Пример #3
0
 private void btnLogStats_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         string s         = txtBattlelogURL.Text.ToLower();
         string splitGUID = Regex.Split(s, "pc")[1];
         guid = Regex.Split(splitGUID, "/")[1];
         XAML.ScoreboardBasic scoreboard = new XAML.ScoreboardBasic(guid);
         scoreboard.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("please enter a valid battlelog url: " + ex.ToString());
     }
 }