المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : string to Font [modified]



C# Programming
02-10-2010, 04:42 PM
PropertyInfo propertys = control.GetType().GetProperty("Font");
tc = System.ComponentModel.TypeDescriptor.GetConverter(propertys.PropertyType);

propertys.SetValue(control, (?)"Arial", null); modified on Tuesday, February 9, 2010 2:10 AM