Esempio n. 1
0
        public AppPerformanceConfig(AppAnalytics analytics)
        {
            appAnalytics = analytics;
            InitializeComponent();

            textApiFilter.Text = analytics.ApiFilter;
        }
        public static MenuItem InitializeMenu(AppAnalytics analytics)
        {
            appAnalytics = analytics;

            mnuAppPerformance       = new MenuItem("&APP Analytics Performance");
            mnuAppPerformance.Index = 0;

            mnuRunAnalytics        = new MenuItem("&Run APP Analytics");
            mnuRunAnalytics.Click += MnuRunAnalytics_Click;

            mnuConfig        = new MenuItem("&Config");
            mnuConfig.Click += MnuConfig_Click;

            mnuAppPerformance.MenuItems.Add(mnuRunAnalytics);
            mnuAppPerformance.MenuItems.Add("-");
            mnuAppPerformance.MenuItems.Add(mnuConfig);

            return(mnuAppPerformance);
        }