Пример #1
0
 public frmProfilesManager() : base("ÒµÎñ¹æÔò")
 {
     this.Profile = Profiles.FromFile("Profiles.xml");
     if (this.Profile == null)
     {
         this.Profile = Profiles.Create("Profiles.xml", true);
     }
 }
Пример #2
0
 private void AddNew_Click(object sender, RoutedEventArgs e)
 {
     Profiles.Create(txtName.Text);
 }