MANUAL DE TCNICO
Introduccin
Este manual tcnico ha sido desarrollado con la finalidad de dar a conocer al
personal paso a paso como se dise, programo y desarroll el sistema de
informacin llamado Los tres pinitos, mostrando el diseo de cada pantalla de
interfaz del sistema y que herramientas fueron necesarias del programa Visual
Studio y cuantas se colocaron en cada una de ellas. Al igual que se mostrara
el cdigo de cada herramienta para que el diseo de la interfaz funcione
correctamente sin complicacin alguna.
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;
namespace WindowsFormsApplication2
{
public partial class Inicio3 : Form
{
public Inicio3()
{
InitializeComponent();
}
private void timer1_Tick(object sender, EventArgs e)
{
this.progressBar1.Increment(1);
if (progressBar1.Value == 100) this.timer1.Stop();
}
}
}
}
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;
using System.Threading;
namespace WindowsFormsApplication11
{
public partial class Form1 : Form
{
public Form1()
{
Thread tardar = new Thread(new ThreadStart(pantalla));
tardar.Start();
Thread.Sleep(8000);
InitializeComponent();
tardar.Abort();
}
public void pantalla() { Application.Run(new Inicio3()); }
}
}
}
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;
namespace WindowsFormsApplication11
{
public partial class usuario : Form
{
public usuario()
{
InitializeComponent();
this.ttmsj.SetToolTip(this.textBox1, "Ingrese su Nombre");
6
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;
namespace WindowsFormsApplication2
{
public partial class pantalla_inicio : Form
{
public pantalla_inicio()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender,
LinkLabelLinkClickedEventArgs e)
{
this.Close();
}
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Enabled = true;
timer1.Interval = 25;
label1.Text = DateTime.Now.ToLongTimeString();
}
10
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;
namespace WindowsFormsApplication2
{
public partial class Registro : Form
{
public Registro()
{
InitializeComponent();
}
private void Registro_Load(object sender, EventArgs e)
{
11
12
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;
namespace WindowsFormsApplication2
{
public partial class Recordatorios : Form
{
public Recordatorios()
{
InitializeComponent();
13
string musica;
}
}
label2.Text = maskedTextBox1.Text;
maskedTextBox1.Text = "";
timer2.Start();
}
}
}
15
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;
namespace WindowsFormsApplication2
{
public partial class Papelera : Form
{
public Papelera()
{
InitializeComponent();
}
private void calculadoraToolStripMenuItem_Click(object sender, EventArgs
e)
{
}
16
17
18
20
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;
namespace WindowsFormsApplication2
{
public partial class Internet : Form
{
List<string> Favoritos = new List<string>();
public Internet()
{
InitializeComponent();
}
webBrowser1.Navigate(txtdireccion.Text);
}
private void btnAtras_Click(object sender, EventArgs e)
{
webBrowser1.GoBack();
}
private void btnFavorito_Click(object sender, EventArgs e)
{
Favoritos.Add(webBrowser1.Url.ToString());
}
}
}
22
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;
23
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Notas : Form
{
public Notas()
{
InitializeComponent();
}
private void richTextBox1_TextChanged(object sender, EventArgs e)
{
}
private void abrirToolStripMenuItem_Click(object sender, EventArgs e)
{
string r;
openFileDialog1.ShowDialog();
System.IO.StreamReader file = new
System.IO.StreamReader(openFileDialog1.FileName);
r = file.ReadLine ();
richTextBox1.Text = r.ToString ();
}
private void grabarToolStripMenuItem_Click(object sender, EventArgs e)
{
saveFileDialog1.FileName = " Sin titulo txt";
var sf = saveFileDialog1.ShowDialog();
if (sf == DialogResult.OK)
{
using (var savefile = new
System.IO.StreamWriter(saveFileDialog1.FileName))
{
savefile.WriteLine(richTextBox1.Text);
}
}
}
private void cerraToolStripMenuItem_Click(object sender, EventArgs e)
24
{
Environment.Exit(0);
}
private void colorToolStripMenuItem_Click(object sender, EventArgs e)
{
var cl = colorDialog1.ShowDialog();
if (cl == DialogResult.OK)
{
richTextBox1.ForeColor = colorDialog1.Color;
}
}
private void formatoToolStripMenuItem_Click(object sender, EventArgs e)
{
var fm = fontDialog1.ShowDialog();
if (fm == DialogResult.OK)
{
richTextBox1.Font = fontDialog1.Font;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Enabled = true;
timer1.Interval = 25;
label1.Text = DateTime.Now.ToLongTimeString();
}
}
}
25
using
using
using
using
using
using
using
using
using
System;
System.Collections.Generic;
System.ComponentModel;
System.Data;
System.Drawing;
System.Linq;
System.Text;
System.Threading.Tasks;
System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Bandeja_de_productos : Form
{
public Bandeja_de_productos()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
this.Close();
}
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
private void Bandeja_de_productos_Load(object sender, EventArgs e)
{
26
}
}
27