Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SMWidgetForm = ((Rapid_Reporter.SMWidget)(target));
     
     #line 3 "..\..\SMWidget.xaml"
     this.SMWidgetForm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SMWidget_LeftButtonDown);
     
     #line default
     #line hidden
     
     #line 3 "..\..\SMWidget.xaml"
     this.SMWidgetForm.GotFocus += new System.Windows.RoutedEventHandler(this.SMWidgetForm_GotFocus);
     
     #line default
     #line hidden
     
     #line 3 "..\..\SMWidget.xaml"
     this.SMWidgetForm.Loaded += new System.Windows.RoutedEventHandler(this.SMWidgetForm_Loaded);
     
     #line default
     #line hidden
     
     #line 3 "..\..\SMWidget.xaml"
     this.SMWidgetForm.Closed += new System.EventHandler(this.SMWidgetForm_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cm = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 3:
     this.TimerMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 4:
     this.t60 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 10 "..\..\SMWidget.xaml"
     this.t60.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);
     
     #line default
     #line hidden
     
     #line 10 "..\..\SMWidget.xaml"
     this.t60.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.t90 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 11 "..\..\SMWidget.xaml"
     this.t90.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);
     
     #line default
     #line hidden
     
     #line 11 "..\..\SMWidget.xaml"
     this.t90.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.t120 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 12 "..\..\SMWidget.xaml"
     this.t120.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);
     
     #line default
     #line hidden
     
     #line 12 "..\..\SMWidget.xaml"
     this.t120.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.t0 = ((System.Windows.Controls.MenuItem)(target));
     
     #line 13 "..\..\SMWidget.xaml"
     this.t0.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);
     
     #line default
     #line hidden
     
     #line 13 "..\..\SMWidget.xaml"
     this.t0.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ChangeAccount = ((System.Windows.Controls.MenuItem)(target));
     
     #line 17 "..\..\SMWidget.xaml"
     this.ChangeAccount.Click += new System.Windows.RoutedEventHandler(this.ChangeAccount_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.OpenFolder = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.FolderName = ((System.Windows.Controls.MenuItem)(target));
     
     #line 24 "..\..\SMWidget.xaml"
     this.FolderName.Click += new System.Windows.RoutedEventHandler(this.WorkingFolder_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.AboutBox = ((System.Windows.Controls.MenuItem)(target));
     
     #line 27 "..\..\SMWidget.xaml"
     this.AboutBox.Click += new System.Windows.RoutedEventHandler(this.AboutBox_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.TransparencySlide = ((System.Windows.Controls.Slider)(target));
     
     #line 37 "..\..\SMWidget.xaml"
     this.TransparencySlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.TransparencySlide_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.ScreenShot = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\SMWidget.xaml"
     this.ScreenShot.Click += new System.Windows.RoutedEventHandler(this.ScreenShot_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.ScreenShotIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.RTFNoteBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 42 "..\..\SMWidget.xaml"
     this.RTFNoteBtn.Click += new System.Windows.RoutedEventHandler(this.RTFNote_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.RTFNoteBtnIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 17:
     this.Flickr = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 46 "..\..\SMWidget.xaml"
     this.Flickr.Click += new System.Windows.RoutedEventHandler(this.Flickr_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.FlickrIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 19:
     this.Twitter = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 52 "..\..\SMWidget.xaml"
     this.Twitter.Click += new System.Windows.RoutedEventHandler(this.Twitter_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.TwitterIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 21:
     this.ProgressBackground = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 22:
     this.nextType = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.prevType = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.NoteType = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.NoteContent = ((System.Windows.Controls.TextBox)(target));
     
     #line 66 "..\..\SMWidget.xaml"
     this.NoteContent.KeyUp += new System.Windows.Input.KeyEventHandler(this.NoteContent_KeyUp);
     
     #line default
     #line hidden
     return;
     case 26:
     this.NoteHistory = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 27:
     this.FlickrInlogg = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.currentTwitterAccount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.timeralarm = ((System.Windows.Controls.Image)(target));
     
     #line 75 "..\..\SMWidget.xaml"
     this.timeralarm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.timeralarm_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 30:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     
     #line 92 "..\..\SMWidget.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.charCounter = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SMWidgetForm = ((Rapid_Reporter.SMWidget)(target));

            #line 3 "..\..\SMWidget.xaml"
                this.SMWidgetForm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SMWidget_LeftButtonDown);

            #line default
            #line hidden

            #line 3 "..\..\SMWidget.xaml"
                this.SMWidgetForm.GotFocus += new System.Windows.RoutedEventHandler(this.SMWidgetForm_GotFocus);

            #line default
            #line hidden

            #line 3 "..\..\SMWidget.xaml"
                this.SMWidgetForm.Loaded += new System.Windows.RoutedEventHandler(this.SMWidgetForm_Loaded);

            #line default
            #line hidden

            #line 3 "..\..\SMWidget.xaml"
                this.SMWidgetForm.Closed += new System.EventHandler(this.SMWidgetForm_Closed);

            #line default
            #line hidden
                return;

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

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

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

            #line 10 "..\..\SMWidget.xaml"
                this.t60.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);

            #line default
            #line hidden

            #line 10 "..\..\SMWidget.xaml"
                this.t60.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\SMWidget.xaml"
                this.t90.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);

            #line default
            #line hidden

            #line 11 "..\..\SMWidget.xaml"
                this.t90.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\SMWidget.xaml"
                this.t120.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);

            #line default
            #line hidden

            #line 12 "..\..\SMWidget.xaml"
                this.t120.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\SMWidget.xaml"
                this.t0.Click += new System.Windows.RoutedEventHandler(this.ProgressTimer_Click);

            #line default
            #line hidden

            #line 13 "..\..\SMWidget.xaml"
                this.t0.Checked += new System.Windows.RoutedEventHandler(this.timer_Checked);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\SMWidget.xaml"
                this.ChangeAccount.Click += new System.Windows.RoutedEventHandler(this.ChangeAccount_Click);

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\SMWidget.xaml"
                this.FolderName.Click += new System.Windows.RoutedEventHandler(this.WorkingFolder_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\SMWidget.xaml"
                this.AboutBox.Click += new System.Windows.RoutedEventHandler(this.AboutBox_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.TransparencySlide = ((System.Windows.Controls.Slider)(target));

            #line 37 "..\..\SMWidget.xaml"
                this.TransparencySlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.TransparencySlide_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\SMWidget.xaml"
                this.ScreenShot.Click += new System.Windows.RoutedEventHandler(this.ScreenShot_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.ScreenShotIcon = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 43 "..\..\SMWidget.xaml"
                this.ToggleUpload.Click += new System.Windows.RoutedEventHandler(this.ToggleUpload_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.ToggleUploadIcon = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 49 "..\..\SMWidget.xaml"
                this.RTFNoteBtn.Click += new System.Windows.RoutedEventHandler(this.RTFNote_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.RTFNoteBtnIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.ProgressBackground = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

            #line 57 "..\..\SMWidget.xaml"
                this.NoteType.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NoteType_TextChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.FlickrInlogg = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.AuthenticateMe = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.NoteContent = ((System.Windows.Controls.TextBox)(target));

            #line 60 "..\..\SMWidget.xaml"
                this.NoteContent.KeyUp += new System.Windows.Input.KeyEventHandler(this.NoteContent_KeyUp);

            #line default
            #line hidden
                return;

            case 26:
                this.NoteHistory = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 27:
                this.timeralarm = ((System.Windows.Controls.Image)(target));

            #line 65 "..\..\SMWidget.xaml"
                this.timeralarm.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.timeralarm_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 65 "..\..\SMWidget.xaml"
                this.timeralarm.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.timeralarm_ImageFailed);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\SMWidget.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

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