Esempio n. 1
0
        public StartForm()
        {
            InitializeComponent();

            StartPosition = FormStartPosition.CenterScreen;

            Text = "GraphVizualizer / Menu";

            this.BackColor = Color.DarkGray;

            startButton = new StartButton(this);

            loadFileButton = new LoadFileButton(this);

            Controls.Add(startButton);

            Controls.Add(loadFileButton);
        }
Esempio n. 2
0
        bool appInterrupida = false;                //A veces la aplicacion se cierra sola, este boleano controla esa interrupción y la impide.

        private void Form1_Load(object sender, EventArgs e)
        {
            labelInfoLoc = labelInformativa.Location;
            if (!nuevoFicheroMain)
            {
                labelWelcome.Text    = "Welcome to ED-MLAT Performance\n                    Evaluator";
                labelSubWelcome.Text = "This application calculates the value of the different parameters\nlisted in the document of EUROCAE “MOPS for Mode S MLAT\nSystems” (ED-117) using .ast files of opportunity traffic from LEBL,\nand determines if the MLAT meets these minimum requirements.\nIt also allows analyzing D-GPS recordings to calculate position\naccuracy data; and it provides an interface that allows you to\ndiscard certain vehicles from the analysis.";
                if (appInterrupida)
                {
                    appInterrupida = false;
                    CrearFormInformativa("An error has occurred. Something", "went wrong. Please try again.", 347, 116, 27, 46);
                }
            }
            else
            {
                LoadFileButton.PerformClick();
            }
        }