private void button4_Click(object sender, EventArgs e) { Form13 f13 = new Form13(); this.Hide(); f13.ShowDialog(); this.Close(); }
private void changePropertiesToolStripMenuItem3_Click(object sender, EventArgs e) { Form13 f13 = new Form13(); f13.Tag = this.Tag.ToString();//userId f13.label19.Visible = true; f13.comboBox1.Visible = true; f13.button3.Visible = true; f13.ShowDialog(); }
private void addCustomerToolStripMenuItem_Click(object sender, EventArgs e) { Form13 f13 = new Form13(); f13.Tag = this.Tag.ToString();//userId f13.label19.Visible = false; f13.comboBox1.Visible = false; f13.button3.Visible = false; f13.ShowDialog(); }
private void appliedAnnouncements_Click(object sender, EventArgs e) { using (HrMatchContext db = new HrMatchContext()) { IQueryable <WorkersAnnouncements> query = db.workersAnnouncements .Where(x => x.WorkerID == activeWorker.ID); if (query.Any(x => x.WorkerID == activeWorker.ID)) { Form13 form13 = new Form13(activeWorker); form13.ShowDialog(); } else { MessageBox.Show("There is no Applied Announcement for You.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }
private void button19_Click(object sender, EventArgs e) { Form13 f13 = new Form13(); f13.ShowDialog(); }