Beispiel #1
0
        public ucOrders(ref List <TabZamowinia> ListZamowin, ref List <string> ColumnName)
        {
            InitializeComponent();
            my_ListZamowin = ListZamowin;
            my_ColumnName  = ColumnName;
            sequenceList   = Proces.GenerateSequenceIndex(my_ColumnName);
            this.OrderList.SelectionChanged += new SelectionChangedEventHandler(OnOrderListBoxChanged);
            ConnectionViewModel vm = new ConnectionViewModel(ref my_ListZamowin);

            OrderList.DataContext   = vm;
            OrderList.SelectedIndex = -1;
        }
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     sequenceList = Proces.GenerateSequenceIndex(my_ColumnName);
     CreateDynamicWPFGrid(0);
 }