form1.cs

来自「微软(Microsoft)出版社C井练习文件及解答」· CS 代码 · 共 34 行

CS
34
字号
#region Using directives

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;

#endregion

namespace Delegates
{
    partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            clock = new Clock(digital);
        }

        private void start_Click(object sender, System.EventArgs e)
        {
            this.clock.Start();
        }

        private void stop_Click(object sender, System.EventArgs e)
        {
            this.clock.Stop();
        }

        private Clock clock;
    }
}

⌨️ 快捷键说明

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