'宣言 Public Overloads Sub ApplyPresetFromBinary( _ ByVal fileName As String, _ ByVal clearAllSettings As Boolean _ )
public void ApplyPresetFromBinary( string fileName, bool clearAllSettings )
Private Sub SetupGrid() If myPresetIsXML Then Me.ultraGrid1.ApplyPresetFromXml("myPreset.xml") Else Me.ultraGrid1.ApplyPresetFromBinary("myPreset.bin", False) End If End Sub
private void SetupGrid() { if( myPresetIsXML ) { this.ultraGrid1.ApplyPresetFromXml( "myPreset.xml" ); } else { this.ultraGrid1.ApplyPresetFromBinary( "myPreset.bin", false ); } }