Beispiel #1
0
        private void RadarClick(object sender, RoutedEventArgs e)
        {
            RadarControl rdc = new RadarControl()
            {
                AreaBrush = Brushes.Black, RadarNetBrush = Brushes.Black, AreaPointBrush = Brushes.Orange, BorderBrush = Brushes.Gray
            };

            this.GrdMain.Children.Clear();
            this.GrdMain.Children.Add(rdc);

            rdc.SetData(CrData());
        }
Beispiel #2
0
        private void RadarsClick(object sender, RoutedEventArgs e)
        {
            RadarControl rdc = new RadarControl()
            {
                MoreGraphics = true, AreaBrush = Brushes.Black, RadarNetBrush = Brushes.Black, AreaPointBrush = Brushes.Orange, BorderBrush = Brushes.Gray, RadarNetBrushes = new List <Brush> {
                    Brushes.LightSkyBlue, Brushes.Violet
                }
            };

            this.GrdMain.Children.Clear();
            this.GrdMain.Children.Add(rdc);
            List <RadarObj>[] lst = { CrData(), CrData() };
            rdc.SetData(lst);
        }