loading a file into a richtextbox
<p>Right now my code is set so that when this button is clicked, it opens a select file dialog and allows the person to choose which file to open.</p>

<pre><code>private void button1_Click(object sender, System.EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                richTextBox1.LoadFile(openFileDialog1.FileName, RichTextBoxStreamType.RichText);
            }
        }
</code></pre>

<p>However - I have changed my program so that the program simply outputs to a default file like so - </p>

<pre><code>public void CreateInventory(CreateInventory createinventory)
{
    try
    {
        FileStream fileStream = new FileStream
        ("CreateInventory.bin", FileMode.Create,
        FileAccess.Write);
        IFormatter formatter = new BinaryFormatter();
        formatter.Serialize(fileStream, createinventory);
        fileStream.Close();
    }
    catch (ItemNotFoundException)
    {
        throw new ItemNotFoundException("Output not created - see logs");
    }
}
</code></pre>

<p>How do I switch the button so that it loads that file directly, instead of asking the user to choose a file to load?</p>
