Example #1
0
 private void Btn_Add_Click_1(object sender, RoutedEventArgs e)
 {
     VMRpo vmrpo = this.Resources["rps"] as VMRpo;
     Rpo r = new Rpo("haha");
     vmrpo.RpoCollection.Add(r);
     vmrpo.Rpos.View.MoveCurrentTo(r);
 }
Example #2
0
        private void Btn_Add_Click_1(object sender, RoutedEventArgs e)
        {
            VMRpo vmrpo = this.Resources["rps"] as VMRpo;
            Rpo   r     = new Rpo("haha");

            vmrpo.RpoCollection.Add(r);
            vmrpo.Rpos.View.MoveCurrentTo(r);
        }