Мультиагентная обучающая система по медицинской диагностике

}

}

private void result1_Enter(object sender, EventArgs e)

{

if (autoriz || resultPrepodu) //если студент авторизован, он может пройти тестирование

{

label12.Visible = false;

// ЕСЛИ ОН АВТОРИЗОВАН И ПРОШЕЛ ТЕСТ ТО МОЖЕМ ПОКАЗЫВАТЬ РЕЗУЛЬТАТЫ

if (testend || resultPrepodu)

{

label15.Visible = true;

label16.Visible = true;

label17.Visible = true; <

p>label18.Visible = true;

label19.Visible = true;

label20.Visible = true;

label21.Visible = true;

label31.Visible = true;

label22.Visible = true;

//--

label23.Visible = true;

label24.Visible = true;

label25.Visible = true;

label26.Visible = true;

label27.Visible = true;

label28.Visible = true;

label29.Visible = true;

label32.Visible = true;

label30.Visible = true;

}

else

{

label12.Visible = true;

label12.Text = "ВЫ не прошли тест";

}

}

else

{

label12.Visible = true;

label12.Text = "Вы не авторизованы";

label15.Visible = false;

label16.Visible = false;

label17.Visible = false;

label18.Visible = false;

label19.Visible = false;

label20.Visible = false;

label21.Visible = false;

label31.Visible = false;

label22.Visible = false;

//--

label23.Visible = false;

label24.Visible = false;

label25.Visible = false;

label26.Visible = false;

label27.Visible = false;

label28.Visible = false;

label29.Visible = false;

label32.Visible = false;

label30.Visible = false;

}

}

private void Form1_Load(object sender, EventArgs e)

{

///////////////////////\

//Вкладка РЕГИСТРАЦИЯ// \

/////////////////////// \

int iWidth = reg1.Size.Width;

int iHeight = reg1.Size.Height;

Font iFont = new Font(Font.Name, (float)(iHeight * 3.2 / 100), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);

result.Font = iFont;

search.Location = new System.Drawing.Point((iWidth * 5 / 100), (iHeight * 3 / 100));

search.Size = new System.Drawing.Size((iWidth * 36 / 100), (iHeight * 8 / 100));

search.Font = iFont;

button20.Font = iFont;

button21.Font = iFont;

button16.Font = iFont;

add.Location = new System.Drawing.Point(search.Location.X + search.Size.Width + iWidth * 5 / 100, (iHeight * 3 / 100));

add.Size = new System.Drawing.Size((iWidth * 48 / 100), (iHeight * 8 / 100));

add.Font = iFont;

//label7.Location = new System.Drawing.Point((iWidth * 1 / 100), (search.Location.Y + search.Size.Height + iHeight * 4 / 100));

label7.Font = new Font(Font.Name, (float)(iHeight * 2.8 / 100), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);

//label1.Location = new System.Drawing.Point((iWidth * 1 / 100), (label7.Location.Y + label7.Size.Height + iHeight * 4 / 100));

label1.Location = new System.Drawing.Point((iWidth * 1 / 100), (search.Location.Y + search.Size.Height + iHeight * 4 / 100));

label1.Font = iFont;

label2.Location = new System.Drawing.Point((iWidth * 1 / 100), (label1.Location.Y + label1.Size.Height + (int)(iHeight * 7.5 / 100)));

label2.Font = iFont;

label3.Location = new System.Drawing.Point((iWidth * 1 / 100), (label2.Location.Y + label2.Size.Height + (int)(iHeight * 7.5 / 100)));

label3.Font = iFont;

label4.Location = new System.Drawing.Point((iWidth * 1 / 100), (label3.Location.Y + label3.Size.Height + (int)(iHeight * 7.5 / 100)));

label4.Font = iFont;

label5.Location = new System.Drawing.Point((iWidth * 1 / 100), (label4.Location.Y + label4.Size.Height + (int)(iHeight * 7.5 / 100)));

label5.Font = iFont;

label6.Location = new System.Drawing.Point((iWidth * 1 / 100), (label5.Location.Y + label5.Size.Height + (int)(iHeight * 7.5 / 100)));

label6.Font = iFont;

textBox1.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label1.Location.Y - (label1.Size.Height / 9)));

textBox1.Size = new System.Drawing.Size((iWidth * 22 / 100), 1);

textBox1.Font = iFont;

textBox2.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label2.Location.Y - (label2.Size.Height / 9)));

textBox2.Size = textBox1.Size;

textBox2.Font = iFont;

textBox3.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label3.Location.Y - (label3.Size.Height / 9)));

textBox3.Size = textBox1.Size;

textBox3.Font = iFont;

textBox4.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label4.Location.Y - (label4.Size.Height / 9)));

textBox4.Size = textBox1.Size;

textBox4.Font = iFont;

textBox5.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label5.Location.Y - (label5.Size.Height / 9)));

textBox5.Size = textBox1.Size;

textBox5.Font = iFont;

textBox6.Location = new System.Drawing.Point((int)(iWidth * 26.3 / 100), (label6.Location.Y - (label6.Size.Height / 9)));

textBox6.Size = textBox1.Size;

textBox6.Font = iFont;

button3.Location = new Point((int)(iWidth * 53.2 / 100), textBox1.Location.Y);

button3.Size = new Size((iWidth * 29 / 100), textBox1.Height);

button3.Font = iFont;

button4.Location = new Point((int)(iWidth * 53.2 / 100), textBox2.Location.Y);

button4.Size = new Size((iWidth * 40 / 100), textBox2.Height);

button4.Font = iFont;

button22.Location = new Point((int)(iWidth * 53.2 / 100), textBox3.Location.Y);

button22.Size = new Size((iWidth * 40 / 100), textBox3.Height);

button22.Font = iFont;

button1.Location = new Point((int)(iWidth * 53.2 / 100), textBox3.Location.Y);

button1.Size = new Size((iWidth * 12 / 100), textBox3.Height);

button1.Font = iFont;

button11.Location = new Point((int)(iWidth * 53.2 / 100), textBox4.Location.Y);

button11.Size = new Size((iWidth * 26 / 100), textBox4.Height);

button11.Font = iFont;

button2.Location = new Point((int)(iWidth * 53.2 / 100), textBox4.Location.Y);

button2.Size = new Size((iWidth * 16 / 100), textBox4.Height);

button2.Font = iFont;

button5.Location = new Point((int)(iWidth * 53.2 / 100), textBox5.Location.Y);

button5.Size = new Size((iWidth * 16 / 100), textBox5.Height);

button5.Font = iFont;

button23.Location = new Point((int)(iWidth * 53.2 / 100), textBox5.Location.Y);

button23.Size = new Size((iWidth * 16 / 100), textBox5.Height);

button23.Font = iFont;

button24.Location = new Point((int)(iWidth * 53.2 / 100), textBox5.Location.Y);

button24.Size = new Size((iWidth * 16 / 100), textBox5.Height);

button24.Font = iFont;

button25.Location = new Point((int)(iWidth * 53.2 / 100), textBox5.Location.Y);

button25.Size = new Size((iWidth * 16 / 100), textBox5.Height);

button25.Font = iFont;

label8.Location = new Point((int)(iWidth * 53.2 / 100), label3.Location.Y);

label8.Font = iFont;

textBox7.Location = new Point((int)(iWidth * 68 / 100), textBox3.Location.Y);

textBox7.Size = new Size((int)(iWidth * 16.3 / 100), 1);

Страница:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15 
 16  17  18  19  20  21  22  23  24  25  26  27  28  29  30 
 31  32  33  34  35  36  37  38  39  40  41  42  43  44  45 
 46  47  48 


Другие рефераты на тему «Педагогика»:

Поиск рефератов

Последние рефераты раздела

Copyright © 2010-2024 - www.refsru.com - рефераты, курсовые и дипломные работы