public static DialogResult ShowSetting(StopwatchControl control)
 {
     using (var dlg = new StopwatchConfigDialog(control))
     {
         return dlg.ShowDialog();
     }
 }
        private StopwatchConfigDialog(StopwatchControl control)
            : this()
        {
            if (control == null)
                throw new ArgumentNullException("control", "构造函数中的参数control不能为空.");

            this._StopwatchControl = control;
        }