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 WindowsFormsApplication1
{
public partial class opption : Form
{
public opption()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
ADD sho = new ADD();
sho.Show();
}
private void button5_Click(object sender, EventArgs e)
{
searchothr sho = new searchothr();
//this.Hide();
sho.Show();
}
private void button2_Click(object sender, EventArgs e)
{
CONTECTINFO sho = new CONTECTINFO();
// this.Hide();
sho.Show();
}
private void button3_Click(object sender, EventArgs e)
{
caseinfo sho = new caseinfo();
// this.Hide();
sho.Show();
}
private void button4_Click(object sender, EventArgs e)
{
timer1.Start();
//if(timer1.Stop
// MessageBox.Show("THANK YOU FOR USING ");
timer1.Stop ();
Application.Exit();
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = DateTime.Now.ToString("hh:mm:ss tt");
}
private void button6_Click(object sender, EventArgs e)
{
update sho = new update();
//this.Hide();
sho.Show();
}
private void button7_Click(object sender, EventArgs e)
{
remove sho = new remove();
// this.Hide();
sho.Show();
}
private void button8_Click(object sender, EventArgs e)
{
//button8= DateTime.Now.ToString();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void opption_Load(object sender, EventArgs e)
{
label2.Text=DateTime.Now.ToString("d/MM/yyyy");
label1.Text = DateTime.Now.ToString("hh:mm:ss tt");
//label1.Text=DateTime.Now,ToString("dd//mm//yyyy");
timer1.Start();
}
}
}