public void InitEvent(EZValueChangedDelegate PreEvent, EZValueChangedDelegate NextEvent, REFRESH_VOIDFUC ReflashEvent) { Button expr_06 = this.mPreBtn; expr_06.Click = (EZValueChangedDelegate)Delegate.Combine(expr_06.Click, (EZValueChangedDelegate)Delegate.Combine(PreEvent, new EZValueChangedDelegate(this.Pre_DecrePage))); Button expr_38 = this.mNextBtn; expr_38.Click = (EZValueChangedDelegate)Delegate.Combine(expr_38.Click, (EZValueChangedDelegate)Delegate.Combine(NextEvent, new EZValueChangedDelegate(this.Next_IncrePage))); this.Refresh = ReflashEvent; }
public void CreatePage(Button Pre, Button Next, REFRESH_VOIDFUC ReflashEvent) { this.mPreBtn = Pre; this.mNextBtn = Next; this.InitEvent(null, null, ReflashEvent); }
public NrPage(Button Pre, Button Next, REFRESH_VOIDFUC ReflashEvent) { this.CreatePage(Pre, Next, ReflashEvent); }