Interaction logic for WindowWithChart.xaml
Inheritance: SilverFlow.Controls.FloatingWindow
Ejemplo n.º 1
0
        private void ShowWindowWithChart_Click(object sender, RoutedEventArgs e)
        {
            WindowWithChart window = new WindowWithChart();

            host.Add(window);
            string title = "Chart " + nCharts++;

            window.Title    = title;
            window.IconText = title;

            window.Activated += (s, a) =>
            {
                Debug.WriteLine("Activated: {0}", window.IconText);
            };

            window.Deactivated += (s, a) =>
            {
                Debug.WriteLine("Deactivated: {0}", window.IconText);
            };

            window.Show(460, 60);
        }
Ejemplo n.º 2
0
        private void ShowWindowWithChart_Click(object sender, RoutedEventArgs e)
        {
            WindowWithChart window = new WindowWithChart();
              host.Add(window);
              string title = "Chart " + nCharts++;
              window.Title = title;
              window.IconText = title;

              window.Activated += (s, a) =>
              {
            Debug.WriteLine("Activated: {0}", window.IconText);
              };

              window.Deactivated += (s, a) =>
              {
            Debug.WriteLine("Deactivated: {0}", window.IconText);
              };

              window.Show(460, 60);
        }