private void Dashboard_Load(object sender, EventArgs e) { if (MessageBox.Show("Important Message For Accepting The Privacy and Policies, Please Accept...!", "Important Message...!", MessageBoxButtons.YesNo) == DialogResult.Yes) { GuideLines guideLines = new GuideLines(); guideLines.ShowDialog(); } else { if (MessageBox.Show("Please Accept This Privacy and Policies Before You Use TTMS Application...!", "Warning...!", MessageBoxButtons.YesNo) == DialogResult.Yes) { GuideLines guideLines = new GuideLines(); guideLines.ShowDialog(); } } }
private void btnGuideLine_Click(object sender, EventArgs e) { GuideLines guideLines = new GuideLines(); guideLines.ShowDialog(); }