Exemple #1
0
 private void on_btnBrowseIncoming_clicked(object sender, EventArgs args)
 {
     SelectFolder dlgSelectFolder = new SelectFolder();
     ResponseType result = (ResponseType)dlgSelectFolder.dlgSelectFolder.Run();
     if (result==ResponseType.Ok)
     {
     string folder = dlgSelectFolder.dlgSelectFolder.SelectionText.Text;
     int delimitador = folder.IndexOf (":")+2;
     folder = folder.Substring(delimitador);
     txtIncomingFolder.Text = folder;
     }
     dlgSelectFolder.dlgSelectFolder.Destroy();
 }
Exemple #2
0
 private void on_btnAddTempFolder_clicked(object sender, EventArgs args)
 {
     SelectFolder dlgSelectFolder = new SelectFolder();
     ResponseType result = (ResponseType)dlgSelectFolder.dlgSelectFolder.Run();
     if (result==ResponseType.Ok)
     {
     string folder = dlgSelectFolder.dlgSelectFolder.SelectionText.Text;
     int delimitador = folder.IndexOf (":")+2;
     folder = folder.Substring(delimitador);
     stTempFolders.AppendValues(folder);
     }
     dlgSelectFolder.dlgSelectFolder.Destroy();
 }