Ejemplo n.º 1
0
		void IComponentConnector.Connect(int connectionId, object target)
		{
			switch (connectionId)
			{
				case 1:
					button_0 = (ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target;
					button_0.Click += new EventHandler<ExecuteRoutedEventArgs>(method9);
					break;
				case 2:
					((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(buttonOpen_Click);
					break;
				case 3:
					((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(buttonSave_Click);
					break;
				case 4:
					((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(buttonReanalyze_Click);
					break;
				case 5:
					((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(buttonWheel_Click);
					break;
				case 6:
					this.group_0 = (Group)target;
					break;
				case 7:
					((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(method2);
					break;
				case 8:
					this.dockSite = (DockSite)target;
					break;
				case 9:
					this.toolWindow = (ToolWindow)target;
					break;
				case 10:
					this.noScrollTreeView = (NoScrollTreeView)target;
					break;
				case 11:
					this.toolWindow1 = (ToolWindow)target;
					break;
				case 12:
					this.toolWindow2 = (ToolWindow)target;
					break;
				case 13:
					this.toolWindow3 = (ToolWindow)target;
					break;
				case 14:
					((System.Windows.Controls.Button)target).Click += button0_Click;
					break;
				case 15:
					((System.Windows.Controls.Button)target).Click += button1_Click;
					break;
				case 16:
					((System.Windows.Controls.Button)target).Click += button2_Click;
					break;
				case 17:
					((System.Windows.Controls.Button)target).Click += button3_Click;
					break;
				case 18:
					((System.Windows.Controls.Button)target).Click += button4_Click;
					break;
				default:
					this._isInitialized = true;
					break;
			}
		}
Ejemplo n.º 2
0
		void IComponentConnector.Connect(int connectionId, object target)
		{
			switch (connectionId)
			{
			case 1:
				this.button_0 = (ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target;
				this.button_0.Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_9);
				break;
			case 2:
				((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_11);
				break;
			case 3:
				((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_12);
				break;
			case 4:
				((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_13);
				break;
			case 5:
				((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_15);
				break;
			case 6:
				this.group_0 = (Group)target;
				break;
			case 7:
				((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler<ExecuteRoutedEventArgs>(this.method_2);
				break;
			case 8:
				this.dockSite_0 = (DockSite)target;
				break;
			case 9:
				this.toolWindow_0 = (ToolWindow)target;
				break;
			case 10:
				this.noScrollTreeView_0 = (NoScrollTreeView)target;
				break;
			case 11:
				this.toolWindow_1 = (ToolWindow)target;
				break;
			case 12:
				this.toolWindow_2 = (ToolWindow)target;
				break;
			case 13:
				this.toolWindow_3 = (ToolWindow)target;
				break;
			case 14:
				((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_4);
				break;
			case 15:
				((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_5);
				break;
			case 16:
				((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_8);
				break;
			case 17:
				((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_6);
				break;
			case 18:
				((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_7);
				break;
			default:
				this.bool_1 = true;
				break;
			}
		}
Ejemplo n.º 3
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button_0        = (ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target;
                this.button_0.Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_9);
                break;

            case 2:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_11);
                break;

            case 3:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_12);
                break;

            case 4:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_13);
                break;

            case 5:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_15);
                break;

            case 6:
                this.group_0 = (Group)target;
                break;

            case 7:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(this.method_2);
                break;

            case 8:
                this.dockSite_0 = (DockSite)target;
                break;

            case 9:
                this.toolWindow_0 = (ToolWindow)target;
                break;

            case 10:
                this.noScrollTreeView_0 = (NoScrollTreeView)target;
                break;

            case 11:
                this.toolWindow_1 = (ToolWindow)target;
                break;

            case 12:
                this.toolWindow_2 = (ToolWindow)target;
                break;

            case 13:
                this.toolWindow_3 = (ToolWindow)target;
                break;

            case 14:
                ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_4);
                break;

            case 15:
                ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_5);
                break;

            case 16:
                ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_8);
                break;

            case 17:
                ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_6);
                break;

            case 18:
                ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.method_7);
                break;

            default:
                this.bool_1 = true;
                break;
            }
        }
Ejemplo n.º 4
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                button_0        = (ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target;
                button_0.Click += new EventHandler <ExecuteRoutedEventArgs>(method9);
                break;

            case 2:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(buttonOpen_Click);
                break;

            case 3:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(buttonSave_Click);
                break;

            case 4:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(buttonReanalyze_Click);
                break;

            case 5:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(buttonWheel_Click);
                break;

            case 6:
                this.group_0 = (Group)target;
                break;

            case 7:
                ((ActiproSoftware.Windows.Controls.Ribbon.Controls.Button)target).Click += new EventHandler <ExecuteRoutedEventArgs>(method2);
                break;

            case 8:
                this.dockSite = (DockSite)target;
                break;

            case 9:
                this.toolWindow = (ToolWindow)target;
                break;

            case 10:
                this.noScrollTreeView = (NoScrollTreeView)target;
                break;

            case 11:
                this.toolWindow1 = (ToolWindow)target;
                break;

            case 12:
                this.toolWindow2 = (ToolWindow)target;
                break;

            case 13:
                this.toolWindow3 = (ToolWindow)target;
                break;

            case 14:
                ((System.Windows.Controls.Button)target).Click += button0_Click;
                break;

            case 15:
                ((System.Windows.Controls.Button)target).Click += button1_Click;
                break;

            case 16:
                ((System.Windows.Controls.Button)target).Click += button2_Click;
                break;

            case 17:
                ((System.Windows.Controls.Button)target).Click += button3_Click;
                break;

            case 18:
                ((System.Windows.Controls.Button)target).Click += button4_Click;
                break;

            default:
                this._isInitialized = true;
                break;
            }
        }