C# Class Conduit.ProgressForm

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: gregjurman/conduit

Public Methods

Method Description
ProgressForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ChunkSent ( double percent ) : void
DataReceived ( string data ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ProgressForm_Load ( object sender, EventArgs e ) : void
ReceiveComplete ( ) : void
ReceiveData ( ) : void

Pulls in the file

SendComplete ( ) : void
SendData ( ) : void

Sends the file defined in fileName to the NC

StateChange ( string state ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void
buttonReceive_Click ( object sender, EventArgs e ) : void
buttonSend_Click ( object sender, EventArgs e ) : void

Show the dialog box to open a file (if not already defined) connect to the FANUC and send the file

fSocket_ChunkReceived ( object sender, string data ) : void
fSocket_ChunkSent ( object sender, double percentComplete ) : void
fSocket_ReceiveOperationCompleted ( object sender, EventArgs e ) : void
fSocket_SendOperationCompleted ( object sender, EventArgs e ) : void
fSocket_StateChanged ( object sender, FanucSocketState state ) : void
ofdSend_FileOk ( object sender, CancelEventArgs e ) : void

Callback for the OpenFileDialog

sfd_FileOk ( object sender, CancelEventArgs e ) : void
textController_TextChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ProgressForm() public method

public ProgressForm ( ) : System
return System