Beispiel #1
0
 public FormOps(FormIntro mother)
 {
     InitializeComponent();
     WindowState = FormWindowState.Maximized;
     this.KeyUp += new KeyEventHandler(this.FormOps_KeyUp);
     Pics        = new PictureBox[8];
     Labels      = new Label[8];
     Pics[0]     = picOp1;
     Pics[1]     = picOp2;
     Pics[2]     = picOp3;
     Pics[3]     = picOp4;
     Pics[4]     = picOp5;
     Pics[5]     = picOp6;
     Pics[6]     = picOp7;
     Pics[7]     = picOp8;
     Labels[0]   = label1;
     Labels[1]   = label2;
     Labels[2]   = label3;
     Labels[3]   = label4;
     Labels[4]   = label5;
     Labels[5]   = label6;
     Labels[6]   = label7;
     Labels[7]   = label8;
     NoRespostas = 6;
     Mother      = mother;
 }
Beispiel #2
0
 public FormPre(FormIntro mother, Aplicador app)
 {
     InitializeComponent();
     WindowState = FormWindowState.Maximized;
     App         = app;
     Mother      = mother;
     UpdateInstructions(Preparador.ObterInstrucoes());
 }
Beispiel #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            FormOps form = new FormOps(Mother, App);

            form.Show();
            form.Test();
            this.Mother = null;
            this.Close();
        }
Beispiel #4
0
 public FormOps(FormIntro mother, Aplicador app) : this(mother)
 {
     this.App = app;
 }