private void btnreply_Click(object sender, RoutedEventArgs e) { WebEditor we = new WebEditor(); we.Show(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindow1 = ((BsecureMailing.WebEditor)(target)); #line 7 "..\..\..\XAML\WebEditor - Copy.xaml" this.MainWindow1.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.Save = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 3: this.Undo = ((System.Windows.Controls.Ribbon.RibbonSplitButton)(target)); return; case 4: this.Redo = ((System.Windows.Controls.Ribbon.RibbonSplitButton)(target)); return; case 5: this.ClipboardGroup = ((System.Windows.Controls.Ribbon.RibbonGroup)(target)); return; case 6: this.RibbonComboboxFormat = ((System.Windows.Controls.ComboBox)(target)); #line 116 "..\..\..\XAML\WebEditor - Copy.xaml" this.RibbonComboboxFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RibbonComboboxFormat_SelectionChanged); #line default #line hidden return; case 7: this.RibbonComboboxFonts = ((System.Windows.Controls.ComboBox)(target)); #line 124 "..\..\..\XAML\WebEditor - Copy.xaml" this.RibbonComboboxFonts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RibbonComboboxFonts_SelectionChanged); #line default #line hidden return; case 8: this.RibbonComboboxFontHeight = ((System.Windows.Controls.ComboBox)(target)); #line 125 "..\..\..\XAML\WebEditor - Copy.xaml" this.RibbonComboboxFontHeight.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RibbonComboboxFontHeight_SelectionChanged); #line default #line hidden return; case 9: this.SettingsBold = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 128 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsBold.Click += new System.Windows.RoutedEventHandler(this.SettingsBold_Click); #line default #line hidden return; case 10: this.SettingsItalic = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 129 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsItalic.Click += new System.Windows.RoutedEventHandler(this.SettingsItalic_Click); #line default #line hidden return; case 11: this.SettingsUnderLine = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 130 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsUnderLine.Click += new System.Windows.RoutedEventHandler(this.SettingsUnderLine_Click); #line default #line hidden return; case 12: this.SettingsFontColor = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 131 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsFontColor.Click += new System.Windows.RoutedEventHandler(this.SettingsFontColor_Click); #line default #line hidden return; case 13: this.SettingsBackColor = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 132 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsBackColor.Click += new System.Windows.RoutedEventHandler(this.SettingsBackColor_Click); #line default #line hidden return; case 14: this.SettingsAddLink = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 133 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsAddLink.Click += new System.Windows.RoutedEventHandler(this.SettingsAddLink_Click); #line default #line hidden return; case 15: this.SettingsAddImage = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 134 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsAddImage.Click += new System.Windows.RoutedEventHandler(this.SettingsAddImage_Click); #line default #line hidden return; case 16: this.SettingsLeftAlign = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 135 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsLeftAlign.Click += new System.Windows.RoutedEventHandler(this.SettingsLeftAlign_Click); #line default #line hidden return; case 17: this.SettingsCenter2 = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 136 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsCenter2.Click += new System.Windows.RoutedEventHandler(this.SettingsCenter2_Click); #line default #line hidden return; case 18: this.SettingsRightAlign = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 137 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsRightAlign.Click += new System.Windows.RoutedEventHandler(this.SettingsJustifyRight_Click); #line default #line hidden return; case 19: this.SettingsCenter = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 138 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsCenter.Click += new System.Windows.RoutedEventHandler(this.SettingsJustifyFull_Click); #line default #line hidden return; case 20: this.SettingsNumbered = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 139 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsNumbered.Click += new System.Windows.RoutedEventHandler(this.SettingsInsertOrderedList_Click); #line default #line hidden return; case 21: this.SettingsBullets = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 140 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsBullets.Click += new System.Windows.RoutedEventHandler(this.SettingsBullets_Click); #line default #line hidden return; case 22: this.SettingsOutIdent = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 141 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsOutIdent.Click += new System.Windows.RoutedEventHandler(this.SettingsOutIdent_Click); #line default #line hidden return; case 23: this.SettingsIdent = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); #line 142 "..\..\..\XAML\WebEditor - Copy.xaml" this.SettingsIdent.Click += new System.Windows.RoutedEventHandler(this.SettingsIdent_Click); #line default #line hidden return; case 24: this.attach = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 25: this.attacsh = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 26: this.EditWeb1 = ((System.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 27: this.UIPanel = ((System.Windows.Controls.Grid)(target)); return; case 28: this.webBrowserEditor = ((BsecureMailing.WPFWebBrowser)(target)); return; case 29: this.HtmlEditor1 = ((BsecureMailing.HtmlEditor)(target)); return; } this._contentLoaded = true; }
private void btnreply_MouseDoubleClick(object sender, MouseButtonEventArgs e) { WebEditor we = new WebEditor(); we.Show(); }