?? mainform.cs
字號:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;
using System.Diagnostics;
namespace UsingDocumentList
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void m_documentList_DocumentActivated(object sender, DocumentListEventArgs e)
{
m_statusBar.Text = String.Format("'{0}' has been activated.", e.Path);
Process.Start(e.Path, null);
}
private void m_documentList_DeletingDocument(object sender, DocumentListEventArgs e)
{
m_statusBar.Text = String.Format("'{0}' has been deleted.", e.Path);
}
private void m_documentList_SelectedDirectoryChanged(object sender, EventArgs e)
{
m_statusBar.Text = String.Format("Changed directory to: '{0}'.", m_documentList.SelectedDirectory);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -