コード例 #1
0
        private void AttachViewEvent()
        {
            AccountSetItemEditor itemEditor = new AccountSetItemEditor(_IAccountSetView);

            _IAccountSetView.btnCopyEvent      += itemEditor.btnCopyEvent;
            _IAccountSetView.ActionButtonEvent += DeleteEvent;
            _IAccountSetView.CancelButtonEvent += CancelEvent;
        }
コード例 #2
0
        private void AttachViewEvent()
        {
            AccountSetItemEditor itemEditor = new AccountSetItemEditor(_IAccountSetView);

            _IAccountSetView.ActionButtonEvent += AddEvent;
            _IAccountSetView.btnCopyEvent      += itemEditor.btnCopyEvent;
            _IAccountSetView.btnPasteEvent     += itemEditor.btnPasteEvent;
            _IAccountSetView.CancelButtonEvent += CancelEvent;

            _IAccountSetView.txtAccountSetParaChangedForAddEvent    += itemEditor.txtAccountSetParaChangedForAddEvent;
            _IAccountSetView.txtAccountSetParaChangedForUpdateEvent += itemEditor.txtAccountSetParaChangedForUpdateEvent;

            _IAccountSetView.lbDeleteItemEvent += itemEditor.DeleteItemEvent;
            _IAccountSetView.lbAddNewItemEvent += itemEditor.AddNewItemEvent;
            _IAccountSetView.lbUpItemEvent     += itemEditor.UpItemEvent;
            _IAccountSetView.lbDownItemEvent   += itemEditor.DownItemEvent;
        }