wizardpanel.cs

来自「Fireball.CodeEditor is an source code ed」· CS 代码 · 共 69 行

CS
69
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Fireball.Windows.Forms.Dialogs
{
	public class WizardPanel : UserControl
	{
        public virtual event EventHandler PanelStateChange;

		public WizardPanel()
		{
			this.Dock = DockStyle.Fill;
		}

		protected override void OnLoad(EventArgs e)
		{
			base.OnLoad(e);
			
		}

		public override DockStyle Dock
		{
			get
			{
				return base.Dock;
			}
			set
			{
				//base.Dock = DockStyle.Fill;
			}
		}

		private void InitializeComponent()
		{
			this.SuspendLayout();
			// 
			// WizardPanel
			// 
			this.Name = "WizardPanel";
			this.Size = new System.Drawing.Size(187, 158);
			this.ResumeLayout(false);

		}

		internal void SetDock()
		{
			base.Dock = DockStyle.Fill;
		}

        public virtual bool CanGoNext
        {
            get
            {
                return true;
            }
        }

        public virtual bool CanGoBack
        {
            get
            {
                return true;
            }
        }
	}
}

⌨️ 快捷键说明

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