private void tsbtnAppointments_Click(object sender, EventArgs e) { lblStatus.Text = "Loading... please wait"; pblive.Style = ProgressBarStyle.Marquee; pblive.MarqueeAnimationSpeed = 100; this.Cursor = Cursors.AppStarting; FrmAppointment f = new FrmAppointment(); f.Show(); lblStatus.Text = "Ready"; pblive.Style = ProgressBarStyle.Blocks; pblive.Value = 0; this.Cursor = Cursors.Default; }
private void appointmentsToolStripMenuItem_Click(object sender, EventArgs e) { FrmAppointment f = new FrmAppointment(); f.Show(); }