📄 tasklistview.cs
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
using System;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsMobile.PocketOutlook;
namespace Microsoft.WindowsMobile.Samples.ControlLibrary
{
/// <summary>
/// A list view of tasks that fires an event when a task is selected.
/// </summary>
public partial class TaskListView : Microsoft.WindowsMobile.Samples.ControlLibrary.PimItemListView
{
/// <summary>
/// Default constructor
/// </summary>
public TaskListView()
{
InitializeComponent();
}
/// <summary>
/// Collection of tasks to be included in the ListView.
/// </summary>
public TaskCollection Tasks
{
set
{
this.PimItems = value;
}
}
/// <summary>
/// Get/Set the property for the first label of a pimItem
/// </summary>
public Microsoft.WindowsMobile.PocketOutlook.TaskProperty PimItemProperty1
{
get
{
return (TaskProperty) property1;
}
set
{
property1 = (ContactProperty) value;
}
}
/// <summary>
/// Get/Set the property for the second label of a pimItem
/// </summary>
public Microsoft.WindowsMobile.PocketOutlook.TaskProperty PimItemProperty2
{
get
{
return (TaskProperty) property2;
}
set
{
property2 = (ContactProperty) value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -