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

            case 2:
                this._EnabledText = ((System.Windows.Documents.Run)(target));
                return;

            case 3:
                this._CheckEnabled = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 42 "..\..\..\Pages\DashboardPage.xaml"
                this._CheckEnabled.Checked += new System.Windows.RoutedEventHandler(this._Enabled);

            #line default
            #line hidden

            #line 42 "..\..\..\Pages\DashboardPage.xaml"
                this._CheckEnabled.Unchecked += new System.Windows.RoutedEventHandler(this._Disabled);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.searchBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.txbSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.imgBook = ((DevExpress.Xpf.Editors.ImageEdit)(target));
                return;

            case 5:
                this.btnAddBook = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnEditBook = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomerDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.DialogContentPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 3:
                this.RoomCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 4:
                this.RoomGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.OccupiedZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 7:
                this.AvailableZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomerDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 2:
                this.CustomerIdTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.IdentityInfoStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.CustomerNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.BirthInfoStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.AddressInfoStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.AddressLine1TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.AddressLine2TextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 10:
                this.RoomCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 11:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.OccupiedZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 13:
                this.AvailableZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
ファイル: shell.g.i.cs プロジェクト: Santhion/dataconsulateUI
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Menu = ((MaterialDesignThemes.Wpf.ColorZone)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
ファイル: objectif_ajout.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.employée = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.type_objectif = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.date_debut = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.but1 = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\objectif_ajout.xaml"
                this.but1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.list_of_obj = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 66 "..\..\objectif_ajout.xaml"
                this.but2.Click += new System.Windows.RoutedEventHandler(this.ajout_obj);

            #line default
            #line hidden
                return;

            case 8:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 9:
                this.alert_text = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
ファイル: Logsalaire.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.gridsalaire = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 22 "..\..\ChonLopDay.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_OnMouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\ChonLopDay.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\ChonLopDay.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.cbLopDay = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.btChon = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\ChonLopDay.xaml"
                this.btChon.Click += new System.Windows.RoutedEventHandler(this.btChon_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
ファイル: User5xaml.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.panel = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ApplicationHeader = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.MyContactsListBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WpfApplication = ((WpfApplication.MainWindow)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.WpfApplication.Deactivated += new System.EventHandler(this.WpfApplication_Deactivated);

            #line default
            #line hidden

            #line 28 "..\..\MainWindow.xaml"
                this.WpfApplication.Activated += new System.EventHandler(this.WpfApplication_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.MenuBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 3:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.ComboBox = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 5:
                this.ComboBox2 = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 6:
                this.ComboBox3 = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 7:
                this.SearchBox = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CLIENT_BOX = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.Client_Profile = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 29 "..\..\CommisionTab.xaml"
                this.Client_Profile.Checked += new System.Windows.RoutedEventHandler(this.Client_Profile_Checked);

            #line default
            #line hidden

            #line 29 "..\..\CommisionTab.xaml"
                this.Client_Profile.Unchecked += new System.Windows.RoutedEventHandler(this.Client_Profile_Unchecked);

            #line default
            #line hidden
                return;

            case 3:
                this.COMMISSION_Title_Box = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.COMMISSION_Client_Box = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.COMMISSION_Date_Box = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.COMMISSION_Cost = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
ファイル: Annuaire2.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Export = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\Annuaire2.xaml"
                this.Export.Click += new System.Windows.RoutedEventHandler(this.Export_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.datagrid = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;

            case 3:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 25 "..\..\ChonLoaiXemAdmin.xaml"
                this.TitleBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_OnMouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\ChonLoaiXemAdmin.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 40 "..\..\ChonLoaiXemAdmin.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 40 "..\..\ChonLoaiXemAdmin.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\ChonLoaiXemAdmin.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 43 "..\..\ChonLoaiXemAdmin.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 43 "..\..\ChonLoaiXemAdmin.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.cbLoaiXem = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.btOK = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\ChonLoaiXemAdmin.xaml"
                this.btOK.Click += new System.Windows.RoutedEventHandler(this.btOK_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWin = ((PiexelParadisServerTool.MainWindow)(target));
                return;

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

            case 3:
                this.ContentArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.TopArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.widthModel = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.SelectedServer = ((System.Windows.Controls.ComboBox)(target));

#line 144 "..\..\MainWindow.xaml"
                this.SelectedServer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectedServer_SelectionChanged);

#line default
#line hidden
                return;

            case 7:
                this.pwdBox = ((System.Windows.Controls.PasswordBox)(target));

#line 146 "..\..\MainWindow.xaml"
                this.pwdBox.LostFocus += new System.Windows.RoutedEventHandler(this.PwdBox_LostFocus);

#line default
#line hidden
                return;

            case 8:
                this.pwdCheck = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.operationArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.EditTextbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.EditPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:

#line 162 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

#line default
#line hidden
                return;

            case 13:

#line 165 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadCMD_Button_Click);

#line default
#line hidden
                return;

            case 14:
                this.EditMode = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 15:
                this.drawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 16:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 17:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 18:

#line 209 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

#line default
#line hidden
                return;

            case 19:

#line 214 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click);

#line default
#line hidden
                return;

            case 20:

#line 217 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Button_Click);

#line default
#line hidden
                return;

            case 21:
                this.operationSelection = ((System.Windows.Controls.ListBox)(target));

#line 230 "..\..\MainWindow.xaml"
                this.operationSelection.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OperationSelection_SelectionChanged);

#line default
#line hidden
                return;

            case 22:
                this.LoadingDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 23:
                this.LoadingTip = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.hinh1DangNhap = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 2:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.TitleBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_OnMouseDown);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\MainWindow.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 44 "..\..\MainWindow.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 44 "..\..\MainWindow.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

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

            case 6:
                this.txtMatKhau = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 7:
                this.checkDangNhap = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 103 "..\..\MainWindow.xaml"
                this.btDangKy.Click += new System.Windows.RoutedEventHandler(this.BtDangKy_OnClick);

            #line default
            #line hidden
                return;

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

            #line 111 "..\..\MainWindow.xaml"
                this.btDongY.Click += new System.Windows.RoutedEventHandler(this.btDongY_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.btQuenMatKhau.Click += new System.Windows.RoutedEventHandler(this.btQuenMatKhau_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

#line 13 "..\..\..\View\MainView.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

#line default
#line hidden

#line 14 "..\..\..\View\MainView.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.PnMouseMove);

#line default
#line hidden

#line 15 "..\..\..\View\MainView.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseUp);

#line default
#line hidden
                return;

            case 2:
                this.MainBody = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

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

#line 48 "..\..\..\View\MainView.xaml"
                this.Button_LoadFile.Click += new System.Windows.RoutedEventHandler(this.Button_LoadFile_Click);

#line default
#line hidden
                return;

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

#line 75 "..\..\..\View\MainView.xaml"
                this.Button_Close.Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

#line default
#line hidden
                return;

            case 5:
                this.Button_Maximize = ((System.Windows.Controls.Button)(target));

#line 94 "..\..\..\View\MainView.xaml"
                this.Button_Maximize.Click += new System.Windows.RoutedEventHandler(this.Button_Maximize_Click);

#line default
#line hidden
                return;

            case 6:
                this.PackMaximize = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

#line 114 "..\..\..\View\MainView.xaml"
                this.Button_Minimize.Click += new System.Windows.RoutedEventHandler(this.Button_Minimize_Click);

#line default
#line hidden
                return;

            case 8:
                this.MainScreenColorZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 9:
                this.ExpanderListBoxSound = ((System.Windows.Controls.Expander)(target));
                return;

            case 10:
                this.ListBox_Sound = ((System.Windows.Controls.ListBox)(target));

#line 156 "..\..\..\View\MainView.xaml"
                this.ListBox_Sound.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox_Sound_SelectionChanged);

#line default
#line hidden
                return;

            case 11:
                this.GridScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.ColumnLeft = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 13:
                this.ColumnMid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 14:
                this.ColumnRight = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 15:
                this.SoundName = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 19:
                this.SoundTypeValue = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.SoundSizeName = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.SoundSizeValue = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.SoundVizualization = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 23:
                this.ProgressSlider = ((System.Windows.Controls.Slider)(target));
                return;

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

            case 25:
                this.VolumeIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 26:
                this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 27:
                this.Button_Previous = ((System.Windows.Controls.Button)(target));
                return;

            case 28:
                this.Button_Play = ((System.Windows.Controls.Button)(target));
                return;

            case 29:
                this.Button_Record = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.Button_Stop = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.Button_Next = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 20 "..\..\LogInWindow.xaml"
                ((WareHouseManagment.LogInWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mdColorZoneTitle = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 27 "..\..\LogInWindow.xaml"
                this.mdColorZoneTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mdColorZoneTitle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.gridTitle = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 38 "..\..\LogInWindow.xaml"
                this.btnWindowClose.Click += new System.Windows.RoutedEventHandler(this.btnWindowClose_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 59 "..\..\LogInWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\LogInWindow.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnWindowClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.mDChipSupplier = ((MaterialDesignThemes.Wpf.Chip)(target));

            #line 69 "..\..\LogInWindow.xaml"
                this.mDChipSupplier.Click += new System.Windows.RoutedEventHandler(this.mDChipSupplier_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 22 "..\..\QuenMatKhau.xaml"
                this.TitleBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_OnMouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\QuenMatKhau.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 37 "..\..\QuenMatKhau.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 37 "..\..\QuenMatKhau.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\QuenMatKhau.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 40 "..\..\QuenMatKhau.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 40 "..\..\QuenMatKhau.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 4:
                this.hinh1QuenMK = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            case 6:
                this.tbMaPin = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 72 "..\..\QuenMatKhau.xaml"
                this.btDongY.Click += new System.Windows.RoutedEventHandler(this.btDongY_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\QuenMatKhau.xaml"
                this.btHuy.Click += new System.Windows.RoutedEventHandler(this.btHuy_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #20
0
ファイル: Evaluation.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.panel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 3:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 4:
                this.search = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.filtre = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.filtret = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 43 "..\..\Evaluation.xaml"
                this.recherche.Click += new System.Windows.RoutedEventHandler(this.recherche_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\Evaluation.xaml"
                this.retour.Click += new System.Windows.RoutedEventHandler(this.retour_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 54 "..\..\Evaluation.xaml"
                this.nontrouvé.Click += new System.Windows.RoutedEventHandler(this.nontrouvé_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dragmenu = ((Dragablz.TabablzControl)(target));
                return;

            case 2:
                this.dono = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

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

            #line 57 "..\..\Congées.xaml"
                this.vis.Click += new System.Windows.RoutedEventHandler(this.Visulisé_gantt);

            #line default
            #line hidden
                return;

            case 4:
                this.Filtre = ((System.Windows.Controls.ComboBox)(target));

            #line 67 "..\..\Congées.xaml"
                this.Filtre.DropDownClosed += new System.EventHandler(this.Filtre_actif);

            #line default
            #line hidden
                return;

            case 5:
                this.choixfiltre = ((System.Windows.Controls.ComboBox)(target));

            #line 73 "..\..\Congées.xaml"
                this.choixfiltre.DropDownClosed += new System.EventHandler(this.Filtre_actif2);

            #line default
            #line hidden
                return;

            case 6:
                this.but = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\Congées.xaml"
                this.but.Click += new System.Windows.RoutedEventHandler(this.annule_filtre);

            #line default
            #line hidden
                return;

            case 7:
                this.Employée = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.date_début = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.date_fin = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.Type_congé = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 98 "..\..\Congées.xaml"
                this.formulaire.Click += new System.Windows.RoutedEventHandler(this.formulaire_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.formulaire_name = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 100 "..\..\Congées.xaml"
                this.validé.Click += new System.Windows.RoutedEventHandler(this.submit_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 15:
                this.alert_text = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 26 "..\..\ThemHocSinhLopDay.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 40 "..\..\ThemHocSinhLopDay.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.Click += new System.Windows.RoutedEventHandler(this.btPhongTo_Click);

            #line default
            #line hidden

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseEnter);

            #line default
            #line hidden

            #line 43 "..\..\ThemHocSinhLopDay.xaml"
                this.btPhongTo.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 46 "..\..\ThemHocSinhLopDay.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.CountingBadge = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 6:
                this.btThemAnhHS = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.txtMaHS = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtHoTenHS = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.dpNgaySinhHS = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.txtHanhKiem = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txtDiaChiHS = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txtQueQuanHS = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 182 "..\..\ThemHocSinhLopDay.xaml"
                this.btThemDiem.Click += new System.Windows.RoutedEventHandler(this.btThemDiem_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btNhapFile = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.btHuy = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #23
0
ファイル: Annuaire.g.i.cs プロジェクト: fouadkadi/Gpers
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mygrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.panel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 3:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 4:
                this.search = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.searchbutton = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\Annuaire.xaml"
                this.searchbutton.Click += new System.Windows.RoutedEventHandler(this.searchbutton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.filtre = ((System.Windows.Controls.ComboBox)(target));

            #line 47 "..\..\Annuaire.xaml"
                this.filtre.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.filtre_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.filtret = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 52 "..\..\Annuaire.xaml"
                this.retour.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.bar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

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

            #line 66 "..\..\Annuaire.xaml"
                this.nontrouvé.Click += new System.Windows.RoutedEventHandler(this.nontrouvé_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.alert2 = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 13:
                this.annuaire = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowSet = ((COMMISSION.io_WPF_add.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.WindowSet.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                this.WindowSet.Closing += new System.ComponentModel.CancelEventHandler(this.WindowSet_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.help_box = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.ADD_GRID = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.edit_dialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 5:
                this.Body = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.tabheader = ((Dragablz.TabablzControl)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.tabheader.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabheader_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.hom_instance = ((System.Windows.Controls.Frame)(target));
                return;

            case 8:
                this.com_instance = ((System.Windows.Controls.Frame)(target));
                return;

            case 9:
                this.con_instance = ((System.Windows.Controls.Frame)(target));
                return;

            case 10:
                this.log_instance = ((System.Windows.Controls.Frame)(target));
                return;

            case 11:
                this.setting = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.set_instance = ((System.Windows.Controls.Frame)(target));
                return;

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

            #line 95 "..\..\MainWindow.xaml"
                this.Add_Contact.Click += new System.Windows.RoutedEventHandler(this.Add_Contact_Click);

            #line default
            #line hidden
                return;

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

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

            case 16:
                this.Client_Phone = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.Client_DeviantArt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.ADD_CONTACT_ACCEPT_BUTTON = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.ADD_CONTACT_ACCEPT_BUTTON.Click += new System.Windows.RoutedEventHandler(this.ADD_CONTACT_ACCEPT_BUTTON_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Add_COMMISSION = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.Add_COMMISSION.Click += new System.Windows.RoutedEventHandler(this.Add_COMMISSION_Click_1);

            #line default
            #line hidden
                return;

            case 20:
                this.Profile_Picture = ((System.Windows.Shapes.Ellipse)(target));

            #line 179 "..\..\MainWindow.xaml"
                this.Profile_Picture.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Ellipse_MouseUp);

            #line default
            #line hidden
                return;

            case 21:
                this.COMMISSION_Title = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.COMMISSION_Cost = ((System.Windows.Controls.TextBox)(target));

            #line 208 "..\..\MainWindow.xaml"
                this.COMMISSION_Cost.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.COMMISSION_Cost_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 23:
                this.cost_5 = ((System.Windows.Controls.Button)(target));

            #line 210 "..\..\MainWindow.xaml"
                this.cost_5.Click += new System.Windows.RoutedEventHandler(this.cost_5_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.cost_25 = ((System.Windows.Controls.Button)(target));

            #line 211 "..\..\MainWindow.xaml"
                this.cost_25.Click += new System.Windows.RoutedEventHandler(this.cost_25_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.cost_50 = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\MainWindow.xaml"
                this.cost_50.Click += new System.Windows.RoutedEventHandler(this.cost_50_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.cost_75 = ((System.Windows.Controls.Button)(target));

            #line 213 "..\..\MainWindow.xaml"
                this.cost_75.Click += new System.Windows.RoutedEventHandler(this.cost_75_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.cost_100 = ((System.Windows.Controls.Button)(target));

            #line 214 "..\..\MainWindow.xaml"
                this.cost_100.Click += new System.Windows.RoutedEventHandler(this.cost_100_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.COMMISSION_Client = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.COMMISSION_Deadline = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 30:
                this.COMMISSION_Notes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.ADD_COMMISSION_ACCEPT_BUTTON = ((System.Windows.Controls.Button)(target));

            #line 263 "..\..\MainWindow.xaml"
                this.ADD_COMMISSION_ACCEPT_BUTTON.Click += new System.Windows.RoutedEventHandler(this.ADD_COMMISSION_ACCEPT_BUTTON_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.txt_warning = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.WindowBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 293 "..\..\MainWindow.xaml"
                this.WindowBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowBar_MouseDown);

            #line default
            #line hidden
                return;

            case 34:
                this.toolbar_title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.Minamize = ((System.Windows.Controls.Button)(target));

            #line 310 "..\..\MainWindow.xaml"
                this.Minamize.Click += new System.Windows.RoutedEventHandler(this.Minamize_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.Maximize = ((System.Windows.Controls.Button)(target));

            #line 318 "..\..\MainWindow.xaml"
                this.Maximize.Click += new System.Windows.RoutedEventHandler(this.Maximize_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.CLOSEBUTTON = ((System.Windows.Controls.Button)(target));

            #line 325 "..\..\MainWindow.xaml"
                this.CLOSEBUTTON.Click += new System.Windows.RoutedEventHandler(this.CLOSEBUTTON_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.addhost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 39:
                this.sparkle = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.profilehost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 41:
                this.background_image = ((System.Windows.Controls.Image)(target));
                return;

            case 42:
                this.Host_Profile_Picture = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 43:
                this.Profile_Title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.Profile_Name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.Profile_Deadline = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.Profile_Cost = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.Profile_Notes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.Accept_Edit = ((System.Windows.Controls.Button)(target));

            #line 385 "..\..\MainWindow.xaml"
                this.Accept_Edit.Click += new System.Windows.RoutedEventHandler(this.Accept_Edit_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.proflie_edit = ((System.Windows.Controls.Button)(target));

            #line 400 "..\..\MainWindow.xaml"
                this.proflie_edit.Click += new System.Windows.RoutedEventHandler(this.proflie_edit_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.Close_Unselect = ((System.Windows.Controls.Button)(target));

            #line 409 "..\..\MainWindow.xaml"
                this.Close_Unselect.Click += new System.Windows.RoutedEventHandler(this.Close_Unselect_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.profiledithost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 52:
                this.Edit_Picture = ((System.Windows.Shapes.Ellipse)(target));

            #line 448 "..\..\MainWindow.xaml"
                this.Edit_Picture.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Picture_MouseUp);

            #line default
            #line hidden
                return;

            case 53:
                this.edit_title = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.edit_cost = ((System.Windows.Controls.TextBox)(target));

            #line 467 "..\..\MainWindow.xaml"
                this.edit_cost.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.edit_cost_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 55:
                this.editcost_5 = ((System.Windows.Controls.Button)(target));

            #line 469 "..\..\MainWindow.xaml"
                this.editcost_5.Click += new System.Windows.RoutedEventHandler(this.editcost_5_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.editcost_25 = ((System.Windows.Controls.Button)(target));

            #line 470 "..\..\MainWindow.xaml"
                this.editcost_25.Click += new System.Windows.RoutedEventHandler(this.editcost_25_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.editcost_50 = ((System.Windows.Controls.Button)(target));

            #line 471 "..\..\MainWindow.xaml"
                this.editcost_50.Click += new System.Windows.RoutedEventHandler(this.editcost_50_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.editcost_75 = ((System.Windows.Controls.Button)(target));

            #line 472 "..\..\MainWindow.xaml"
                this.editcost_75.Click += new System.Windows.RoutedEventHandler(this.editcost_75_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.editcost_100 = ((System.Windows.Controls.Button)(target));

            #line 473 "..\..\MainWindow.xaml"
                this.editcost_100.Click += new System.Windows.RoutedEventHandler(this.editcost_100_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.edit_client = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 61:
                this.edit_deadline = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 62:
                this.edit_notes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.Profile_Delete = ((System.Windows.Controls.Button)(target));

            #line 515 "..\..\MainWindow.xaml"
                this.Profile_Delete.Click += new System.Windows.RoutedEventHandler(this.Profile_Delete_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.edit_confirm = ((System.Windows.Controls.Button)(target));

            #line 516 "..\..\MainWindow.xaml"
                this.edit_confirm.Click += new System.Windows.RoutedEventHandler(this.edit_confirm_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.txt_tester = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\MainWindow.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.PnMouseMove);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                ((AudioRecorder.MainWindow)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseUp);

            #line default
            #line hidden
                return;

            case 2:
                this.MainBody = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

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

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

            #line 111 "..\..\MainWindow.xaml"
                this.Button_Close.Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Button_Maximize = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.Button_Maximize.Click += new System.Windows.RoutedEventHandler(this.Button_Maximize_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.PackMaximize = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 153 "..\..\MainWindow.xaml"
                this.Button_Minimize.Click += new System.Windows.RoutedEventHandler(this.Button_Minimize_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.MainScreenColorZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 9:
                this.ExpanderListBoxSound = ((System.Windows.Controls.Expander)(target));
                return;

            case 10:
                this.ListBox_Sound = ((System.Windows.Controls.ListBox)(target));
                return;

            case 11:
                this.GridScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.ColumnLeft = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 13:
                this.ColumnMid = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 14:
                this.ColumnRight = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 15:
                this.LabelBatteryLevel = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.BatteryIconStats = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 17:
                this.Button_ChargeBattery = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\MainWindow.xaml"
                this.Button_ChargeBattery.Click += new System.Windows.RoutedEventHandler(this.Button_ChargeBattery_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.CaptureDeviceComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.SoundName = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.SoundLengthValue = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.SoundBitRate = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 25:
                this.SoundVizualization = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 26:
                this.ProgressSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 27:
                this.RecordAlertLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.VolumeIcon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 29:
                this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 30:
                this.MediaPanelColorZone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 31:
                this.MediaPanelStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 32:
                this.Button_Previous = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.Button_Play = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.ProgresVoiceLeft = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 35:
                this.ToggleButton_Record = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 36:
                this.ProgresVoiceRight = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 37:
                this.Button_Stop = ((System.Windows.Controls.Button)(target));

            #line 427 "..\..\MainWindow.xaml"
                this.Button_Stop.Click += new System.Windows.RoutedEventHandler(this.Button_Stop_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.Button_Next = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lyricsEchoWin = ((MusicPlayerWithLyrics.LyricsWindow)(target));
                return;

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

            case 3:
                this.lyricsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsListBox_SelectionChanged);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseMove += new System.Windows.Input.MouseEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden

            #line 235 "..\..\LyricsWindow.xaml"
                this.lyricsListBox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.LyricsListBox_PreviewMouseMove);

            #line default
            #line hidden
                return;

            case 4:
                this.drawerHost = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 5:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 6:
                this.MenuToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 7:

            #line 243 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 248 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Primitives.ToggleButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleButton_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 251 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 266 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSetting_Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ColorChooseDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 274 "..\..\LyricsWindow.xaml"
                this.ColorChooseDialog.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.Color_DialogHost_OnDialogClosing);

            #line default
            #line hidden
                return;

            case 12:
                this.FoneColorPicker = ((MaterialDesignThemes.Wpf.ColorPicker)(target));
                return;

            case 13:
                this.SettingPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:

            #line 299 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.LyricsParagraph = ((System.Windows.Controls.ListBox)(target));

            #line 305 "..\..\LyricsWindow.xaml"
                this.LyricsParagraph.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LyricsParagraph_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.SettingFontStyle = ((System.Windows.Controls.ListBox)(target));

            #line 318 "..\..\LyricsWindow.xaml"
                this.SettingFontStyle.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.FontStyle_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.ChooseFontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 329 "..\..\LyricsWindow.xaml"
                this.ChooseFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ChooseFontSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:

            #line 334 "..\..\LyricsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenColorDialogButton);

            #line default
            #line hidden
                return;

            case 19:
                this.FontColorPreview = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 20:
                this.SettingStackPanel = ((System.Windows.Controls.ListBox)(target));

            #line 343 "..\..\LyricsWindow.xaml"
                this.SettingStackPanel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SettingStackPanel_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.selectedLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 22:
                this.defaultLyricsStyle = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 23:
                this.desktopLyrics1Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 24:
                this.desktopLyrics2Style = ((System.Windows.Controls.ListBoxItem)(target));
                return;

            case 25:
                this.SettingToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 26:
                this.SettingStackPanelHeight = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CloseMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 2:
                this.TitleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 50 "..\..\CuaSoChinh.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\CuaSoChinh.xaml"
                this.ButtonOpen.Click += new System.Windows.RoutedEventHandler(this.ButtonOpen_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tbForChange = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.btThuNho = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\CuaSoChinh.xaml"
                this.btThuNho.Click += new System.Windows.RoutedEventHandler(this.btThuNho_Click);

            #line default
            #line hidden

            #line 68 "..\..\CuaSoChinh.xaml"
                this.btThuNho.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseEnter);

            #line default
            #line hidden

            #line 68 "..\..\CuaSoChinh.xaml"
                this.btThuNho.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btThuNho_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:
                this.btPhongTo = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\CuaSoChinh.xaml"
                this.btPhongTo.Click += new System.Windows.RoutedEventHandler(this.btPhongTo_Click);

            #line default
            #line hidden

            #line 71 "..\..\CuaSoChinh.xaml"
                this.btPhongTo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseEnter);

            #line default
            #line hidden

            #line 71 "..\..\CuaSoChinh.xaml"
                this.btPhongTo.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btPhongTo_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\CuaSoChinh.xaml"
                this.btDong.Click += new System.Windows.RoutedEventHandler(this.btDong_Click);

            #line default
            #line hidden

            #line 74 "..\..\CuaSoChinh.xaml"
                this.btDong.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btDong_MouseEnter);

            #line default
            #line hidden

            #line 74 "..\..\CuaSoChinh.xaml"
                this.btDong.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btDong_MouseLeave);

            #line default
            #line hidden
                return;

            case 8:
                this.GridThongTin = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.GridMenu = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 100 "..\..\CuaSoChinh.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 105 "..\..\CuaSoChinh.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_MouseLeave);

            #line default
            #line hidden
                return;

            case 12:
                this.hinh2 = ((System.Windows.Media.ImageBrush)(target));
                return;

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

            #line 131 "..\..\CuaSoChinh.xaml"
                this.btThongTinGiaoVien.Click += new System.Windows.RoutedEventHandler(this.btThongTinGiaoVien_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btLopChuNhiem = ((System.Windows.Controls.Button)(target));

            #line 150 "..\..\CuaSoChinh.xaml"
                this.btLopChuNhiem.Click += new System.Windows.RoutedEventHandler(this.btLopChuNhiem_Click);

            #line default
            #line hidden
                return;

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

            #line 169 "..\..\CuaSoChinh.xaml"
                this.btLopDay.Click += new System.Windows.RoutedEventHandler(this.btLopDay_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btCaiDat = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\CuaSoChinh.xaml"
                this.btCaiDat.Click += new System.Windows.RoutedEventHandler(this.btCaiDat_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btVeChungToi = ((System.Windows.Controls.Button)(target));

            #line 207 "..\..\CuaSoChinh.xaml"
                this.btVeChungToi.Click += new System.Windows.RoutedEventHandler(this.btVeChungToi_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btAdmin = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\CuaSoChinh.xaml"
                this.btAdmin.Click += new System.Windows.RoutedEventHandler(this.btAdmin_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btDangXuat = ((System.Windows.Controls.Button)(target));

            #line 247 "..\..\CuaSoChinh.xaml"
                this.btDangXuat.Click += new System.Windows.RoutedEventHandler(this.btDangXuat_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.colzone = ((MaterialDesignThemes.Wpf.ColorZone)(target));
                return;

            case 2:
                this.Nom = ((System.Windows.Controls.TextBox)(target));

            #line 34 "..\..\ajout_employée.xaml"
                this.Nom.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textvalidationTextBox);

            #line default
            #line hidden
                return;

            case 3:
                this.Prenom = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\ajout_employée.xaml"
                this.Prenom.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textvalidationTextBox);

            #line default
            #line hidden
                return;

            case 4:
                this.Adresse = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 40 "..\..\ajout_employée.xaml"
                this.Telephone.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 6:
                this.Email = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.Date_naissance = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.wilaya_nessance = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.sex = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.Situationfamiliale = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.Poste_occupee = ((System.Windows.Controls.TextBox)(target));

            #line 101 "..\..\ajout_employée.xaml"
                this.Poste_occupee.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textvalidationTextBox);

            #line default
            #line hidden
                return;

            case 12:
                this.Responsable_hiearchique = ((System.Windows.Controls.TextBox)(target));

            #line 102 "..\..\ajout_employée.xaml"
                this.Responsable_hiearchique.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textvalidationTextBox);

            #line default
            #line hidden
                return;

            case 13:
                this.Date_embauche = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 105 "..\..\ajout_employée.xaml"
                this.Salaire.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

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

            case 16:
                this.numero_immatriculation_sociale = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.Statut = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.Date_demission = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 19:
                this.nbr_conge_restants = ((System.Windows.Controls.TextBox)(target));

            #line 114 "..\..\ajout_employée.xaml"
                this.nbr_conge_restants.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 20:
                this.Coordonnes_bancaires = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.Commentaire = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.cv = ((System.Windows.Controls.Button)(target));

            #line 119 "..\..\ajout_employée.xaml"
                this.cv.Click += new System.Windows.RoutedEventHandler(this.charge_cv);

            #line default
            #line hidden
                return;

            case 23:
                this.cv_file = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.contrat = ((System.Windows.Controls.Button)(target));

            #line 123 "..\..\ajout_employée.xaml"
                this.contrat.Click += new System.Windows.RoutedEventHandler(this.contrat_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.contrat_charger = ((System.Windows.Controls.Button)(target));

            #line 126 "..\..\ajout_employée.xaml"
                this.contrat_charger.Click += new System.Windows.RoutedEventHandler(this.Attestation_travaille);

            #line default
            #line hidden
                return;

            case 26:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\ajout_employée.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Valider);

            #line default
            #line hidden
                return;

            case 27:
                this.alert = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 28:
                this.alert_text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtCOMName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.titleBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 92 "..\..\..\Windows\wMain.xaml"
                this.titleBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ColorZone_MouseDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 94 "..\..\..\Windows\wMain.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnClose_MouseDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 141 "..\..\..\Windows\wMain.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnMini_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.radio1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.radio2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.radio3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.radio4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.radio5 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.radio6 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((Calendar.MainWindow)(target)).Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden
                return;

            case 2:
                this.ControlBar = ((MaterialDesignThemes.Wpf.ColorZone)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.ControlBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ControlBar_OnMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.MinimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.CloseWindowButton.Click += new System.Windows.RoutedEventHandler(this.CloseWindowButton_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.HomeButton = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.HomeButton.Click += new System.Windows.RoutedEventHandler(this.ReturnToday);

            #line default
            #line hidden
                return;

            case 6:
                this.Clock = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.Clock.Click += new System.Windows.RoutedEventHandler(this.Clock_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.CurrYearButton.Click += new System.Windows.RoutedEventHandler(this.CurrYear_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\MainWindow.xaml"
                this.PrevButton.Click += new System.Windows.RoutedEventHandler(this.PrevButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.CalendarTable = ((Calendar.CalendarTable)(target));
                return;

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

            #line 163 "..\..\MainWindow.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 181 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SetReminderButton_OnClick);

            #line default
            #line hidden
                return;

            case 12:
                this.NotifyToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 13:
                this.EventGrid = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:

            #line 245 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddEventButton_OnClick);

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