initial commit
This commit is contained in:
59
stuff/Tela_Principal.cs
Normal file
59
stuff/Tela_Principal.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using CSharpLibrary.SqlTypes;
|
||||
using CSharpLibrary.stuff;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using TelasProjeto;
|
||||
|
||||
namespace ProjetoLPVIII
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
Funcionario f = null;
|
||||
public Form1(Funcionario f)
|
||||
{
|
||||
this.f = f;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void retiraToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Retirada_de_livros emp = new Retirada_de_livros(f);
|
||||
emp.Show();
|
||||
}
|
||||
|
||||
private void cadastroDeLivrosToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Cadastro_de_Livros c = new Cadastro_de_Livros();
|
||||
c.Show();
|
||||
}
|
||||
|
||||
private void cadastroDeClientesToolStripMenuItem1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Cadastro_de_Clientes c = new Cadastro_de_Clientes();
|
||||
c.Show();
|
||||
}
|
||||
|
||||
private void consultarClienteToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
formConsultarCliente c = new formConsultarCliente();
|
||||
c.Show();
|
||||
}
|
||||
|
||||
private void consultarItemToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Form5 c = new Form5();
|
||||
c.Show();
|
||||
}
|
||||
|
||||
private void registroDeRetiradasToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Consulta c = new Consulta();
|
||||
c.Show();
|
||||
}
|
||||
|
||||
private void sairToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user