Post: [Release] Folder Hider
03-19-2011, 02:31 PM #1
GamingPresents
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); [ame=https://www.youtube.com/watch?v=8Q_3COVztSw]YouTube - [Release] Folder Hider[/ame]


Using this program, you can hide any folder in your system and also set a password for access to the program.

Folder Hider Default Password: safio

Download Link:
You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});
03-19-2011, 02:54 PM #2
kiwimoosical
Bounty hunter
    public void AddToTable()
{
DataRow row = this.HiddenTable.NewRow();
row[0] = this.FolderToHide;
row[1] = false;
this.HiddenTable.Rows.Add(row);
}


    public void AddToTable(string ToReadFromFile)
{
FileStream stream = new FileStream(ToReadFromFile, FileMode.Open, FileAccess.Read);
StreamReader reader = new StreamReader(stream);
reader.BaseStream.Seek(0L, SeekOrigin.Begin);
while (reader.Peek() > -1)
{
DataRow row = this.HiddenTable.NewRow();
row[0] = reader.ReadLine();
row[1] = false;
this.HiddenTable.Rows.Add(row);
}
reader.Close();
}


    public void GridDecoration()
{
DataGridView grdShowHidden = this.grdShowHidden;
grdShowHidden.RowHeadersWidth = 20;
grdShowHidden.ColumnHeadersHeight = 0x23;
grdShowHidden.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
grdShowHidden.ColumnHeadersDefaultCellStyle.Font = new Font("Arial", 9f, FontStyle.Bold);
grdShowHidden.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
grdShowHidden.Columns[0].Width = 400;
grdShowHidden = null;
}


    public void StoreToFile()
{
string file = Environment.CurrentDirectory + @"\LockedFiles.txt";
StringBuilder builder = new StringBuilder();
IEnumerator enumerator = this.HiddenTable.Rows.GetEnumerator();
while (enumerator.MoveNext())
{
DataRow current = (DataRow) enumerator.Current;
builder.AppendLine(Conversions.ToString(current[0]));
}
MyProject.Computer.FileSystem.WriteAllText(file, builder.ToString(), false);
}


    private void OK_Click(object sender, EventArgs e)
{
if (this.txtPass.Text.Trim() == this.txtCPass.Text.Trim())
{
File.WriteAllText(this.PFile, this.txtPass.Text.Trim(), true);
}
else
{
MessageBox.Show("Password and Confirm Password are not Same", MsgBoxStyle.Critical, "Verify");
return;
}
this.Close();
}


It's open source now Happy

---------- Post added at 10:54 AM ---------- Previous post was at 10:54 AM ----------

I'm assuming you didn't write a lot of this, but whatever, +rep because I am being nice today Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo