FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : Reset メソッド |
'Declaration Public Overridable Sub Reset()
'使用法 Dim instance As StyleInfo instance.Reset()
public virtual void Reset()
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); DialogResult dlg; si.BackColor = Color.Yellow; fpSpread1.ActiveSheet.DefaultStyle = si; dlg = MessageBox.Show("Reset the properties?"); if (dlg == DialogResult.OK) { si.Reset(); fpSpread1.ActiveSheet.DefaultStyle = si; }
Dim si As New FarPoint.Win.Spread.StyleInfo Dim dlg As DialogResult si.BackColor = Color.Yellow FpSpread1.ActiveSheet.DefaultStyle = si dlg = MessageBox.Show("Reset the properties?") If dlg = DialogResult.OK Then si.Reset() FpSpread1.ActiveSheet.DefaultStyle = si End If