Mono.Terminal.CheckBox.ProcessKey C# (CSharp) 메소드

ProcessKey() 공개 메소드

public ProcessKey ( int c ) : bool
c int
리턴 bool
        public override bool ProcessKey(int c)
        {
            if (c == ' '){
                Checked = !Checked;

                if (Toggled != null)
                    Toggled (this, EventArgs.Empty);

                Redraw();
                return true;
            }
            return false;
        }