Exemple #1
0
        public OutAnalysis()
        {
            InitializeComponent();

            viewModel        = new InOutAnalysisViewModel(typeof(OutAnalysis));
            this.DataContext = viewModel;

            headers = new List <Tuple <string, string, double, Type> >();
            foreach (var column in gridView1.Columns)
            {
                var s1 = column.DisplayMemberBinding as Binding;
                headers.Add(new Tuple <string, string, double, Type>(column.Header.ToString(), s1.Path.Path, column.ActualWidth, typeof(string)));
            }
        }
 public InOutCommandAnalysis(InOutAnalysisViewModel viewModel, Type oType)
 {
     _viewModel = viewModel;
     _type      = oType;
 }