Exemplo n.º 1
0
		void isSaveInButton_Click( object sender, EventArgs e )
		{
			ZoneFiveSoftware.Common.Visuals.DirectoryTreePopup dtp = new DirectoryTreePopup();
			dtp.BackColor = Color.White;
			dtp.Tree.RowHotlightColor = System.Drawing.SystemColors.ControlLight;
			dtp.Tree.RowHotlightColorText = System.Drawing.SystemColors.ControlText;
			dtp.Location = splitContainer1.Panel1.PointToScreen( isSaveIn.Location );
            dtp.Tree.SelectedChanged += new EventHandler( dtpTree_SelectedChanged );
            dtp.Top += isSaveIn.Height;
			dtp.Width = isSaveIn.Width;
			dtp.Tree.SelectedPath = txtSaveIn.Text;
			dtp.ShowDialog();
			txtSaveIn.Text = dtp.Tree.SelectedPath;
		}