예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.noteRoll = ((FluidUI.NoteRoll)(target));
     return;
     case 2:
     
     #line 16 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 17 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown_1);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 18 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown_2);
     
     #line default
     #line hidden
     return;
     case 5:
     this.BpmLabel = ((System.Windows.Controls.Label)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.BpmLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BpmLabel_MouseDown);
     
     #line default
     #line hidden
     
     #line 20 "..\..\MainWindow.xaml"
     this.BpmLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BpmLabel_MouseUp);
     
     #line default
     #line hidden
     
     #line 20 "..\..\MainWindow.xaml"
     this.BpmLabel.MouseMove += new System.Windows.Input.MouseEventHandler(this.BpmLabel_MouseMove);
     
     #line default
     #line hidden
     return;
     case 6:
     this.rightMenu = ((FluidUI.NoteMenu)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((FluidUI.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.noteRoll = ((FluidUI.NoteRoll)(target));
                return;

            case 4:
                this.BpmLabel = ((System.Windows.Controls.Label)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.BpmLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BpmLabel_MouseDown);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.BpmLabel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.BpmLabel_MouseUp);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.BpmLabel.MouseMove += new System.Windows.Input.MouseEventHandler(this.BpmLabel_MouseMove);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.BpmLabel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BpmLabel_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Canvas)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.fluidMenuButton_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.fluidMenuButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.modeComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.modeComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.pencilLabel = ((System.Windows.Controls.Label)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.pencilLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.pencilLabel_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.brushLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brushLabel_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.knifeLabel = ((System.Windows.Controls.Label)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.knifeLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.snappingLabel_MouseDown);

            #line default
            #line hidden
                return;

            case 11:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown_3);

            #line default
            #line hidden
                return;

            case 12:
                this.stopBtn = ((FluidUI.IconButton)(target));
                return;

            case 13:
                this.playBtn = ((FluidUI.IconButton)(target));
                return;

            case 14:
                this.pauseBtn = ((FluidUI.IconButton)(target));
                return;

            case 15:
                this.snapBtn = ((FluidUI.IconButton)(target));
                return;

            case 16:
                this.zoomoutbtn = ((System.Windows.Controls.Label)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.zoomoutbtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.zoomoutbtn_MouseDown);

            #line default
            #line hidden
                return;

            case 17:
                this.zoominbtn = ((System.Windows.Controls.Label)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.zoominbtn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.zoominbtn_MouseDown);

            #line default
            #line hidden
                return;

            case 18:
                this.undoLabel = ((System.Windows.Controls.Label)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.undoLabel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.undoLabel_MouseDown);

            #line default
            #line hidden
                return;

            case 19:
                this.rightMenu = ((FluidUI.NoteMenu)(target));
                return;

            case 20:
                this.fluidMenu = ((FluidUI.FluidMenu)(target));
                return;

            case 21:
                this.snappingMenu = ((System.Windows.Controls.Canvas)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.snappingMenu.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseLeave);

            #line default
            #line hidden
                return;

            case 22:
                this._4snapping = ((System.Windows.Controls.Label)(target));

            #line 46 "..\..\MainWindow.xaml"
                this._4snapping.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._4snapping_MouseUp);

            #line default
            #line hidden
                return;

            case 23:
                this._8snapping = ((System.Windows.Controls.Label)(target));

            #line 47 "..\..\MainWindow.xaml"
                this._8snapping.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._8snapping_MouseUp);

            #line default
            #line hidden
                return;

            case 24:
                this._16snapping = ((System.Windows.Controls.Label)(target));

            #line 48 "..\..\MainWindow.xaml"
                this._16snapping.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._16snapping_MouseUp);

            #line default
            #line hidden
                return;

            case 25:
                this._32snapping = ((System.Windows.Controls.Label)(target));

            #line 49 "..\..\MainWindow.xaml"
                this._32snapping.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this._32snapping_MouseUp);

            #line default
            #line hidden
                return;

            case 26:
                this.noSnapping = ((System.Windows.Controls.Label)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.noSnapping.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.noSnapping_MouseUp);

            #line default
            #line hidden
                return;

            case 27:
                this._4snappingLight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 28:
                this._8snappingLight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 29:
                this._16snappingLight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 30:
                this._32snappingLight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 31:
                this.noSnappingLight = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 32:
                this.menuContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.dockedMenu = ((FluidUI.NoteMenu)(target));
                return;

            case 34:
                this.projCfgMenu = ((System.Windows.Controls.Canvas)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.projCfgMenu.MouseLeave += new System.Windows.Input.MouseEventHandler(this.projCfgMenu_MouseLeave);

            #line default
            #line hidden
                return;

            case 35:
                this.samplebankButton = ((System.Windows.Controls.Label)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.samplebankButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown);

            #line default
            #line hidden
                return;

            case 36:
                this.wavtoolButton = ((System.Windows.Controls.Label)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.wavtoolButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.wavtoolButton_MouseDown);

            #line default
            #line hidden
                return;

            case 37:
                this.engineButton = ((System.Windows.Controls.Label)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.engineButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDown_2);

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