Maxima Plugin
A SMath Plugin
Loading...
Searching...
No Matches
MaximaPlugin.MForms.InstallerForm Class Reference

Public Member Functions

 InstallerForm ()
 constructor
 
async void ExtractUrlFromJson ()
 extract url from Json
 
async Task InstallMaxima (string windowsUrl, string installerPath)
 Download and install maxima. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Private Member Functions

void CancelButton_Click (object sender, EventArgs e)
 Close form More...
 
void FinishButton_Click (object sender, EventArgs e)
 Initiate maxima session and close the form after installation is done More...
 
void RadioButtonOption_CheckedChanged (object sender, EventArgs e)
 Event to set the radio buttons More...
 
void NextButton_Click (object sender, EventArgs e)
 When next button is click, move the controls to its respective positions More...
 
void Timer_Tick (object sender, EventArgs e)
 Timer tick event handler to check if the installer process has exited. Updates the installation progress bar More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.
 

Private Attributes

int installerProcessId
 
Timer timer
 
double scaleFactor = 1.0
 
System.ComponentModel.IContainer components = null
 Required designer variable.
 
System.Windows.Forms.Button FinishButton
 
System.Windows.Forms.ProgressBar DlProgressBar
 
System.Windows.Forms.Label label1
 
System.Windows.Forms.Label label2
 
System.Windows.Forms.Label label3
 
System.Windows.Forms.Label StatusLabel
 
System.Windows.Forms.Label label5
 
System.Windows.Forms.Button CancelButton
 
System.Windows.Forms.ProgressBar InstProgressBar
 
System.Windows.Forms.Panel StatusPanel
 
System.Windows.Forms.Panel InstTypePanel
 
System.Windows.Forms.Label label8
 
System.Windows.Forms.Label label7
 
System.Windows.Forms.Label label6
 
System.Windows.Forms.Button NextButton
 
System.Windows.Forms.RadioButton ManualInstRB
 
System.Windows.Forms.RadioButton SilentInstRB
 

Member Function Documentation

◆ CancelButton_Click()

void MaximaPlugin.MForms.InstallerForm.CancelButton_Click ( object  sender,
EventArgs  e 
)
private

Close form

Parameters
sender
e

◆ Dispose()

override void MaximaPlugin.MForms.InstallerForm.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ FinishButton_Click()

void MaximaPlugin.MForms.InstallerForm.FinishButton_Click ( object  sender,
EventArgs  e 
)
private

Initiate maxima session and close the form after installation is done

Parameters
sender
e

◆ InstallMaxima()

async Task MaximaPlugin.MForms.InstallerForm.InstallMaxima ( string  windowsUrl,
string  installerPath 
)

Download and install maxima.

Parameters
windowsUrl
installerPath
Returns

◆ NextButton_Click()

void MaximaPlugin.MForms.InstallerForm.NextButton_Click ( object  sender,
EventArgs  e 
)
private

When next button is click, move the controls to its respective positions

Parameters
sender
e

◆ RadioButtonOption_CheckedChanged()

void MaximaPlugin.MForms.InstallerForm.RadioButtonOption_CheckedChanged ( object  sender,
EventArgs  e 
)
private

Event to set the radio buttons

Parameters
sender
e

◆ Timer_Tick()

void MaximaPlugin.MForms.InstallerForm.Timer_Tick ( object  sender,
EventArgs  e 
)
private

Timer tick event handler to check if the installer process has exited. Updates the installation progress bar

Parameters
sender
e

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