private void otherHelpIndivButton_Click(object sender, EventArgs e) { if (this.Text == "تایید کمک") { var newform = new helpPresentationForm2("تایید کمک متفرقه فردی"); newform.ShowDialog(this); } else { var newform = new helpPresentationForm2("ارائه کمک متفرقه فردی"); newform.ShowDialog(this); } }
private void globalButton_Click(object sender, EventArgs e) { if (this.Text == "تایید کمک") { var newform = new helpPresentationForm2("تایید کمک جمعی"); newform.ShowDialog(this); } else { var newform = new helpPresentationForm2("ارائه کمک جمعی"); newform.ShowDialog(this); } }
private void healButton_Click(object sender, EventArgs e) { if (this.pp == "") { var newform = new healHelpForm(); newform.ShowDialog(this); } else if (this.pp == "ارائه کمک ویژه") { var newform = new helpPresentationForm2("ارائه کمک درمان"); newform.ShowDialog(this); } else if (this.pp == "تایید کمک ویژه") { var newform = new helpPresentationForm2("تایید کمک درمان"); newform.ShowDialog(this); } }
private void studyButton_Click(object sender, EventArgs e) { if (this.pp == "") { var newform = new specialHelpsForm2("تعریف کمک تحصیلی"); newform.ShowDialog(this); } else if (this.pp == "ارائه کمک ویژه") { var newform = new helpPresentationForm2("ارائه کمک تحصیلی"); newform.ShowDialog(this); } else if (this.pp == "تایید کمک ویژه") { var newform = new helpPresentationForm2("تایید کمک تحصیلی"); newform.ShowDialog(this); } }