Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Equation Solver - Form7.cs

Form7.cs

Caricato da: Matthew
Scarica il programma completo

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Text;
  7. using System.Windows.Forms;
  8.  
  9. namespace Equazioni_2
  10. {
  11.     public partial class Form7 : Form
  12.     {
  13.         public Form7()
  14.         {
  15.             InitializeComponent();
  16.             if (Form1.der == true)
  17.                 checkBox1.Checked = true;
  18.             if (Form1.intr == true)
  19.                 checkBox2.Checked = true;
  20.         }
  21.  
  22.         private void checkBox1_CheckedChanged(object sender, EventArgs e)
  23.         {
  24.             if (checkBox1.Checked == true)
  25.             {
  26.                 Form1.der = true;
  27.             }
  28.             else
  29.                 Form1.der = false;
  30.         }
  31.  
  32.         private void checkBox2_CheckedChanged(object sender, EventArgs e)
  33.         {
  34.             if (checkBox2.Checked == true)
  35.             {
  36.                 Form1.intr = true;
  37.             }
  38.             else
  39.                 Form1.intr = false;
  40.         }
  41.  
  42.         private void button1_Click(object sender, EventArgs e)
  43.         {
  44.             Form7.ActiveForm.Close();
  45.         }
  46.     }
  47. }