protected void Raise_PerformMemberAction(MemberActionEventArgs args)
        {
            MemberActionEventHandler handler = this.OnPerformMemberAction;

            if (handler != null)
            {
                handler(this, args);
            }
        }
Esempio n. 2
0
        public void Raise_DrillDownMember(MemberActionType action)
        {
            MemberActionEventHandler handler = this.DrillDownMember;

            if (handler != null)
            {
                if (this is ColumnMemberControl)
                {
                    handler(this, new MemberActionEventArgs(0, this.Member, action));
                }
                if (this is RowMemberControl)
                {
                    handler(this, new MemberActionEventArgs(1, this.Member, action));
                }
            }
        }