コード例 #1
0
        private void AddDefaultDataCollection_Click(object sender, RoutedEventArgs e)
        {
            V5DataCollection data = new V5DataCollection("default V5DataCollection", DateTime.Now);

            data.InitRandom(4, 2.0f, 2.0f, -1.0f, 1.0f);
            mainCollection.Add(data);
        }
コード例 #2
0
        public void AddCustom()
        {
            V5DataOnGrid tmp = new V5DataOnGrid(new Grid2D(step, step, nx, ny), info, DateTime.Now);

            tmp.InitRandom(-1.0f, 1.0f);
            binded.Add(tmp);
        }