示例#1
0
        //private ObservableCollection<AssetClass> classes;/////////////////
        //private ObservableCollection<AssetClass> classes1;////////////////
        public MainWindow()
        {
            InitializeComponent();

            Logic.Data.DbHelper db = new Logic.Data.DbHelper();

            //classes = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData());///////////
            //piePlotterC.DataContext = classes;////////////

            //classes1 = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData1());/////////////
            //piePlotterD.DataContext = classes1;/////////////////
        }
示例#2
0
        //private ObservableCollection<AssetClass> classes;/////////////////
        //private ObservableCollection<AssetClass> classes1;////////////////
        public MainWindow()
        {
            InitializeComponent();

            Logic.Data.DbHelper db = new Logic.Data.DbHelper();

            //classes = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData());///////////
            //piePlotterC.DataContext = classes;////////////

            //classes1 = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData1());/////////////
            //piePlotterD.DataContext = classes1;/////////////////
        }