customercommentsview.xaml.cs

来自「wpf和cab的结合使用源码(转载)」· CS 代码 · 共 39 行

CS
39
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Practices.CompositeUI;
using Microsoft.Practices.CompositeUI.SmartParts;
using BankTellerCommon;

namespace BankTellerModule
{
	/// <summary>
	/// Interaction logic for CustomerCommentsView.xaml
	/// </summary>
	[SmartPart]
	public partial class CustomerCommentsView : System.Windows.Controls.UserControl
	{
		[State]
		public Customer Customer
		{
			set
			{
				DataContext = value;
			}
		}

		public CustomerCommentsView()
		{
			InitializeComponent();
		}
	}
}

⌨️ 快捷键说明

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