编了个程序报错无法将类型“int”隐式转换为“System.Windows.Thickness”
编了个程序报错无法将类型“int”隐式转换为“System.Windows.Thickness”
int fontwidth1 = Int32.Parse(ds["fontwidth1"].ToString());
int fontwidth2 = Int32.Parse(ds["fontwidth2"].ToString());
int fontwidth3 = Int32.Parse(ds["fontwidth3"].ToString());
this.textBlock1.Padding =fontwidth1;
就想做个可以动态改变textbox之间的行距的效果,求高手指教啊