--- sbbs/sbbs3/ctrl/ftpformunit.cpp 2018/04/24 16:39:34 1.1 +++ sbbs/sbbs3/ctrl/ftpformunit.cpp 2018/04/24 16:41:01 1.1.1.2 @@ -1,12 +1,12 @@ /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ -/* $Id: ftpformunit.cpp,v 1.1 2018/04/24 16:39:34 root Exp $ */ +/* $Id: ftpformunit.cpp,v 1.1.1.2 2018/04/24 16:41:01 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -46,21 +46,13 @@ TFtpForm *FtpForm; __fastcall TFtpForm::TFtpForm(TComponent* Owner) : TForm(Owner) { - MainForm=(TMainForm*)Application->MainForm; -// ManualDock(MainForm->Panel, MainForm->Panel, alClient); -} -//--------------------------------------------------------------------------- -void __fastcall TFtpForm::FormShow(TObject *Sender) -{ - MainForm->ViewFtpServerMenuItem->Checked=true; - MainForm->ViewFtpServerButton->Down=true; } //--------------------------------------------------------------------------- void __fastcall TFtpForm::FormHide(TObject *Sender) { - MainForm->ViewFtpServerMenuItem->Checked=false; - MainForm->ViewFtpServerButton->Down=false; + MainForm->ViewFtpServer->Checked=false; } //--------------------------------------------------------------------------- +