private void buttonAdd_Click(object sender, EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();

            //dialog.Filter = ""
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                FileInfo   fileToConvert = new FileInfo(dialog.FileName);
                FileStream streamRead    = fileToConvert.OpenRead();
                byte[][]   fileArray     = new byte[1][];
                fileArray[0] = new byte[streamRead.Length];
                streamRead.Read(fileArray[0], 0, (int)streamRead.Length);
                streamRead.Close();

                Document document = new Document();
                document.FileName = dialog.FileName.Substring(dialog.FileName.LastIndexOf("\\") + 1);
                document.FileData = fileArray[0];
                task.AddDocument(document);

                UpdateInformation();
            }
        }