This action will force synchronization from wxd_tony1984/DevelopAssistant, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace ICSharpCode.WinFormsUI.Controls{[ToolboxItem(false)]public partial class TextBoxBase : UserControl{protected string text = "";protected string version = "1.0.0";protected bool editModel = false;protected DocumentType documentType = DocumentType.Text;public override string Text{get{return text;}set{text = value;}}public virtual DocumentType DocumentType{get { return documentType; }set{documentType = value;}}public virtual bool EditModel{get { return editModel; }set { editModel = value; }}public virtual void OnPropertyChanged(){}public void ShowAbout(){var control = this.Parent;var baseType = control.GetType().BaseType;if (baseType.Name == "TextBoxBase"){control = control.Parent;baseType = control.GetType().BaseType;}if (baseType.Name == "Control"){control = control.Parent;baseType = control.GetType().BaseType;}if (baseType.Name == "BaseForm"){AboutForm about = new AboutForm();about.ShowDialog(control);}else if (baseType.Name == "DockContent"){MessageBox.Show(this, "当前版本号:" + version + " ", "关于", MessageBoxButtons.OK, MessageBoxIcon.Information);}}public TextBoxBase(){InitializeComponent();}public virtual void ReleaseDispose(){}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。