コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.graphe = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 2:
                this.CompteAchat = ((System.Windows.Controls.ListView)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.CompteAchat.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CompteAchat_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 3:
                this.boutonAchat = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.boutonAchat.Click += new System.Windows.RoutedEventHandler(this.boutonAchat_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.boutonVente = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.boutonVente.Click += new System.Windows.RoutedEventHandler(this.boutonVente_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ItemHistorique = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.Quantite = ((ControlLib.NumericUpDown)(target));
                return;

            case 7:
                this.ResultatCompte = ((Finance.ResultatCompte)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lolls = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 44 "..\..\newbee.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 3:
                this.menu1 = ((System.Windows.Controls.MenuItem)(target));

            #line 46 "..\..\newbee.xaml"
                this.menu1.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 4:
                this.menu2 = ((System.Windows.Controls.MenuItem)(target));

            #line 47 "..\..\newbee.xaml"
                this.menu2.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 5:
                this.menu3 = ((System.Windows.Controls.MenuItem)(target));

            #line 48 "..\..\newbee.xaml"
                this.menu3.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.menu4 = ((System.Windows.Controls.MenuItem)(target));

            #line 49 "..\..\newbee.xaml"
                this.menu4.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 7:

            #line 53 "..\..\newbee.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4);

            #line default
            #line hidden
                return;

            case 8:

            #line 54 "..\..\newbee.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 9:

            #line 58 "..\..\newbee.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 10:

            #line 59 "..\..\newbee.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.chisl = ((ControlLib.NumericUpDown)(target));
                return;

            case 12:
                this.znam = ((ControlLib.NumericUpDown)(target));
                return;

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

            #line 70 "..\..\newbee.xaml"
                this.Generate.Click += new System.Windows.RoutedEventHandler(this.GenerateR);

            #line default
            #line hidden
                return;

            case 14:
                this.Koeffs1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.Koeffs2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.Rimage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TimelineWindow = ((MPMS___Projection_Management_System.ProjectionTimeline)(target));

            #line 9 "..\..\ProjectionTimeline.xaml"
                this.TimelineWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 9 "..\..\ProjectionTimeline.xaml"
                this.TimelineWindow.Loaded += new System.Windows.RoutedEventHandler(this.TimelineWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.sldTimeline = ((System.Windows.Controls.Slider)(target));

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldTimeline_ValueChanged);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.sldTimeline_MouseUp);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.DragLeave += new System.Windows.DragEventHandler(this.sldTimeline_DragLeave);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.sldTimeline_MouseDown);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.ManipulationStarting += new System.EventHandler <System.Windows.Input.ManipulationStartingEventArgs>(this.sldTimeline_ManipulationStarting);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.MouseEnter += new System.Windows.Input.MouseEventHandler(this.sldTimeline_MouseEnter);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.IsMouseDirectlyOverChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.sldTimeline_IsMouseDirectlyOverChanged);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.sldTimeline_GotMouseCapture);

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.sldTimeline_DragCompleted));

            #line default
            #line hidden

            #line 75 "..\..\ProjectionTimeline.xaml"
                this.sldTimeline.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.sldTimeline_DragStarted));

            #line default
            #line hidden
                return;

            case 3:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 4:
                this.btnAddFile = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\ProjectionTimeline.xaml"
                this.btnAddFile.Click += new System.Windows.RoutedEventHandler(this.btnAddFile_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.gpbControls = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.grpGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.btnSync = ((System.Windows.Controls.Button)(target));

            #line 86 "..\..\ProjectionTimeline.xaml"
                this.btnSync.Click += new System.Windows.RoutedEventHandler(this.btnSync_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnPlay = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\ProjectionTimeline.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.btnPlay_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnPause = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\ProjectionTimeline.xaml"
                this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnStop = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\ProjectionTimeline.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.cbxIsVideoVisible = ((System.Windows.Controls.CheckBox)(target));

            #line 99 "..\..\ProjectionTimeline.xaml"
                this.cbxIsVideoVisible.Click += new System.Windows.RoutedEventHandler(this.cbxIsVideoVisible_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.cbxIsProjectionVisible = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\ProjectionTimeline.xaml"
                this.cbxIsProjectionVisible.Click += new System.Windows.RoutedEventHandler(this.cbxIsProjectionVisible_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.sldVolume = ((System.Windows.Controls.Slider)(target));

            #line 101 "..\..\ProjectionTimeline.xaml"
                this.sldVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sldVolume_ValueChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.lblVolume = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 112 "..\..\ProjectionTimeline.xaml"
                this.btnMute.Click += new System.Windows.RoutedEventHandler(this.btnMute_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.cbxInvertHorizontally = ((System.Windows.Controls.CheckBox)(target));

            #line 118 "..\..\ProjectionTimeline.xaml"
                this.cbxInvertHorizontally.Click += new System.Windows.RoutedEventHandler(this.cbxInvertHorizontally_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cbxInvertVertically = ((System.Windows.Controls.CheckBox)(target));

            #line 119 "..\..\ProjectionTimeline.xaml"
                this.cbxInvertVertically.Click += new System.Windows.RoutedEventHandler(this.cbxInvertVertically_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.cbxInvertOnlyProjection = ((System.Windows.Controls.CheckBox)(target));

            #line 120 "..\..\ProjectionTimeline.xaml"
                this.cbxInvertOnlyProjection.Click += new System.Windows.RoutedEventHandler(this.cbxInvertOnlyProjection_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.cbxAspectRatio = ((System.Windows.Controls.ComboBox)(target));

            #line 121 "..\..\ProjectionTimeline.xaml"
                this.cbxAspectRatio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxAspectRatio_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.nudBrightness = ((ControlLib.NumericUpDown)(target));

            #line 127 "..\..\ProjectionTimeline.xaml"
                this.nudBrightness.ValueChanged += new ControlLib.ValueChangedEventHandler(this.NumericUpDown_ValueChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.nudContrast = ((ControlLib.NumericUpDown)(target));

            #line 133 "..\..\ProjectionTimeline.xaml"
                this.nudContrast.ValueChanged += new ControlLib.ValueChangedEventHandler(this.nudContrast_ValueChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.nudSaturation = ((ControlLib.NumericUpDown)(target));

            #line 138 "..\..\ProjectionTimeline.xaml"
                this.nudSaturation.ValueChanged += new ControlLib.ValueChangedEventHandler(this.nudSaturation_ValueChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.nudGama = ((ControlLib.NumericUpDown)(target));

            #line 139 "..\..\ProjectionTimeline.xaml"
                this.nudGama.ValueChanged += new ControlLib.ValueChangedEventHandler(this.nudGama_ValueChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.nudHUD = ((ControlLib.NumericUpDown)(target));

            #line 144 "..\..\ProjectionTimeline.xaml"
                this.nudHUD.ValueChanged += new ControlLib.ValueChangedEventHandler(this.nudHUD_ValueChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.timeline = ((Vlc.DotNet.Wpf.VlcControl)(target));
                return;

            case 26:
                this.vctAux = ((Vlc.DotNet.Wpf.VlcControl)(target));
                return;

            case 27:
                this.lsbTestList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 28:
                this.lsvTestList = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }