Cine Sharp View is a full-featured desktop application designed to manage cinema operations efficiently. Built with C# and Windows Forms, it provides an intuitive interface for both customers and administrators.
- π« Streamlined ticket purchasing with visual movie selection
- πΏ Integrated snack bar management system
- π Real-time analytics and sales reports
- π Secure authentication for users and admins
- π PDF ticket generation for purchases
|
|
| Loading Screen | Login Page |
|---|---|
![]() |
![]() |
| Home Dashboard | Movie Catalog |
|---|---|
![]() |
![]() |
| Movie Details | Snack Bar | Shopping Cart |
|---|---|---|
![]() |
![]() |
![]() |
| Dashboard | Products Management | Analytics |
|---|---|---|
![]() |
![]() |
![]() |
Before you begin, ensure you have the following installed:
| Requirement | Version | Download |
|---|---|---|
| .NET SDK | 6.0+ | Download |
| MySQL Server | 8.0+ | Download |
| Git | Latest | Download |
π‘ Tip: You can use XAMPP or WAMP as an alternative MySQL server.
# Clone the repository
git clone https://github.com/cesarMalanco/CineSharpView.git
# Navigate to project directory
cd CineSharpView
# Restore NuGet packages
dotnet restore
# Run the application
dotnet run- Start your MySQL server (XAMPP, WAMP, or standalone)
- Open phpMyAdmin or MySQL Workbench
- Import the file
database/cine_database.sql - The script will create the database and populate it with sample data
Click to expand SQL commands
-- Create database
CREATE DATABASE IF NOT EXISTS cine;
USE cine;
-- Users table
CREATE TABLE users (
id INT PRIMARY KEY AUTO_INCREMENT,
cuenta VARCHAR(50) NOT NULL UNIQUE,
nombre VARCHAR(100) NOT NULL,
pword VARCHAR(255) NOT NULL,
monto FLOAT DEFAULT 0
);
-- Products table (Movies)
CREATE TABLE products (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
img VARCHAR(255),
about TEXT,
precio FLOAT NOT NULL,
stock INT DEFAULT 0
);
-- Sweets table (Snack bar)
CREATE TABLE sweets (
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
stock INT DEFAULT 0,
about TEXT,
price FLOAT NOT NULL
);
-- Sample user
INSERT INTO users (cuenta, nombre, pword, monto)
VALUES ('admin', 'Administrator', 'admin123', 1000.00);The connection string is located in AdmonDB.cs:
string cadena = "Server=localhost; Database=cine; User=root; Password=; SslMode=none;";
β οΈ Note: Update the password if your MySQL installation requires one.
Option 1: Command Line
dotnet runOption 2: Visual Studio
- Open
WinFormsFinalProyect.sln - Press
F5or click Start
Option 3: VS Code
- Open the project folder
- Press
Ctrl+F5
| Role | Username | Password |
|---|---|---|
| Admin | admin |
admin123 |
| User | test |
test |
<PackageReference Include="MySql.Data" Version="9.1.0" />
<PackageReference Include="iTextSharp" Version="5.5.13.4" />
<PackageReference Include="WinForms.DataVisualization" Version="1.9.2" />CineSharpView/
β
βββ π Core Files
β βββ Program.cs # Application entry point
β βββ AdmonDB.cs # Database connection & queries
β βββ *.cs # Model classes
β
βββ πΌοΈ Forms/
β βββ FormLoadingScreen.cs # Splash screen
β βββ FormLoginPage.cs # Authentication
β βββ FormMainPage.cs # Main dashboard
β βββ FormMovies.cs # Movie catalog
β βββ FormFood.cs # Snack bar
β βββ FormMovie[1-7].cs # Movie details
β
βββ π§ Admin/
β βββ Frm_Main.cs # Admin dashboard
β βββ Frm_Productos.cs # Product management
β βββ Frm_Grafica.cs # Analytics charts
β βββ Frm_Consultas.cs # Database queries
β
βββ π database/
β βββ cine_database.sql # Database schema & data
β
βββ π Images/ # Movie posters
βββ π Resources/ # App resources
βββ π screenshots/ # Demo screenshots
This project is licensed under the MIT License - see the LICENSE file for details.










