private void FileButton_Click(object sender, EventArgs e)
 {
     ButtonPanel.Visible         = false;
     TextPanel.Visible           = false;
     TopPanel.Separator          = 125;
     fileOptionsControl          = new FileOptionsControl(fileOptionsControl, this);
     fileOptionsControl.Location = new Point(0, 0);
     fileOptionsControl.Height   = MainPanel.Height;
     MainPanel.Controls.Add(fileOptionsControl);
     fileOptionsControl.SetFileOptionsObject = fileOptionsControl;
     AddFileOptionsControl();
 }
 public FileOptionsControl(FileOptionsControl foptctrl, MainForm mainFrm)
 {
     InitializeComponent();
     fileOptionsControl = foptctrl;
     mainForm           = mainFrm;
 }