private void btn_select2_Click(object sender, RoutedEventArgs e) { btn_select_type = 1; RouteShow rs = new RouteShow() { isForSelect = true, dpIndex = this }; rs.ShowDialog(); }
public Tuple <string, RouteShow> BuildRouteShowPacket(bool show) { RouteShow obj = new RouteShow() { id = "route/show", data = new Data7() { show = show } }; string json = JsonConvert.SerializeObject(obj); return(new Tuple <string, RouteShow>(json, obj)); }