-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proyecto full calzado s.a de c.v | subida general
- Loading branch information
1 parent
7be8c01
commit 758ef58
Showing
520 changed files
with
382,014 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+3.15 MB
Full Calzado S.A de C.V/BackUp BD/Backup (Mejor Opcion)/FullCalzadoDB.bak
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.25420.1 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Full Calzado", "Full Calzado\Full Calzado.csproj", "{2C8E8AB6-EA37-41D4-9701-4D4D5012C500}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{2C8E8AB6-EA37-41D4-9701-4D4D5012C500}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2C8E8AB6-EA37-41D4-9701-4D4D5012C500}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2C8E8AB6-EA37-41D4-9701-4D4D5012C500}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2C8E8AB6-EA37-41D4-9701-4D4D5012C500}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Binary file added
BIN
+61.5 KB
Full Calzado S.A de C.V/Full Calzado/Full Calzado/.vs/Full Calzado/v14/.suo
Binary file not shown.
661 changes: 661 additions & 0 deletions
661
Full Calzado S.A de C.V/Full Calzado/Full Calzado/Administradores.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
356 changes: 356 additions & 0 deletions
356
Full Calzado S.A de C.V/Full Calzado/Full Calzado/Administradores.cs
Large diffs are not rendered by default.
Oops, something went wrong.
2,813 changes: 2,813 additions & 0 deletions
2,813
Full Calzado S.A de C.V/Full Calzado/Full Calzado/Administradores.resx
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
Full Calzado S.A de C.V/Full Calzado/Full Calzado/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
</configSections> | ||
<connectionStrings> | ||
<add name="connection" connectionString="Data Source=.;Initial Catalog=FullCalzadoDB;Integrated Security=True" | ||
providerName="System.Data.SqlClient" /> | ||
<add name="Full_Calzado.Properties.Settings.FullCalzadoDBConnectionString" | ||
connectionString="Data Source=.;Initial Catalog=FullCalzadoDB;Integrated Security=True" | ||
providerName="System.Data.SqlClient" /> | ||
</connectionStrings> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | ||
</startup> | ||
</configuration> |
610 changes: 610 additions & 0 deletions
610
Full Calzado S.A de C.V/Full Calzado/Full Calzado/AtencionAlClienteFC.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
256 changes: 256 additions & 0 deletions
256
Full Calzado S.A de C.V/Full Calzado/Full Calzado/AtencionAlClienteFC.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
/* | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* | ||
* @@@@@@ @@ @@ @@ @@ @@@@@@@ @@@@@@@@ @@ @@@@@@@ @@@@@@@@ @@@@@@ @@@@@@@ | ||
* @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ | ||
* @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ | ||
* @@@@@@ @@ @@ @@ @@ @@ @@@@@@@@ @@ @@ @@@@@@@@ @@ @@ @@ @@ | ||
* @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ | ||
* @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ | ||
* @@ @@@@@@@@ @@@@@@@ @@@@@@ @@@@@@@ @@ @@ @@@@@@ @@@@@@ @@ @@ @@@@@@@ @@@@@ | ||
* | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ ´´ | ||
* ------------------------------------------------------------------------ | ||
* PROYECTO COMPARTIDO Y LIBERADO CON FINES EDUCATIVOS | ||
* https://github.com/DanielRivera03 | ||
* ------------------------------------------------------------------------ | ||
* ----> VERSION 1.0 FINAL ESTABLE <---- | ||
* -------------------------------------------------------------------------- | ||
* | FULL CALZADO S.A DE C.V | | ||
* -------------------------------------------------------------------------- | ||
* | DESARROLLADORES DEL SISTEMA {4} | | ||
* -------------------------------------------------------------------------- | ||
* | -> DANIEL RIVERA || ENCARGADO DISEÑO BASE SISTEMA, ESTANDARES| | ||
* | || INICIALES DE APLICACION, CREACION LOGIN, | | ||
* | || MANTENIMIENTO COMPLETO DE USUARIOS, ROLES| | ||
* | || DE USUARIOS, TODAS LAS INTERFACES {BASE} | | ||
* -------------------------------------------------------------------------- | ||
* | -> FERNANDO SANCHEZ || ENCARGADO GESTION PRODUCTOS SISTEMA,TODOS| | ||
* | || LOS ROLES, CONFIGURACIONES DE TODOS LOS | | ||
* | || REPORTES DEL SISTEMA | | ||
* -------------------------------------------------------------------------- | ||
* | -> CHRISTIAN MONGE || ENCARGADO DE FACTURACION DE PRODUCTOS, | | ||
* | || TODOS LOS ROLES DEL SISTEMA, Y REPORTES | | ||
* | || EN RELACION A ESTA OPCION DE MENU | | ||
* -------------------------------------------------------------------------- | ||
* | -> KARLA NAVAS || ENCARGADA DE GESTION DE EMPLEADOS DEL | | ||
* | || SISTEMA, Y REPORTES EN RELACION A ESTA | | ||
* | || OPCION DE MENU | | ||
* -------------------------------------------------------------------------- | ||
* | FULL CALZADO S.A DE C.V | | ||
* -------------------------------------------------------------------------- | ||
*/ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Data; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Forms; | ||
// IMPORTANDO LIBRERIA QUE HABILITA EL EVENTO DE ARRASTRES DE FORMULARIOS POR PARTE DE LOS USUARIOS | ||
using System.Runtime.InteropServices; | ||
|
||
namespace Full_Calzado | ||
{ | ||
public partial class AtencionAlClienteFC : Form | ||
{ | ||
|
||
/********************************************************************************************* | ||
* HABILITANDO EL ARRASTRE DEL FORMULARIO A X POSICION EN PANTALLA POR PARTE DEL USUARIO | ||
* --> CODIGO DE INICIALIZACION DEL EVENTO | ||
*********************************************************************************************/ | ||
[DllImport("user32.DLL", EntryPoint = "ReleaseCapture")] | ||
private extern static void ReleaseCapture(); | ||
[DllImport("user32.DLL", EntryPoint = "SendMessage")] | ||
private extern static void SendMessage(System.IntPtr hWnd, int wMsg, int wParam, int lParam); | ||
// FIN INICIALIZACION DE EVENTO ARRASTRE DE FORMULARIOS | ||
|
||
// INSTANCIA LLAMADA NOTIFICACIONES PESONALIZADAS | ||
NotificacionesPersonalizadas Llamada = new NotificacionesPersonalizadas(); | ||
|
||
|
||
public AtencionAlClienteFC(string nombre) | ||
{ | ||
InitializeComponent(); | ||
// ESTANDAR MEDIDAS 1300; 715 \\ | ||
ControlHoraSistema.Enabled = true; // VALIDA EVENTO MUESTRA HORA/FECHA ACTUAL | ||
lbNombreUsuario.Text = nombre; // DEVUELVE NOMBRE DE USUARIO REGISTRADO | ||
// INVOCANDO FORMULARIO DE BIENVENIDA PARA USUARIOS DEPARTAMENTO RECURSOS HUMANOS | ||
// << EN CONSTRUCCION >> \\ | ||
MostrarFormularios(new InicioInterfazAtencionClienteFC()); | ||
} | ||
|
||
|
||
/* | ||
--> CREANDO FUNCION CON OBJETO DE PARAMETRO, QUE SE ENCARGARA DE MANEJAR DE | ||
ABRIR TODOS LOS FORMULARIOS {SUBPROCESOS DEL SISTEMA} AL FORMULARIO PRINCIPAL | ||
MOSTRADO AL CLIENTE. | ||
*/ | ||
private void MostrarFormularios(object MostrandoSubFormularios) | ||
{ | ||
// SI EL FORMULARIO PRESENTA CONTROLES POR DEFECTO, OJO NO CREADOS EXTERNAMENTE | ||
// ESTE LOS ELIMINARA... | ||
if (this.PanelContenedorInterfaces.Controls.Count > 0) | ||
this.PanelContenedorInterfaces.Controls.RemoveAt(0); | ||
// CREANDO INSTANCIA PARA MOSTRAR SUBFORMULARIOS DEL SISTEMA | ||
Form FormulariosSistema = MostrandoSubFormularios as Form; | ||
FormulariosSistema.TopLevel = false; // FORMUNARIOS DE NO ALTO NIVEL {TIPO SECUNDARIOS A MOSTRAR} | ||
FormulariosSistema.Dock = DockStyle.Fill; // RELLENAR FORMULARIO AL ANCHO TOTAL DEL PANEL CONTENEDOR | ||
this.PanelContenedorInterfaces.Controls.Add(FormulariosSistema); // MOSTRAR TODOS LOS ELEMENTOS DEL FORMULARIO | ||
this.PanelContenedorInterfaces.Tag = FormulariosSistema; // DECLARANDO INSTANCIA AL PANEL CONTENEDOR | ||
FormulariosSistema.Show(); // MOSTRAR EL X FORMULARIO A TRATAR EN EL SISTEMA | ||
/* | ||
--> IMPORTANTE: MEDIDA ESTANDAR DE CONTENEDOR PRICIPAL CONTENEDOR ES: | ||
1015; 631 ¡NO SOBREPASAR ESTA MEDIDA CASO CONTRARIO CONTROLES NO SE MOSTRARAN EN PANTALLA! | ||
*/ | ||
} | ||
|
||
/* | ||
--> CONTROLADOR TIMER HORA SISTEMA ACTUAL | ||
*/ | ||
private void ControlHoraSistema_Tick(object sender, EventArgs e) | ||
{ | ||
HoraSistema.Text = DateTime.Now.ToString(); | ||
} | ||
|
||
/* | ||
--> BOTON OPCION {PRODUCTOS} | ||
*/ | ||
private void btnProductosFCSistema_Click(object sender, EventArgs e) | ||
{ | ||
/* | ||
--> ESTILOS HOVER PARA BOTONES Y TEXTO ACTIVO / INACTIVO | ||
*/ | ||
btnProductosFCSistema.BackColor = Color.DarkSlateBlue; // ESTADO ACTIVO | ||
btnProductosFCSistema.ForeColor = Color.WhiteSmoke; // ESTADO ACTIVO | ||
// ESTADO INACTIVO ↓ {TODOS} -> BOTONES | ||
btnFacturacionesFC.BackColor = Color.Khaki; | ||
btnCerrarSesiones.BackColor = Color.Khaki; | ||
// ESTADO INACTIVO ↓ {TODOS} -> TEXTO | ||
btnFacturacionesFC.ForeColor = Color.Black; | ||
btnCerrarSesiones.ForeColor = Color.Black; | ||
|
||
MostrarFormularios(new ConsultaProductoAmpliadaBoton()); | ||
} | ||
|
||
/* | ||
--> BOTON OPCION {FACTURACIONES} | ||
*/ | ||
private void btnFacturacionesFC_Click(object sender, EventArgs e) | ||
{ | ||
MostrarFormularios(new ConsultaFacturacionAmpliada()); | ||
/* | ||
--> ESTILOS HOVER PARA BOTONES Y TEXTO ACTIVO / INACTIVO | ||
*/ | ||
btnFacturacionesFC.BackColor = Color.DarkSlateBlue; // ESTADO ACTIVO | ||
btnFacturacionesFC.ForeColor = Color.WhiteSmoke; // ESTADO ACTIVO | ||
// ESTADO INACTIVO ↓ {TODOS} -> BOTONES | ||
btnProductosFCSistema.BackColor = Color.Khaki; | ||
btnCerrarSesiones.BackColor = Color.Khaki; | ||
// ESTADO INACTIVO ↓ {TODOS} -> TEXTO | ||
btnProductosFCSistema.ForeColor = Color.Black; | ||
btnCerrarSesiones.ForeColor = Color.Black; | ||
} | ||
|
||
/* | ||
--> BOTON OPCION {CERRAR SESION} | ||
*/ | ||
private void btnCerrarSesiones_Click(object sender, EventArgs e) | ||
{ | ||
/* | ||
--> ESTILOS HOVER PARA BOTONES Y TEXTO ACTIVO / INACTIVO | ||
*/ | ||
btnCerrarSesiones.BackColor = Color.DarkSlateBlue; // ESTADO ACTIVO | ||
btnCerrarSesiones.ForeColor = Color.WhiteSmoke; // ESTADO ACTIVO | ||
// ESTADO INACTIVO ↓ {TODOS} -> BOTONES | ||
btnProductosFCSistema.BackColor = Color.Khaki; | ||
btnFacturacionesFC.BackColor = Color.Khaki; | ||
// ESTADO INACTIVO ↓ {TODOS} -> TEXTO | ||
btnProductosFCSistema.ForeColor = Color.Black; | ||
btnFacturacionesFC.ForeColor = Color.Black; | ||
DialogResult resultado = new DialogResult(); | ||
// MOSTRANDO VENTANA EMERGENTE DE CIERRE DE SESION {PREGUNTA ACCIONES} | ||
Form mensaje = new MensajeCierreSesion(); | ||
resultado = mensaje.ShowDialog(); | ||
// LLAMADA DE NOTIFICACION PERSONALIZADA DE PREGUNTA | ||
Llamada.NotificionIncognita(); | ||
MensajeCierreSesion Consulta = new MensajeCierreSesion(); | ||
/* | ||
--> COMPROBACION CIERRE DE SESION... | ||
DISPONIBILIDAD DE CANCELAR EVENTO | ||
*/ | ||
if (resultado == DialogResult.OK) | ||
{ | ||
// SI CIERRA SESION, ENTONCES... | ||
this.Close();// CIERRE COMPLETO UNICAMENTE DE LA BASE DE DATOS --> {USUARIO DADO DE ALTA EN ESE MOMENTO} | ||
this.Hide();// OCULTA PANEL DE ADMINISTRACION PARA CERRAR SESION | ||
Form cerrandosesion = new LoginUsuarios(); | ||
cerrandosesion.ShowDialog();// MUESTRA NUEVAMENTE VENTANA DE LOGIN | ||
} | ||
// SI SE CANCELA CIERRE DE SESION, RESETEAR COLORES ACTIVOS | ||
if (resultado == DialogResult.Cancel) | ||
{ | ||
btnCerrarSesiones.BackColor = Color.Khaki; // BOTON | ||
btnCerrarSesiones.ForeColor = Color.Black; // TEXTO | ||
} | ||
} | ||
|
||
/* | ||
--> MINIMIZAR VENTANA {FORMULARIO} | ||
*/ | ||
private void IconMinimizar_Click(object sender, EventArgs e) | ||
{ | ||
this.WindowState = FormWindowState.Minimized; | ||
} | ||
|
||
/* | ||
--> MAXIMIZAR VENTANA {FORMULARIO} | ||
*/ | ||
private void IconMaximizar_Click(object sender, EventArgs e) | ||
{ | ||
if (WindowState == FormWindowState.Normal) | ||
{ | ||
this.WindowState = FormWindowState.Maximized; | ||
} | ||
else if (WindowState == FormWindowState.Maximized) | ||
{ | ||
this.WindowState = FormWindowState.Normal; | ||
} | ||
} | ||
|
||
/* | ||
--> CERRAR VENTANA {FORMULARIO / APLICACION} | ||
*/ | ||
private void IconCerrar_Click(object sender, EventArgs e) | ||
{ | ||
Application.Exit(); // CIERRE DIRECTO DE APLICACION, CON DESCONEXION INCLUIDA DE BASE DE DATOS | ||
} | ||
|
||
private void ContenedorSuperior_MouseDown(object sender, MouseEventArgs e) | ||
{ | ||
// HABILITANDO FUNCION DE ARRASTRE DE FORMULARIO | ||
ReleaseCapture(); | ||
SendMessage(this.Handle, 0x112, 0xf012, 0); | ||
} | ||
|
||
private void LogoIMG_MouseDown(object sender, MouseEventArgs e) | ||
{ | ||
// HABILITANDO FUNCION DE ARRASTRE DE FORMULARIO | ||
ReleaseCapture(); | ||
SendMessage(this.Handle, 0x112, 0xf012, 0); | ||
} | ||
|
||
private void IconHome_Click(object sender, EventArgs e) | ||
{ | ||
MostrarFormularios(new InicioInterfazAtencionClienteFC()); | ||
} | ||
} | ||
} |
Oops, something went wrong.