Closes the file watcher.
/// <summary>
/// Close connection to the file.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void CloseBtn_Click(object sender, EventArgs e)
{
try
{
gxFile1.Close();
}
catch (Exception Ex)
{
MessageBox.Show(this, Ex.Message);
}
}
''' <summary>
''' Close connection to the file.
''' </summary>
Private Sub CloseBtn_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CloseBtn.Click
Try
GxFile1.Close()
Catch Ex As Exception
MessageBox.Show(Ex.Message)
End Try
End Sub
'Close connection to the file.
Private Sub CloseBtn_Click()
On Error GoTo GXErr
GXFile1.Close
Exit Sub
GXErr:
MsgBox Err.Description
End Sub
Assembly: Gurux.File (Module: Gurux.File) Version: 5.0.0.1