Разработка подсистемы подготовки адаптивного тестирования в открытой системе дистанционного образования
Дипломная работа - Компьютеры, программирование
Другие дипломы по предмету Компьютеры, программирование
p>// .comboBox1. FormattingEnabled = true;.comboBox1. Location = new System. Drawing. Point (65, 7);.comboBox1. Name = comboBox1;.comboBox1. Size = new System. Drawing. Size (121, 21);.comboBox1. TabIndex = 8;.comboBox1. Visible = false;
//
// button5
// .button5. Location = new System. Drawing. Point (929, 189);.button5. Name = button5;.button5. Size = new System. Drawing. Size (75, 23);.button5. TabIndex = 7;.button5. Text = Добавить;.button5. UseVisualStyleBackColor = true;.button5. Click += new System. EventHandler (this.button5_Click);
//
// button4
// .button4. Location = new System. Drawing. Point (46, 189);.button4. Name = button4;.button4. Size = new System. Drawing. Size (28, 23);.button4. TabIndex = 4;.button4. Text = -;.button4. UseVisualStyleBackColor = true;.button4. Click += new System. EventHandler (this.button4_Click);
//
// button3
// .button3. Location = new System. Drawing. Point (12, 189);.button3. Name = button3;.button3. Size = new System. Drawing. Size (28, 23);.button3. TabIndex = 3;.button3. Text = +;.button3. UseVisualStyleBackColor = true;.button3. Click += new System. EventHandler (this.button3_Click);
//
// textBox1
// .textBox1. Location = new System. Drawing. Point (12, 35);.textBox1. MaxLength = 255;.textBox1. Multiline = true;.textBox1. Name = textBox1;.textBox1. Size = new System. Drawing. Size (992, 50);.textBox1. TabIndex = 2;
//
// menuStrip1
// .menuStrip1. Items. AddRange (new System. Windows. Forms. ToolStripItem[] {.toolStripMenuItem1,.toolStripMenuItem2});.menuStrip1. Location = new System. Drawing. Point (0, 0);.menuStrip1. Name = menuStrip1;.menuStrip1. Size = new System. Drawing. Size (1016, 24);.menuStrip1. TabIndex = 2;.menuStrip1. Text = menuStrip1;.menuStrip1. Visible = false;
//
// toolStripMenuItem1
// .toolStripMenuItem1. Name = toolStripMenuItem1;.toolStripMenuItem1. Size = new System. Drawing. Size (106, 20);.toolStripMenuItem1. Text = Редактор тестов;.toolStripMenuItem1. Click += new System. EventHandler (this.toolStripMenuItem1_Click);
//
// toolStripMenuItem2
// .toolStripMenuItem2. Name = toolStripMenuItem2;.toolStripMenuItem2. Size = new System. Drawing. Size (50, 20);.toolStripMenuItem2. Text = Тесты;.toolStripMenuItem2. Click += new System. EventHandler (this.toolStripMenuItem2_Click);
//
// groupBox2
// .groupBox2. Controls. Add (this.textBox6);.groupBox2. Controls. Add (this.textBox5);.groupBox2. Controls. Add (this.textBox4);.groupBox2. Controls. Add (this.label6);.groupBox2. Controls. Add (this.button6);.groupBox2. Controls. Add (this.button2);.groupBox2. Controls. Add (this.textBox3);.groupBox2. Controls. Add (this.comboBox3);.groupBox2. Location = new System. Drawing. Point (1006, 724);.groupBox2. Name = groupBox2;.groupBox2. Size = new System. Drawing. Size (10, 10);.groupBox2. TabIndex = 3;.groupBox2. TabStop = false;
//
// textBox6
// .textBox6. Location = new System. Drawing. Point (583, 32);.textBox6. Name = textBox6;.textBox6. Size = new System. Drawing. Size (129, 20);.textBox6. TabIndex = 7;.textBox6. Visible = false;
//
// textBox5
// .textBox5. Location = new System. Drawing. Point (444, 33);.textBox5. Name = textBox5;.textBox5. Size = new System. Drawing. Size (100, 20);.textBox5. TabIndex = 6;.textBox5. Visible = false;
//
// textBox4
// .textBox4. Location = new System. Drawing. Point (316, 32);.textBox4. Name = textBox4;.textBox4. Size = new System. Drawing. Size (100, 20);.textBox4. TabIndex = 5;.textBox4. Visible = false;
//
// label6
// .label6. AutoSize = true;.label6. Location = new System. Drawing. Point (12, 29);.label6. Name = label6;.label6. Size = new System. Drawing. Size (85, 13);.label6. TabIndex = 4;.label6. Text = Выберите тест:;
//
// button6
// .button6. Location = new System. Drawing. Point (929, 160);.button6. Name = button6;.button6. Size = new System. Drawing. Size (75, 23);.button6. TabIndex = 3;.button6. Text = Далее;.button6. UseVisualStyleBackColor = true;.button6. Click += new System. EventHandler (this.button6_Click);
//
// button2
// .button2. Location = new System. Drawing. Point (983, 39);.button2. Name = button2;.button2. Size = new System. Drawing. Size (10, 10);.button2. TabIndex = 2;.button2. Text = button2;.button2. UseVisualStyleBackColor = true;.button2. Visible = false;.button2. Click += new System. EventHandler (this.button2_Click);
//
// textBox3
// .textBox3. Font = new System. Drawing. Font (Microsoft Sans Serif, 12F, System. Drawing. FontStyle. Regular, System. Drawing. GraphicsUnit. Point, ((byte) (204)));.textBox3. Location = new System. Drawing. Point (15, 59);.textBox3. Multiline = true;.textBox3. Name = textBox3;.textBox3. ReadOnly = true;.textBox3. Size = new System. Drawing. Size (989, 63);.textBox3. TabIndex = 1;
//
// comboBox3
// .comboBox3. FormattingEnabled = true;.comboBox3. Location = new System. Drawing. Point (115, 26);.comboBox3. Name = comboBox3;.comboBox3. Size = new System. Drawing. Size (168, 21);.comboBox3. TabIndex = 0;.comboBox3. SelectedIndexChanged += new System. EventHandler (this.comboBox3_SelectedIndexChanged);
//
// comboBox4
// .comboBox4. FormattingEnabled = true;.comboBox4. Location = new System. Drawing. Point (872, 39);.comboBox4. Name = comboBox4;.comboBox4. Size = new System. Drawing. Size (121, 21);.comboBox4. TabIndex = 4;.comboBox4. Visible = false;
//
// textBox7
// .textBox7. Location = new System. Drawing. Point (498, 39);.textBox7. Name = textBox7;.textBox7. Size = new System. Drawing. Size (100, 20);.textBox7. TabIndex = 6;.textBox7. Visible = false;
//
// comboBox5
// .comboBox5. FormattingEnabled = true;.comboBox5. Items. AddRange (new object[] {
1,
2,
3,
4,
5,
6,
7,
8,
9,
10});.comboBox5. Location = new System. Drawing. Point (126, 7);.comboBox5. Name = comboBox5;.comboBox5. Size = new System. Drawing. Size (121, 21);.comboBox5. TabIndex = 7;
//
// label7
// .label7. AutoSize = true;.label7. Location = new System. Drawing. Point (12, 11);.label7. Name = label7;.label7. Size = new System. Drawing. Size (108, 13);.label7. TabIndex = 8;.label7. Text = Сложность вопроса;
//
// Form1
// . AutoScaleDimensions = new System. Drawing. SizeF (6F, 13F);. AutoScaleMode = System. Windows. Forms. AutoScaleMode. Font;. ClientSize = new System. Drawing. Size (1016, 734);. Controls. Add (this.label7);. Controls. Add (this.comboBox5);. Controls. Add (this.textBox7);. Controls. Add (this.comboBox4);. Controls. Add (this.groupBox2);. Controls. Add (this.groupBox1);. Controls. Add (this.menuStrip1);. MainMenuStrip = this.menuStrip1;. MaximumSize = new System. Drawing. Size (1024, 768);. MinimumSize = new System. Drawing. Size (1024, 768);. Name = Form1;. Load += new System. EventHandler (this. Form1_Load);.groupBox1. ResumeLayout(false);.groupBox1. PerformLayout(); ((System. ComponentModel.ISupportInitialize) (this.dataGridView1)).EndInit();.menuStrip1. ResumeLayout(false);.menuStrip1. PerformLayout();.groupBox2. ResumeLayout(false);.groupBox2. PerformLayout();. ResumeLayout(false);. PerformLayout();}
#endregionSystem. Windows. Forms. GroupBox groupBox1;System. Windows. Forms. MenuStrip menuStrip1;System. Windows. Forms. ToolStripMenuItem toolStripMenuItem1;System. Windows. Forms. ToolStripMenuItem toolStripMenuItem2;System. Windows. Forms. TextBox textBox1;System. Windows. Forms. Button button4;System. Windows. Forms. Button button3;System. Windows. Forms. Button button5;System. Windows. Forms. ComboBox comboBox1;System. Windows. Forms. Label label1;System. Windows. Forms. DataGridView dataGridView1;System. Windows. Forms. Label label3;System. Windows. Forms. Label label2;System. Windows. Forms. ComboBox comboBox2;System. Windows. Forms. Label label4;System. Windows. Forms. TextBox textBox2;System. Windows. Forms. Button button1;System. Windows. Forms. Label label5;System. Windows. Forms. GroupBox groupBox2;System. Windows. Forms. ComboBox comboBox3;System. Windows. Forms. TextBox textBox3;System. Windows. Forms. Button button2;System. Windows. Forms. Button button6;System. Windows. Forms. Label label6;System. Windows. Forms. TextBox textBox5;System. Windows. Forms. TextBox textBox4;System. Windows. Forms. TextBox textBox6;System. Windows. Forms. ComboBox comboBox4;System. Windows. Forms. TextBox textBox7;System. Windows. Forms. ComboBox comboBox5;System. Windows. Forms. Label label7;}}.csSystem;System. Collections. Generic;System. ComponentModel;System. Data;System. Drawing;System. Text;System. Windows. Forms;System. Data. OleDb;WindowsApplication1
{public partial class Form1: Form
{public Form1 ()
{InitializeComponent();}chkTest = false;click = false;index = 0;X = 10;Y = 225;count = 0;CntrlsCnt = 0;End = 0;check = false;ck = false;k = 0;kk = 0;kkk = 0;TextBox tx;Label lb;CheckBox cb;RadioButton rb;OleDbDataAdapter adapter;DataSe