3 void MainFormLoad(object sender, System.EventArgs e) {
4 ApplicationDirectory=Assembly.GetExecutingAssembly().CodeBase;
5 - ApplicationDirectory=ApplicationDirectory.Replace("file:///","").Replace("/","\\");
6 - ApplicationDirectory=ApplicationDirectory.Substring(0, ApplicationDirectory.LastIndexOf("\\")+1);
7 + ApplicationDirectory=ApplicationDirectory.Replace("file:///","/").Replace("%20", " ");
8 + ApplicationDirectory=ApplicationDirectory.Substring(0, ApplicationDirectory.LastIndexOf("/")+1);
9 if(!CheckFile(ApplicationDirectory, "itextsharp.dll")) {
14 void Button9Click(object sender, System.EventArgs e)
16 - string WorkDir=textBox2.Text.Substring(0, textBox2.Text.LastIndexOf("\\")+1);
17 + string WorkDir=textBox2.Text.Substring(0, textBox2.Text.LastIndexOf("/")+1);
19 Directory.CreateDirectory(WorkDir);
20 } catch(Exception E) {