Follow me on Twitter!!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Apple_Store
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
}
private void pictureBox2_Click(object sender, EventArgs e)
{
picbox5.Image = Properties.Resources.Mac_Pro;
picbox4.Image = Properties.Resources.iMac;
picbox2.Image = Properties.Resources.MacBook_Air;
picbox3.Image = Properties.Resources.MacBook_Pro;
picbox1.Image = Properties.Resources.MacBook;
lbl1.Text = "64,990.00";
lbl2.Text = "44,990.00";
lbl3.Text = "66,990.00";
lbl4.Text = "56,990.00";
lbl5.Text = "155,990.00";
}
private void pictureBox4_Click(object sender, EventArgs e)
{
picbox1.Image = Properties.Resources.iPad_Pro;
picbox2.Image = Properties.Resources.iPad_Air_2;
picbox3.Image = Properties.Resources.iPad_Air;
picbox4.Image = Properties.Resources.iPad_Mini_4;
picbox5.Image = Properties.Resources.iPad_Mini_2;
lbl1.Text = "42,990.00";
lbl2.Text = "25,490.00";
lbl3.Text = "19,880.00";
lbl4.Text = "20,490.00";
lbl5.Text = "20,490.0014,490.00";
}
private void pictureBox3_Click(object sender, EventArgs e)
{
picbox1.Image = Properties.Resources.iPhone_6s;
picbox2.Image = Properties.Resources.iPhone_6;
picbox3.Image = Properties.Resources.iPhone_5s;
picbox4.Image = null;
picbox5.Image = null;
lbl1.Text = "37,990.00";
lbl2.Text = "31,990.00";
lbl3.Text = "26,590.00";
lbl4.Text = " ";
lbl5.Text = " ";
}
private void button1_Click(object sender, EventArgs e)
{
iMac newform = new iMac();
newform.Show();
this.Hide();
}
private void button2_Click(object sender, EventArgs e)
{
iPad newform = new iPad();
newform.Show();
this.Hide();
}
private void button3_Click(object sender, EventArgs e)
{
iPhone newform = new iPhone();
newform.Show();
this.Hide();
}
private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
{
Form1 newform = new Form1();
newform.Show();
this.Hide();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Apple_Store
{
public partial class iPhone : Form
{
public iPhone()
{
InitializeComponent();
}
private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
{
Form1 newform = new Form1();
newform.Show();
this.Hide();
}
private void backToolStripMenuItem_Click(object sender, EventArgs e)
{
Main newform = new Main();
newform.Show();
this.Hide();
}
private void button1_Click(object sender, EventArgs e)
{
Double price1 = Convert.ToDouble(label1.Text);
Double qty1 = Convert.ToDouble(textBox1.Text);
Double total1 = price1 * qty1;
lbl1.Text = total1.ToString();
Double price2 = Convert.ToDouble(label2.Text);
Double qty2 = Convert.ToDouble(textBox2.Text);
Double total2 = price2 * qty2;
lbl2.Text = total2.ToString();
Double price3 = Convert.ToDouble(label3.Text);
Double qty3 = Convert.ToDouble(textBox3.Text);
Double total3 = price3 * qty3;
lbl3.Text = total3.ToString();
}
private void button2_Click(object sender, EventArgs e)
{
Double a = Convert.ToDouble(lbl1.Text);
Double b = Convert.ToDouble(lbl2.Text);
Double c = Convert.ToDouble(lbl3.Text);
Double d = a + b + c;
lbl_grand.Text = d.ToString();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Apple_Store
{
public partial class iMac : Form
{
public iMac()
{
InitializeComponent();
}
private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
{
Form1 newform = new Form1();
newform.Show();
this.Hide();
}
private void backToolStripMenuItem_Click(object sender, EventArgs e)
{
Main newform = new Main();
newform.Show();
this.Hide();
}
private void button1_Click(object sender, EventArgs e)
{
Double price1 = Convert.ToDouble(label1.Text);
Double qty1 = Convert.ToDouble(textBox1.Text);
Double total1 = price1 * qty1;
label11.Text = total1.ToString();
Double price2 = Convert.ToDouble(label2.Text);
Double qty2 = Convert.ToDouble(textBox2.Text);
Double total2 = price2 * qty2;
label10.Text = total2.ToString();
Double price3 = Convert.ToDouble(label3.Text);
Double qty3 = Convert.ToDouble(textBox3.Text);
Double total3 = price3 * qty3;
label9.Text = total3.ToString();
Double price4 = Convert.ToDouble(label4.Text);
Double qty4 = Convert.ToDouble(textBox4.Text);
Double total4 = price4 * qty4;
label8.Text = total4.ToString();
Double price5 = Convert.ToDouble(label5.Text);
Double qty5 = Convert.ToDouble(textBox5.Text);
Double total5 = price5 * qty5;
label7.Text = total5.ToString();
}
private void button2_Click(object sender, EventArgs e)
{
Double a = Convert.ToDouble(label11.Text);
Double b = Convert.ToDouble(label10.Text);
Double c = Convert.ToDouble(label9.Text);
Double d = Convert.ToDouble(label8.Text);
Double f = Convert.ToDouble(label7.Text);
Double g = a + b + c + d + f;
lbl_grand.Text = f.ToString();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Apple_Store
{
public partial class iPad : Form
{
public iPad()
{
InitializeComponent();
}
private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
{
Form1 newform = new Form1();
newform.Show();
this.Hide();
}
private void backToolStripMenuItem_Click(object sender, EventArgs e)
{
Main newform = new Main();
newform.Show();
this.Hide();
}
private void button1_Click(object sender, EventArgs e)
{
Double price1 = Convert.ToDouble(label1.Text);
Double qty1 = Convert.ToDouble(textBox1.Text);
Double total1 = price1 * qty1;
lbl1.Text = total1.ToString();
Double price2 = Convert.ToDouble(label2.Text);
Double qty2 = Convert.ToDouble(textBox2.Text);
Double total2 = price2 * qty2;
lbl2.Text = total2.ToString();
Double price3 = Convert.ToDouble(label3.Text);
Double qty3 = Convert.ToDouble(textBox3.Text);
Double total3 = price3 * qty3;
lbl3.Text = total3.ToString();
Double price4 = Convert.ToDouble(label4.Text);
Double qty4 = Convert.ToDouble(textBox4.Text);
Double total4 = price4 * qty4;
lbl4.Text = total4.ToString();
Double price5 = Convert.ToDouble(label5.Text);
Double qty5 = Convert.ToDouble(textBox5.Text);
Double total5 = price5 * qty5;
lbl5.Text = total5.ToString();
}
private void button2_Click(object sender, EventArgs e)
{
Double a = Convert.ToDouble(lbl1.Text);
Double b = Convert.ToDouble(lbl2.Text);
Double c = Convert.ToDouble(lbl3.Text);
Double d = Convert.ToDouble(lbl4.Text);
Double f = Convert.ToDouble(lbl5.Text);
Double g = a + b + c + d + f;
lbl_grand.Text = f.ToString();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Apple_Store
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btn_login_Click(object sender, EventArgs e)
{
if (txt_user.Text == "a" && txt_pass.Text == "aaa")
{
Main newform = new Main();
newform.Show();
this.Hide();
}
else if (txt_user.Text == "a")
{
MessageBox.Show("Incorrect username!", "Are you human?", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else if (txt_pass.Text == "aaa")
{
MessageBox.Show("Incorrect password!", "Are you human?", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else
{
MessageBox.Show("Incorrect input!", "Are you human?", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
okay lang yan enzo mampayo ka din para mafriendzone ka nanaman </3
ReplyDelete"Do not do to others if you do not want others to do onto you."
DeleteHAHAHAHHAHAHA
ReplyDeleteIs there something funny? HAHAHAHAHA!
DeleteYo face!
DeleteTss. #Pissed
DeleteOkay lang yan enzo. Nandito naman kami :)
ReplyDeleteI hate it when it is all talk. I want results! Hays :/
Delete