Пример #1
0
        public Optimat.GBS.SictObservable <SictOverviewPresetUndTabMengeObjektGrupeSictbarReprInDataGrid> FürOverviewDataGridMengePresetErscteleElement(
            SictOverviewPresetUndTabMengeObjektGrupeSictbarReprInDataGrid RowRepr)
        {
            if (null != RowRepr)
            {
                RowRepr.PropertyChanged += DataGridMengePresetObservable_PropertyChanged;
            }

            var Observable = new Optimat.GBS.SictObservable <SictOverviewPresetUndTabMengeObjektGrupeSictbarReprInDataGrid>(RowRepr);

            Observable.PropertyChanged += DataGridMengePresetObservable_PropertyChanged;

            return(Observable);
        }
Пример #2
0
        private void ButtonOverviewPresetFüügeAin_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                var OverviewPresetIdent = TextBoxOverviewPresetFüügeAinIdent.Text;

                var OverviewPresetRepr = new SictOverviewPresetUndTabMengeObjektGrupeSictbarReprInDataGrid(OverviewPresetIdent);

                OverviewDataGridMengePresetRepr.Add(FürOverviewDataGridMengePresetErscteleElement(OverviewPresetRepr));
            }
            catch (System.Exception Exception)
            {
                Optimat.Glob.ZaigeMessageBoxException(Exception);
            }
        }