profilecontrolbase.cs

来自「破解的飞信源代码」· CS 代码 · 共 62 行

CS
62
字号
namespace Imps.Client.Pc.Provsion2
{
    using Imps.Client.Core;
    using System;
    using System.ComponentModel;
    using System.Windows.Forms;

    public class ProfileControlBase : UserControl
    {
        protected string _errorMessage;
        protected ProvsionData _pdata;
        private IContainer components;

        public ProfileControlBase()
        {
            this.InitializeComponent();
        }

        public ProfileControlBase(ProvsionData pdata) : this()
        {
            this._pdata = pdata;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        public virtual bool GetValidData()
        {
            return false;
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            base.set_AutoScaleMode(1);
        }

        public virtual string ErrorMessage
        {
            get
            {
                return this._errorMessage;
            }
        }

        public virtual int ID
        {
            get
            {
                return 0;
            }
        }
    }
}

⌨️ 快捷键说明

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