'Declaration Public Overrides Sub Reset()
'Usage Dim instance As StyleInfo instance.Reset()
public override void Reset()
'Declaration Public Overrides Sub Reset()
'Usage Dim instance As StyleInfo instance.Reset()
public override 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