Ejemplo n.º 1
0
 private void cb_host_marks_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     this.cb_assembly_marks.ItemsSource =
         m_rebars.GetAssemblies((string)this.cb_partitions.SelectedValue,
                                (string)this.cb_host_marks.SelectedValue);
     this.cb_assembly_marks.SelectedIndex = 0;
 }
Ejemplo n.º 2
0
 internal ComboScheduleCreatorWin(RebarContainer rebars)
 {
     InitializeComponent();
     m_rebars = rebars;
     this.cb_schedule_types.ItemsSource =
         Enum.GetValues(typeof(ComboScheduleType));
     this.cb_partitions.ItemsSource =
         m_rebars.GetPartitions();
     this.cb_host_marks.ItemsSource =
         m_rebars.GetHostMarks((string)this.cb_partitions.SelectedValue);
     this.cb_assembly_marks.ItemsSource =
         m_rebars.GetAssemblies((string)this.cb_partitions.SelectedValue,
                                (string)this.cb_host_marks.SelectedValue);
 }