Example #1
0
        void stationTabs_SelectedPageChanged(object sender, DevExpress.XtraTab.TabPageChangedEventArgs e)
        {
            if (e.Page.Name == "transitionsPage")
            {
                m_station.MapOutcomeTransitions
                    (Scout.Core.Service <IShopfloorService>().GetAllStationOutcomes(m_unitOfWork));

                transitionsGrid.DataSource = m_station.OutcomeTransitions;

                nextStationSelList.DataSource    = m_station.ServiceRoute.IncludedStations;
                nextStationSelList.ValueMember   = "This";
                nextStationSelList.DisplayMember = "Name";
            }
        }