Xeno-rat
Loading...
Searching...
No Matches
xeno_rat_server.Forms.FunMenu Class Reference
Inheritance diagram for xeno_rat_server.Forms.FunMenu:
Collaboration diagram for xeno_rat_server.Forms.FunMenu:

Public Member Functions

 FunMenu (Node _client)
 

Protected Member Functions

override void Dispose (bool disposing)
 Releases the unmanaged resources used by the Component and optionally releases the managed resources.
 

Private Member Functions

async Task InitializeAsync ()
 Initializes the asynchronous task by sending a byte array to the client.
 
void FunMenu_Load (object sender, EventArgs e)
 Loads the FunMenu form.
 
async void button1_Click (object sender, EventArgs e)
 Sends a byte array asynchronously using the client and does not return anything.
 
async void button2_Click (object sender, EventArgs e)
 Sends a byte array to the client asynchronously.
 
async void button3_Click (object sender, EventArgs e)
 Sends a byte array with a value of 3 using the client asynchronously.
 
async void button4_Click (object sender, EventArgs e)
 Sends a byte array with a value of 4 using the client asynchronously.
 
async void trackBar1_Scroll (object sender, EventArgs e)
 Handles the scroll event of the trackBar1 control.
 
void InitializeComponent ()
 Initializes the components of the FunMenu form.
 

Private Attributes

Node client
 
System.ComponentModel.IContainer components = null
 Required designer variable.
 
System.Windows.Forms.Button button1
 
System.Windows.Forms.Button button2
 
System.Windows.Forms.Button button3
 
System.Windows.Forms.Button button4
 
System.Windows.Forms.TrackBar trackBar1
 
System.Windows.Forms.Label label1
 

Constructor & Destructor Documentation

◆ FunMenu()

xeno_rat_server.Forms.FunMenu.FunMenu ( Node _client)
inline
Here is the call graph for this function:

Member Function Documentation

◆ button1_Click()

async void xeno_rat_server.Forms.FunMenu.button1_Click ( object sender,
EventArgs e )
inlineprivate

Sends a byte array asynchronously using the client and does not return anything.

Parameters
senderThe object that raised the event.
eThe event data.

This method sends the specified byte array new byte[] { 1 } asynchronously using the client.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ button2_Click()

async void xeno_rat_server.Forms.FunMenu.button2_Click ( object sender,
EventArgs e )
inlineprivate

Sends a byte array to the client asynchronously.

Parameters
senderThe object that raised the event.
eThe event data.

This method sends the specified byte array to the client asynchronously using the SendAsync method of the client object.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ button3_Click()

async void xeno_rat_server.Forms.FunMenu.button3_Click ( object sender,
EventArgs e )
inlineprivate

Sends a byte array with a value of 3 using the client asynchronously.

Parameters
senderThe object that raised the event.
eThe event data.

This method sends the byte array with a value of 3 using the client asynchronously.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ button4_Click()

async void xeno_rat_server.Forms.FunMenu.button4_Click ( object sender,
EventArgs e )
inlineprivate

Sends a byte array with a value of 4 using the client asynchronously.

Parameters
senderThe object that raised the event.
eThe event data.

This method sends the byte array with a value of 4 using the client asynchronously.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dispose()

override void xeno_rat_server.Forms.FunMenu.Dispose ( bool disposing)
inlineprotected

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

Parameters
disposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.

This method releases the unmanaged resources used by the Component and optionally releases the managed resources. If the disposing parameter is true, this method releases all resources held by any managed objects that this Component references. This method is called by the public Dispose() method and the Finalize method.

◆ FunMenu_Load()

void xeno_rat_server.Forms.FunMenu.FunMenu_Load ( object sender,
EventArgs e )
inlineprivate

Loads the FunMenu form.

Parameters
senderThe object that raised the event.
eThe event data.

This method is called when the FunMenu form is loaded. It can be used to initialize the form and its components.

Here is the caller graph for this function:

◆ InitializeAsync()

async Task xeno_rat_server.Forms.FunMenu.InitializeAsync ( )
inlineprivate

Initializes the asynchronous task by sending a byte array to the client.

This method initializes an asynchronous task by sending the specified byte array to the client using the SendAsync method of the client object.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeComponent()

void xeno_rat_server.Forms.FunMenu.InitializeComponent ( )
inlineprivate

Initializes the components of the FunMenu form.

This method initializes and sets up the various components of the FunMenu form, such as buttons, track bars, and labels. It also sets event handlers for button clicks and track bar scrolling.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trackBar1_Scroll()

async void xeno_rat_server.Forms.FunMenu.trackBar1_Scroll ( object sender,
EventArgs e )
inlineprivate

Handles the scroll event of the trackBar1 control.

Parameters
senderThe source of the event.
eAn EventArgs that contains the event data.

This method sends the current value of the trackBar to the client asynchronously using the SendAsync method of the client object.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ button1

System.Windows.Forms.Button xeno_rat_server.Forms.FunMenu.button1
private

◆ button2

System.Windows.Forms.Button xeno_rat_server.Forms.FunMenu.button2
private

◆ button3

System.Windows.Forms.Button xeno_rat_server.Forms.FunMenu.button3
private

◆ button4

System.Windows.Forms.Button xeno_rat_server.Forms.FunMenu.button4
private

◆ client

Node xeno_rat_server.Forms.FunMenu.client
private

◆ components

System.ComponentModel.IContainer xeno_rat_server.Forms.FunMenu.components = null
private

Required designer variable.

◆ label1

System.Windows.Forms.Label xeno_rat_server.Forms.FunMenu.label1
private

◆ trackBar1

System.Windows.Forms.TrackBar xeno_rat_server.Forms.FunMenu.trackBar1
private

The documentation for this class was generated from the following files: