public Border MakeDisConnectedLayout(Channel ch)
        {
            Border border = (Border)XamlReader.Parse(
                " <Border BorderThickness=\"0,1,0,0\" BorderBrush=\"Gray\">" +
                "     <StackPanel Margin=\"0, 20, 0, 0\">" +
                "         <Border>" +
                "             <Label Content=\"{Binding Path=Description, Mode=OneTime}\" FontSize=\"14\" HorizontalAlignment=\"Center\" />" +
                "         </Border>" +
                "         <Button Content=\"Enter this channel\" Width=\"180\" HorizontalAlignment=\"Center\" Focusable=\"false\" />" +
                "     </StackPanel>" +
                " </Border>"
                , GlobalManager.XamlContext);
            StackPanel sp = (StackPanel)border.Child;
            Button     bt = (Button)sp.Children[1];

            bt.Click += EnterChannel;

            var progressRing = new MahApps.Metro.Controls.ProgressRing();

            progressRing.IsActive   = false;
            progressRing.Foreground = Brushes.LightBlue;
            progressRing.Style      = (Style)FindResource("ProgressRingStyle");
            progressRing.Tag        = "Connecting";
            sp.Children.Add(progressRing);

            return(border);
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ipAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 3:

            #line 32 "..\..\ConnectWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.connect);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.loading = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

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

            #line 18 "..\..\..\Forms\MainWindow.xaml"
                this.CloseBtn.Click += new System.Windows.RoutedEventHandler(this.CloseBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Forms\MainWindow.xaml"
                this.CfgBtn.Click += new System.Windows.RoutedEventHandler(this.cfgBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Forms\MainWindow.xaml"
                this.NewSessionBtn.Click += new System.Windows.RoutedEventHandler(this.newSessionBtn_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.LoadRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 9:
                this.ServerConIcon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

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

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

            #line 14 "..\..\..\..\Library\Adder\SearchProgress.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.srcFilePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.isExcuting = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\View\ListTaskPage.xaml"
                ((CRM_Client.View.ListTaskPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dgTask = ((System.Windows.Controls.DataGrid)(target));

            #line 11 "..\..\..\View\ListTaskPage.xaml"
                this.dgTask.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgTask_MouseDoubleClick);

            #line default
            #line hidden

            #line 11 "..\..\..\View\ListTaskPage.xaml"
                this.dgTask.KeyUp += new System.Windows.Input.KeyEventHandler(this.dgTask_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.prLoadData = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\UserControls\HelpUserControl.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.pring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

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

            case 5:
                this.imghelp = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 8
0
        static ProgressRing()
        {
            Class6.yDnXvgqzyB5jw();
            ProgressRing.BindableWidthProperty   = DependencyProperty.Register("BindableWidth", typeof(double), typeof(ProgressRing), new PropertyMetadata((object)0, new PropertyChangedCallback(ProgressRing.BindableWidthCallback)));
            ProgressRing.IsActiveProperty        = DependencyProperty.Register("IsActive", typeof(bool), typeof(ProgressRing), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(ProgressRing.IsActiveChanged)));
            ProgressRing.IsLargeProperty         = DependencyProperty.Register("IsLarge", typeof(bool), typeof(ProgressRing), new PropertyMetadata(true, new PropertyChangedCallback(ProgressRing.IsLargeChangedCallback)));
            ProgressRing.MaxSideLengthProperty   = DependencyProperty.Register("MaxSideLength", typeof(double), typeof(ProgressRing), new PropertyMetadata((object)0));
            ProgressRing.EllipseDiameterProperty = DependencyProperty.Register("EllipseDiameter", typeof(double), typeof(ProgressRing), new PropertyMetadata((object)0));
            Type      type      = typeof(Thickness);
            Type      type1     = typeof(ProgressRing);
            Thickness thickness = new Thickness();

            ProgressRing.EllipseOffsetProperty = DependencyProperty.Register("EllipseOffset", type, type1, new PropertyMetadata((object)thickness));
            FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressRing), new FrameworkPropertyMetadata(typeof(ProgressRing)));
            UIElement.VisibilityProperty.OverrideMetadata(typeof(ProgressRing), new FrameworkPropertyMetadata((DependencyObject ringObject, DependencyPropertyChangedEventArgs e) => {
                if (e.NewValue != e.OldValue)
                {
                    ProgressRing progressRing = (ProgressRing)ringObject;
                    if ((System.Windows.Visibility)e.NewValue != System.Windows.Visibility.Visible)
                    {
                        progressRing.SetCurrentValue(ProgressRing.IsActiveProperty, (object)false);
                        return;
                    }
                    progressRing.IsActive = true;
                }
            }));
        }
Exemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.phoneTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.progress1 = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 9:
                this.progressingBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 10:
                this.shutdownTextBox = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ProRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 11
0
        private static void IsActiveChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            ProgressRing progressRing = dependencyObject as ProgressRing;

            if (progressRing == null)
            {
                return;
            }
            progressRing.UpdateActiveState();
        }
Exemplo n.º 12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.progressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 13
0
        private void showWaitBar()
        {

            Window parentWindow = (Window)this.Parent;
            ProgressRing bar = new ProgressRing();
            bar.IsActive = true;
            bar.Width = 100;
            bar.Height = 100;
            parentWindow.Content = bar;
        }
Exemplo n.º 14
0
        private static void IsLargeChangedCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            ProgressRing progressRing = dependencyObject as ProgressRing;

            if (progressRing == null)
            {
                return;
            }
            progressRing.UpdateLargeState();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Orange.main_usercontrol)(target));
                return;

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

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

            case 4:
                this.ProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 5:
                this.tempw = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 7:
                this.haederbookmark = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.favorite_ScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));

            #line 30 "..\..\..\Main\main_usercontrol.xaml"
                this.favorite_ScrollViewer.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.favorite_ScrollViewer_MouseWheel);

            #line default
            #line hidden
                return;

            case 9:
                this.favorite_playlist = ((System.Windows.Controls.ListView)(target));

            #line 32 "..\..\..\Main\main_usercontrol.xaml"
                this.favorite_playlist.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.favlist_MouseDoubleClick);

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

            #line 6 "..\..\..\View\DirectoryPage.xaml"
                ((CRM_Client.View.DirectoryPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dgMain = ((System.Windows.Controls.DataGrid)(target));

            #line 18 "..\..\..\View\DirectoryPage.xaml"
                this.dgMain.KeyUp += new System.Windows.Input.KeyEventHandler(this.dgMain_KeyUp);

            #line default
            #line hidden
                return;

            case 3:
                this.prLoadData = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

            #line 28 "..\..\..\View\DirectoryPage.xaml"
                this.btnSeveType.Click += new System.Windows.RoutedEventHandler(this.btnSeveType_Click);

            #line default
            #line hidden
                return;

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

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

            #line 44 "..\..\..\View\DirectoryPage.xaml"
                this.btnAddNewType.Click += new System.Windows.RoutedEventHandler(this.btnAddNewType_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWnd = ((Generator_1._5._2.MainWindow)(target));
                return;

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

            #line 24 "..\..\MainWindow.xaml"
                this.ComandSettingBtn.Click += new System.Windows.RoutedEventHandler(this.ComandSettingBtn_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.Chart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.LoadBtn.Click += new System.Windows.RoutedEventHandler(this.LoadBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\MainWindow.xaml"
                this.LearnBtn.Click += new System.Windows.RoutedEventHandler(this.LearnBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 7:
                this.ProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dgStatusDeal = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 2:
                this.prLoadData = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtUsername = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 29 "..\..\Main.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_OnClick);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\Main.xaml"
                this.btnForgotPassword.Click += new System.Windows.RoutedEventHandler(this.btnForgotPassword_OnClick);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\Main.xaml"
                this.btnSignUp.Click += new System.Windows.RoutedEventHandler(this.btnLogin_OnClick);

            #line default
            #line hidden
                return;

            case 6:
                this.progressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LosujButton = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\MainWindow.xaml"
                this.WczytajButton.Click += new System.Windows.RoutedEventHandler(this.WczytajButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.DG = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.Progress = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            case 7:
                this.ProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtServer = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.chkSecondaryServer = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 4:
                this.txtPwd = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 50 "..\..\..\Views\LoginWin.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\Views\LoginWin.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.waitring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.buffer = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

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

            #line 56 "..\..\..\UI\DetailsPage.xaml"
                this.Join.Click += new System.Windows.RoutedEventHandler(this.Join_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\UI\DetailsPage.xaml"
                this.Read.Click += new System.Windows.RoutedEventHandler(this.Read_Click);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\UI\DetailsPage.xaml"
                this.Catalog.Click += new System.Windows.RoutedEventHandler(this.Catalog_Click);

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

            #line 8 "..\..\..\View\AnalyticsDealPage.xaml"
                ((CRM_Client.View.AnalyticsDealPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cbStateDeal = ((De.TorstenMandelkow.MetroChart.ChartSeries)(target));
                return;

            case 3:
                this.dpFromDate = ((System.Windows.Controls.DatePicker)(target));

            #line 26 "..\..\..\View\AnalyticsDealPage.xaml"
                this.dpFromDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\View\AnalyticsDealPage.xaml"
                this.dpToDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dpDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.prLoadData = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((sistemaCorporativo.CrimeManagementSplash)(target));

            #line 8 "..\..\..\SPLASHSCREEN\CrimeManagementSplash.xaml"
                this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.crimeManagementSplashDrag);

            #line default
            #line hidden

            #line 10 "..\..\..\SPLASHSCREEN\CrimeManagementSplash.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.pgbCrimeM = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 4:
                this.pgRCrimeM = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 5:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rec_overlay = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 2:
                this.loading_image = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.read_button.Click += new System.Windows.RoutedEventHandler(this.read_button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line 56 "..\..\MainWindow.xaml"
                this.send_button.Click += new System.Windows.RoutedEventHandler(this.send_button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 26
0
        private static void BindableWidthCallback(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            ProgressRing progressRing = dependencyObject as ProgressRing;

            if (progressRing == null)
            {
                return;
            }
            Action action = () => {
                progressRing.SetEllipseDiameter((double)dependencyPropertyChangedEventArgs.NewValue);
                progressRing.SetEllipseOffset((double)dependencyPropertyChangedEventArgs.NewValue);
                progressRing.SetMaxSideLength((double)dependencyPropertyChangedEventArgs.NewValue);
            };

            if (progressRing._deferredActions == null)
            {
                action();
                return;
            }
            progressRing._deferredActions.Add(action);
        }
Exemplo n.º 27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.flSidebar = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 2:
                this.content = ((SoundOryc.Desktop.View.ContentView)(target));
                return;

            case 3:
                this.pbRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 4:
                this.queueWindow = ((MahApps.Metro.SimpleChildWindow.ChildWindow)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.selectFileType = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 4:
                this.Progress = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\View\ListStatusDeal.xaml"
                ((CRM_Client.View.ListStatusDeal)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dgStatusDeal = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.prLoadData = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ipAddress = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 28 "..\..\AddServerWindow.xaml"
                this.addButton.Click += new System.Windows.RoutedEventHandler(this.addServer);

            #line default
            #line hidden
                return;

            case 3:
                this.loading = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.logInButton = ((System.Windows.Controls.Button)(target));

            #line 7 "..\..\..\Authorization.xaml"
                this.logInButton.Click += new System.Windows.RoutedEventHandler(this.logInButton_Click_1);

            #line default
            #line hidden
                return;

            case 2:
                this.labelLogin = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.labelPass = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.passBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            case 6:
                this.connectProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 32
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\Views\TicketsAddView.xaml"
     ((PetraERP.CRM.Views.TicketsAddView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\Views\TicketsAddView.xaml"
     ((PetraERP.CRM.Views.TicketsAddView)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.CloseWindow);
     
     #line default
     #line hidden
     return;
     case 2:
     this.AddTicketWizard = ((AvalonWizard.Wizard)(target));
     
     #line 14 "..\..\..\Views\TicketsAddView.xaml"
     this.AddTicketWizard.CurrentPageChanged += new System.EventHandler<AvalonWizard.CurrentPageChangedEventArgs>(this.PageChanged);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\Views\TicketsAddView.xaml"
     this.AddTicketWizard.Cancelled += new System.Windows.RoutedEventHandler(this.AddTicketWizard_Cancelled);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\Views\TicketsAddView.xaml"
     this.AddTicketWizard.Finished += new System.Windows.RoutedEventHandler(this.create_ticket);
     
     #line default
     #line hidden
     return;
     case 3:
     this.tbSearch = ((AvalonWizard.WizardPage)(target));
     return;
     case 4:
     this.searchPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.txtSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 26 "..\..\..\Views\TicketsAddView.xaml"
     this.txtSearch.KeyUp += new System.Windows.Input.KeyEventHandler(this.do_search);
     
     #line default
     #line hidden
     return;
     case 6:
     this.spinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 7:
     this.optionsPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.rdCustomerName = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.rdCompanyName = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 10:
     this.rdPetraID = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 11:
     this.rdSSNITNo = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 12:
     this.lblRecordsFound = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.dgFoundRecords = ((System.Windows.Controls.DataGrid)(target));
     
     #line 51 "..\..\..\Views\TicketsAddView.xaml"
     this.dgFoundRecords.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgFoundRecords_PreviewMouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 14:
     this.tbCustomerInfo = ((AvalonWizard.WizardPage)(target));
     return;
     case 15:
     this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.txtCustomerPetraID = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.txtSSN = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.txtEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.txtContactNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.CustomerPreviousTickets = ((System.Windows.Controls.DataGrid)(target));
     
     #line 76 "..\..\..\Views\TicketsAddView.xaml"
     this.CustomerPreviousTickets.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CustomerPreviousTickets_PreviewMouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.txtMiddleNames = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.txtSurname = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.cmbEmployers = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 24:
     this.tbCompanyInfo = ((AvalonWizard.WizardPage)(target));
     return;
     case 25:
     this.txtCompanyName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.txtCompanyPetraID = ((System.Windows.Controls.TextBox)(target));
     return;
     case 27:
     this.txtCompanyRegNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.txtCompanyEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.txtCompanyContactNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 30:
     this.CompanyPreviousTickets = ((System.Windows.Controls.DataGrid)(target));
     
     #line 113 "..\..\..\Views\TicketsAddView.xaml"
     this.CompanyPreviousTickets.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CompanyPreviousTickets_PreviewMouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 31:
     this.txtCompanyContactPerson = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.txtMobileNo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 33:
     this.tbTicketInfo = ((AvalonWizard.WizardPage)(target));
     
     #line 130 "..\..\..\Views\TicketsAddView.xaml"
     this.tbTicketInfo.Commit += new System.EventHandler<AvalonWizard.WizardPageConfirmEventArgs>(this.create_ticket);
     
     #line default
     #line hidden
     return;
     case 34:
     this.txtTicketID = ((System.Windows.Controls.TextBox)(target));
     return;
     case 35:
     this.rdPriorityLow = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 36:
     this.rdPriorityMedium = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 37:
     this.rdPriorityHigh = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 38:
     this.cmbTicketCorrespondence = ((System.Windows.Controls.ComboBox)(target));
     
     #line 146 "..\..\..\Views\TicketsAddView.xaml"
     this.cmbTicketCorrespondence.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbTicketCorrespondence_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 39:
     this.cmbTicketSubCorrespondence = ((System.Windows.Controls.ComboBox)(target));
     
     #line 147 "..\..\..\Views\TicketsAddView.xaml"
     this.cmbTicketSubCorrespondence.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbTicketSubCorrespondence_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 40:
     this.txtAssocaitedSLA = ((System.Windows.Controls.TextBox)(target));
     return;
     case 41:
     this.txtTicketSubject = ((System.Windows.Controls.TextBox)(target));
     return;
     case 42:
     this.cmbTicketCategory = ((System.Windows.Controls.ComboBox)(target));
     
     #line 155 "..\..\..\Views\TicketsAddView.xaml"
     this.cmbTicketCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbTicketCategory_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 43:
     this.txtNotes = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.txtCustomerName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.txtPetraID = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.cmbAssignTo = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 33
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cbx_mt = ((System.Windows.Controls.ComboBox)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.cbx_mt.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_mt_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lastinsertid = ((MahApps.Metro.Controls.NumericUpDown)(target));
     
     #line 39 "..\..\MainWindow.xaml"
     this.lastinsertid.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<double>>(this.lastinsertid_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btn_migrate = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.btn_migrate.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.spinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 5:
     this.livefeed = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainAppWindow = ((GAP.MainWindow)(target));
     return;
     case 2:
     this.grid_Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 4:
     this.File_Save = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 5:
     this.File_Save_As = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 6:
     this.Data_Import_Data = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 7:
     this.Data_Export_Data = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 8:
     this.Data_Create_Dataset = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 9:
     this.mnuFullScreen = ((System.Windows.Controls.MenuItem)(target));
     
     #line 195 "..\..\MainWindow.xaml"
     this.mnuFullScreen.Click += new System.Windows.RoutedEventHandler(this.mnuFullScreen_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.WindowsManager = ((MixModes.Synergy.VisualFramework.Windows.WindowsManager)(target));
     return;
     case 11:
     this.StatusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 12:
     this.TextBlockUndoRedoMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.ProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 35
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tbUsername = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.tbPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 3:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.progress = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.prog_ring_star = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 6:
     this.loginProgRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 36
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cbx_TrackerDataSource = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     this.spinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 37
0
 private void SetActivityToProgressRing(ProgressRing progressRing, bool isActive)
 {
     Dispatcher.Invoke(() => progressRing.IsActive = isActive);
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroMainWindow = ((RFIDBackground.MainWindow)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 4:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.BaudComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 7:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
     return;
     case 11:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 12:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 13:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroOperateWindow = ((RFIDStorageUltimate.OperateWindow)(target));
     
     #line 7 "..\..\OperateWindow.xaml"
     this.MetroOperateWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroOperateWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\OperateWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 4:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.IntQComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.PowerComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.OperateComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 39 "..\..\OperateWindow.xaml"
     this.OperateComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OperateComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 9:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.MenuPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 55 "..\..\OperateWindow.xaml"
     this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
     return;
     case 14:
     this.ShowUserControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 15:
     this.ShowUserTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.ShowOperateControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 17:
     this.ShowOperateTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.ShowScanCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 19:
     this.ShowScanCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.ShowScanKnowCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 21:
     this.ShowScanKnowCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.ShowScanUnknowCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 23:
     this.ShowScanUnknowCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 25:
     this.OperateDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 26:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 27:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 28:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
        private void MetroWindow_Loaded(object sender, RoutedEventArgs e)
        {
            Grid grid = new Grid();
            grid.Width = 100;
            grid.Height = 100;
            ProgressRing pr = new ProgressRing();
            pr.IsActive = true;
            grid.Children.Add(pr);
            bd_1.Child = grid;

            Thread thread = new Thread(CheckUpdate);
            thread.IsBackground = true;
            thread.Start();
        }
        private void ApplySettings_Click(object sender, RoutedEventArgs e)
        {
            if (_runningApplySettings) return;

            if (string.IsNullOrEmpty(_mainWindow.SelectedFile) || !File.Exists(_mainWindow.SelectedFile))
            {
                MessageBox.Show("You must first select a file before you can set your login background! (Default options count as a file)",
                    "Error");
                return;
            }

            Settings.Default.Set("filename", Path.GetFileName(_mainWindow.SelectedFile));
            Settings.Default.Save();
            _runningApplySettings = true;
            var holderContent = ((Button)sender);
            var progress = new ProgressRing
            {
                IsActive = true,
                Visibility = Visibility.Visible,
                IsLarge = false,
                Width = 30,
                Height = 30
            };

            var def = holderContent.Content;
            holderContent.Content = progress;

            Task.Run(() => _mainWindow.ApplyChanges()).ContinueWith(delegate
            {
                Dispatcher.Invoke(() =>
                {
                    holderContent.Content = def;
                    _runningApplySettings = false;
                });
            });
        }
Exemplo n.º 42
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnDownload = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.btnDownload.Click += new System.Windows.RoutedEventHandler(this.btnDownload_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.lstBoxFiles = ((System.Windows.Controls.ListBox)(target));
     return;
     case 4:
     this.progressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 5:
     this.btnBack = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 43
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ConnectionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.ConnectionImage = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.GettingWebresourcesLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.GettingWebresourcesImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.GettingWebresourcesProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 6:
     this.CreateLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.CreateImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.CreateProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 9:
     this.UpdateLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.UpdateImage = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.UpdateProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 12:
     this.PublishLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.PublishImage = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.PublishProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 15:
     this.ErrorImage = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.ErrorLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.ShowDetailsButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 44 "..\..\..\Windows\OutputWindow.xaml"
     this.ShowDetailsButton.Click += new System.Windows.RoutedEventHandler(this.ShowDetails_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.OutputTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        private void ApplySettings_Click(object sender, RoutedEventArgs e)
        {
            if (_runningApplySettings) return;

            if (string.IsNullOrEmpty(_mainWindow.SelectedFile) || !File.Exists(_mainWindow.SelectedFile))
            {
                WpfMessageBox.Show(LanguageLibrary.Language.Default.no_selected_file,
                    LanguageLibrary.Language.Default.title_error, MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            /*var c = ((SolidColorBrush)ColorPreview.Background).Color;
            var color = Color.FromArgb(c.R, c.G, c.B);
            pickColor.Foreground = new SolidColorBrush(Helpers.ContrastColor(color).ToMediaColor());

            Settings.Default.Set("dcolor", color);*/
            var c = SolidColorPicker.SelectedColor;
            if (c.HasValue)
                Settings.Default.Set("dcolor", System.Drawing.Color.FromArgb(c.Value.R, c.Value.G, c.Value.B));
            else
                Settings.Default.Delete("dcolor");

            Settings.Default.Set("filename", Path.GetFileName(_mainWindow.SelectedFile));
            Settings.Default.Save();
            _runningApplySettings = true;
            var holderContent = ((Button)sender);
            var progress = new ProgressRing
            {
                IsActive = true,
                Visibility = Visibility.Visible,
                IsLarge = false,
                Width = 30,
                Height = 30
            };

            var def = holderContent.Content;
            holderContent.Content = progress;

            Task.Run(() => _mainWindow.ApplyChanges()).ContinueWith(delegate
            {
                Dispatcher.Invoke(() =>
                {
                    holderContent.Content = def;
                    _runningApplySettings = false;

                    WpfMessageBox.Show(
                        LanguageLibrary.Language.Default.success_apply_msg,
                        LanguageLibrary.Language.Default.title_success
                        );
                });
            });
        }
Exemplo n.º 45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroAdminWindow = ((RFIDStorageUltimate.AdminWindow)(target));
     
     #line 7 "..\..\AdminWindow.xaml"
     this.MetroAdminWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroAdminWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 9 "..\..\AdminWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.TextBoxButtonCmd);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\AdminWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 5:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.IntQComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.PowerComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.GoodsNameComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.ClearSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 10:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 11:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.MenuPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 62 "..\..\AdminWindow.xaml"
     this.SearchTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.SearchTextBox_KeyDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.BrowseInfoButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 77 "..\..\AdminWindow.xaml"
     this.BrowseInfoButton.Click += new System.Windows.RoutedEventHandler(this.BrowseInfoButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.RegisterLabelButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 80 "..\..\AdminWindow.xaml"
     this.RegisterLabelButton.Click += new System.Windows.RoutedEventHandler(this.RegisterLabelButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.GoodsManageButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 83 "..\..\AdminWindow.xaml"
     this.GoodsManageButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageButton_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.UserManageButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 86 "..\..\AdminWindow.xaml"
     this.UserManageButton.Click += new System.Windows.RoutedEventHandler(this.UserManageButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.StatisticsViewButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 89 "..\..\AdminWindow.xaml"
     this.StatisticsViewButton.Click += new System.Windows.RoutedEventHandler(this.StatisticsViewButton_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 21:
     this.OperateControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 22:
     this.BrowsePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 23:
     this.GoodsDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 24:
     this.RegisterDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 25:
     this.UserDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 26:
     this.InDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 27:
     this.OutDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 28:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 29:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 30:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.ExtraPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 32:
     this.RegisterPanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 33:
     this.RegisterScanningButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 192 "..\..\AdminWindow.xaml"
     this.RegisterScanningButton.Click += new System.Windows.RoutedEventHandler(this.RegisterScanningButton_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.ScanningImage = ((System.Windows.Controls.Image)(target));
     return;
     case 35:
     this.RegisterCleanButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 201 "..\..\AdminWindow.xaml"
     this.RegisterCleanButton.Click += new System.Windows.RoutedEventHandler(this.RegisterCleanButton_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.LabelList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 37:
     this.ReadInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.RegisterReadButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 217 "..\..\AdminWindow.xaml"
     this.RegisterReadButton.Click += new System.Windows.RoutedEventHandler(this.RegisterReadButton_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.RegisterWriteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 220 "..\..\AdminWindow.xaml"
     this.RegisterWriteButton.Click += new System.Windows.RoutedEventHandler(this.RegisterWriteButton_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.RegisterImage = ((System.Windows.Controls.Image)(target));
     return;
     case 41:
     this.UserManagePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 42:
     this.UserList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 43:
     this.UsernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.PasswordTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.UserManageAddButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 240 "..\..\AdminWindow.xaml"
     this.UserManageAddButton.Click += new System.Windows.RoutedEventHandler(this.UserManageAddButton_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.UserManageDeleteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 243 "..\..\AdminWindow.xaml"
     this.UserManageDeleteButton.Click += new System.Windows.RoutedEventHandler(this.UserManageDeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.UserManageUpdateButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 246 "..\..\AdminWindow.xaml"
     this.UserManageUpdateButton.Click += new System.Windows.RoutedEventHandler(this.UserManageUpdateButton_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.GoodsManagePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 49:
     this.GoodsListDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 50:
     this.OperatePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 51:
     this.GoodsManageAddButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 271 "..\..\AdminWindow.xaml"
     this.GoodsManageAddButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageAddButton_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this.GoodsManageDeleteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 274 "..\..\AdminWindow.xaml"
     this.GoodsManageDeleteButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageDeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     this.GoodsManageUpdateButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 278 "..\..\AdminWindow.xaml"
     this.GoodsManageUpdateButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageUpdateButton_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     this.SearchPanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 55:
     this.SearchRegisterDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 56:
     this.SearchInDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 57:
     this.SearchOutDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 46
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\Intro.xaml"
     ((SIGUE_Reloaded.Intro)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Intro_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.introRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainForm = ((WinDroid_Universal_Android_Toolkit.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.gainSuperCIDButton = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.gainSuperCIDButton.Click += new System.Windows.RoutedEventHandler(this.gainSuperCIDButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.getTokenIDButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.getTokenIDButton.Click += new System.Windows.RoutedEventHandler(this.getTokenIDButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.unlockBootloaderButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.unlockBootloaderButton.Click += new System.Windows.RoutedEventHandler(this.unlockBootloaderButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.recovery1Button = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.recovery1Button.Click += new System.Windows.RoutedEventHandler(this.firstRecoveryButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.recovery2Button = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\MainWindow.xaml"
     this.recovery2Button.Click += new System.Windows.RoutedEventHandler(this.secondRecoveryButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.recovery3Button = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.recovery3Button.Click += new System.Windows.RoutedEventHandler(this.thirdRecoveryButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.gainRootButton = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\MainWindow.xaml"
     this.gainRootButton.Click += new System.Windows.RoutedEventHandler(this.gainRootButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 60 "..\..\MainWindow.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
     
     #line default
     #line hidden
     return;
     case 10:
     this.rebootButton = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\MainWindow.xaml"
     this.rebootButton.Click += new System.Windows.RoutedEventHandler(this.rebootButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.rebootRecoveryButton = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\MainWindow.xaml"
     this.rebootRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.rebootRecoveryButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.rebootBootloaderButton = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\MainWindow.xaml"
     this.rebootBootloaderButton.Click += new System.Windows.RoutedEventHandler(this.rebootBootloaderButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.flashKernelButton = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\MainWindow.xaml"
     this.flashKernelButton.Click += new System.Windows.RoutedEventHandler(this.flashKernelButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.flashRecoveryButton = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\MainWindow.xaml"
     this.flashRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.flashRecoveryButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.sideloadROMButton = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\MainWindow.xaml"
     this.sideloadROMButton.Click += new System.Windows.RoutedEventHandler(this.sideloadROMButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.pushFileButton = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.pushFileButton.Click += new System.Windows.RoutedEventHandler(this.pushFileButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.installAppButton = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.installAppButton.Click += new System.Windows.RoutedEventHandler(this.installAppButton_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.relockBootloaderButton = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.relockBootloaderButton.Click += new System.Windows.RoutedEventHandler(this.relockBootloaderButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.helpButton = ((System.Windows.Controls.Button)(target));
     
     #line 93 "..\..\MainWindow.xaml"
     this.helpButton.Click += new System.Windows.RoutedEventHandler(this.helpButton_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.devicesButton = ((System.Windows.Controls.Button)(target));
     
     #line 94 "..\..\MainWindow.xaml"
     this.devicesButton.Click += new System.Windows.RoutedEventHandler(this.devicesButton_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.requestsButton = ((System.Windows.Controls.Button)(target));
     
     #line 95 "..\..\MainWindow.xaml"
     this.requestsButton.Click += new System.Windows.RoutedEventHandler(this.requestsButton_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.toolkitButton = ((System.Windows.Controls.Button)(target));
     
     #line 100 "..\..\MainWindow.xaml"
     this.toolkitButton.Click += new System.Windows.RoutedEventHandler(this.toolkitButton_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.recoveriesButton = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.recoveriesButton.Click += new System.Windows.RoutedEventHandler(this.recoveriesButton_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.ruuButton = ((System.Windows.Controls.Button)(target));
     
     #line 102 "..\..\MainWindow.xaml"
     this.ruuButton.Click += new System.Windows.RoutedEventHandler(this.ruuButton_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.xdaButton = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.xdaButton.Click += new System.Windows.RoutedEventHandler(this.xdaButton_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.emailButton = ((System.Windows.Controls.Button)(target));
     
     #line 108 "..\..\MainWindow.xaml"
     this.emailButton.Click += new System.Windows.RoutedEventHandler(this.emailButton_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.twitterButton = ((System.Windows.Controls.Button)(target));
     
     #line 109 "..\..\MainWindow.xaml"
     this.twitterButton.Click += new System.Windows.RoutedEventHandler(this.twitterButton_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.statusEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 29:
     this.statusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.refreshButton = ((System.Windows.Controls.Button)(target));
     
     #line 117 "..\..\MainWindow.xaml"
     this.refreshButton.Click += new System.Windows.RoutedEventHandler(this.refreshButton_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.workingSpinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 32:
     this.logButton = ((System.Windows.Controls.Button)(target));
     return;
     case 33:
     this.settingsButton = ((System.Windows.Controls.Button)(target));
     return;
     case 34:
     
     #line 149 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.TogglePhoneCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 35:
     
     #line 150 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ToggleLogCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 36:
     
     #line 151 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveLogCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 37:
     this.Settings2 = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 38:
     this.phoneListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 158 "..\..\MainWindow.xaml"
     this.phoneListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.phoneListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 39:
     this.PhoneTextBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 40:
     this.Log2 = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 41:
     this.logBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 48
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\Windows\UserCredential.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 18 "..\..\..\Windows\UserCredential.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ConnectionStatusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.ServerTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.PortTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.SslCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.DomainTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.UsernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.PasswordTextBox = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 10:
     this.OrganizationsComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 11:
     this.ProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 12:
     this.GetOrganizationsButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\Windows\UserCredential.xaml"
     this.GetOrganizationsButton.Click += new System.Windows.RoutedEventHandler(this.GetOrganizationsButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.ConnectionProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 49
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtSchoolCode = ((System.Windows.Controls.TextBox)(target));
     
     #line 86 "..\..\Login.xaml"
     this.txtSchoolCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSchoolCode_TextChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtUsername = ((System.Windows.Controls.TextBox)(target));
     
     #line 94 "..\..\Login.xaml"
     this.txtUsername.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.theTextChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 102 "..\..\Login.xaml"
     this.txtPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.txtPassword_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.AccessButton = ((System.Windows.Controls.Button)(target));
     
     #line 109 "..\..\Login.xaml"
     this.AccessButton.Click += new System.Windows.RoutedEventHandler(this.AccessButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ProgRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\MainWindow.xaml"
     ((WpfApplication2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.DataWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 30 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.openToolPage);
     
     #line default
     #line hidden
     return;
     case 3:
     this.bottomCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.Next = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.Next.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Cancel = ((System.Windows.Controls.Button)(target));
     
     #line 59 "..\..\MainWindow.xaml"
     this.Cancel.Click += new System.Windows.RoutedEventHandler(this.closeApplication);
     
     #line default
     #line hidden
     return;
     case 6:
     this.images_jpg = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.Instructions = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.License = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 14:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.textBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.agreementCheck = ((System.Windows.Controls.CheckBox)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.agreementCheck.Click += new System.Windows.RoutedEventHandler(this.nextEnable);
     
     #line default
     #line hidden
     return;
     case 17:
     this.dependencies = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 18:
     this.LanInfo = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.dependaniceCheck = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.dependaniceTick = ((System.Windows.Controls.Image)(target));
     return;
     case 21:
     this.dependaniceError = ((System.Windows.Controls.Image)(target));
     return;
     case 22:
     this.depenProgress = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 23:
     this.solarWindsLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.solarProgress = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 25:
     this.solarTick = ((System.Windows.Controls.Image)(target));
     return;
     case 26:
     this.solarError = ((System.Windows.Controls.Image)(target));
     return;
     case 27:
     this.LanGuardianLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 28:
     this.lanProgress = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 29:
     this.versionError = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.noSolarWinds = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.lanTick = ((System.Windows.Controls.Image)(target));
     return;
     case 32:
     this.lanError = ((System.Windows.Controls.Image)(target));
     return;
     case 33:
     this.installOptions = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.installButton = ((System.Windows.Controls.Button)(target));
     return;
     case 35:
     this.installProgress = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 36:
     this.installTick = ((System.Windows.Controls.Image)(target));
     return;
     case 37:
     this.installError = ((System.Windows.Controls.Image)(target));
     return;
     case 38:
     this.installRadio = ((System.Windows.Controls.RadioButton)(target));
     
     #line 116 "..\..\MainWindow.xaml"
     this.installRadio.Click += new System.Windows.RoutedEventHandler(this.installRadio_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.reInstallRadio = ((System.Windows.Controls.RadioButton)(target));
     
     #line 117 "..\..\MainWindow.xaml"
     this.reInstallRadio.Click += new System.Windows.RoutedEventHandler(this.installRadio_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.unInstallRadio = ((System.Windows.Controls.RadioButton)(target));
     
     #line 118 "..\..\MainWindow.xaml"
     this.unInstallRadio.Click += new System.Windows.RoutedEventHandler(this.unInstallRadio_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.installFail = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.Installing = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 43:
     this.installLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 44:
     this.installingLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.installBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 46:
     this.OrionDb = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 47:
     this.orionDbLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.orionDbremoteLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 49:
     this.orionPass = ((System.Windows.Controls.Label)(target));
     return;
     case 50:
     this.dbConnection = ((System.Windows.Controls.Button)(target));
     
     #line 135 "..\..\MainWindow.xaml"
     this.dbConnection.Click += new System.Windows.RoutedEventHandler(this.orionRemote);
     
     #line default
     #line hidden
     return;
     case 51:
     this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 52:
     this.orionConnectionTick = ((System.Windows.Controls.Image)(target));
     return;
     case 53:
     this.orionConnectionError = ((System.Windows.Controls.Image)(target));
     return;
     case 54:
     this.orionDbConnection = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 55:
     this.lanLoginLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 56:
     this.ipLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 57:
     this.lanIP = ((System.Windows.Controls.TextBox)(target));
     return;
     case 58:
     this.userLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 59:
     this.lanUser = ((System.Windows.Controls.TextBox)(target));
     return;
     case 60:
     this.passwordLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 61:
     this.lanPass = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 62:
     this.ConnectionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 63:
     this.HttpRadio = ((System.Windows.Controls.RadioButton)(target));
     
     #line 174 "..\..\MainWindow.xaml"
     this.HttpRadio.Click += new System.Windows.RoutedEventHandler(this.HttpRadio_Click);
     
     #line default
     #line hidden
     return;
     case 64:
     this.HttpsRadio = ((System.Windows.Controls.RadioButton)(target));
     
     #line 175 "..\..\MainWindow.xaml"
     this.HttpsRadio.Click += new System.Windows.RoutedEventHandler(this.HttpsRadio_Click);
     
     #line default
     #line hidden
     return;
     case 65:
     this.lanConnectionTick = ((System.Windows.Controls.Image)(target));
     return;
     case 66:
     this.lanConnectionError = ((System.Windows.Controls.Image)(target));
     return;
     case 67:
     this.httpLanConnection = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 68:
     this.lanConnection = ((System.Windows.Controls.Button)(target));
     
     #line 179 "..\..\MainWindow.xaml"
     this.lanConnection.Click += new System.Windows.RoutedEventHandler(this.lanGuardianConnection);
     
     #line default
     #line hidden
     return;
     case 69:
     this.errorLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 70:
     this.errorMessage = ((System.Windows.Controls.Label)(target));
     return;
     case 71:
     this.EndPage = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 72:
     this.endLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 73:
     this.endInstallLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 74:
     this.label23 = ((System.Windows.Controls.Label)(target));
     return;
     case 75:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 76:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 51
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wdw1 = ((LoanManagement.Desktop.wpfLogin)(target));
     
     #line 6 "..\..\wpfLogin.xaml"
     this.wdw1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);
     
     #line default
     #line hidden
     
     #line 6 "..\..\wpfLogin.xaml"
     this.wdw1.KeyUp += new System.Windows.Input.KeyEventHandler(this.wdw1_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grd1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtUsername = ((System.Windows.Controls.TextBox)(target));
     
     #line 24 "..\..\wpfLogin.xaml"
     this.txtUsername.LostFocus += new System.Windows.RoutedEventHandler(this.txtUsername_LostFocus);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 5:
     this.btnLogIn = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\wpfLogin.xaml"
     this.btnLogIn.Click += new System.Windows.RoutedEventHandler(this.btnLogIn_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.img = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.pr1 = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\LoginWindow.xaml"
                ((TMS.LoginWindow)(target)).Closed += new System.EventHandler(this.MetroWindow_Closed);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\LoginWindow.xaml"
                this.tb_mail.LostFocus += new System.Windows.RoutedEventHandler(this.LostFocus);

            #line default
            #line hidden

            #line 14 "..\..\LoginWindow.xaml"
                this.tb_mail.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.mail_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

            case 4:
                this.tb_pw = ((System.Windows.Controls.PasswordBox)(target));

            #line 18 "..\..\LoginWindow.xaml"
                this.tb_pw.LostFocus += new System.Windows.RoutedEventHandler(this.LostFocus);

            #line default
            #line hidden

            #line 18 "..\..\LoginWindow.xaml"
                this.tb_pw.KeyDown += new System.Windows.Input.KeyEventHandler(this.KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.password_state_icon = ((MahApps.Metro.IconPacks.PackIconMaterial)(target));
                return;

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

            #line 21 "..\..\LoginWindow.xaml"
                this.btn_login.Click += new System.Windows.RoutedEventHandler(this.btn_login_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.progring = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

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

            #line 29 "..\..\LoginWindow.xaml"
                this.GoBackBtn.Click += new System.Windows.RoutedEventHandler(this.GoBackBtn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 53
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 34 "..\..\MainWindow.xaml"
     this.dataGrid.Drop += new System.Windows.DragEventHandler(this.DropBox_Drop);
     
     #line default
     #line hidden
     
     #line 35 "..\..\MainWindow.xaml"
     this.dataGrid.DragOver += new System.Windows.DragEventHandler(this.DropBox_DragOver);
     
     #line default
     #line hidden
     
     #line 36 "..\..\MainWindow.xaml"
     this.dataGrid.DragLeave += new System.Windows.DragEventHandler(this.DropBox_DragLeave);
     
     #line default
     #line hidden
     return;
     case 3:
     this.StatusIndicator = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.clear_button = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.clear_button.Click += new System.Windows.RoutedEventHandler(this.clear_button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.send_button = ((System.Windows.Controls.Button)(target));
     
     #line 121 "..\..\MainWindow.xaml"
     this.send_button.Click += new System.Windows.RoutedEventHandler(this.send_button_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MyProgressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 7:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 148 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.helpbutton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.dropimage = ((System.Windows.Controls.Image)(target));
     
     #line 161 "..\..\MainWindow.xaml"
     this.dropimage.DragLeave += new System.Windows.DragEventHandler(this.DropBox_DragLeave);
     
     #line default
     #line hidden
     
     #line 162 "..\..\MainWindow.xaml"
     this.dropimage.DragOver += new System.Windows.DragEventHandler(this.DropBox_DragOver);
     
     #line default
     #line hidden
     
     #line 163 "..\..\MainWindow.xaml"
     this.dropimage.Drop += new System.Windows.DragEventHandler(this.DropBox_Drop);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainForm = ((WinDroid_Universal_HTC_Toolkit.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.MainForm.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.gainSuperCIDButton = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\MainWindow.xaml"
     this.gainSuperCIDButton.Click += new System.Windows.RoutedEventHandler(this.GetSuperCIDButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.getTokenIDButton = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.getTokenIDButton.Click += new System.Windows.RoutedEventHandler(this.GetTokenIDButton);
     
     #line default
     #line hidden
     return;
     case 4:
     this.unlockBootloaderButton = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\MainWindow.xaml"
     this.unlockBootloaderButton.Click += new System.Windows.RoutedEventHandler(this.UnlockBootloaderButton);
     
     #line default
     #line hidden
     return;
     case 5:
     this.recoveryOption1 = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.recoveryOption2 = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.recoveryOption3 = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.statusEllipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 9:
     this.statusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.refreshButton = ((System.Windows.Controls.Button)(target));
     
     #line 73 "..\..\MainWindow.xaml"
     this.refreshButton.Click += new System.Windows.RoutedEventHandler(this.refreshButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.refreshSpinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 12:
     
     #line 86 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.TogglePhoneCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 13:
     this.phoneListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 93 "..\..\MainWindow.xaml"
     this.phoneListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.phoneListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.PhoneTextBox = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 19 "..\..\MainWindow.xaml"
     ((M16Chat_Windows.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Initializing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainChannel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 109 "..\..\MainWindow.xaml"
     this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MainChatList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     this.MainChatInput = ((System.Windows.Controls.TextBox)(target));
     
     #line 123 "..\..\MainWindow.xaml"
     this.MainChatInput.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnInputPress);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 124 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnChatSend);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UsersList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.FriendsList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 9:
     this.MainSpinner = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 56
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cbMoeda = ((System.Windows.Controls.ComboBox)(target));
     
     #line 33 "..\..\UserControl1.xaml"
     this.cbMoeda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbMoeda_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtCambio = ((MahApps.Metro.Controls.NumericUpDown)(target));
     
     #line 35 "..\..\UserControl1.xaml"
     this.txtCambio.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumericUpDown_TextInput);
     
     #line default
     #line hidden
     
     #line 35 "..\..\UserControl1.xaml"
     this.txtCambio.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<double>>(this.txtCambio_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.dgPendentes = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 4:
     this.progressRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 57
-1
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 2:
     this.UserListFilter = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 3:
     this.chx_userfilter = ((System.Windows.Controls.CheckBox)(target));
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Checked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Unchecked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lbl_userCount = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.actionBar = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.btn_activateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.btn_deactivateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.btn_showAddUser = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.viewUsers = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 10:
     this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtLastName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 14:
     this.cmbUserDeparment = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.time_interval_updatenotifications = ((MahApps.Metro.Controls.NumericUpDown)(target));
     return;
     case 16:
     this.tb_emailsmtphost = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.smtpring = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 18:
     this.tb_emailfrom = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }