⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window1.g.cs

📁 an Opened XML writer for writing, reading XML file
💻 CS
字号:
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;


namespace OpenXMLWriter {
    
    
    /// <summary>
    /// Window1
    /// </summary>
    public partial class Window1 : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        internal System.Windows.Controls.StackPanel mainPanel;
        
        internal System.Windows.Controls.Menu mainMenuBar;
        
        internal System.Windows.Controls.MenuItem SpellCheckMenuItem;
        
        internal System.Windows.Controls.ToolBar mainToolBar;
        
        internal System.Windows.Controls.ComboBox cb;
        
        internal System.Windows.Controls.ComboBox cbsize;
        
        internal System.Windows.Controls.ComboBox cbcolor;
        
        internal System.Windows.Controls.RichTextBox mainRichTextBox;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/OpenXMLWriter;component/window1.xaml", System.UriKind.Relative);
            System.Windows.Application.LoadComponent(this, resourceLocater);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            this.mainPanel = ((System.Windows.Controls.StackPanel)(target));
            return;
            case 2:
            this.mainMenuBar = ((System.Windows.Controls.Menu)(target));
            return;
            case 3:
            
            #line 29 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear);
            
            #line default
            #line hidden
            return;
            case 4:
            
            #line 32 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFile);
            
            #line default
            #line hidden
            return;
            case 5:
            
            #line 35 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFile);
            
            #line default
            #line hidden
            return;
            case 6:
            
            #line 38 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveOpenXML);
            
            #line default
            #line hidden
            return;
            case 7:
            
            #line 41 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PrintContent);
            
            #line default
            #line hidden
            return;
            case 8:
            
            #line 44 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit);
            
            #line default
            #line hidden
            return;
            case 9:
            
            #line 50 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoUndo);
            
            #line default
            #line hidden
            return;
            case 10:
            
            #line 53 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoRedo);
            
            #line default
            #line hidden
            return;
            case 11:
            
            #line 58 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoCut);
            
            #line default
            #line hidden
            return;
            case 12:
            
            #line 61 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoCopy);
            
            #line default
            #line hidden
            return;
            case 13:
            
            #line 64 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoPaste);
            
            #line default
            #line hidden
            return;
            case 14:
            
            #line 68 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoSelectAll);
            
            #line default
            #line hidden
            return;
            case 15:
            this.SpellCheckMenuItem = ((System.Windows.Controls.MenuItem)(target));
            
            #line 72 "..\..\Window1.xaml"
            this.SpellCheckMenuItem.Click += new System.Windows.RoutedEventHandler(this.ToggleSpellCheck);
            
            #line default
            #line hidden
            return;
            case 16:
            
            #line 79 "..\..\Window1.xaml"
            ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DoAbout);
            
            #line default
            #line hidden
            return;
            case 17:
            this.mainToolBar = ((System.Windows.Controls.ToolBar)(target));
            return;
            case 18:
            this.cb = ((System.Windows.Controls.ComboBox)(target));
            
            #line 88 "..\..\Window1.xaml"
            this.cb.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontChanged);
            
            #line default
            #line hidden
            return;
            case 19:
            this.cbsize = ((System.Windows.Controls.ComboBox)(target));
            
            #line 90 "..\..\Window1.xaml"
            this.cbsize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontSizeChanged);
            
            #line default
            #line hidden
            return;
            case 20:
            this.cbcolor = ((System.Windows.Controls.ComboBox)(target));
            
            #line 92 "..\..\Window1.xaml"
            this.cbcolor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontColorChanged);
            
            #line default
            #line hidden
            return;
            case 21:
            this.mainRichTextBox = ((System.Windows.Controls.RichTextBox)(target));
            
            #line 148 "..\..\Window1.xaml"
            this.mainRichTextBox.SelectionChanged += new System.Windows.RoutedEventHandler(this.TextSelectionChanged);
            
            #line default
            #line hidden
            return;
            }
            this._contentLoaded = true;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -