Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GraphControl = ((Graphy0_0_2.GUI.Graph)(target));
                return;

            case 2:
                this.DrawingArea = ((System.Windows.Controls.Canvas)(target));

            #line 15 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.Loaded += new System.Windows.RoutedEventHandler(this.DrawingArea_Loaded);

            #line default
            #line hidden

            #line 16 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.MouseMove += new System.Windows.Input.MouseEventHandler(this.DrawingArea_MouseMove);

            #line default
            #line hidden

            #line 17 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DrawingArea_MouseDown);

            #line default
            #line hidden

            #line 18 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.DrawingArea_MouseUp);

            #line default
            #line hidden

            #line 19 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.DrawingArea_MouseWheel);

            #line default
            #line hidden

            #line 20 "..\..\..\GUI\Graph.xaml"
                this.DrawingArea.SizeChanged += new System.Windows.SizeChangedEventHandler(this.DrawingArea_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.Xaxis = ((System.Windows.Shapes.Line)(target));
                return;

            case 4:
                this.Yaxis = ((System.Windows.Shapes.Line)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\GUI\GraphyWindow.xaml"
                ((Graphy0_0_2.GUI.GraphyWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 8 "..\..\..\GUI\GraphyWindow.xaml"
                ((Graphy0_0_2.GUI.GraphyWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.FunctionsRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.GraphRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.ControlRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.FuncInput = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\..\GUI\GraphyWindow.xaml"
                this.FuncInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FuncInput_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.Graph = ((Graphy0_0_2.GUI.Graph)(target));
                return;

            case 7:
                this.Info = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 8:
                this.Control = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 9:
                this.MouseLocationInfo = ((System.Windows.Controls.Label)(target));

            #line 41 "..\..\..\GUI\GraphyWindow.xaml"
                this.MouseLocationInfo.Loaded += new System.Windows.RoutedEventHandler(this.MouseLocationInfo_Loaded);

            #line default
            #line hidden
                return;

            case 10:
                this.ControlPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 11:
                this.MovingBtn = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\GUI\GraphyWindow.xaml"
                this.MovingBtn.Click += new System.Windows.RoutedEventHandler(this.MovingBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.ScallingBtn = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\GUI\GraphyWindow.xaml"
                this.ScallingBtn.Click += new System.Windows.RoutedEventHandler(this.ScallingBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.FlowBtn = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\GUI\GraphyWindow.xaml"
                this.FlowBtn.Click += new System.Windows.RoutedEventHandler(this.FlowBtn_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.PixelJumpSld = ((System.Windows.Controls.Slider)(target));

            #line 70 "..\..\..\GUI\GraphyWindow.xaml"
                this.PixelJumpSld.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PixelJumpSld_ValueChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.GridBtn = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\GUI\GraphyWindow.xaml"
                this.GridBtn.Click += new System.Windows.RoutedEventHandler(this.GridBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }