コード例 #1
0
        protected virtual void AddModifierSeparator()
        {
            ModifierSeparatorBlock sep = new ModifierSeparatorBlock();

            sep.Hidden = true;
            this.Add(sep);
        }
コード例 #2
0
        protected override void OnKeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
        {
            if (!char.IsLetterOrDigit(e.KeyChar))
            {
                return;
            }

            using (Redrawer r = new Redrawer(this.Root))
            {
                ModifierSeparatorBlock prev = this.Prev as ModifierSeparatorBlock;
                this.Delete();
                if (prev != null)
                {
                    prev.MyControl.OnKeyPress(e);
                }
            }
        }
コード例 #3
0
 protected virtual void AddModifierSeparator()
 {
     ModifierSeparatorBlock sep = new ModifierSeparatorBlock();
     sep.Hidden = true;
     this.Add(sep);
 }