Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                FunkProfiles funk = new FunkProfiles();
                Logger.WriteLine("current profile: " + funk.getCurrentProfile().ToString());

                funk.setCurrentProfile("Profile_2");
                Logger.WriteLine("current profile: " + funk.getCurrentProfile().ToString());
            }catch (NotSupportedException ex) {
                MessageBox.Show(ex.Message);
            }
        }
Пример #2
0
 public Profile getCurrentProfile()
 {
     return(_profiles.getCurrentProfile());
 }