private void LoadSettings()
 {
     TwitLongerSettings twitLongerSettings = this.coreService.SettingService(typeof (ITweetService)).LoadSingleObject<TwitLongerSettings>(new TwitLongerSettings());
       if (twitLongerSettings != null)
     this.settings = twitLongerSettings;
       else
     this.settings = new TwitLongerSettings();
 }
 public TwitLongerUISettings(TwitLongerSettings settings)
 {
     this.InitializeComponent();
       this.DataContext = (object) settings;
 }