Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((WpfApp2.MainWindow)(target));
                return;

            case 2:
                this.phonesList = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

            case 6:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.common_tool = ((WpfApp2.MainWindow)(target));
                return;

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

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

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

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

            case 6:
                this.Input = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.mainWindow = ((WpfApp2.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((WpfApp2.MainWindow)(target));
                return;

            case 2:
                this.WindowChrome = ((System.Windows.Shell.WindowChrome)(target));
                return;

            case 3:
                this.WindowPage = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window1 = ((WpfApp2.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.Window1.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window1_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.la1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.paperPad = ((WpfApp2.MainWindow)(target));
                return;

            case 2:
                this.menunew = ((System.Windows.Controls.MenuItem)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.menunew.Click += new System.Windows.RoutedEventHandler(this.menunew_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\MainWindow.xaml"
                this.menuopen.Click += new System.Windows.RoutedEventHandler(this.menuopen_Click);

            #line default
            #line hidden
                return;

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

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

            #line 27 "..\..\MainWindow.xaml"
                this.menusaveas.Click += new System.Windows.RoutedEventHandler(this.menusaveas_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.menuprint = ((System.Windows.Controls.MenuItem)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.menuprint.Click += new System.Windows.RoutedEventHandler(this.menuprint_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.menuexit = ((System.Windows.Controls.MenuItem)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.menuexit.Click += new System.Windows.RoutedEventHandler(this.menuexit_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.menuUndo = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.menucut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.menucopy = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.menupaste = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.menudelete = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.menufind = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.menufindnxt = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.menureplace = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.menugoto = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.menuselall = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.menutimedate = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 20:
                this.menuwordwrap = ((System.Windows.Controls.MenuItem)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.menuwordwrap.Click += new System.Windows.RoutedEventHandler(this.menuwordwrap_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.menufont = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 22:
                this.menuFontsize = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 23:
                this.menusize5 = ((System.Windows.Controls.MenuItem)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.menusize5.Click += new System.Windows.RoutedEventHandler(this.menusize5_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.menusize10 = ((System.Windows.Controls.MenuItem)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.menusize10.Click += new System.Windows.RoutedEventHandler(this.menusize10_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.menusize15 = ((System.Windows.Controls.MenuItem)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.menusize15.Click += new System.Windows.RoutedEventHandler(this.menusize15_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.menusize20 = ((System.Windows.Controls.MenuItem)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.menusize20.Click += new System.Windows.RoutedEventHandler(this.menusize20_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.menuFontstyle = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 28:
                this.menuFontConsolas = ((System.Windows.Controls.MenuItem)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.menuFontConsolas.Click += new System.Windows.RoutedEventHandler(this.menuFontConsolas_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.menuFontTimes = ((System.Windows.Controls.MenuItem)(target));

            #line 82 "..\..\MainWindow.xaml"
                this.menuFontTimes.Click += new System.Windows.RoutedEventHandler(this.menuFontTimes_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.menuFontArial = ((System.Windows.Controls.MenuItem)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.menuFontArial.Click += new System.Windows.RoutedEventHandler(this.menuFontArial_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.menuFontCourier = ((System.Windows.Controls.MenuItem)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.menuFontCourier.Click += new System.Windows.RoutedEventHandler(this.menuFontCourier_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.menustatbar = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 33:
                this.menuviewhelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 34:
                this.menuabout = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 35:
                this.textboxDoc = ((System.Windows.Controls.RichTextBox)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.textboxDoc.AddHandler(System.Windows.Controls.Primitives.ScrollBar.ScrollEvent, new System.Windows.Controls.Primitives.ScrollEventHandler(this.textboxDoc_Scroll));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPage = ((WpfApp2.MainWindow)(target));
                return;

            case 2:
                this.rdbINTeacher = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.rdbINStudent = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            case 5:
                this.PassINTeacher = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 6:
                this.___bordersignup_ = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.btnsignup.Click += new System.Windows.RoutedEventHandler(this.btnsignup_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.SinguprdbTeacher.Checked += new System.Windows.RoutedEventHandler(this.SinguprdbTeacher_Checked);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.SignuprdbStudent.Checked += new System.Windows.RoutedEventHandler(this.SignuprdbStudent_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.passtxt2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            #line 41 "..\..\MainWindow.xaml"
                this.btnIn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.lbla = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 17:
                this.passtxt1 = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DigiX = ((WpfApp2.MainWindow)(target));
                return;

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

            case 3:
                this.Grille = ((System.Windows.Controls.Canvas)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.Grille.MouseMove += new System.Windows.Input.MouseEventHandler(this.MouseMoved);

            #line default
            #line hidden

            #line 29 "..\..\MainWindow.xaml"
                this.Grille.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.MouseReleased);

            #line default
            #line hidden

            #line 31 "..\..\MainWindow.xaml"
                this.Grille.DragOver += new System.Windows.DragEventHandler(this.Grille_DragOver);

            #line default
            #line hidden

            #line 32 "..\..\MainWindow.xaml"
                this.Grille.Drop += new System.Windows.DragEventHandler(this.Grille_Drop);

            #line default
            #line hidden
                return;

            case 4:
                this.Menu = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.top_Bar = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 60 "..\..\MainWindow.xaml"
                this.minimize.Click += new System.Windows.RoutedEventHandler(this.minimize_click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\MainWindow.xaml"
                this.normal.Click += new System.Windows.RoutedEventHandler(this.normal_click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.maximize.Click += new System.Windows.RoutedEventHandler(this.maximize_click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\MainWindow.xaml"
                this.close.Click += new System.Windows.RoutedEventHandler(this.close_click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\MainWindow.xaml"
                this.CaptEcran.Click += new System.Windows.RoutedEventHandler(this.CaptEcran_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.FichierButton = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\MainWindow.xaml"
                this.ChronoButton.Click += new System.Windows.RoutedEventHandler(this.ChronogrammesClick);

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\MainWindow.xaml"
                this.clock.Click += new System.Windows.RoutedEventHandler(this.clock_click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\MainWindow.xaml"
                this.pause.Click += new System.Windows.RoutedEventHandler(this.pause_click);

            #line default
            #line hidden
                return;

            case 20:
                this.stop = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\MainWindow.xaml"
                this.stop.Click += new System.Windows.RoutedEventHandler(this.stop_click);

            #line default
            #line hidden
                return;

            case 21:
                this.aide = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\MainWindow.xaml"
                this.aide.Click += new System.Windows.RoutedEventHandler(this.aide_click);

            #line default
            #line hidden
                return;

            case 22:
                this.Tools = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:

            #line 410 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListViewItem)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseRightButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((WpfApp2.MainWindow)(target));
                return;

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

            #line 10 "..\..\MainWindow.xaml"
                this.Button1.Click += new System.Windows.RoutedEventHandler(this.Button1_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\MainWindow.xaml"
                this.Button2.Click += new System.Windows.RoutedEventHandler(this.Button2_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 7:
                this.FirstNumberLabel = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.subtractButton.Click += new System.Windows.RoutedEventHandler(this.subtractButton_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\MainWindow.xaml"
                this.multiplyButton.Click += new System.Windows.RoutedEventHandler(this.multiplyButton_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\MainWindow.xaml"
                this.divisionButton.Click += new System.Windows.RoutedEventHandler(this.divisionButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Staff_Screen = ((WpfApp2.MainWindow)(target));
                return;

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

            #line 13 "..\..\staff_menu.xaml"
                this.btn_bookings.Click += new System.Windows.RoutedEventHandler(this.btn_bookings_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\staff_menu.xaml"
                this.btn_patients.Click += new System.Windows.RoutedEventHandler(this.btn_patients_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.staff_on_duty_list = ((System.Windows.Controls.ListView)(target));

            #line 23 "..\..\staff_menu.xaml"
                this.staff_on_duty_list.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.staff_on_duty_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.staff_name_id_shift = ((System.Windows.Controls.ListBoxItem)(target));

            #line 32 "..\..\staff_menu.xaml"
                this.staff_name_id_shift.Selected += new System.Windows.RoutedEventHandler(this.staff_name_id_shift_Selected);

            #line default
            #line hidden
                return;

            case 8:
                this.duty_list_scroller = ((System.Windows.Controls.Primitives.ScrollBar)(target));
                return;

            case 9:
                this.staff_on_duty_date = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 11
0
 public Register(MainWindow w)
 {
     InitializeComponent();
     this.w = w;
 }