CSharpLibrary/stuff/Tela_Principal.cs
2021-09-02 08:04:56 -03:00

60 lines
1.6 KiB
C#

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();
}
}
}