├── .vs
└── programming-quiz
│ ├── v14
│ └── .suo
│ └── v15
│ ├── .suo
│ └── Server
│ └── sqlite3
│ ├── db.lock
│ ├── storage.ide
│ ├── storage.ide-shm
│ └── storage.ide-wal
├── Perguntas.txt
├── Respostas.txt
├── Respostas1.txt
├── Respostas2.txt
├── Respostas3.txt
├── opcoesB.txt
├── programming-quiz.sln
└── programming-quiz
├── App.config
├── Form1.Designer.cs
├── Form1.cs
├── Form1.resx
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
├── bin
└── Debug
│ ├── Bunifu_UI_v1.5.3.dll
│ ├── _arquivos
│ └── pontuacao.txt
│ ├── _front-end
│ ├── ajuda-duas-verde.png
│ ├── ajuda-duas.png
│ ├── ajuda-mostrar-verde.png.png
│ ├── ajuda-mostrar.png
│ ├── ajuda-pular-verde.png.png
│ ├── ajuda-pular.png
│ ├── botao-ajuda.svg
│ ├── botao-amarelo.png
│ ├── botao-padrao.png
│ ├── botao-padrao.svg
│ ├── botao-verde.png
│ ├── botao-vermelho.png
│ ├── emoji-feliz.png
│ ├── emoji-grande.png
│ ├── emoji-medio.png
│ ├── emoji-pequeno.png
│ ├── estrelas.ai
│ ├── estrelas.png
│ ├── fundo-header-2.png
│ ├── fundo-pontuacao.ai
│ ├── fundo-pontuacao.jpg
│ ├── fundo-pontuacao.svg
│ ├── fundo-pontuacao2.jpg
│ ├── icone.ico
│ ├── imagem-fundo-jogo.jpg
│ ├── imagem-fundo-pontuacao.jpg
│ ├── imagem-fundo.png
│ ├── lampada.png
│ ├── mover-form-usando-panel.txt
│ └── taca.png
│ ├── _musica
│ ├── certo.wav
│ ├── errado.wav
│ ├── fundo.wav
│ └── vitoria.wav
│ ├── programming-quiz.exe
│ ├── programming-quiz.exe.config
│ ├── programming-quiz.pdb
│ ├── programming-quiz.vshost.exe
│ ├── programming-quiz.vshost.exe.config
│ └── programming-quiz.vshost.exe.manifest
├── clJogo.cs
├── clOperacoes.cs
├── frmDados.Designer.cs
├── frmDados.cs
├── frmDados.resx
├── frmJogar.Designer.cs
├── frmJogar.cs
├── frmJogar.resx
├── frmMain.Designer.cs
├── frmMain.cs
├── frmMain.resx
├── frmMostrar.Designer.cs
├── frmMostrar.cs
├── frmMostrar.resx
├── frmPerdeu.Designer.cs
├── frmPerdeu.cs
├── frmPerdeu.resx
├── frmPontuacao.Designer.cs
├── frmPontuacao.cs
├── frmPontuacao.resx
├── frmSair.Designer.cs
├── frmSair.cs
├── frmSair.resx
├── frmVitoria.Designer.cs
├── frmVitoria.cs
├── frmVitoria.resx
├── obj
└── Debug
│ ├── DesignTimeResolveAssemblyReferences.cache
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── TempPE
│ └── Properties.Resources.Designer.cs.dll
│ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── programming-quiz.csproj.CoreCompileInputs.cache
│ ├── programming-quiz.csproj.FileListAbsolute.txt
│ ├── programming-quiz.csproj.GenerateResource.Cache
│ ├── programming-quiz.csprojAssemblyReference.cache
│ ├── programming-quiz.csprojResolveAssemblyReference.cache
│ ├── programming-quiz.exe
│ ├── programming-quiz.pdb
│ ├── programming_quiz.Properties.Resources.resources
│ ├── programming_quiz.frmDados.resources
│ ├── programming_quiz.frmJogar.resources
│ ├── programming_quiz.frmMenu.resources
│ ├── programming_quiz.frmMostrar.resources
│ ├── programming_quiz.frmPerdeu.resources
│ ├── programming_quiz.frmPontuacao.resources
│ ├── programming_quiz.frmSair.resources
│ └── programming_quiz.frmVitoria.resources
└── programming-quiz.csproj
/.vs/programming-quiz/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/.vs/programming-quiz/v14/.suo
--------------------------------------------------------------------------------
/.vs/programming-quiz/v15/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/.vs/programming-quiz/v15/.suo
--------------------------------------------------------------------------------
/.vs/programming-quiz/v15/Server/sqlite3/db.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/.vs/programming-quiz/v15/Server/sqlite3/db.lock
--------------------------------------------------------------------------------
/.vs/programming-quiz/v15/Server/sqlite3/storage.ide:
--------------------------------------------------------------------------------
1 | SQLite format 3 @ .A
--------------------------------------------------------------------------------
/.vs/programming-quiz/v15/Server/sqlite3/storage.ide-shm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/.vs/programming-quiz/v15/Server/sqlite3/storage.ide-shm
--------------------------------------------------------------------------------
/.vs/programming-quiz/v15/Server/sqlite3/storage.ide-wal:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/.vs/programming-quiz/v15/Server/sqlite3/storage.ide-wal
--------------------------------------------------------------------------------
/Perguntas.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/Perguntas.txt
--------------------------------------------------------------------------------
/Respostas.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/Respostas.txt
--------------------------------------------------------------------------------
/Respostas1.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/Respostas1.txt
--------------------------------------------------------------------------------
/Respostas2.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/Respostas2.txt
--------------------------------------------------------------------------------
/Respostas3.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/Respostas3.txt
--------------------------------------------------------------------------------
/opcoesB.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/opcoesB.txt
--------------------------------------------------------------------------------
/programming-quiz.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "programming-quiz", "programming-quiz\programming-quiz.csproj", "{B5F2EC14-D86E-4238-8124-77B358A83B02}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {B5F2EC14-D86E-4238-8124-77B358A83B02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {B5F2EC14-D86E-4238-8124-77B358A83B02}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {B5F2EC14-D86E-4238-8124-77B358A83B02}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {B5F2EC14-D86E-4238-8124-77B358A83B02}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/programming-quiz/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/programming-quiz/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmMenu
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMenu));
32 | this.cmd_jogar = new System.Windows.Forms.Button();
33 | this.cmd_pontuacao = new System.Windows.Forms.Button();
34 | this.cmd_sair = new System.Windows.Forms.Button();
35 | this.label1 = new System.Windows.Forms.Label();
36 | this.SuspendLayout();
37 | //
38 | // cmd_jogar
39 | //
40 | this.cmd_jogar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmd_jogar.BackgroundImage")));
41 | this.cmd_jogar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
42 | this.cmd_jogar.Cursor = System.Windows.Forms.Cursors.Hand;
43 | this.cmd_jogar.FlatAppearance.BorderSize = 0;
44 | this.cmd_jogar.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent;
45 | this.cmd_jogar.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
46 | this.cmd_jogar.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
47 | this.cmd_jogar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
48 | this.cmd_jogar.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
49 | this.cmd_jogar.ForeColor = System.Drawing.Color.White;
50 | this.cmd_jogar.Location = new System.Drawing.Point(167, 187);
51 | this.cmd_jogar.Name = "cmd_jogar";
52 | this.cmd_jogar.Size = new System.Drawing.Size(150, 50);
53 | this.cmd_jogar.TabIndex = 0;
54 | this.cmd_jogar.Text = "Jogar";
55 | this.cmd_jogar.UseVisualStyleBackColor = true;
56 | this.cmd_jogar.Click += new System.EventHandler(this.cmd_jogar_Click);
57 | //
58 | // cmd_pontuacao
59 | //
60 | this.cmd_pontuacao.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmd_pontuacao.BackgroundImage")));
61 | this.cmd_pontuacao.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
62 | this.cmd_pontuacao.Cursor = System.Windows.Forms.Cursors.Hand;
63 | this.cmd_pontuacao.FlatAppearance.BorderSize = 0;
64 | this.cmd_pontuacao.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent;
65 | this.cmd_pontuacao.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
66 | this.cmd_pontuacao.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
67 | this.cmd_pontuacao.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
68 | this.cmd_pontuacao.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
69 | this.cmd_pontuacao.ForeColor = System.Drawing.Color.White;
70 | this.cmd_pontuacao.Location = new System.Drawing.Point(167, 243);
71 | this.cmd_pontuacao.Name = "cmd_pontuacao";
72 | this.cmd_pontuacao.Size = new System.Drawing.Size(150, 50);
73 | this.cmd_pontuacao.TabIndex = 1;
74 | this.cmd_pontuacao.Text = "Pontuacao";
75 | this.cmd_pontuacao.UseVisualStyleBackColor = true;
76 | this.cmd_pontuacao.Click += new System.EventHandler(this.cmd_pontuacao_Click);
77 | //
78 | // cmd_sair
79 | //
80 | this.cmd_sair.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmd_sair.BackgroundImage")));
81 | this.cmd_sair.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
82 | this.cmd_sair.Cursor = System.Windows.Forms.Cursors.Hand;
83 | this.cmd_sair.FlatAppearance.BorderSize = 0;
84 | this.cmd_sair.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent;
85 | this.cmd_sair.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
86 | this.cmd_sair.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
87 | this.cmd_sair.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
88 | this.cmd_sair.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
89 | this.cmd_sair.ForeColor = System.Drawing.Color.White;
90 | this.cmd_sair.Location = new System.Drawing.Point(167, 299);
91 | this.cmd_sair.Name = "cmd_sair";
92 | this.cmd_sair.Size = new System.Drawing.Size(150, 50);
93 | this.cmd_sair.TabIndex = 2;
94 | this.cmd_sair.Text = "Sair";
95 | this.cmd_sair.UseVisualStyleBackColor = true;
96 | this.cmd_sair.Click += new System.EventHandler(this.cmd_sair_Click);
97 | //
98 | // label1
99 | //
100 | this.label1.AutoSize = true;
101 | this.label1.Font = new System.Drawing.Font("Comic Sans MS", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
102 | this.label1.ForeColor = System.Drawing.Color.White;
103 | this.label1.Location = new System.Drawing.Point(59, 9);
104 | this.label1.Name = "label1";
105 | this.label1.Size = new System.Drawing.Size(366, 56);
106 | this.label1.TabIndex = 3;
107 | this.label1.Text = "Programming-Quiz";
108 | //
109 | // frmMenu
110 | //
111 | this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 22F);
112 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
113 | this.BackColor = System.Drawing.Color.DarkBlue;
114 | this.ClientSize = new System.Drawing.Size(484, 361);
115 | this.Controls.Add(this.label1);
116 | this.Controls.Add(this.cmd_sair);
117 | this.Controls.Add(this.cmd_pontuacao);
118 | this.Controls.Add(this.cmd_jogar);
119 | this.Font = new System.Drawing.Font("Trebuchet MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
120 | this.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
121 | this.MaximizeBox = false;
122 | this.Name = "frmMenu";
123 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
124 | this.Text = "Programming-Quiz";
125 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMenu_FormClosing);
126 | this.ResumeLayout(false);
127 | this.PerformLayout();
128 |
129 | }
130 |
131 | #endregion
132 |
133 | private System.Windows.Forms.Button cmd_jogar;
134 | private System.Windows.Forms.Button cmd_pontuacao;
135 | private System.Windows.Forms.Button cmd_sair;
136 | private System.Windows.Forms.Label label1;
137 | }
138 | }
139 |
140 |
--------------------------------------------------------------------------------
/programming-quiz/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class frmMenu : Form
14 | {
15 | public frmMenu()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void cmd_sair_Click(object sender, EventArgs e)
21 | {
22 | Application.Exit();
23 | }
24 |
25 | private void cmd_pontuacao_Click(object sender, EventArgs e)
26 | {
27 | frmPontuacao frm = new frmPontuacao();
28 | this.Hide();
29 | frm.ShowDialog();
30 | this.Show();
31 | }
32 |
33 | private void cmd_jogar_Click(object sender, EventArgs e)
34 | {
35 | frmJogar frm = new frmJogar();
36 | this.Hide();
37 | frm.ShowDialog();
38 | this.Show();
39 | }
40 |
41 | private void frmMenu_FormClosing(object sender, FormClosingEventArgs e)
42 | {
43 | if (MessageBox.Show("Deseja sair do jogo?", "SAIR", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
44 | e.Cancel = true;
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/programming-quiz/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAPoAAAA0CAYAAACjDiX5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa
125 | AAAE3ElEQVR4Xu3dSW8cRRjG8eYEnwOFwIV4ptvOJg5s2QjhBhKbxJaEr4JCSAQEPkwIl2A5wiLizB7g
126 | FgGnIBZH8Dy1NJlMEduTybi79X+ln6yepXt8eKZrqqurqvlW80hVjd/W34+rqr4k38iv8pf8A2CKs+GM
127 | OCvKzPgj/T1dVUu7U6i6UqORPtg5+VlK/wiAmTQ/yVmFfymFbeF1nz7Is7I2+cH2ytPynLwgr8hr8qa8
128 | BWCKs+GMOCvOjLPjDDlLt2arXlXoj8fsLaRGKzro5/99gBU5Ki9K6R8BMJuX5Ig4Y23gr0iTwngv6vEH
129 | 9I3yvg5yMx5wv/jb5w0pfUgA8+GMOWv7JIR9Q87HTM61lh/Wjr+MB2nkmBBwYLFeF2fPGQyBv6oW9kMp
130 | pHdbzWPa4W9xxwfkZSl9CACL4QweFGdy/IscSGGdtcbHtLPf4w6fFM7iQDc4i85kOLM7o0dSaLdb9X65
131 | EXd0SOg5B7rnsOSwu/W9rfLF+nARXztwr1/pAAC6IYfdzfh6VwrxZuWevNzx9lTaEYBua5vxX1TVrvtT
132 | mO9U9QfxDe54cy9faacAusW/2XMHnUeq3rHCYJibsfue3nWgX5zZcOltQ3/rFOqp8rDW9fiN4Gt1pR0B
133 | 6DaPUg1n9bWY6amqT8QXeMQbl9GAfvLP7TyCzpfHpyrfoOKhdqUdAOiHExLO6qsp3LmWx/EJD57nbA70
134 | mzPc3gizJ4XcVb8XH+SaOTAMznII+pkUcleeNMK3xZXeBKBffNt4CPq1FHJP/+QHfKN76Q0A+ilPXhHu
135 | cPMcb97wrBalFwPoJ49sDWf1Uw66J6PTBr3twLA40yHoFxT0+tO44fmqSi8G0E/OdAj6RQf9+7jxanoS
136 | wDB4wskQ9G/ddPetbdrgBhZgWDy7bAj6dZ/R/4wbTCwBDIsHzoSg/0HQgcGaCDpNd2CYJpruzXdxg844
137 | YFgmOuO4vAYM08TlNQbMAMPUDpj50Gf003GDIbDAsLQTRp5U0MNyS9rwrBSlFwPop3ZF1jwFtNdh9gPc
138 | pgoMQ3ub6g8p5C4vtu4HmXgCGIZ2BZd3Ushd46X4IFNJAf3nMTG52d48mkKeyxPJ+Ql634F+a3vbL6dw
139 | 31rN8fikO+UYJQf0k1vkbSdccYVVL+BwJb6ABRyAfnJ2neHxZynXpaob8XIueiFLMgH94qtm4Uz+d1WN
140 | RinU/1f1+fhiL9hGxxzQD/657YVRnV1fRdu0wrLJV+MbPLKmtFMA3eFbzJ+QcDZf3+KyyS5PD5tvX/X1
141 | uNLOAXRDe838elWtPJhCvNVa3qs33og7OCRMTAF0TxtyZXV0MIV3u+Xu+Rx2N+P5zQ50g3+Tt811ZbQ5
142 | nEI7a/lbIjfj3UFHbzyws9y7njve3Fxv9qWw3m35N3vuoPOlNy+2zqAaYLHconb2QsBtfYbf5JtV6I0/
143 | JxvxIB5B53WYac4D95ZPqh7W2o5481iXs9voXZ+lmloHWksHFN8I47vefFtc6UMCmI0z5Wy1AbfVLQyG
144 | mWctPxMP2n4A8VneC7v52+d58YST/jaixx4oczacEWfFmXEr2R3fE+G2y3I0hW8nqt5TVeN39ffH9IEA
145 | zMc1OaNW9O23mu50hU67U3JBPpGvU499WiQCwG2UjZCRr+SiODsnJU//NIeqqn8B+Lx9PwZfKKAAAAAA
146 | SUVORK5CYII=
147 |
148 |
149 |
150 |
151 | iVBORw0KGgoAAAANSUhEUgAAAPoAAAA0CAYAAACjDiX5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
152 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa
153 | AAAE3ElEQVR4Xu3dSW8cRRjG8eYEnwOFwIV4ptvOJg5s2QjhBhKbxJaEr4JCSAQEPkwIl2A5wiLizB7g
154 | FgGnIBZH8Dy1NJlMEduTybi79X+ln6yepXt8eKZrqqurqvlW80hVjd/W34+rqr4k38iv8pf8A2CKs+GM
155 | OCvKzPgj/T1dVUu7U6i6UqORPtg5+VlK/wiAmTQ/yVmFfymFbeF1nz7Is7I2+cH2ytPynLwgr8hr8qa8
156 | BWCKs+GMOCvOjLPjDDlLt2arXlXoj8fsLaRGKzro5/99gBU5Ki9K6R8BMJuX5Ig4Y23gr0iTwngv6vEH
157 | 9I3yvg5yMx5wv/jb5w0pfUgA8+GMOWv7JIR9Q87HTM61lh/Wjr+MB2nkmBBwYLFeF2fPGQyBv6oW9kMp
158 | pHdbzWPa4W9xxwfkZSl9CACL4QweFGdy/IscSGGdtcbHtLPf4w6fFM7iQDc4i85kOLM7o0dSaLdb9X65
159 | EXd0SOg5B7rnsOSwu/W9rfLF+nARXztwr1/pAAC6IYfdzfh6VwrxZuWevNzx9lTaEYBua5vxX1TVrvtT
160 | mO9U9QfxDe54cy9faacAusW/2XMHnUeq3rHCYJibsfue3nWgX5zZcOltQ3/rFOqp8rDW9fiN4Gt1pR0B
161 | 6DaPUg1n9bWY6amqT8QXeMQbl9GAfvLP7TyCzpfHpyrfoOKhdqUdAOiHExLO6qsp3LmWx/EJD57nbA70
162 | mzPc3gizJ4XcVb8XH+SaOTAMznII+pkUcleeNMK3xZXeBKBffNt4CPq1FHJP/+QHfKN76Q0A+ilPXhHu
163 | cPMcb97wrBalFwPoJ49sDWf1Uw66J6PTBr3twLA40yHoFxT0+tO44fmqSi8G0E/OdAj6RQf9+7jxanoS
164 | wDB4wskQ9G/ddPetbdrgBhZgWDy7bAj6dZ/R/4wbTCwBDIsHzoSg/0HQgcGaCDpNd2CYJpruzXdxg844
165 | YFgmOuO4vAYM08TlNQbMAMPUDpj50Gf003GDIbDAsLQTRp5U0MNyS9rwrBSlFwPop3ZF1jwFtNdh9gPc
166 | pgoMQ3ub6g8p5C4vtu4HmXgCGIZ2BZd3Ushd46X4IFNJAf3nMTG52d48mkKeyxPJ+Ql634F+a3vbL6dw
167 | 31rN8fikO+UYJQf0k1vkbSdccYVVL+BwJb6ABRyAfnJ2neHxZynXpaob8XIueiFLMgH94qtm4Uz+d1WN
168 | RinU/1f1+fhiL9hGxxzQD/657YVRnV1fRdu0wrLJV+MbPLKmtFMA3eFbzJ+QcDZf3+KyyS5PD5tvX/X1
169 | uNLOAXRDe838elWtPJhCvNVa3qs33og7OCRMTAF0TxtyZXV0MIV3u+Xu+Rx2N+P5zQ50g3+Tt811ZbQ5
170 | nEI7a/lbIjfj3UFHbzyws9y7njve3Fxv9qWw3m35N3vuoPOlNy+2zqAaYLHconb2QsBtfYbf5JtV6I0/
171 | JxvxIB5B53WYac4D95ZPqh7W2o5481iXs9voXZ+lmloHWksHFN8I47vefFtc6UMCmI0z5Wy1AbfVLQyG
172 | mWctPxMP2n4A8VneC7v52+d58YST/jaixx4oczacEWfFmXEr2R3fE+G2y3I0hW8nqt5TVeN39ffH9IEA
173 | zMc1OaNW9O23mu50hU67U3JBPpGvU499WiQCwG2UjZCRr+SiODsnJU//NIeqqn8B+Lx9PwZfKKAAAAAA
174 | SUVORK5CYII=
175 |
176 |
177 |
178 |
179 | iVBORw0KGgoAAAANSUhEUgAAAPoAAAA0CAYAAACjDiX5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
180 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwa
181 | AAAE3ElEQVR4Xu3dSW8cRRjG8eYEnwOFwIV4ptvOJg5s2QjhBhKbxJaEr4JCSAQEPkwIl2A5wiLizB7g
182 | FgGnIBZH8Dy1NJlMEduTybi79X+ln6yepXt8eKZrqqurqvlW80hVjd/W34+rqr4k38iv8pf8A2CKs+GM
183 | OCvKzPgj/T1dVUu7U6i6UqORPtg5+VlK/wiAmTQ/yVmFfymFbeF1nz7Is7I2+cH2ytPynLwgr8hr8qa8
184 | BWCKs+GMOCvOjLPjDDlLt2arXlXoj8fsLaRGKzro5/99gBU5Ki9K6R8BMJuX5Ig4Y23gr0iTwngv6vEH
185 | 9I3yvg5yMx5wv/jb5w0pfUgA8+GMOWv7JIR9Q87HTM61lh/Wjr+MB2nkmBBwYLFeF2fPGQyBv6oW9kMp
186 | pHdbzWPa4W9xxwfkZSl9CACL4QweFGdy/IscSGGdtcbHtLPf4w6fFM7iQDc4i85kOLM7o0dSaLdb9X65
187 | EXd0SOg5B7rnsOSwu/W9rfLF+nARXztwr1/pAAC6IYfdzfh6VwrxZuWevNzx9lTaEYBua5vxX1TVrvtT
188 | mO9U9QfxDe54cy9faacAusW/2XMHnUeq3rHCYJibsfue3nWgX5zZcOltQ3/rFOqp8rDW9fiN4Gt1pR0B
189 | 6DaPUg1n9bWY6amqT8QXeMQbl9GAfvLP7TyCzpfHpyrfoOKhdqUdAOiHExLO6qsp3LmWx/EJD57nbA70
190 | mzPc3gizJ4XcVb8XH+SaOTAMznII+pkUcleeNMK3xZXeBKBffNt4CPq1FHJP/+QHfKN76Q0A+ilPXhHu
191 | cPMcb97wrBalFwPoJ49sDWf1Uw66J6PTBr3twLA40yHoFxT0+tO44fmqSi8G0E/OdAj6RQf9+7jxanoS
192 | wDB4wskQ9G/ddPetbdrgBhZgWDy7bAj6dZ/R/4wbTCwBDIsHzoSg/0HQgcGaCDpNd2CYJpruzXdxg844
193 | YFgmOuO4vAYM08TlNQbMAMPUDpj50Gf003GDIbDAsLQTRp5U0MNyS9rwrBSlFwPop3ZF1jwFtNdh9gPc
194 | pgoMQ3ub6g8p5C4vtu4HmXgCGIZ2BZd3Ushd46X4IFNJAf3nMTG52d48mkKeyxPJ+Ql634F+a3vbL6dw
195 | 31rN8fikO+UYJQf0k1vkbSdccYVVL+BwJb6ABRyAfnJ2neHxZynXpaob8XIueiFLMgH94qtm4Uz+d1WN
196 | RinU/1f1+fhiL9hGxxzQD/657YVRnV1fRdu0wrLJV+MbPLKmtFMA3eFbzJ+QcDZf3+KyyS5PD5tvX/X1
197 | uNLOAXRDe838elWtPJhCvNVa3qs33og7OCRMTAF0TxtyZXV0MIV3u+Xu+Rx2N+P5zQ50g3+Tt811ZbQ5
198 | nEI7a/lbIjfj3UFHbzyws9y7njve3Fxv9qWw3m35N3vuoPOlNy+2zqAaYLHconb2QsBtfYbf5JtV6I0/
199 | JxvxIB5B53WYac4D95ZPqh7W2o5481iXs9voXZ+lmloHWksHFN8I47vefFtc6UMCmI0z5Wy1AbfVLQyG
200 | mWctPxMP2n4A8VneC7v52+d58YST/jaixx4oczacEWfFmXEr2R3fE+G2y3I0hW8nqt5TVeN39ffH9IEA
201 | zMc1OaNW9O23mu50hU67U3JBPpGvU499WiQCwG2UjZCRr+SiODsnJU//NIeqqn8B+Lx9PwZfKKAAAAAA
202 | SUVORK5CYII=
203 |
204 |
205 |
--------------------------------------------------------------------------------
/programming-quiz/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace programming_quiz
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new frmMenu());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/programming-quiz/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("programming-quiz")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("programming-quiz")]
13 | [assembly: AssemblyCopyright("Copyright © 2021")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("b5f2ec14-d86e-4238-8124-77b358a83b02")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/programming-quiz/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace programming_quiz.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("programming_quiz.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Drawing.Bitmap.
65 | ///
66 | internal static System.Drawing.Bitmap ajuda_duas {
67 | get {
68 | object obj = ResourceManager.GetObject("ajuda-duas", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// Looks up a localized resource of type System.Drawing.Bitmap.
75 | ///
76 | internal static System.Drawing.Bitmap ajuda_mostrar {
77 | get {
78 | object obj = ResourceManager.GetObject("ajuda-mostrar", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// Looks up a localized resource of type System.Drawing.Bitmap.
85 | ///
86 | internal static System.Drawing.Bitmap ajuda_pular {
87 | get {
88 | object obj = ResourceManager.GetObject("ajuda-pular", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// Looks up a localized resource of type System.Drawing.Bitmap.
95 | ///
96 | internal static System.Drawing.Bitmap botao_padrao {
97 | get {
98 | object obj = ResourceManager.GetObject("botao-padrao", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// Looks up a localized resource of type System.Drawing.Bitmap.
105 | ///
106 | internal static System.Drawing.Bitmap emoji_feliz {
107 | get {
108 | object obj = ResourceManager.GetObject("emoji-feliz", resourceCulture);
109 | return ((System.Drawing.Bitmap)(obj));
110 | }
111 | }
112 |
113 | ///
114 | /// Looks up a localized resource of type System.Drawing.Bitmap.
115 | ///
116 | internal static System.Drawing.Bitmap emoji_grande {
117 | get {
118 | object obj = ResourceManager.GetObject("emoji-grande", resourceCulture);
119 | return ((System.Drawing.Bitmap)(obj));
120 | }
121 | }
122 |
123 | ///
124 | /// Looks up a localized resource of type System.Drawing.Bitmap.
125 | ///
126 | internal static System.Drawing.Bitmap emoji_medio {
127 | get {
128 | object obj = ResourceManager.GetObject("emoji-medio", resourceCulture);
129 | return ((System.Drawing.Bitmap)(obj));
130 | }
131 | }
132 |
133 | ///
134 | /// Looks up a localized resource of type System.Drawing.Bitmap.
135 | ///
136 | internal static System.Drawing.Bitmap emoji_medio1 {
137 | get {
138 | object obj = ResourceManager.GetObject("emoji-medio1", resourceCulture);
139 | return ((System.Drawing.Bitmap)(obj));
140 | }
141 | }
142 |
143 | ///
144 | /// Looks up a localized resource of type System.Drawing.Bitmap.
145 | ///
146 | internal static System.Drawing.Bitmap emoji_pequeno {
147 | get {
148 | object obj = ResourceManager.GetObject("emoji-pequeno", resourceCulture);
149 | return ((System.Drawing.Bitmap)(obj));
150 | }
151 | }
152 |
153 | ///
154 | /// Looks up a localized resource of type System.Drawing.Bitmap.
155 | ///
156 | internal static System.Drawing.Bitmap estrelas {
157 | get {
158 | object obj = ResourceManager.GetObject("estrelas", resourceCulture);
159 | return ((System.Drawing.Bitmap)(obj));
160 | }
161 | }
162 |
163 | ///
164 | /// Looks up a localized resource of type System.Drawing.Bitmap.
165 | ///
166 | internal static System.Drawing.Bitmap fundo_pontuacao {
167 | get {
168 | object obj = ResourceManager.GetObject("fundo-pontuacao", resourceCulture);
169 | return ((System.Drawing.Bitmap)(obj));
170 | }
171 | }
172 |
173 | ///
174 | /// Looks up a localized resource of type System.Drawing.Bitmap.
175 | ///
176 | internal static System.Drawing.Bitmap fundo_pontuacao2 {
177 | get {
178 | object obj = ResourceManager.GetObject("fundo-pontuacao2", resourceCulture);
179 | return ((System.Drawing.Bitmap)(obj));
180 | }
181 | }
182 |
183 | ///
184 | /// Looks up a localized resource of type System.Drawing.Bitmap.
185 | ///
186 | internal static System.Drawing.Bitmap imagem_fundo {
187 | get {
188 | object obj = ResourceManager.GetObject("imagem-fundo", resourceCulture);
189 | return ((System.Drawing.Bitmap)(obj));
190 | }
191 | }
192 |
193 | ///
194 | /// Looks up a localized resource of type System.Drawing.Bitmap.
195 | ///
196 | internal static System.Drawing.Bitmap imagem_fundo_jogo {
197 | get {
198 | object obj = ResourceManager.GetObject("imagem-fundo-jogo", resourceCulture);
199 | return ((System.Drawing.Bitmap)(obj));
200 | }
201 | }
202 |
203 | ///
204 | /// Looks up a localized resource of type System.Drawing.Bitmap.
205 | ///
206 | internal static System.Drawing.Bitmap imagem_fundo_pontuacao {
207 | get {
208 | object obj = ResourceManager.GetObject("imagem-fundo-pontuacao", resourceCulture);
209 | return ((System.Drawing.Bitmap)(obj));
210 | }
211 | }
212 |
213 | ///
214 | /// Looks up a localized resource of type System.Drawing.Bitmap.
215 | ///
216 | internal static System.Drawing.Bitmap imagem_fundo_pontuacao1 {
217 | get {
218 | object obj = ResourceManager.GetObject("imagem-fundo-pontuacao1", resourceCulture);
219 | return ((System.Drawing.Bitmap)(obj));
220 | }
221 | }
222 |
223 | ///
224 | /// Looks up a localized resource of type System.Drawing.Bitmap.
225 | ///
226 | internal static System.Drawing.Bitmap lampada {
227 | get {
228 | object obj = ResourceManager.GetObject("lampada", resourceCulture);
229 | return ((System.Drawing.Bitmap)(obj));
230 | }
231 | }
232 |
233 | ///
234 | /// Looks up a localized resource of type System.Drawing.Bitmap.
235 | ///
236 | internal static System.Drawing.Bitmap lampada1 {
237 | get {
238 | object obj = ResourceManager.GetObject("lampada1", resourceCulture);
239 | return ((System.Drawing.Bitmap)(obj));
240 | }
241 | }
242 |
243 | ///
244 | /// Looks up a localized resource of type System.Drawing.Bitmap.
245 | ///
246 | internal static System.Drawing.Bitmap taca {
247 | get {
248 | object obj = ResourceManager.GetObject("taca", resourceCulture);
249 | return ((System.Drawing.Bitmap)(obj));
250 | }
251 | }
252 | }
253 | }
254 |
--------------------------------------------------------------------------------
/programming-quiz/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\bin\Debug\_front-end\emoji-medio.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\bin\Debug\_front-end\emoji-medio.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
128 | ..\bin\Debug\_front-end\ajuda-mostrar.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
129 |
130 |
131 | ..\bin\Debug\_front-end\lampada.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
132 |
133 |
134 | ..\bin\Debug\_front-end\emoji-feliz.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
135 |
136 |
137 | ..\bin\Debug\_front-end\imagem-fundo-jogo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
138 |
139 |
140 | ..\bin\Debug\_front-end\ajuda-duas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
141 |
142 |
143 | ..\bin\Debug\_front-end\lampada.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
144 |
145 |
146 | ..\bin\Debug\_front-end\imagem-fundo-pontuacao.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
147 |
148 |
149 | ..\bin\Debug\_front-end\ajuda-pular.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
150 |
151 |
152 | ..\bin\Debug\_front-end\estrelas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
153 |
154 |
155 | ..\bin\Debug\_front-end\imagem-fundo-pontuacao.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
156 |
157 |
158 | ..\bin\Debug\_front-end\fundo-pontuacao.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
159 |
160 |
161 | ..\bin\Debug\_front-end\imagem-fundo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
162 |
163 |
164 | ..\bin\Debug\_front-end\fundo-pontuacao2.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
165 |
166 |
167 | ..\bin\Debug\_front-end\emoji-pequeno.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
168 |
169 |
170 | ..\bin\Debug\_front-end\botao-padrao.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
171 |
172 |
173 | ..\bin\Debug\_front-end\emoji-grande.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
174 |
175 |
176 | ..\bin\Debug\_front-end\taca.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
177 |
178 |
--------------------------------------------------------------------------------
/programming-quiz/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace programming_quiz.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/programming-quiz/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/Bunifu_UI_v1.5.3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/Bunifu_UI_v1.5.3.dll
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_arquivos/pontuacao.txt:
--------------------------------------------------------------------------------
1 | 2 44 KANAUA
2 | 1 33 MANUEL-DEMBO
3 | 1 32 MANUEL
4 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-duas-verde.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-duas-verde.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-duas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-duas.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-mostrar-verde.png.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-mostrar-verde.png.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-mostrar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-mostrar.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-pular-verde.png.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-pular-verde.png.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/ajuda-pular.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/ajuda-pular.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-ajuda.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-amarelo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/botao-amarelo.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-padrao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/botao-padrao.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-padrao.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-verde.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/botao-verde.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/botao-vermelho.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/botao-vermelho.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/emoji-feliz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/emoji-feliz.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/emoji-grande.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/emoji-grande.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/emoji-medio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/emoji-medio.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/emoji-pequeno.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/emoji-pequeno.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/estrelas.ai:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/estrelas.ai
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/estrelas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/estrelas.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/fundo-header-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/fundo-header-2.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/fundo-pontuacao.ai:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/fundo-pontuacao.ai
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/fundo-pontuacao.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/fundo-pontuacao.jpg
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/fundo-pontuacao.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
51 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/fundo-pontuacao2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/fundo-pontuacao2.jpg
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/icone.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/icone.ico
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/imagem-fundo-jogo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/imagem-fundo-jogo.jpg
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/imagem-fundo-pontuacao.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/imagem-fundo-pontuacao.jpg
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/imagem-fundo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/imagem-fundo.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/lampada.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/lampada.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/mover-form-usando-panel.txt:
--------------------------------------------------------------------------------
1 | barra-superior
2 |
3 | using Sytem.Runtime.InteropServices;
4 |
5 | [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
6 | private extern static void ReleaseCapture();
7 | [DllImport("user32.DLL", EntryPoint = "SendMessage")]
8 |
9 | private extern static void SendMessage(System.IntPtr hwnd, int wMsg, int wParam, int lOaram);
10 |
11 | -no vento mouse Down do panel{
12 | ReleaseCapture();
13 | SendMessage(this.Handle, 0x112, 0xf012, 0);
14 | }
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_front-end/taca.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_front-end/taca.png
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_musica/certo.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_musica/certo.wav
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_musica/errado.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_musica/errado.wav
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_musica/fundo.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_musica/fundo.wav
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/_musica/vitoria.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/_musica/vitoria.wav
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/programming-quiz.exe
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/programming-quiz.pdb
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/bin/Debug/programming-quiz.vshost.exe
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/programming-quiz/bin/Debug/programming-quiz.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/programming-quiz/clJogo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Collections;
7 | using System.Windows.Forms;
8 | namespace programming_quiz
9 | {
10 | internal partial class clJogo
11 | {
12 | #region perguntas
13 | public ArrayList perguntas = new ArrayList()
14 | {
15 | "Porque que o HTML não é uma liguagem de programação?",
16 | "Oque é uma IDE?",
17 | "Oque é uma liguagem Case Sensitive?",
18 | "Qual destas Linguagens não é Case Sensitive?",
19 | "O que significa a sigla CSS?",
20 | "O que significa a sigla HTTP?",
21 | "O que significa a sigla WWW?",
22 | "O que significa a sigla POO?",
23 | "Quais são as duas pricipais funções do Browser?",
24 | "Em que ano surgiu o C#?",
25 | "Quem foi o criador da linguagem HTML?",
26 | "Qual foi a primeira linguagem criada para multiplataforma?",
27 | "Qual foi o primeiro nome da linguagem JAVA?",
28 | "A que empresa pertence a linguagem Python?",
29 | "Qual a principal função do compilador?",
30 | "O que é um compilador?",
31 | "O que significa a sigla SQL?",
32 | "Qual a principal IDE para criação de códigos em C#?",
33 | "Qual destas não é uma linguagem da Microsoft?",
34 | "Qual a área de desenvolvimento da Linguagem JavaScript?",
35 | "Qual a função do HTML em uma página WEB?",
36 | "Qual a função do CSS em uma página WEB?",
37 | "Qual a função do JS em uma página WEB?",
38 | "Quais são os pilares para construção de uma página WEB?",
39 | "Quantos paradigmas de programação existem?",
40 | "Quais são os paradigmas de programação que existem?",
41 | "O que significa a sigla URL?",
42 | "O que deve conter uma URL?",
43 | "Qual a função do protocolo FTP?",
44 | "Quem criou a internet?",
45 | "De onde Surgiu a internet?",
46 | "Qual destas funções não pertencia a máquina básica de Turing?",
47 | "Quando é que uma limguagem de computador é considerada uma linguagem de programação?",
48 | "O que entendes por código aberto?",
49 | "O que entendes por uma aplicação DEMO?",
50 | "O que entendes por uma aplicação DESKTOP?",
51 | "O que entendes por uma aplicação Mobile?",
52 | "O que entendes por uma aplicação WEB?",
53 | "Como podemos colocar um site na Internet?",
54 | "O que significa a expressão InternetWork?",
55 | "Quem criou a Microsoft?",
56 | "Qual foi a empresa que padronizou a Ex linguagem Moca?",
57 | "Qual é a função do servidor web?",
58 | "O que é preciso para programar em HTML?",
59 | "Qual é o paradigma de programação mais recente?",
60 | "Para que serve o PHP?"
61 | };
62 | #endregion
63 |
64 | #region respostas
65 | public ArrayList respostas = new ArrayList()
66 | {
67 | "Poque não é Turing Complete.",
68 | "Interface Development Entegrate.",
69 | "É uma linguagem que destingue minúsculas das maiúsculas.",
70 | "CSS.",
71 | "Cascading Style Sheets.",
72 | "Hipertext Transfer Protocol.",
73 | "Word Wide Web.",
74 | "Programação Orientada a Objectos.",
75 | "Request e Response.",
76 | "2000.",
77 | "Timothy John Berners-Lee.",
78 | "C.",
79 | "OAK.",
80 | "JetBreins.",
81 | "Tranformar o código fonte em código maquina.",
82 | "Aplicação que transforma código fonte em código objecto.",
83 | "Structured Query Language.",
84 | "Visual Studio.",
85 | "JS.",
86 | "Mobile, Game e Web.",
87 | "Define e estrutura a página.",
88 | "Definir o estilo.",
89 | "Trabalhar com interatividade.",
90 | "HTML, CSS e JS.",
91 | "2.",
92 | "Programação procedural e POO.",
93 | "Uniform Resource Locator.",
94 | "Protocolo do documento, endereço do servidor e localização do arquivo.",
95 | "Transferência de ficheiros de texto.",
96 | "Ninguém.",
97 | "Da comunicação humana.",
98 | "Marcar o texto.",
99 | "Quando é Turing Complete.",
100 | "Código em que todo mundo pode fazer suas alterações.",
101 | "É parte de uma aplicação completa.",
102 | "Aplicação para computadores.",
103 | "Aplicação para telemóveis e tabletes.",
104 | "Aplicação na internet.",
105 | "Atavés de Hospedagem.",
106 | "Conjunto de redes.",
107 | "Bill Gate e Paul Alen.",
108 | "Ecma.",
109 | "Gerenciar.",
110 | "Um editor de texto.",
111 | "POO.",
112 | "Programar Back/End em uma página."
113 | };
114 | #endregion
115 |
116 | #region opcao1
117 | public ArrayList opcao1 = new ArrayList() {
118 | "HTML é uma linguagem de programação.",
119 | "Internal Development Energy.",
120 | "é uma lingugem sensível.",
121 | "PhP.",
122 | "Estilização da Página.",
123 | "Abrir paginas que têm coteúdo multimédia.",
124 | "War Wide Web.",
125 | "Programação Orientada a Obstaculos.",
126 | "Navegar e Manter a Segurança.",
127 | "2002.",
128 | "Tim Lee!",
129 | "C#.",
130 | "B.",
131 | "Microsoft.",
132 | "Transformar código objecto em fonte.",
133 | "Aplicação que permite escrever.",
134 | "Language Question Structured.",
135 | "Falcon.",
136 | "C#.",
137 | "Desktop, Game.",
138 | "Estilo da página.",
139 | "Interpretar o código html.",
140 | "Estilo da página.",
141 | "C#, HTML e C.",
142 | "3.",
143 | "Herança e Polimorfismo.",
144 | "Uniform Resolve Locator.",
145 | "Localização, IP e DNS.",
146 | "Armarzenar os ficheiros na pagina.",
147 | "Timothy Jet-Lee.",
148 | "Da necessidade de fazer compras online.",
149 | "Alterar dados na memória.",
150 | "Quando não é Turing Complete.",
151 | "Código que so eu altero.",
152 | "Aplicação completa.",
153 | "Aplicação para computadores e telemóveis.",
154 | "Aplicação para computadores e tabletes.",
155 | "Aplicação só para computadores.",
156 | "Simplesmente conectando-me a internet.",
157 | "Internet.",
158 | "Paul Alen.",
159 | "JetBreins.",
160 | "Solicitar dados.",
161 | "Obrigatoriamente uma IDE.",
162 | "Programação procedural.",
163 | "Programar Front/End da página."
164 | };
165 | #endregion
166 |
167 | #region opcao2
168 | public ArrayList opcao2 = new ArrayList()
169 | {
170 | "Porque trabalha com outras linguagens.",
171 | "Development Internal Entegrated.",
172 | "É aquela que escrita em ingles.",
173 | "C++.",
174 | "Cascading Style Search.",
175 | "Transfer Hipertext Protocol Transcend.",
176 | "West War Web.",
177 | "Programação Feita com Orientação.",
178 | "Response e Navegar.",
179 | "2001.",
180 | "Bill Gates.",
181 | "B.",
182 | "GD.",
183 | "Apple.",
184 | "Mudar o código.",
185 | "Programa que serve para acessar a internet.",
186 | "Quatification Structured Language.",
187 | "Visual Studio Code.",
188 | "VB Script.",
189 | "Web.",
190 | "Interação da página.",
191 | "Formatar o texto.",
192 | "Controle de variáveis.",
193 | "JS, CSS e Python.",
194 | "5.",
195 | "Herança e POO.",
196 | "Uniform Resourse Localizator.",
197 | "Cabeça Tronco e Membro.",
198 | "Encontrar todos documentos da página",
199 | "Steve Jobs.",
200 | "Para facilitar a vida económica.",
201 | "Mudar o fluxo de execução.",
202 | "Quando altera dados na memoria.",
203 | "Código inacabado.",
204 | "Aplicação so para computadores.",
205 | "Aplicação inacabada.",
206 | "Aplicação para desenvolvedores.",
207 | "Aplicação para navegar na internet.",
208 | "Todo site depois de acabado e automaticamente hospedado.",
209 | "Rede.",
210 | "Pedro Vasco.",
211 | "Apple.",
212 | "Investigar.",
213 | "Visual Studio Code.",
214 | "HTML5.",
215 | "Fazer calculos na página."
216 | };
217 | #endregion
218 |
219 | #region opcao3
220 | public ArrayList opcao3 = new ArrayList()
221 | {
222 | "Porque é Turing Complete.",
223 | "Interface Developed Entegrate.",
224 | "Aquela que não destingue minúsculas das maiúsculas.",
225 | "Rubby.",
226 | "Search Casting Service.",
227 | "Hipertext Transfer Transend Protocol.",
228 | "Woode War Web.",
229 | "Programação Feita para Objecto.",
230 | "Request e Interpretar.",
231 | "1200.",
232 | "Timothy Jay Bernards Lee.",
233 | "C++.",
234 | "Moca.",
235 | "Google.",
236 | "Escrever o código.",
237 | "Programa de atualização do código.",
238 | "Quad Language Structured.",
239 | "VisualG.",
240 | "Visual Basic.",
241 | "Android, Mobile.",
242 | "Criatividade da página.",
243 | "Ler a página.",
244 | "Organizar página.",
245 | "HTML, C++ e PhP.",
246 | "4.",
247 | "POO e Polimorfismo.",
248 | "Localizator Resource Uniform.",
249 | "IP, endereço do servidor e DNS.",
250 | "Encontrar o destino do ficheiro.",
251 | "Timothy John Berners-Lee.",
252 | "Das grandes distâncias entre as pessoas.",
253 | "Fazer cálculos.",
254 | "Quando faz cálculos.",
255 | "Código feito no bloco de notas.",
256 | "Aplicação com defeito.",
257 | "Aplicação para dispositivos móveis",
258 | "Aplicação para computadores.",
259 | "Aplicação só para telemóveis.",
260 | "Enviando o site para um servidor.",
261 | "Rede privada.",
262 | "Bill Gates.",
263 | "Microsoft.",
264 | "Solicitar serviços.",
265 | "Um compilador.",
266 | "C#.",
267 | "Oferecer maior segurança."
268 | };
269 | #endregion
270 |
271 | public int GerarPosicaoProximaPergunta(int max) {
272 | int index = 0;
273 | Random rd = new Random();
274 | index = rd.Next(0, max);
275 |
276 | return index;
277 | }
278 |
279 | public bool VerificarVitoria(int max, int pontos, Timer temporizador) {
280 | bool validar = false;
281 |
282 | if (max == 0)
283 | {
284 | validar = true;
285 |
286 | clOperacoes ope = new clOperacoes();
287 | ope.TocarFundo(false);
288 | ope.PararTempo(temporizador);
289 |
290 | frmVitoria vitoria = new frmVitoria(pontos);
291 | vitoria.ShowDialog();
292 | }
293 |
294 | return validar;
295 | }
296 |
297 | public bool VerificarResposta(string resposta, ArrayList respostas, int index) {
298 | bool validar = true;
299 |
300 | if (resposta != respostas[index].ToString())
301 | validar = false;
302 |
303 | return validar;
304 | }
305 |
306 | public void AjudaMostrar(int pos, ArrayList respostas) {
307 | frmMostrar frm = new frmMostrar(respostas[pos].ToString());
308 | frm.ShowDialog();
309 | }
310 |
311 | public int GerarPosicaoResposta() {
312 | int index = 0;
313 | Random rd = new Random();
314 | index = rd.Next(0, 4);
315 | return index;
316 | }
317 | }
318 | }
319 |
--------------------------------------------------------------------------------
/programming-quiz/clOperacoes.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.IO;
7 | using System.Windows.Forms;
8 | using System.Collections;
9 | using System.Media;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class clOperacoes
14 | {
15 | //==============Ficheiros de texto e tabalho com tempo===============================
16 | string caminhoPasta = Environment.CurrentDirectory + @"\_arquivos\";
17 | string caminhoPontuacao = "pontuacao.txt";
18 |
19 | private void CriarPastaFicheiros() {
20 | if (!Directory.Exists(caminhoPasta)) {
21 | Directory.CreateDirectory(caminhoPasta);
22 | File.CreateText(caminhoPasta + caminhoPontuacao).Close();
23 | GravarPrimeirosDados();
24 | }
25 | if (!File.Exists(caminhoPasta + caminhoPontuacao)) {
26 | File.CreateText(caminhoPasta + caminhoPontuacao).Close();
27 | GravarPrimeirosDados();
28 | }
29 | }
30 |
31 | public void GravarPrimeirosDados() {
32 | StreamWriter sw = new StreamWriter(caminhoPasta + caminhoPontuacao, false);
33 |
34 | for (int i = 0; i < 3; i++)
35 | sw.WriteLine("0 0 ");
36 |
37 | sw.Close();
38 | }
39 |
40 | public ArrayList LerPontuacao() {
41 | ArrayList dados = new ArrayList();
42 | CriarPastaFicheiros();
43 |
44 | try
45 | {
46 | StreamReader rd = new StreamReader(caminhoPasta + caminhoPontuacao, Encoding.Default);
47 |
48 | while (!rd.EndOfStream)
49 | dados.Add(rd.ReadLine());
50 |
51 | rd.Close();
52 | }
53 | catch {
54 | MessageBox.Show("ERRO: Não foi possível ler os dados dos recordes.");
55 | }
56 |
57 | return dados;
58 | }
59 |
60 | public void GravarPontuacoes(ArrayList dados) {
61 | try
62 | {
63 | dados = Ordenar(dados);
64 | StreamWriter sw = new StreamWriter(caminhoPasta + caminhoPontuacao, false);
65 |
66 | for (int i = 0; i < dados.Count; i++)
67 | sw.WriteLine(dados[i]);
68 |
69 | sw.Close();
70 | }
71 | catch {
72 | MessageBox.Show("ERRO: Não foi possível gravar os dados.");
73 | }
74 |
75 | }
76 |
77 | public ArrayList OrdenarCriterioQuantidadePerguntas(ArrayList dados) {
78 | //ordenar consoante ao número de perguntas respondidas
79 | string[] aux = new string[dados.Count];
80 |
81 | for (int i = 0; i < aux.Length; i++)
82 | aux[i] = dados[i].ToString();
83 |
84 | Array.Sort(aux);
85 | Array.Reverse(aux);
86 |
87 | dados.Clear();
88 | dados.AddRange(aux);
89 |
90 | //remover a menor dentre as 4 melhores pontuacoes
91 | if (dados.Count > 3)
92 | dados.RemoveAt(3);
93 |
94 | return dados;
95 | }
96 |
97 | private ArrayList Ordenar(ArrayList dados) {
98 | dados = OrdenarCriterioQuantidadePerguntas(dados);
99 |
100 | string[] aux = new string[dados.Count];
101 |
102 | for (int i = 0; i < dados.Count; i++)
103 | aux[i] = dados[i].ToString();
104 |
105 | //classificar quem respondeu mais perguntas em menor número de tempo
106 | int[] numeros = RetornarNumeros(aux);
107 |
108 | for (int i = 0; i < aux.Length - 1; i++)
109 | {
110 | for (int j = i + 1; j < aux.Length; j++)
111 | {
112 | if (numeros[i] == numeros[j + 1])
113 | {
114 | if (numeros[j] > numeros[j + 2])
115 | {
116 | string str = aux[i];
117 | aux[i] = aux[j];
118 | aux[j] = str;
119 | }
120 | }
121 | }
122 | }
123 |
124 | //introduzir novos dados já ordenados ao arraylis
125 | dados.Clear();
126 | dados.AddRange(aux);
127 |
128 | return dados;
129 | }
130 |
131 | private int[] RetornarNumeros(string[] str)
132 | {
133 | int[] nums = new int[str.Length * 2];
134 | int index = 0;
135 |
136 | foreach (string item in str)
137 | {
138 | nums[index++] = int.Parse(item.Substring(0, item.IndexOf(" ")));
139 | nums[index++] = int.Parse(item.Substring(item.IndexOf(" ") + 1, item.LastIndexOf(" ") - item.IndexOf(" ")));
140 | }
141 |
142 | return nums;
143 | }
144 |
145 | public void LimparOpcoesEPergunta(Control.ControlCollection controles) {
146 | int aux = 0;
147 | foreach (Control controle in controles)
148 | {
149 | if (controle is Bunifu.Framework.UI.BunifuThinButton2) {
150 | if (aux < 4)
151 | ((Bunifu.Framework.UI.BunifuThinButton2)(controle)).ButtonText = "";
152 | aux++;
153 | }
154 | if (controle is Label)
155 | ((Label)(controle)).Text = "";
156 | }
157 | }
158 |
159 | public TimeSpan Tempo(DateTime inicio, DateTime fim) {
160 | //subitrai o tempo de inicio - tempo fim e gera o tempo que ele fez
161 | TimeSpan temp = new TimeSpan();
162 |
163 | temp = fim.Subtract(inicio);
164 |
165 | return temp;
166 | }
167 |
168 | public string ApresentarTempo(string tempo) {
169 | string tempoCompleto = "0";
170 | try
171 | {
172 | string t = tempo.Substring(tempo.IndexOf(" ") + 1, tempo.LastIndexOf(" ") - tempo.IndexOf(" "));
173 |
174 | tempoCompleto = SepararHora(t) + ":" + SepararMinuto(t) + ":" + SepararSegundo(t);
175 |
176 | tempoCompleto += " " + tempo.Substring(0, tempo.IndexOf(" "));
177 |
178 | return tempoCompleto;
179 | }
180 | catch {
181 | return tempoCompleto;
182 | }
183 | }
184 |
185 | public string ExtrairNome(string pontuacao) {
186 | return pontuacao.Substring(pontuacao.LastIndexOf(" ") + 1, pontuacao.Length - pontuacao.LastIndexOf(" ") - 1);
187 | }
188 |
189 | private int SepararHora(string tempo) {
190 | int hora = 0;
191 |
192 | hora = int.Parse(tempo) / 3600;
193 |
194 | return hora;
195 | }
196 |
197 | private int SepararMinuto(string tempo) {
198 | int min = 0;
199 |
200 | min = int.Parse(tempo) / 60;
201 |
202 | return min;
203 | }
204 |
205 | private int SepararSegundo(string tempo) {
206 | int seg = 0;
207 |
208 | seg = (int.Parse(tempo) % 3600) % 60;
209 |
210 | return seg;
211 | }
212 |
213 | //==============Son===============================
214 | string caminhoMusica = Environment.CurrentDirectory + @"\_musica\";
215 | SoundPlayer player = new SoundPlayer();
216 |
217 | public void TocarFundo(bool son = true) {
218 | if (son)
219 | player.SoundLocation = caminhoMusica + "fundo.wav";
220 | else
221 | player.SoundLocation = caminhoMusica + "vitoria.wav";
222 |
223 | player.PlayLooping();
224 | }
225 | public void DesligarFundo() {
226 | player.Stop();
227 | }
228 | public void Toque(bool son = true) {
229 | if (son)
230 | player.SoundLocation = caminhoMusica + "certo.wav";
231 | else
232 | player.SoundLocation = caminhoMusica + "errado.wav";
233 |
234 | player.Play();
235 | }
236 | //==========================Tempo===============================
237 | public void PararTempo(Timer controle){
238 | controle.Enabled = false;
239 | }
240 |
241 | }
242 | }
243 |
--------------------------------------------------------------------------------
/programming-quiz/frmDados.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmDados
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDados));
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.txtNome = new System.Windows.Forms.TextBox();
34 | this.cmdGuardar = new Bunifu.Framework.UI.BunifuThinButton2();
35 | this.SuspendLayout();
36 | //
37 | // label1
38 | //
39 | this.label1.AutoSize = true;
40 | this.label1.Font = new System.Drawing.Font("Comic Sans MS", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
41 | this.label1.ForeColor = System.Drawing.Color.White;
42 | this.label1.Location = new System.Drawing.Point(12, 43);
43 | this.label1.Name = "label1";
44 | this.label1.Size = new System.Drawing.Size(181, 26);
45 | this.label1.TabIndex = 0;
46 | this.label1.Text = "Qual é o teu nome?";
47 | //
48 | // txtNome
49 | //
50 | this.txtNome.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
51 | this.txtNome.Font = new System.Drawing.Font("Comic Sans MS", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
52 | this.txtNome.ForeColor = System.Drawing.SystemColors.MenuHighlight;
53 | this.txtNome.Location = new System.Drawing.Point(8, 84);
54 | this.txtNome.MaxLength = 15;
55 | this.txtNome.Name = "txtNome";
56 | this.txtNome.Size = new System.Drawing.Size(280, 34);
57 | this.txtNome.TabIndex = 1;
58 | this.txtNome.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNome_KeyPress);
59 | //
60 | // cmdGuardar
61 | //
62 | this.cmdGuardar.ActiveBorderThickness = 1;
63 | this.cmdGuardar.ActiveCornerRadius = 20;
64 | this.cmdGuardar.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
65 | this.cmdGuardar.ActiveForecolor = System.Drawing.Color.White;
66 | this.cmdGuardar.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
67 | this.cmdGuardar.BackColor = System.Drawing.Color.Navy;
68 | this.cmdGuardar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdGuardar.BackgroundImage")));
69 | this.cmdGuardar.ButtonText = "GUARDAR";
70 | this.cmdGuardar.Cursor = System.Windows.Forms.Cursors.Hand;
71 | this.cmdGuardar.Font = new System.Drawing.Font("Comic Sans MS", 12F);
72 | this.cmdGuardar.ForeColor = System.Drawing.Color.White;
73 | this.cmdGuardar.IdleBorderThickness = 1;
74 | this.cmdGuardar.IdleCornerRadius = 20;
75 | this.cmdGuardar.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
76 | this.cmdGuardar.IdleForecolor = System.Drawing.Color.White;
77 | this.cmdGuardar.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
78 | this.cmdGuardar.Location = new System.Drawing.Point(100, 136);
79 | this.cmdGuardar.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
80 | this.cmdGuardar.Name = "cmdGuardar";
81 | this.cmdGuardar.Size = new System.Drawing.Size(100, 50);
82 | this.cmdGuardar.TabIndex = 4;
83 | this.cmdGuardar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
84 | this.cmdGuardar.Click += new System.EventHandler(this.cmdGuardar_Click);
85 | //
86 | // frmDados
87 | //
88 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
89 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
90 | this.BackColor = System.Drawing.Color.Navy;
91 | this.ClientSize = new System.Drawing.Size(300, 200);
92 | this.ControlBox = false;
93 | this.Controls.Add(this.cmdGuardar);
94 | this.Controls.Add(this.txtNome);
95 | this.Controls.Add(this.label1);
96 | this.DoubleBuffered = true;
97 | this.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
98 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
99 | this.MaximizeBox = false;
100 | this.MinimizeBox = false;
101 | this.Name = "frmDados";
102 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
103 | this.Text = "frmDados";
104 | this.ResumeLayout(false);
105 | this.PerformLayout();
106 |
107 | }
108 |
109 | #endregion
110 |
111 | private System.Windows.Forms.Label label1;
112 | private System.Windows.Forms.TextBox txtNome;
113 | private Bunifu.Framework.UI.BunifuThinButton2 cmdGuardar;
114 | }
115 | }
--------------------------------------------------------------------------------
/programming-quiz/frmDados.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class frmDados : Form
14 | {
15 | public string nome = "";
16 | public frmDados()
17 | {
18 | InitializeComponent();
19 | }
20 |
21 | private void cmdGuardar_Click(object sender, EventArgs e)
22 | {
23 | if (txtNome.Text == "")
24 | return;
25 |
26 | nome = txtNome.Text;
27 | this.Close();
28 | }
29 |
30 | private void txtNome_KeyPress(object sender, KeyPressEventArgs e)
31 | {
32 | if (e.KeyChar == ' ')
33 | e.Handled = true;
34 |
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/programming-quiz/frmDados.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
125 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
126 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
127 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
128 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
129 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
130 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
131 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
132 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
133 | b2wAAAAASUVORK5CYII=
134 |
135 |
136 |
--------------------------------------------------------------------------------
/programming-quiz/frmJogar.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading;
9 | using System.Windows.Forms;
10 | using System.Collections;
11 | using System.Runtime.InteropServices;
12 |
13 | namespace programming_quiz
14 | {
15 | public partial class frmJogar : Form
16 | {
17 | #region variaveis
18 | ArrayList pontuacoes = new ArrayList();
19 | ArrayList perguntas = new ArrayList();
20 | ArrayList respostas = new ArrayList();
21 | ArrayList opcao1 = new ArrayList();
22 | ArrayList opcao2 = new ArrayList();
23 | ArrayList opcao3 = new ArrayList();
24 |
25 | clJogo jogo = new clJogo();
26 | clOperacoes ope = new clOperacoes();
27 | int cont = 0;
28 | int indexPergunta = 0;
29 | int indexRespostaOpcao = 0;
30 | int limiteTempo = 30;
31 | int respondidas = 0;
32 | string nomeJogador = " ";
33 | string caminhoImagens = Environment.CurrentDirectory + @"\_front-end\";
34 | DateTime inicio;
35 | TimeSpan tempo;
36 | #endregion
37 |
38 | public frmJogar()
39 | {
40 | InitializeComponent();
41 | this.DoubleBuffered = true;
42 |
43 | //carregamentos dos dados
44 | perguntas = jogo.perguntas;
45 | respostas = jogo.respostas;
46 | pontuacoes = ope.LerPontuacao();
47 | opcao1 = jogo.opcao1;
48 | opcao2 = jogo.opcao2;
49 | opcao3 = jogo.opcao3;
50 |
51 | ApresentarPergunta();
52 | //pegar tempo de início do jogo
53 | inicio = DateTime.Now;
54 | }
55 |
56 | private void RemoverRespostaPerguntaOpcoes() {
57 | respostas.RemoveAt(indexPergunta);
58 | perguntas.RemoveAt(indexPergunta);
59 | opcao1.RemoveAt(indexPergunta);
60 | opcao2.RemoveAt(indexPergunta);
61 | opcao3.RemoveAt(indexPergunta);
62 | }
63 |
64 | private void ApresentarPergunta() {
65 | if (!jogo.VerificarVitoria(perguntas.Count, respondidas, temporizador))
66 | {
67 | ope.LimparOpcoesEPergunta(areaJogo.Controls);
68 |
69 | //gera a próxima pergunta aleatória
70 | indexPergunta = jogo.GerarPosicaoProximaPergunta(perguntas.Count);
71 | lblPergunta.Text = perguntas[indexPergunta].ToString();
72 | lblRespondidas.Text = "Pontos: " + respondidas.ToString() + "pt";
73 |
74 | //recomeçar contagem
75 | cont = 0;
76 |
77 | //apresentar a opção de resposta
78 | ApresenarResposta();
79 | ApresentarOutrasOpcoes();
80 |
81 | if (nomeJogador != " ")
82 | ope.TocarFundo();
83 | }
84 | else {
85 | ope.DesligarFundo();
86 |
87 | //subitrair tempos
88 | tempo = ope.Tempo(inicio, DateTime.Now);
89 |
90 | int aux = (int)tempo.TotalSeconds;
91 |
92 | //gravar novo recorde
93 | pontuacoes.Add(respondidas + " " + aux + nomeJogador);
94 |
95 | //gravar no ficheiro
96 | ope.GravarPontuacoes(pontuacoes);
97 |
98 | this.Close();
99 | }
100 | }
101 |
102 | private void ApresenarResposta() {
103 | int index = jogo.GerarPosicaoResposta();
104 | indexRespostaOpcao = index;
105 |
106 | IntroduzirTextoComando(index, respostas[indexPergunta].ToString());
107 | }
108 |
109 | private bool IntroduzirTextoComando(int index, string texto) {
110 | bool validar = false;
111 |
112 | switch (index)
113 | {
114 | case 0:
115 | if (cmdOpcaoA.ButtonText == "")
116 | {
117 | cmdOpcaoA.ButtonText = texto;
118 | validar = true;
119 | }
120 | break;
121 | case 1:
122 | if (cmdOpcaoB.ButtonText == "")
123 | {
124 | cmdOpcaoB.ButtonText = texto;
125 | validar = true;
126 | }
127 | break;
128 | case 2:
129 | if (cmdOpcaoC.ButtonText == "")
130 | {
131 | cmdOpcaoC.ButtonText = texto;
132 | validar = true;
133 | }
134 | break;
135 | case 3:
136 | if (cmdOpcaoD.ButtonText == "")
137 | {
138 | cmdOpcaoD.ButtonText = texto;
139 | validar = true;
140 | }
141 | break;
142 | }
143 |
144 | return validar;
145 | }
146 |
147 | private void ApresentarOutrasOpcoes() {
148 | int index = 0;
149 | string texto = "";
150 |
151 | for (int i = 0; i < 3; i++)
152 | {
153 | do
154 | {
155 | Random rd = new Random();
156 | index = rd.Next(0, 4);
157 |
158 | switch (i)
159 | {
160 | case 0:
161 | texto = opcao1[indexPergunta].ToString();
162 | break;
163 | case 1:
164 | texto = opcao2[indexPergunta].ToString();
165 | break;
166 | case 2:
167 | texto = opcao3[indexPergunta].ToString();
168 | break;
169 | }
170 |
171 | } while (!IntroduzirTextoComando(index, texto));
172 | }
173 | }
174 |
175 | private void ValidarResposta(string resposta, Bunifu.Framework.UI.BunifuThinButton2 cmd)
176 | {
177 | if (jogo.VerificarResposta(resposta, respostas, indexPergunta))
178 | {
179 | ope.Toque();
180 |
181 | cmd.IdleFillColor = Color.Lime;
182 | cmd.ActiveFillColor = Color.Lime;
183 | Application.DoEvents();
184 | Thread.Sleep(1000);
185 |
186 | respondidas++;
187 | RemoverRespostaPerguntaOpcoes();
188 | ApresentarPergunta();
189 | DevolverVisibilidadeDesabilitarOpcoes();
190 |
191 | cmd.IdleFillColor = Color.FromArgb(0, 0, 100);
192 | cmd.ActiveFillColor = Color.Gold;
193 | }
194 | else
195 | {
196 | ope.Toque(false);
197 |
198 | cmd.IdleFillColor = Color.Red;
199 | cmd.ActiveFillColor = Color.Red;
200 | Application.DoEvents();
201 | Thread.Sleep(1000);
202 |
203 | Finalizar();
204 | }
205 | }
206 |
207 | private void AjudaDeixarDuas() {
208 | RemoverVisibilidadeDesabilitarOpcoes();
209 |
210 | Random rd = new Random();
211 | int index = 0;
212 |
213 | //gerar a outra opcao a mostrar para além da certa
214 | do
215 | {
216 | index = rd.Next(0, 4);
217 | } while (index == indexRespostaOpcao);
218 |
219 | AtribuirVisibilidadeHablitar(index);
220 | AtribuirVisibilidadeHablitar(indexRespostaOpcao);
221 | }
222 |
223 | private void AtribuirVisibilidadeHablitar(int index)
224 | {
225 | switch (index)
226 | {
227 | case 0:
228 | cmdOpcaoA.Visible = true;
229 | cmdOpcaoA.Enabled = true;
230 | break;
231 | case 1:
232 | cmdOpcaoB.Visible = true;
233 | cmdOpcaoB.Enabled = true;
234 | break;
235 | case 2:
236 | cmdOpcaoC.Visible = true;
237 | cmdOpcaoC.Enabled = true;
238 | break;
239 | case 3:
240 | cmdOpcaoD.Visible = true;
241 | cmdOpcaoD.Enabled = true;
242 | break;
243 | }
244 | }
245 |
246 | private void RemoverVisibilidadeDesabilitarOpcoes() {
247 | //remover visibilidade
248 | cmdOpcaoA.Visible = false;
249 | cmdOpcaoB.Visible = false;
250 | cmdOpcaoC.Visible = false;
251 | cmdOpcaoD.Visible = false;
252 |
253 | //impedir seus eventos
254 | cmdOpcaoA.Enabled = false;
255 | cmdOpcaoB.Enabled = false;
256 | cmdOpcaoC.Enabled = false;
257 | cmdOpcaoD.Enabled = false;
258 | }
259 |
260 | private void DevolverVisibilidadeDesabilitarOpcoes()
261 | {
262 | //devolver visibilidade
263 | cmdOpcaoA.Visible = true;
264 | cmdOpcaoB.Visible = true;
265 | cmdOpcaoC.Visible = true;
266 | cmdOpcaoD.Visible = true;
267 |
268 | //permitir seus eventos
269 | cmdOpcaoA.Enabled = true;
270 | cmdOpcaoB.Enabled = true;
271 | cmdOpcaoC.Enabled = true;
272 | cmdOpcaoD.Enabled = true;
273 | }
274 |
275 | private void AjudaPular() {
276 | ApresentarPergunta();
277 | DevolverVisibilidadeDesabilitarOpcoes();
278 | }
279 |
280 | private void cmdAjudaDuas_Click_1(object sender, EventArgs e)
281 | {
282 | if (nomeJogador == " ")
283 | return;
284 | AjudaDeixarDuas();
285 | cmdAjudaDuas.Enabled = false;
286 | }
287 |
288 | private void cmdAjudaPular_Click_1(object sender, EventArgs e)
289 | {
290 | if (nomeJogador == " ")
291 | return;
292 |
293 | if (perguntas.Count > 1)
294 | AjudaPular();
295 | cmdAjudaPular.Enabled = false;
296 | }
297 |
298 | private void cmdAjudaMostrar_Click_1(object sender, EventArgs e)
299 | {
300 | if (nomeJogador == " ")
301 | return;
302 | jogo.AjudaMostrar(indexPergunta, respostas);
303 | cmdAjudaMostrar.Enabled = false;
304 | }
305 |
306 | private void cmdOpcaoA_Click(object sender, EventArgs e)
307 | {
308 | if (nomeJogador == " ")
309 | return;
310 | ValidarResposta(cmdOpcaoA.ButtonText, cmdOpcaoA);
311 | }
312 |
313 | private void cmdOpcaoB_Click(object sender, EventArgs e)
314 | {
315 | if (nomeJogador == " ")
316 | return;
317 | ValidarResposta(cmdOpcaoB.ButtonText, cmdOpcaoB);
318 | }
319 |
320 | private void cmdOpcaoC_Click(object sender, EventArgs e)
321 | {
322 | if (nomeJogador == " ")
323 | return;
324 | ValidarResposta(cmdOpcaoC.ButtonText, cmdOpcaoC);
325 | }
326 |
327 | private void cmdOpcaoD_Click(object sender, EventArgs e)
328 | {
329 | if (nomeJogador == " ")
330 | return;
331 | ValidarResposta(cmdOpcaoD.ButtonText, cmdOpcaoD);
332 | }
333 |
334 | private void cmdMinimizar_Click(object sender, EventArgs e)
335 | {
336 | this.WindowState = FormWindowState.Minimized;
337 | }
338 |
339 | private void cmdFechar_Click(object sender, EventArgs e)
340 | {
341 | this.Close();
342 | }
343 |
344 | private void panel1_MouseDown(object sender, MouseEventArgs e)
345 | {
346 | ReleaseCapture();
347 | SendMessage(this.Handle, 0x112, 0xf012, 0);
348 | }
349 | [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
350 | private extern static void ReleaseCapture();
351 | [DllImport("user32.DLL", EntryPoint = "SendMessage")]
352 |
353 | private extern static void SendMessage(System.IntPtr hwnd, int wMsg, int wParam, int lOaram);
354 |
355 | private void frmJogar_Shown(object sender, EventArgs e)
356 | {
357 | frmDados dados = new frmDados();
358 | dados.ShowDialog();
359 |
360 | if (dados.nome == ""){
361 | this.Close();
362 | return;
363 | }
364 | nomeJogador += dados.nome;
365 | temporizador.Enabled = true;
366 |
367 | //tocar pela primeira vez
368 | ope.TocarFundo();
369 | }
370 |
371 | private void temporizador_Tick(object sender, EventArgs e)
372 | {
373 | if (cont <= limiteTempo){
374 | pbTemporizador.Value = cont;
375 | lblTempo.Text = cont++ + "s";
376 |
377 | //aumentar dificuldade diminuindo o tempo
378 | if (respondidas == 15)
379 | {
380 | limiteTempo = 15;
381 | pbTemporizador.MaxValue = limiteTempo;
382 | }
383 | }
384 | else
385 | Finalizar();
386 |
387 | }
388 |
389 | private void Finalizar() {
390 | temporizador.Enabled = false;
391 |
392 | //subitrair tempos
393 | tempo = ope.Tempo(inicio, DateTime.Now);
394 |
395 | int aux = (int)tempo.TotalSeconds;
396 |
397 | //gravar novo recorde
398 | pontuacoes.Add(respondidas + " " + aux + nomeJogador);
399 |
400 | //gravar no ficheiro
401 | ope.GravarPontuacoes(pontuacoes);
402 |
403 | frmPerdeu frm = new frmPerdeu(respondidas);
404 | frm.ShowDialog();
405 | this.Close();
406 | }
407 |
408 | private void frmJogar_FormClosing(object sender, FormClosingEventArgs e)
409 | {
410 | ope.DesligarFundo();
411 | }
412 | }
413 | }
414 |
--------------------------------------------------------------------------------
/programming-quiz/frmMain.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using System.Runtime.InteropServices;
11 |
12 |
13 | namespace programming_quiz
14 | {
15 | public partial class frmMenu : Form
16 | {
17 | public frmMenu()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 |
23 | private void cmdJogar_Click(object sender, EventArgs e)
24 | {
25 | frmJogar frm = new frmJogar();
26 | this.Hide();
27 | frm.ShowDialog();
28 | this.Show();
29 | }
30 |
31 | private void cmdPontuacao_Click(object sender, EventArgs e)
32 | {
33 | frmPontuacao frm = new frmPontuacao();
34 | this.Hide();
35 | frm.ShowDialog();
36 | this.Show();
37 | }
38 |
39 | private void cmdSair_Click(object sender, EventArgs e)
40 | {
41 | frmSair sair = new frmSair();
42 | sair.ShowDialog();
43 | if (sair.sair)
44 | Application.Exit();
45 | }
46 |
47 | private void cmdMinimizar_Click(object sender, EventArgs e)
48 | {
49 | this.WindowState = FormWindowState.Minimized;
50 | }
51 |
52 | private void panel1_MouseDown(object sender, MouseEventArgs e)
53 | {
54 | ReleaseCapture();
55 | SendMessage(this.Handle, 0x112, 0xf012, 0);
56 | }
57 |
58 |
59 | [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
60 | private extern static void ReleaseCapture();
61 | [DllImport("user32.DLL", EntryPoint = "SendMessage")]
62 |
63 | private extern static void SendMessage(System.IntPtr hwnd, int wMsg, int wParam, int lOaram);
64 |
65 |
66 | private void cmdFechar_Click_1(object sender, EventArgs e)
67 | {
68 | frmSair sair = new frmSair();
69 | sair.ShowDialog();
70 | if (sair.sair)
71 | Application.Exit();
72 | }
73 |
74 | private void frmMenu_Load(object sender, EventArgs e)
75 | {
76 | cmdSair.BackColor = Color.Transparent;
77 | cmdJogar.BackColor = Color.Transparent;
78 | cmdPontuacao.BackColor = Color.Transparent;
79 | }
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/programming-quiz/frmMostrar.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmMostrar
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMostrar));
32 | this.lblResposta = new System.Windows.Forms.Label();
33 | this.pictureBox1 = new System.Windows.Forms.PictureBox();
34 | this.cmdOK = new Bunifu.Framework.UI.BunifuThinButton2();
35 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
36 | this.SuspendLayout();
37 | //
38 | // lblResposta
39 | //
40 | this.lblResposta.Font = new System.Drawing.Font("Comic Sans MS", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
41 | this.lblResposta.ForeColor = System.Drawing.Color.White;
42 | this.lblResposta.Location = new System.Drawing.Point(12, 109);
43 | this.lblResposta.Name = "lblResposta";
44 | this.lblResposta.Size = new System.Drawing.Size(280, 98);
45 | this.lblResposta.TabIndex = 2;
46 | this.lblResposta.Text = "label1";
47 | this.lblResposta.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
48 | //
49 | // pictureBox1
50 | //
51 | this.pictureBox1.Image = global::programming_quiz.Properties.Resources.lampada1;
52 | this.pictureBox1.Location = new System.Drawing.Point(100, 6);
53 | this.pictureBox1.Name = "pictureBox1";
54 | this.pictureBox1.Size = new System.Drawing.Size(100, 100);
55 | this.pictureBox1.TabIndex = 4;
56 | this.pictureBox1.TabStop = false;
57 | //
58 | // cmdOK
59 | //
60 | this.cmdOK.ActiveBorderThickness = 1;
61 | this.cmdOK.ActiveCornerRadius = 20;
62 | this.cmdOK.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
63 | this.cmdOK.ActiveForecolor = System.Drawing.Color.White;
64 | this.cmdOK.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
65 | this.cmdOK.BackColor = System.Drawing.Color.Navy;
66 | this.cmdOK.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdOK.BackgroundImage")));
67 | this.cmdOK.ButtonText = "OK";
68 | this.cmdOK.Cursor = System.Windows.Forms.Cursors.Hand;
69 | this.cmdOK.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
70 | this.cmdOK.ForeColor = System.Drawing.Color.White;
71 | this.cmdOK.IdleBorderThickness = 1;
72 | this.cmdOK.IdleCornerRadius = 20;
73 | this.cmdOK.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
74 | this.cmdOK.IdleForecolor = System.Drawing.Color.White;
75 | this.cmdOK.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
76 | this.cmdOK.Location = new System.Drawing.Point(100, 212);
77 | this.cmdOK.Margin = new System.Windows.Forms.Padding(5);
78 | this.cmdOK.Name = "cmdOK";
79 | this.cmdOK.Size = new System.Drawing.Size(100, 50);
80 | this.cmdOK.TabIndex = 3;
81 | this.cmdOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
82 | this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
83 | //
84 | // frmMostrar
85 | //
86 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
87 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
88 | this.BackColor = System.Drawing.Color.Navy;
89 | this.ClientSize = new System.Drawing.Size(300, 276);
90 | this.Controls.Add(this.pictureBox1);
91 | this.Controls.Add(this.cmdOK);
92 | this.Controls.Add(this.lblResposta);
93 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
94 | this.MaximizeBox = false;
95 | this.Name = "frmMostrar";
96 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
97 | this.Text = "frmMostrar";
98 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
99 | this.ResumeLayout(false);
100 |
101 | }
102 |
103 | #endregion
104 | private System.Windows.Forms.Label lblResposta;
105 | private Bunifu.Framework.UI.BunifuThinButton2 cmdOK;
106 | private System.Windows.Forms.PictureBox pictureBox1;
107 | }
108 | }
--------------------------------------------------------------------------------
/programming-quiz/frmMostrar.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class frmMostrar : Form
14 | {
15 | public frmMostrar(string resposta)
16 | {
17 | InitializeComponent();
18 | lblResposta.Text = resposta;
19 | }
20 |
21 | private void cmdOK_Click(object sender, EventArgs e)
22 | {
23 | this.Close();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/programming-quiz/frmMostrar.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
125 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
126 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
127 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
128 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
129 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
130 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
131 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
132 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
133 | b2wAAAAASUVORK5CYII=
134 |
135 |
136 |
--------------------------------------------------------------------------------
/programming-quiz/frmPerdeu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmPerdeu
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPerdeu));
32 | this.lblTexto = new System.Windows.Forms.Label();
33 | this.cmdVoltar = new Bunifu.Framework.UI.BunifuThinButton2();
34 | this.pictureBox1 = new System.Windows.Forms.PictureBox();
35 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
36 | this.SuspendLayout();
37 | //
38 | // lblTexto
39 | //
40 | this.lblTexto.AutoSize = true;
41 | this.lblTexto.Font = new System.Drawing.Font("Comic Sans MS", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
42 | this.lblTexto.ForeColor = System.Drawing.Color.White;
43 | this.lblTexto.Location = new System.Drawing.Point(65, 9);
44 | this.lblTexto.Name = "lblTexto";
45 | this.lblTexto.Size = new System.Drawing.Size(170, 33);
46 | this.lblTexto.TabIndex = 2;
47 | this.lblTexto.Text = "Você perdeu!!!";
48 | this.lblTexto.TextAlign = System.Drawing.ContentAlignment.TopCenter;
49 | //
50 | // cmdVoltar
51 | //
52 | this.cmdVoltar.ActiveBorderThickness = 1;
53 | this.cmdVoltar.ActiveCornerRadius = 20;
54 | this.cmdVoltar.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
55 | this.cmdVoltar.ActiveForecolor = System.Drawing.Color.White;
56 | this.cmdVoltar.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
57 | this.cmdVoltar.BackColor = System.Drawing.Color.Navy;
58 | this.cmdVoltar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdVoltar.BackgroundImage")));
59 | this.cmdVoltar.ButtonText = "VOLTAR";
60 | this.cmdVoltar.Cursor = System.Windows.Forms.Cursors.Hand;
61 | this.cmdVoltar.Font = new System.Drawing.Font("Comic Sans MS", 12F);
62 | this.cmdVoltar.ForeColor = System.Drawing.Color.White;
63 | this.cmdVoltar.IdleBorderThickness = 1;
64 | this.cmdVoltar.IdleCornerRadius = 20;
65 | this.cmdVoltar.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
66 | this.cmdVoltar.IdleForecolor = System.Drawing.Color.White;
67 | this.cmdVoltar.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
68 | this.cmdVoltar.Location = new System.Drawing.Point(100, 186);
69 | this.cmdVoltar.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
70 | this.cmdVoltar.Name = "cmdVoltar";
71 | this.cmdVoltar.Size = new System.Drawing.Size(100, 50);
72 | this.cmdVoltar.TabIndex = 3;
73 | this.cmdVoltar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
74 | this.cmdVoltar.Click += new System.EventHandler(this.cmdVoltar_Click);
75 | //
76 | // pictureBox1
77 | //
78 | this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
79 | this.pictureBox1.Image = global::programming_quiz.Properties.Resources.emoji_medio1;
80 | this.pictureBox1.Location = new System.Drawing.Point(100, 82);
81 | this.pictureBox1.Name = "pictureBox1";
82 | this.pictureBox1.Size = new System.Drawing.Size(100, 100);
83 | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
84 | this.pictureBox1.TabIndex = 1;
85 | this.pictureBox1.TabStop = false;
86 | //
87 | // frmPerdeu
88 | //
89 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
90 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
91 | this.BackColor = System.Drawing.Color.Navy;
92 | this.ClientSize = new System.Drawing.Size(300, 250);
93 | this.Controls.Add(this.cmdVoltar);
94 | this.Controls.Add(this.lblTexto);
95 | this.Controls.Add(this.pictureBox1);
96 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
97 | this.MaximizeBox = false;
98 | this.Name = "frmPerdeu";
99 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
100 | this.Text = "frmPerdeu";
101 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
102 | this.ResumeLayout(false);
103 | this.PerformLayout();
104 |
105 | }
106 |
107 | #endregion
108 | private System.Windows.Forms.PictureBox pictureBox1;
109 | private System.Windows.Forms.Label lblTexto;
110 | private Bunifu.Framework.UI.BunifuThinButton2 cmdVoltar;
111 | }
112 | }
--------------------------------------------------------------------------------
/programming-quiz/frmPerdeu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class frmPerdeu : Form
14 | {
15 | public frmPerdeu(int pontos = 0)
16 | {
17 | InitializeComponent();
18 | lblTexto.Text = "Você perdeu!!!\n"+ pontos + "pt";
19 | }
20 |
21 |
22 | private void cmdVoltar_Click(object sender, EventArgs e)
23 | {
24 | this.Close();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/programming-quiz/frmPerdeu.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
125 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
126 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
127 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
128 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
129 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
130 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
131 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
132 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
133 | b2wAAAAASUVORK5CYII=
134 |
135 |
136 |
--------------------------------------------------------------------------------
/programming-quiz/frmPontuacao.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using System.Collections;
10 | using System.Runtime.InteropServices;
11 |
12 | namespace programming_quiz
13 | {
14 | public partial class frmPontuacao : Form
15 | {
16 | clOperacoes ope = new clOperacoes();
17 | ArrayList dados = new ArrayList();
18 | public frmPontuacao()
19 | {
20 | InitializeComponent();
21 | dados = ope.LerPontuacao();
22 | }
23 |
24 |
25 | private void panel1_MouseDown(object sender, MouseEventArgs e)
26 | {
27 | ReleaseCapture();
28 | SendMessage(this.Handle, 0x112, 0xf012, 0);
29 | }
30 | [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
31 | private extern static void ReleaseCapture();
32 | [DllImport("user32.DLL", EntryPoint = "SendMessage")]
33 |
34 | private extern static void SendMessage(System.IntPtr hwnd, int wMsg, int wParam, int lOaram);
35 |
36 |
37 | private void button1_Click(object sender, EventArgs e)
38 | {
39 | this.Close();
40 | }
41 |
42 | private void cmdMinimizar_Click(object sender, EventArgs e)
43 | {
44 | this.WindowState = FormWindowState.Minimized;
45 | }
46 |
47 | private void frmPontuacao_Load(object sender, EventArgs e)
48 | {
49 | Apresentar();
50 | }
51 |
52 | private void Apresentar()
53 | {
54 | //apresentar nomes
55 | lblPrimeiro.Text = ope.ExtrairNome(dados[0].ToString());
56 | lblSegundo.Text = ope.ExtrairNome(dados[1].ToString());
57 | lblTerceiro.Text = ope.ExtrairNome(dados[2].ToString());
58 |
59 | //apresentar pontos ou recordes
60 | lblP.Text = ope.ApresentarTempo(dados[0].ToString());
61 | lblS.Text = ope.ApresentarTempo(dados[1].ToString());
62 | lblT.Text = ope.ApresentarTempo(dados[2].ToString());
63 | }
64 |
65 | private void cmdVoltar_Click(object sender, EventArgs e)
66 | {
67 | this.Close();
68 | }
69 |
70 | private void cmdLimpar_Click(object sender, EventArgs e)
71 | {
72 | frmSair limpar = new frmSair("Tem a certeza que deseja apagar todos os recordes?", "Limpar");
73 | limpar.ShowDialog();
74 | if (limpar.sair)
75 | {
76 | ope.GravarPrimeirosDados();
77 | MessageBox.Show("Dados removidos com sucesso!");
78 | }
79 | dados = ope.LerPontuacao();
80 |
81 | Apresentar();
82 | }
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/programming-quiz/frmSair.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmSair
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSair));
32 | this.lblTitulo = new System.Windows.Forms.Label();
33 | this.lblTexto = new System.Windows.Forms.Label();
34 | this.cmdNao = new Bunifu.Framework.UI.BunifuThinButton2();
35 | this.cmdSim = new Bunifu.Framework.UI.BunifuThinButton2();
36 | this.panel1 = new System.Windows.Forms.Panel();
37 | this.cmdFechar = new System.Windows.Forms.Button();
38 | this.panel1.SuspendLayout();
39 | this.SuspendLayout();
40 | //
41 | // lblTitulo
42 | //
43 | this.lblTitulo.AutoSize = true;
44 | this.lblTitulo.Font = new System.Drawing.Font("Comic Sans MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
45 | this.lblTitulo.Location = new System.Drawing.Point(3, 3);
46 | this.lblTitulo.Name = "lblTitulo";
47 | this.lblTitulo.Size = new System.Drawing.Size(42, 23);
48 | this.lblTitulo.TabIndex = 0;
49 | this.lblTitulo.Text = "Sair";
50 | //
51 | // lblTexto
52 | //
53 | this.lblTexto.Font = new System.Drawing.Font("Comic Sans MS", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
54 | this.lblTexto.Location = new System.Drawing.Point(12, 43);
55 | this.lblTexto.Name = "lblTexto";
56 | this.lblTexto.Size = new System.Drawing.Size(276, 66);
57 | this.lblTexto.TabIndex = 0;
58 | this.lblTexto.Text = "Deseja sair do jogo?";
59 | this.lblTexto.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
60 | //
61 | // cmdNao
62 | //
63 | this.cmdNao.ActiveBorderThickness = 1;
64 | this.cmdNao.ActiveCornerRadius = 20;
65 | this.cmdNao.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
66 | this.cmdNao.ActiveForecolor = System.Drawing.Color.White;
67 | this.cmdNao.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
68 | this.cmdNao.BackColor = System.Drawing.Color.Navy;
69 | this.cmdNao.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdNao.BackgroundImage")));
70 | this.cmdNao.ButtonText = "NÃO";
71 | this.cmdNao.Cursor = System.Windows.Forms.Cursors.Hand;
72 | this.cmdNao.Font = new System.Drawing.Font("Comic Sans MS", 12F);
73 | this.cmdNao.ForeColor = System.Drawing.Color.White;
74 | this.cmdNao.IdleBorderThickness = 1;
75 | this.cmdNao.IdleCornerRadius = 20;
76 | this.cmdNao.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
77 | this.cmdNao.IdleForecolor = System.Drawing.Color.White;
78 | this.cmdNao.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
79 | this.cmdNao.Location = new System.Drawing.Point(154, 114);
80 | this.cmdNao.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
81 | this.cmdNao.Name = "cmdNao";
82 | this.cmdNao.Size = new System.Drawing.Size(100, 50);
83 | this.cmdNao.TabIndex = 4;
84 | this.cmdNao.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
85 | this.cmdNao.Click += new System.EventHandler(this.cmdNao_Click);
86 | //
87 | // cmdSim
88 | //
89 | this.cmdSim.ActiveBorderThickness = 1;
90 | this.cmdSim.ActiveCornerRadius = 20;
91 | this.cmdSim.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
92 | this.cmdSim.ActiveForecolor = System.Drawing.Color.White;
93 | this.cmdSim.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
94 | this.cmdSim.BackColor = System.Drawing.Color.Navy;
95 | this.cmdSim.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdSim.BackgroundImage")));
96 | this.cmdSim.ButtonText = "SIM";
97 | this.cmdSim.Cursor = System.Windows.Forms.Cursors.Hand;
98 | this.cmdSim.Font = new System.Drawing.Font("Comic Sans MS", 12F);
99 | this.cmdSim.ForeColor = System.Drawing.Color.White;
100 | this.cmdSim.IdleBorderThickness = 1;
101 | this.cmdSim.IdleCornerRadius = 20;
102 | this.cmdSim.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
103 | this.cmdSim.IdleForecolor = System.Drawing.Color.White;
104 | this.cmdSim.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
105 | this.cmdSim.Location = new System.Drawing.Point(46, 114);
106 | this.cmdSim.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
107 | this.cmdSim.Name = "cmdSim";
108 | this.cmdSim.Size = new System.Drawing.Size(100, 50);
109 | this.cmdSim.TabIndex = 4;
110 | this.cmdSim.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
111 | this.cmdSim.Click += new System.EventHandler(this.cmdSim_Click);
112 | //
113 | // panel1
114 | //
115 | this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
116 | this.panel1.Controls.Add(this.cmdFechar);
117 | this.panel1.Controls.Add(this.lblTitulo);
118 | this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
119 | this.panel1.Location = new System.Drawing.Point(0, 0);
120 | this.panel1.Margin = new System.Windows.Forms.Padding(0);
121 | this.panel1.Name = "panel1";
122 | this.panel1.Size = new System.Drawing.Size(300, 30);
123 | this.panel1.TabIndex = 19;
124 | this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
125 | //
126 | // cmdFechar
127 | //
128 | this.cmdFechar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
129 | this.cmdFechar.FlatAppearance.BorderSize = 0;
130 | this.cmdFechar.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DarkBlue;
131 | this.cmdFechar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
132 | this.cmdFechar.Font = new System.Drawing.Font("Microsoft Tai Le", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
133 | this.cmdFechar.ForeColor = System.Drawing.Color.White;
134 | this.cmdFechar.Location = new System.Drawing.Point(260, 0);
135 | this.cmdFechar.Margin = new System.Windows.Forms.Padding(0);
136 | this.cmdFechar.Name = "cmdFechar";
137 | this.cmdFechar.Size = new System.Drawing.Size(40, 30);
138 | this.cmdFechar.TabIndex = 0;
139 | this.cmdFechar.Text = "X";
140 | this.cmdFechar.UseVisualStyleBackColor = true;
141 | this.cmdFechar.Click += new System.EventHandler(this.cmdFechar_Click);
142 | //
143 | // frmSair
144 | //
145 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
146 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
147 | this.BackColor = System.Drawing.Color.Navy;
148 | this.ClientSize = new System.Drawing.Size(300, 180);
149 | this.Controls.Add(this.panel1);
150 | this.Controls.Add(this.cmdSim);
151 | this.Controls.Add(this.cmdNao);
152 | this.Controls.Add(this.lblTexto);
153 | this.Font = new System.Drawing.Font("Comic Sans MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
154 | this.ForeColor = System.Drawing.Color.White;
155 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
156 | this.MaximizeBox = false;
157 | this.MinimizeBox = false;
158 | this.Name = "frmSair";
159 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
160 | this.Text = "frmSair";
161 | this.panel1.ResumeLayout(false);
162 | this.panel1.PerformLayout();
163 | this.ResumeLayout(false);
164 |
165 | }
166 |
167 | #endregion
168 |
169 | private System.Windows.Forms.Label lblTitulo;
170 | private System.Windows.Forms.Label lblTexto;
171 | private Bunifu.Framework.UI.BunifuThinButton2 cmdNao;
172 | private Bunifu.Framework.UI.BunifuThinButton2 cmdSim;
173 | private System.Windows.Forms.Panel panel1;
174 | private System.Windows.Forms.Button cmdFechar;
175 | }
176 | }
--------------------------------------------------------------------------------
/programming-quiz/frmSair.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using System.Runtime.InteropServices;
11 |
12 | namespace programming_quiz
13 | {
14 | public partial class frmSair : Form
15 | {
16 | public bool sair = false;
17 | public frmSair(string mensgem = "", string titulo = "")
18 | {
19 | InitializeComponent();
20 | if (titulo != "")
21 | lblTitulo.Text = titulo;
22 |
23 | if (mensgem != "")
24 | lblTexto.Text = mensgem;
25 | }
26 |
27 | private void cmdSim_Click(object sender, EventArgs e)
28 | {
29 | sair = true;
30 | this.Close();
31 | }
32 |
33 | private void cmdNao_Click(object sender, EventArgs e)
34 | {
35 | sair = false;
36 | this.Close();
37 | }
38 |
39 | private void cmdFechar_Click(object sender, EventArgs e)
40 | {
41 | this.Close();
42 | }
43 |
44 | private void panel1_MouseDown(object sender, MouseEventArgs e)
45 | {
46 | ReleaseCapture();
47 | SendMessage(this.Handle, 0x112, 0xf012, 0);
48 | }
49 | [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
50 | private extern static void ReleaseCapture();
51 | [DllImport("user32.DLL", EntryPoint = "SendMessage")]
52 |
53 | private extern static void SendMessage(System.IntPtr hwnd, int wMsg, int wParam, int lOaram);
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/programming-quiz/frmSair.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
125 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
126 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
127 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
128 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
129 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
130 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
131 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
132 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
133 | b2wAAAAASUVORK5CYII=
134 |
135 |
136 |
137 |
138 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
139 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
140 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
141 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
142 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
143 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
144 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
145 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
146 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
147 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
148 | b2wAAAAASUVORK5CYII=
149 |
150 |
151 |
--------------------------------------------------------------------------------
/programming-quiz/frmVitoria.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace programming_quiz
2 | {
3 | partial class frmVitoria
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVitoria));
32 | this.lblTexto = new System.Windows.Forms.Label();
33 | this.label1 = new System.Windows.Forms.Label();
34 | this.pictureBox1 = new System.Windows.Forms.PictureBox();
35 | this.cmdVoltar = new Bunifu.Framework.UI.BunifuThinButton2();
36 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
37 | this.SuspendLayout();
38 | //
39 | // lblTexto
40 | //
41 | this.lblTexto.AutoSize = true;
42 | this.lblTexto.Font = new System.Drawing.Font("Comic Sans MS", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
43 | this.lblTexto.ForeColor = System.Drawing.Color.Gold;
44 | this.lblTexto.Location = new System.Drawing.Point(20, 38);
45 | this.lblTexto.Name = "lblTexto";
46 | this.lblTexto.Size = new System.Drawing.Size(311, 38);
47 | this.lblTexto.TabIndex = 6;
48 | this.lblTexto.Text = "Parabéns Você ganhou!!!";
49 | this.lblTexto.TextAlign = System.Drawing.ContentAlignment.TopCenter;
50 | //
51 | // label1
52 | //
53 | this.label1.Font = new System.Drawing.Font("Consolas", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
54 | this.label1.ForeColor = System.Drawing.Color.Gold;
55 | this.label1.Location = new System.Drawing.Point(105, 84);
56 | this.label1.Name = "label1";
57 | this.label1.Size = new System.Drawing.Size(140, 37);
58 | this.label1.TabIndex = 6;
59 | this.label1.Text = ">";
60 | this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
61 | //
62 | // pictureBox1
63 | //
64 | this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
65 | this.pictureBox1.Image = global::programming_quiz.Properties.Resources.taca;
66 | this.pictureBox1.Location = new System.Drawing.Point(115, 125);
67 | this.pictureBox1.Name = "pictureBox1";
68 | this.pictureBox1.Size = new System.Drawing.Size(120, 100);
69 | this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
70 | this.pictureBox1.TabIndex = 5;
71 | this.pictureBox1.TabStop = false;
72 | //
73 | // cmdVoltar
74 | //
75 | this.cmdVoltar.ActiveBorderThickness = 1;
76 | this.cmdVoltar.ActiveCornerRadius = 20;
77 | this.cmdVoltar.ActiveFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(200)))));
78 | this.cmdVoltar.ActiveForecolor = System.Drawing.Color.White;
79 | this.cmdVoltar.ActiveLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
80 | this.cmdVoltar.BackColor = System.Drawing.Color.Navy;
81 | this.cmdVoltar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("cmdVoltar.BackgroundImage")));
82 | this.cmdVoltar.ButtonText = "VOLTAR";
83 | this.cmdVoltar.Cursor = System.Windows.Forms.Cursors.Hand;
84 | this.cmdVoltar.Font = new System.Drawing.Font("Comic Sans MS", 12F);
85 | this.cmdVoltar.ForeColor = System.Drawing.Color.White;
86 | this.cmdVoltar.IdleBorderThickness = 1;
87 | this.cmdVoltar.IdleCornerRadius = 20;
88 | this.cmdVoltar.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(100)))));
89 | this.cmdVoltar.IdleForecolor = System.Drawing.Color.White;
90 | this.cmdVoltar.IdleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(50)))));
91 | this.cmdVoltar.Location = new System.Drawing.Point(125, 236);
92 | this.cmdVoltar.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
93 | this.cmdVoltar.Name = "cmdVoltar";
94 | this.cmdVoltar.Size = new System.Drawing.Size(100, 50);
95 | this.cmdVoltar.TabIndex = 4;
96 | this.cmdVoltar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
97 | this.cmdVoltar.Click += new System.EventHandler(this.cmdVoltar_Click);
98 | //
99 | // frmVitoria
100 | //
101 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
102 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
103 | this.BackColor = System.Drawing.Color.Navy;
104 | this.ClientSize = new System.Drawing.Size(350, 300);
105 | this.ControlBox = false;
106 | this.Controls.Add(this.label1);
107 | this.Controls.Add(this.lblTexto);
108 | this.Controls.Add(this.pictureBox1);
109 | this.Controls.Add(this.cmdVoltar);
110 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
111 | this.MaximizeBox = false;
112 | this.MinimizeBox = false;
113 | this.Name = "frmVitoria";
114 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
115 | this.Text = "frmVitoria";
116 | ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
117 | this.ResumeLayout(false);
118 | this.PerformLayout();
119 |
120 | }
121 |
122 | #endregion
123 |
124 | private Bunifu.Framework.UI.BunifuThinButton2 cmdVoltar;
125 | private System.Windows.Forms.PictureBox pictureBox1;
126 | private System.Windows.Forms.Label lblTexto;
127 | private System.Windows.Forms.Label label1;
128 | }
129 | }
--------------------------------------------------------------------------------
/programming-quiz/frmVitoria.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace programming_quiz
12 | {
13 | public partial class frmVitoria : Form
14 | {
15 | public frmVitoria(int pontos)
16 | {
17 | InitializeComponent();
18 | label1.Text = "<" + pontos + "pt/>";
19 | }
20 |
21 | private void cmdVoltar_Click(object sender, EventArgs e)
22 | {
23 | this.Close();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/programming-quiz/frmVitoria.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124 | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH7SURBVHhe7dvZSgNBEIXhPJOIiPuO4gIqrii4ggjijQgi
125 | SN48nn8gQ0LqJiTprotz8YEpOiP0Ybp7SE2n0+n2LJOwaPWERasnLFo9YdHqCYtWT1js+5NXOZIdWZY5
126 | GxvzxvwdyLP8SjTfCIt4Fy60K2dyLffyYmNj3pi/C9mTJXmSaN5HCqR3IlvyINE/sMk8CsHgRwbnf+gD
127 | YawLd0R0IZuuS9mQbwkD4c5wGGWxlLG/jATCnsEyFX3JZutQbqUNhNMUG7j3jDo4ea3JlzSBUGCDiQZb
128 | GTxasKc0gXA+5kgWDbQyWLI4UDWBrMqdRAOtDFapeWkCWRDOxtFAK4en+iYQ/ogGWFkOJBkHkowDScaB
129 | JONAknEgyTiQZBxIMg4kGQeSjANJxoEk40CScSDJOJBkHEgybSD8dMhPiNEgK6cNhBYg9+3W1wZCCxAt
130 | KNEgK4MmE5pNmkBoQaF7LhpoZZwKrbxNIDT7smx5H6lnW96kCQRXQvdcNNhm61xYocihDYT+XrqwbyT6
131 | ks0G/dQr0n+rqg0ENPvS9OsuxjIIY1M+pJ/BUCD4FHpMjyW6iE0HvdTcGYNhYOhDH8sXx2DSY/f3awrT
132 | QbsuL0Tx3ua+RC9/jhQGkR5HsUXhocUmQw81ByfebI7mG2HR6gmLVk9YtHrCotUTFq2Obu8fBJpueDMZ
133 | b2wAAAAASUVORK5CYII=
134 |
135 |
136 |
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.csproj.CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | a980d82e5d22e2d5072ba1ff13bf1cd493f9295b
2 |
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe.config
2 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe
3 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\bin\Debug\programming-quiz.pdb
4 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csprojResolveAssemblyReference.cache
5 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmMenu.resources
6 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming_quiz.Properties.Resources.resources
7 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csproj.GenerateResource.Cache
8 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming-quiz.exe
9 | C:\Users\Manuel Demo\Documents\MEUS_PROJETOS\Linguagem C#-prohectos\Games\programming-quiz\programming-quiz\obj\Debug\programming-quiz.pdb
10 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe.config
11 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming-quiz.exe
12 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming-quiz.pdb
13 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe
14 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\bin\Debug\programming-quiz.pdb
15 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csprojResolveAssemblyReference.cache
16 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmMenu.resources
17 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmPontuacao.resources
18 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming_quiz.Properties.Resources.resources
19 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\Exercícios\Exercícios-C#\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csproj.GenerateResource.Cache
20 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe.config
21 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming-quiz.exe
22 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming-quiz.pdb
23 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\bin\Debug\programming-quiz.exe
24 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\bin\Debug\programming-quiz.pdb
25 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csprojResolveAssemblyReference.cache
26 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmMenu.resources
27 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmJogar.resources
28 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmPontuacao.resources
29 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.Properties.Resources.resources
30 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming-quiz.csproj.GenerateResource.Cache
31 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmPerdeu.resources
32 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz\programming-quiz\obj\Debug\programming_quiz.frmMostrar.resources
33 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.exe.config
34 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.exe
35 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.pdb
36 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.exe
37 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.pdb
38 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmMenu.resources
39 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmJogar.resources
40 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmMostrar.resources
41 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmPerdeu.resources
42 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmPontuacao.resources
43 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.Properties.Resources.resources
44 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.csproj.GenerateResource.Cache
45 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmSair.resources
46 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmVitoria.resources
47 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmDados.resources
48 | C:\Users\Manuel Demo\Desktop\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.csprojResolveAssemblyReference.cache
49 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.exe.config
50 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.exe
51 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.pdb
52 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.exe
53 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\bin\Debug\programming-quiz.pdb
54 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.csprojResolveAssemblyReference.cache
55 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmDados.resources
56 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmMenu.resources
57 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmJogar.resources
58 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmMostrar.resources
59 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmPerdeu.resources
60 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmPontuacao.resources
61 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmSair.resources
62 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.frmVitoria.resources
63 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming_quiz.Properties.Resources.resources
64 | C:\Users\Manuel Demo\Documents\12ª-classe\TLP\1ºTrimestre\projectos\programming-quiz-atualizacao\programming-quiz\obj\Debug\programming-quiz.csproj.GenerateResource.Cache
65 |
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming-quiz.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.csprojAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming-quiz.csprojAssemblyReference.cache
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming-quiz.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming-quiz.exe
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming-quiz.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming-quiz.pdb
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.Properties.Resources.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmDados.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmDados.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmJogar.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmJogar.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmMenu.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmMenu.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmMostrar.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmMostrar.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmPerdeu.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmPerdeu.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmPontuacao.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmPontuacao.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmSair.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmSair.resources
--------------------------------------------------------------------------------
/programming-quiz/obj/Debug/programming_quiz.frmVitoria.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manueldembo/programming-quiz/48d772cde3c507eef0cbbcb40c1f6e49ad0642b4/programming-quiz/obj/Debug/programming_quiz.frmVitoria.resources
--------------------------------------------------------------------------------
/programming-quiz/programming-quiz.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {B5F2EC14-D86E-4238-8124-77B358A83B02}
8 | WinExe
9 | Properties
10 | programming_quiz
11 | programming-quiz
12 | v4.5
13 | 512
14 |
15 |
16 | AnyCPU
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | AnyCPU
27 | pdbonly
28 | true
29 | bin\Release\
30 | TRACE
31 | prompt
32 | 4
33 |
34 |
35 |
36 | False
37 | bin\Debug\Bunifu_UI_v1.5.3.dll
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Form
56 |
57 |
58 | frmDados.cs
59 |
60 |
61 | Form
62 |
63 |
64 | frmMain.cs
65 |
66 |
67 | Form
68 |
69 |
70 | frmJogar.cs
71 |
72 |
73 | Form
74 |
75 |
76 | frmMostrar.cs
77 |
78 |
79 | Form
80 |
81 |
82 | frmPerdeu.cs
83 |
84 |
85 | Form
86 |
87 |
88 | frmPontuacao.cs
89 |
90 |
91 | Form
92 |
93 |
94 | frmSair.cs
95 |
96 |
97 | Form
98 |
99 |
100 | frmVitoria.cs
101 |
102 |
103 |
104 |
105 | frmDados.cs
106 |
107 |
108 | frmMain.cs
109 |
110 |
111 | frmJogar.cs
112 |
113 |
114 | frmMostrar.cs
115 |
116 |
117 | frmPerdeu.cs
118 |
119 |
120 | frmPontuacao.cs
121 |
122 |
123 | frmSair.cs
124 |
125 |
126 | frmVitoria.cs
127 |
128 |
129 | ResXFileCodeGenerator
130 | Designer
131 | Resources.Designer.cs
132 |
133 |
134 | SettingsSingleFileGenerator
135 | Settings.Designer.cs
136 |
137 |
138 | True
139 | True
140 | Resources.resx
141 |
142 |
143 | True
144 | Settings.settings
145 | True
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
213 |
--------------------------------------------------------------------------------