Exemple #1
0
        private void startApplication_Click(object sender, EventArgs e)
        {
            buildBridgeMenu buildBridgeMenu = new buildBridgeMenu();

            this.Hide();
            buildBridgeMenu.Show();
        }
Exemple #2
0
        private void exitDecline_Click(object sender, EventArgs e)
        {
            buildBridgeMenu buildBridgeMenu = new buildBridgeMenu();

            this.Hide();
            buildBridgeMenu.Show();
        }
        private void BackToMainMenu_Click(object sender, EventArgs e)
        {
            buildBridgeMenu buildBridgeMenu = new buildBridgeMenu();

            this.Hide();
            buildBridgeMenu.Show();
        }
        private void exitConfirm_Click(object sender, EventArgs e)
        {
            Program.bridgeData.supportType.Clear();
            Program.bridgeData.supportNode.Clear();
            Program.bridgeData.nodes.Clear();
            Program.bridgeData.degreesOfFreedom.Clear();
            Program.bridgeData.memberConnection.Clear();
            Program.bridgeData.restrainedDegreesOfFreedom.Clear();
            Program.bridgeData.forces.Clear();
            Program.bridgeData.stiffness.Clear();
            Program.bridgeData.areas.Clear();
            Program.bridgeData.ndof                    = 0;
            Program.bridgeData.nodesIndex              = 0;
            Program.bridgeData.memberIndex             = 0;
            Program.bridgeData.materialPropertiesIndex = 0;

            buildBridgeMenu buildBridgeMenu = new buildBridgeMenu();

            this.Hide();
            buildBridgeMenu.Show();
        }