public GoogleAnalytics(string apiKey, string applicationName) { Argument.IsNotNull("apiKey", apiKey); Argument.IsNotNull("applicationName", applicationName); _appTracker = new ApplicationTracker(apiKey, applicationName); _appTracker.StartSession(); }
public Form1() { this.InitializeComponent(); this.tracker = new ApplicationTracker(); this.tracker.Init(); this.templates = new List <BlockTemplate>(); foreach (GameMode mode in Enum.GetValues(typeof(GameMode))) { this.cbModes.Items.Add(mode); } this.cbModes.SelectedIndex = 0; }