Пример #1
0
 public AddRate(Rate edit)
 {
     InitializeComponent();
     this.edit   = edit;
     DataContext = edit;
 }
Пример #2
0
 public AddRate()
 {
     InitializeComponent();
     edit        = new Rate();
     DataContext = edit;
 }