Avances recogida
parent
a00cf8f276
commit
3003ce7cfd
|
|
@ -40,7 +40,7 @@
|
|||
ItemContainerStyle="{DynamicResource Esri_ListBoxItemHighlightBrush}" Margin="20,10,0,0" VerticalAlignment="Top" Width="260">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ListBoxItem IsEnabled="{Binding IsEnabled}">
|
||||
<ListBoxItem IsEnabled="{Binding IsEnabled}" >
|
||||
<CheckBox IsChecked="{Binding IsChecked}" Content="{Binding Path=Item}" />
|
||||
</ListBoxItem>
|
||||
</DataTemplate>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
SelectedIndex="{Binding Path=TipoFrac, Mode = TwoWay}" SelectionChanged="comboBox_frac_SelectionChanged">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ComboBoxItem IsEnabled="{Binding IsEnabled}"/>
|
||||
<ComboBoxItem IsEnabled="{Binding IsEnabled}" Content="{Binding Path=Item}"/>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
|
@ -53,7 +53,13 @@
|
|||
</Grid.ColumnDefinitions>
|
||||
<ComboBox x:Name="comboBox_tipoCarg" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" ItemsSource="{Binding Path=TiposCarg, Mode = TwoWay}" HorizontalAlignment="Left" Margin="0,0,0,0"
|
||||
VerticalAlignment="Top" Width="150"
|
||||
SelectedIndex="{Binding Path=TipoCarg, Mode = TwoWay}" SelectionChanged="comboBox_tipoCarg_SelectionChanged"/>
|
||||
SelectedIndex="{Binding Path=TipoCarg, Mode = TwoWay}" SelectionChanged="comboBox_tipoCarg_SelectionChanged">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ComboBoxItem IsEnabled="{Binding IsEnabled}" Content="{Binding Path=Item}"/>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
<ComboBox x:Name="comboBox_tipoLat" IsEnabled="{Binding Path=CapaAbierta, Mode = TwoWay}" Visibility="{Binding Path=VisCombLate, Mode = TwoWay}" Grid.Column="1" ItemsSource="{Binding Path=TiposLate, Mode = TwoWay}" HorizontalAlignment="Left" Margin="10,0,0,0"
|
||||
VerticalAlignment="Top" Width="90"
|
||||
SelectedIndex="{Binding Path=TipoLate, Mode = TwoWay}" SelectionChanged="comboBox_tipoLat_SelectionChanged"/>
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ namespace OliviaAddInPro
|
|||
set
|
||||
{
|
||||
ambitos = value;
|
||||
base.NotifyPropertyChanged("OpsAmbs");
|
||||
base.NotifyPropertyChanged("Ambitos");
|
||||
}
|
||||
}
|
||||
public bool[] AmbitosSel
|
||||
|
|
|
|||
|
|
@ -202,14 +202,15 @@ namespace OliviaAddInPro
|
|||
base.NotifyPropertyChanged("EnabComboCapac");
|
||||
}
|
||||
}
|
||||
private bool enabComboCapacFrac
|
||||
private bool enabComboCapacFrac = true;
|
||||
public bool EnabComboCapacFrac
|
||||
{
|
||||
get { return enabComboCapacFrac; }
|
||||
set
|
||||
{
|
||||
enabComboCapacFrac = value;
|
||||
base.NotifyPropertyChanged("EnabComboCapac");
|
||||
base.NotifyPropertyChanged("EnabComboCapacFrac");
|
||||
base.NotifyPropertyChanged("EnabComboCapac");
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
@ -337,7 +338,8 @@ namespace OliviaAddInPro
|
|||
}
|
||||
for(i=0;i< RecogidaDef.tipos_fracc_str.Length;i++)
|
||||
{
|
||||
TiposFrac.Add(new EnabledComboBoxItem<string>(RecogidaDef.tipos_fracc_str[i], tipos_fracc_bool[i]));
|
||||
TiposFrac.Add(new EnabledComboBoxItem<string>(RecogidaDef.tipos_fracc_str[i]));
|
||||
TiposFrac.ElementAt(i).IsEnabled= tipos_fracc_bool[i];
|
||||
}
|
||||
}
|
||||
public void rellenaCarg(ObservableCollection<string> valores)
|
||||
|
|
@ -376,7 +378,8 @@ namespace OliviaAddInPro
|
|||
}
|
||||
for (i = 0; i < RecogidaDef.tipos_carg_str.Length; i++)
|
||||
{
|
||||
TiposCarg.Add(new EnabledComboBoxItem<string>(RecogidaDef.tipos_carg_str[i], tipos_carg_bool[i]));
|
||||
TiposCarg.Add(new EnabledComboBoxItem<string>(RecogidaDef.tipos_carg_str[i]));
|
||||
TiposCarg.ElementAt(i).IsEnabled =tipos_carg_bool[i];
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue