MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / mOpenMainFormClick

Method mOpenMainFormClick

source/main.cpp:792–805  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

790}
791//---------------------------------------------------------------------------
792void __fastcall TMainForm::mOpenMainFormClick(TObject *Sender)
793{
794 // open the application if it is minimized
795 Application->Restore();
796
797 // If the main form is minimized or hidden
798 if( WindowState==wsMinimized )
799 WindowState = wsNormal;
800 else
801 Show();
802
803 // bring to the fore
804 Application->BringToFront();
805}
806//---------------------------------------------------------------------------
807void __fastcall TMainForm::aExitExecute(TObject *Sender)
808{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected