/// <summary> /// Create the actual control, note this is static so it can be called from the /// constructor. /// /// </summary> /// <returns></returns> private static Control CreateControlInstance() { FADatePicker dp = new FADatePicker(); if (FAThemeManager.UseThemes) { dp.Theme = ThemeTypes.Office2003; } else { dp.Theme = ThemeTypes.Office2000; } return(dp); }
/// <summary> /// Create the actual control, note this is static so it can be called from the /// constructor. /// /// </summary> /// <returns></returns> private static Control CreateControlInstance() { FADatePicker dp = new FADatePicker(); if(FAThemeManager.UseThemes) { dp.Theme = ThemeTypes.Office2003; } else { dp.Theme = ThemeTypes.Office2000; } return dp; }