window1.g.cs

来自「C#高级编程第6版随书源代码 值得下载」· CS 代码 · 共 131 行

CS
131
字号
#pragma checksum "..\..\Window1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4BDAE3050209E4FF11FF1347594F0407"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1378
//
//     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 ServiceControl {
    
    
    /// <summary>
    /// ServiceControlWindow
    /// </summary>
    public partial class ServiceControlWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        internal System.Windows.Controls.Grid grid1;
        
        internal System.Windows.Controls.TextBox textDisplayName;
        
        internal System.Windows.Controls.TextBox textStatus;
        
        internal System.Windows.Controls.TextBox textType;
        
        internal System.Windows.Controls.TextBox textName;
        
        internal System.Windows.Controls.Button buttonStart;
        
        internal System.Windows.Controls.Button buttonStop;
        
        internal System.Windows.Controls.Button buttonPause;
        
        internal System.Windows.Controls.Button buttonContinue;
        
        internal System.Windows.Controls.Button buttonRefresh;
        
        internal System.Windows.Controls.Button buttonExit;
        
        internal System.Windows.Controls.ListBox listBoxServices;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/ServiceControl;component/window1.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\Window1.xaml"
            System.Windows.Application.LoadComponent(this, resourceLocater);
            
            #line default
            #line hidden
        }
        
        [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.grid1 = ((System.Windows.Controls.Grid)(target));
            return;
            case 2:
            this.textDisplayName = ((System.Windows.Controls.TextBox)(target));
            return;
            case 3:
            this.textStatus = ((System.Windows.Controls.TextBox)(target));
            return;
            case 4:
            this.textType = ((System.Windows.Controls.TextBox)(target));
            return;
            case 5:
            this.textName = ((System.Windows.Controls.TextBox)(target));
            return;
            case 6:
            this.buttonStart = ((System.Windows.Controls.Button)(target));
            return;
            case 7:
            this.buttonStop = ((System.Windows.Controls.Button)(target));
            return;
            case 8:
            this.buttonPause = ((System.Windows.Controls.Button)(target));
            return;
            case 9:
            this.buttonContinue = ((System.Windows.Controls.Button)(target));
            return;
            case 10:
            this.buttonRefresh = ((System.Windows.Controls.Button)(target));
            return;
            case 11:
            this.buttonExit = ((System.Windows.Controls.Button)(target));
            return;
            case 12:
            this.listBoxServices = ((System.Windows.Controls.ListBox)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }
}

⌨️ 快捷键说明

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