public fMain() { InitializeComponent(); frmNewFtp = new NewFTP(); frmNewFtp.Tag = this; newDir = new fNewDir(); newDir.Tag = this; }
private void frmMain_Load(object sender, EventArgs e) { //FTPbox.Properties.Settings.Default.ftpUsername = ""; KillPrevInstances(); //ClearLog(); foreach (string s in nLog().Split('|', '|')) { Log.Write("In Log: {0}", s); } fNewFtp = new NewFTP(); fNewFtp.Tag = this; newDir = new fNewDir(); newDir.Tag = this; int i = 0; while (i < 5) { recentfiles.Add("Not available"); i++; } StartUpWork(); CheckForUpdate(); Get_Language(); //WatchRemote.Start(); }