Backup1/MyFriends/Controls/AddNewFriendControl.xaml.cs
(开头部分) 14KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Linq;
using System.Data.Linq;
using System.Xml.Linq;
using System.Xml;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Windows.Interop;
namespace MyFriends
{
public partial class AddNewFriendControl
{
private FriendContent friendContent;
private bool initialising = false;
#region Routed Events
/// <summary>
/// FriendAddedEvent路由事件, 当用户单击添加联系人按钮时触发事件
/// </summary>
public static readonly RoutedEvent FriendAddedEvent =
EventManager.RegisterRoutedEvent(
"FriendAddedEvent", RoutingStrategy.Bubble, typeof(RoutedEventHandler),
typeof(AddNewFriendControl));
/// <summary>
///供外部源进行访问的事件属性
/// </summary>
public event RoutedEventHandler FriendAdded
{
add { AddHandler(FriendAddedEvent, value); }
remove { RemoveHandler(FriendAddedEvent, value); }
}
#endregion
public AddNewFriendControl()
{
this.InitializeComponent();
friendContent = FriendContent.Instance();
}
public void ReInitialise()
{
后面还有 257 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
