コード例 #1
0
        private void ListBoxRoutesPeople_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Route route = (Route)ListBoxRoutesPeople.SelectedItem;

            if (route.status.idstatus == 1)
            {
                Status s = dals.GetStatus(2);
                dalro.ChangeStatus(s, route);
            }
            else if (route.status.idstatus == 2)
            {
                Status s = dals.GetStatus(1);
                dalro.ChangeStatus(s, route);
            }
        }