public StreamOpenDataGridView(string fileFolder, OpenAs openAs)
        {
            ListStreamOpen.Clear();
            if ( openAs.Equals(OpenAs.txt))
                Triangles = TriangleTransform(CreateListText(fileFolder));

            else if (openAs.Equals(OpenAs.xml))
                Triangles = TriangleTransform(fileFolder);

            else if (openAs.Equals(OpenAs.html))
                Triangles = TriangleTransform(CreateListHtml(fileFolder));

            else throw new ArgumentException();
        }
 protected virtual void OnOpenAs(EventArgs e)
 {
     OpenAs?.Invoke(this, e);
 }