; lstFont.Items.Add(f.GetName(1).ToString());
}
}
#endregion
初始化字体样式#region 初始化字体样式
public void InitFontStyle()
{
Type fontStyle = typeof(FontStyle);
FieldInfo fontStyles = fontStyle.GetFields();
txtFontStyle.Text = fontStyles.Name.ToString();
for (int i = 1; i < fontStyles.Length; i++)
{
lstFontStyle.Items.Add(fontStyles[i].Name.ToString()); [Page]
}
}
#endregion
初始化字体大小#region 初始化字体大小
public void InitFontSize()
{
for (int i = 9; i < 40; i++)
{
lstFontSize.Items.Add(i.ToString());
}
lstFontSize.SelectedItem = \"9\";
txtFontSize.Text = \"9\";
}
#endregion
private void lstFont_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void lstFontStyle_SelectedIndexChanged(object sender, EventArgs e)
&n