Пример #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();
        }
Пример #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();
        }
Пример #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();
        }
Пример #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();
        }