Example #1
0
        private void BtnBrowseWorkspace_Click(object sender, EventArgs e)
        {
            WorkspaceList workspaceList = new WorkspaceList();

            if (Icon != null)
            {
                workspaceList.Icon = Icon;
            }
            workspaceList.UpdateList(m_connectionManager.GetWorkspaces(Server, User).ToArray());
            DialogResult dr = workspaceList.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                if (!String.IsNullOrEmpty(workspaceList.Selected))
                {
                    Workspace = workspaceList.Selected;
                }
            }
        }
Example #2
0
        private void BtnBrowseWorkspace_Click(object sender, EventArgs e)
        {
         
                WorkspaceList workspaceList = new WorkspaceList();
                if (Icon != null)
                    workspaceList.Icon = Icon;
                workspaceList.UpdateList( m_connectionManager.GetWorkspaces(Server, User).ToArray());
                DialogResult dr = workspaceList.ShowDialog(this);
                if (dr == DialogResult.OK)
                    if (!String.IsNullOrEmpty(workspaceList.Selected))
                        Workspace = workspaceList.Selected;


          
          
        }