OpenBve.RouteViewer.RouteViewer C# (CSharp) Method

RouteViewer() public method

public RouteViewer ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default ) : System
width int
height int
currentGraphicsMode OpenTK.Graphics.GraphicsMode
openbve string
@default GameWindowFlags
return System
        public RouteViewer(int width, int height, GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default): base (width,height,currentGraphicsMode,openbve,@default)
        {
            try
            {
                System.Drawing.Icon ico = new System.Drawing.Icon("data\\icon.ico");
                this.Icon = ico;
            }
            catch
            {
            }
        }