private void toolStripSync_Click(object sender, EventArgs e) { LogGenerator.CreateContentLog(); var ftpDialog = new SyncDialog(new SyncInfo(Resources.ContentDirectory, "Content/", SyncJobType.Upload)); ftpDialog.ShowDialog(); }