private void m_actionPanel_OnDeleteAddressCollection(object sender, RoutingMatrixEventArgs e) { DeleteAddressCollectionState state = StateMachine.GetState(StateTypeEnum.DeleteAddressCollection) as DeleteAddressCollectionState; state.Channel = e.Channel; state.AddressGroup = e.AddressGroup; state.AddressCollection = e.AddressCollection; StateMachine.SetState(state); }
private void m_actionPanel_OnAddAddressCollection(object sender, RoutingMatrixEventArgs e) { AddAddressCollectionState state = StateMachine.GetState(StateTypeEnum.AddAddressCollection) as AddAddressCollectionState; state.CollectionFormParent = m_actionPanel.RightPanel; state.Channel = e.Channel; state.AddressGroup = e.AddressGroup; StateMachine.SetState(state); }
private void m_actionPanel_OnEditAddressCollection(object sender, RoutingMatrixEventArgs e) { EditRoutingDetailState state = StateMachine.GetState(StateTypeEnum.EditRoutingDetail) as EditRoutingDetailState; state.CollectionFormParent = m_actionPanel.RightPanel; state.Channel = e.Channel; state.AddressGroup = e.AddressGroup; state.RoutingItemCollection = e.AddressCollection; StateMachine.SetState(state); }