コード例 #1
0
        void LoadNvaSection(DeviceViewArgs args, bool isActive)
        {
            AnalyticsSectionPanel spanel = new AnalyticsSectionPanel(args, container);

            spanel.Init(isActive, null, () => {
                sections.ForEach(sp => {
                    if (sp != spanel)
                    {
                        sp.Hide();
                    }
                });
            });
            sections.Add(spanel);

            spanel.header.Content = "NVA";
            onvifEntitiesPanel.Children.Add(spanel);

            spanel.CreateView(args, container);
        }
コード例 #2
0
		void LoadNvaSection(DeviceViewArgs args, bool isActive) {
			AnalyticsSectionPanel spanel = new AnalyticsSectionPanel(args, container);
			spanel.Init(isActive, null, () => {
				sections.ForEach(sp => {
					if (sp != spanel)
						sp.Hide();
				});
			});
			sections.Add(spanel);

			spanel.header.Content = "NVA";
			onvifEntitiesPanel.Children.Add(spanel);

			spanel.CreateView(args, container);
		}