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

📄 gamemainwnd.g.cs

📁 经典游戏程序设计:visual c++ 上的杀人游戏源代码
💻 CS
字号:
#pragma checksum "..\..\GameMainWnd.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C3CDB4FDFA49C6F71A1AC57EB7F428F1"
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行库版本:2.0.50727.1433
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </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 KillingClientUI {
    
    
    /// <summary>
    /// GameMainWnd
    /// </summary>
    public partial class GameMainWnd : System.Windows.Window, System.Windows.Markup.IComponentConnector {
        
        
        #line 15 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.TextBox ChatBox;
        
        #line default
        #line hidden
        
        
        #line 16 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.ComboBox TargetList;
        
        #line default
        #line hidden
        
        
        #line 17 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Button Kill;
        
        #line default
        #line hidden
        
        
        #line 20 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Button Send;
        
        #line default
        #line hidden
        
        
        #line 23 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label HintofTargetSelect;
        
        #line default
        #line hidden
        
        
        #line 24 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label YourName;
        
        #line default
        #line hidden
        
        
        #line 25 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label label2;
        
        #line default
        #line hidden
        
        
        #line 26 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.RichTextBox richTextBoxChat;
        
        #line default
        #line hidden
        
        
        #line 27 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label labelClientName;
        
        #line default
        #line hidden
        
        
        #line 28 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label labelClientRole;
        
        #line default
        #line hidden
        
        
        #line 29 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Button buttonExit;
        
        #line default
        #line hidden
        
        
        #line 32 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image imageTimeFlagSun;
        
        #line default
        #line hidden
        
        
        #line 33 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image imageTimeFlagMoon;
        
        #line default
        #line hidden
        
        
        #line 35 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image image4;
        
        #line default
        #line hidden
        
        
        #line 36 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image image5;
        
        #line default
        #line hidden
        
        
        #line 37 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image image1;
        
        #line default
        #line hidden
        
        
        #line 38 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.ListView PlayerList;
        
        #line default
        #line hidden
        
        
        #line 39 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Image image3;
        
        #line default
        #line hidden
        
        
        #line 40 "..\..\GameMainWnd.xaml"
        internal System.Windows.Controls.Label label1;
        
        #line default
        #line hidden
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Uri resourceLocater = new System.Uri("/KillingClientUI;component/gamemainwnd.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\GameMainWnd.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.ChatBox = ((System.Windows.Controls.TextBox)(target));
            
            #line 15 "..\..\GameMainWnd.xaml"
            this.ChatBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.ChatBox_KeyDown);
            
            #line default
            #line hidden
            return;
            case 2:
            this.TargetList = ((System.Windows.Controls.ComboBox)(target));
            return;
            case 3:
            this.Kill = ((System.Windows.Controls.Button)(target));
            
            #line 17 "..\..\GameMainWnd.xaml"
            this.Kill.Click += new System.Windows.RoutedEventHandler(this.Kill_Click);
            
            #line default
            #line hidden
            
            #line 17 "..\..\GameMainWnd.xaml"
            this.Kill.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Kill_MouseEnter);
            
            #line default
            #line hidden
            
            #line 17 "..\..\GameMainWnd.xaml"
            this.Kill.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Kill_MouseLeave);
            
            #line default
            #line hidden
            return;
            case 4:
            this.Send = ((System.Windows.Controls.Button)(target));
            
            #line 20 "..\..\GameMainWnd.xaml"
            this.Send.Click += new System.Windows.RoutedEventHandler(this.Send_Click);
            
            #line default
            #line hidden
            
            #line 20 "..\..\GameMainWnd.xaml"
            this.Send.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Send_MouseEnter);
            
            #line default
            #line hidden
            
            #line 20 "..\..\GameMainWnd.xaml"
            this.Send.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Send_MouseLeave);
            
            #line default
            #line hidden
            return;
            case 5:
            this.HintofTargetSelect = ((System.Windows.Controls.Label)(target));
            return;
            case 6:
            this.YourName = ((System.Windows.Controls.Label)(target));
            return;
            case 7:
            this.label2 = ((System.Windows.Controls.Label)(target));
            return;
            case 8:
            this.richTextBoxChat = ((System.Windows.Controls.RichTextBox)(target));
            
            #line 26 "..\..\GameMainWnd.xaml"
            this.richTextBoxChat.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.richTextBoxChat_TextChanged);
            
            #line default
            #line hidden
            return;
            case 9:
            this.labelClientName = ((System.Windows.Controls.Label)(target));
            return;
            case 10:
            this.labelClientRole = ((System.Windows.Controls.Label)(target));
            return;
            case 11:
            this.buttonExit = ((System.Windows.Controls.Button)(target));
            
            #line 29 "..\..\GameMainWnd.xaml"
            this.buttonExit.Click += new System.Windows.RoutedEventHandler(this.buttonExit_Click);
            
            #line default
            #line hidden
            
            #line 29 "..\..\GameMainWnd.xaml"
            this.buttonExit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.buttonExit_MouseEnter);
            
            #line default
            #line hidden
            
            #line 29 "..\..\GameMainWnd.xaml"
            this.buttonExit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.buttonExit_MouseLeave);
            
            #line default
            #line hidden
            return;
            case 12:
            this.imageTimeFlagSun = ((System.Windows.Controls.Image)(target));
            return;
            case 13:
            this.imageTimeFlagMoon = ((System.Windows.Controls.Image)(target));
            return;
            case 14:
            this.image4 = ((System.Windows.Controls.Image)(target));
            return;
            case 15:
            this.image5 = ((System.Windows.Controls.Image)(target));
            return;
            case 16:
            this.image1 = ((System.Windows.Controls.Image)(target));
            return;
            case 17:
            this.PlayerList = ((System.Windows.Controls.ListView)(target));
            return;
            case 18:
            this.image3 = ((System.Windows.Controls.Image)(target));
            return;
            case 19:
            this.label1 = ((System.Windows.Controls.Label)(target));
            return;
            }
            this._contentLoaded = true;
        }
    }
}

⌨️ 快捷键说明

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