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

📄 calculatorhostwindow.g.cs

📁 C#高级编程第6版随书源代码 值得下载
💻 CS
字号:
#pragma checksum "..\..\CalculatorHostWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F973B924CF4BF85CA42F9996B3B331FF"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1433
//
//     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 Wrox.ProCSharp.AddIns {
    
    
    /// <summary>
    /// CalculatorHostWindow
    /// </summary>
    public partial class CalculatorHostWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
        
        
        #line 47 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Button rebuildStore;
        
        #line default
        #line hidden
        
        
        #line 48 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Button updateStore;
        
        #line default
        #line hidden
        
        
        #line 49 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Button refresh;
        
        #line default
        #line hidden
        
        
        #line 50 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Button exit;
        
        #line default
        #line hidden
        
        
        #line 54 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.ListBox listAddIns;
        
        #line default
        #line hidden
        
        
        #line 57 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.ListBox listOperations;
        
        #line default
        #line hidden
        
        
        #line 61 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.ListBox listOperands;
        
        #line default
        #line hidden
        
        
        #line 64 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Button buttonCalculate;
        
        #line default
        #line hidden
        
        
        #line 66 "..\..\CalculatorHostWindow.xaml"
        internal System.Windows.Controls.Label labelResult;
        
        #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("/HostAppWPF;component/calculatorhostwindow.xaml", System.UriKind.Relative);
            
            #line 1 "..\..\CalculatorHostWindow.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 3:
            this.rebuildStore = ((System.Windows.Controls.Button)(target));
            
            #line 47 "..\..\CalculatorHostWindow.xaml"
            this.rebuildStore.Click += new System.Windows.RoutedEventHandler(this.RebuildStore);
            
            #line default
            #line hidden
            return;
            case 4:
            this.updateStore = ((System.Windows.Controls.Button)(target));
            
            #line 48 "..\..\CalculatorHostWindow.xaml"
            this.updateStore.Click += new System.Windows.RoutedEventHandler(this.UpdateStore);
            
            #line default
            #line hidden
            return;
            case 5:
            this.refresh = ((System.Windows.Controls.Button)(target));
            
            #line 49 "..\..\CalculatorHostWindow.xaml"
            this.refresh.Click += new System.Windows.RoutedEventHandler(this.RefreshAddIns);
            
            #line default
            #line hidden
            return;
            case 6:
            this.exit = ((System.Windows.Controls.Button)(target));
            
            #line 50 "..\..\CalculatorHostWindow.xaml"
            this.exit.Click += new System.Windows.RoutedEventHandler(this.App_Exit);
            
            #line default
            #line hidden
            return;
            case 7:
            this.listAddIns = ((System.Windows.Controls.ListBox)(target));
            return;
            case 8:
            this.listOperations = ((System.Windows.Controls.ListBox)(target));
            return;
            case 9:
            this.listOperands = ((System.Windows.Controls.ListBox)(target));
            return;
            case 10:
            this.buttonCalculate = ((System.Windows.Controls.Button)(target));
            
            #line 64 "..\..\CalculatorHostWindow.xaml"
            this.buttonCalculate.Click += new System.Windows.RoutedEventHandler(this.Calculate);
            
            #line default
            #line hidden
            return;
            case 11:
            this.labelResult = ((System.Windows.Controls.Label)(target));
            return;
            }
            this._contentLoaded = true;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
            switch (connectionId)
            {
            case 1:
            
            #line 11 "..\..\CalculatorHostWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ActivateAddIn);
            
            #line default
            #line hidden
            break;
            case 2:
            
            #line 24 "..\..\CalculatorHostWindow.xaml"
            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OperationSelected);
            
            #line default
            #line hidden
            break;
            }
        }
    }
}

⌨️ 快捷键说明

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