Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyChart = ((MyDiary.ChartWindow)(target));

            #line 8 "..\..\ChartWindow.xaml"
                this.MyChart.Loaded += new System.Windows.RoutedEventHandler(this.MyChart_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\ChartWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        private void Label_Chart_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            ChartWindow cwindow = new ChartWindow(Filepath, R, G, B);

            cwindow.Show();
        }