Пример #1
0
        public MainForm()
        {
            InitializeComponent();
            this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true);

            aboutWindow = new AboutWindow();
        }
Пример #2
0
        /// <summary>
        /// Constructor principal de la aplicacion
        /// </summary>
        /// <param name="args">Argumentos de consola</param>
        public MainForm(string[] args)
        {
            //Cargar configuracion de arranque
            config = new TgcViewerConfig();
            config.parseCommandLineArgs(args);

            InitializeComponent();
            this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true);

            aboutWindow = new AboutWindow();
        }