public bool IsDefaultSettingsItem(Item settings, string sitepath)
        {
            ModuleSettings moduleSettings = new ModuleSettings(sitepath);
             ExtendStandartViewSettings exSettings = new ExtendStandartViewSettings();

             exSettings.Init(settings, sitepath);

             return
            (exSettings.ID == moduleSettings.DayViewSettings.ID.ToString() ||
             exSettings.ID == moduleSettings.WeekViewSettings.ID.ToString()) &&
            !(exSettings.SwitchViewMode ||
              (exSettings.ShowHeader && exSettings.ID == moduleSettings.WeekViewSettings.ID.ToString()));
        }
 protected void init(ExtendStandartViewSettings view_settings, string site_settings_path)
 {
     settings = view_settings;
      base.init(view_settings, site_settings_path);
 }