Example #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();
        }
Example #2
0
        private void on_btnAddSharedFolder_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);
                stSharedFolders.AppendValues(folder);
            }
            dlgSelectFolder.dlgSelectFolder.Destroy();
        }
Example #3
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();
        }
Example #4
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();
        }