public MainForm() { InitializeComponent(); this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true); aboutWindow = new AboutWindow(); }
/// <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(); }