예제 #1
0
        private void xpathLocatorMenuItem_Click(object sender, EventArgs e)
        {
            openFileDialog.Title = "Select XML file to load...";
            DialogResult dialogResult = openFileDialog.ShowDialog(this);

            if (dialogResult == DialogResult.OK)
            {
                XPathForm xPathForm = new XPathForm(openFileDialog.FileName);
                xPathForm.ShowDialog(this);
            }
        }
예제 #2
0
        private void xpathLocatorMenuItem_Click(object sender, EventArgs e)
        {
            openFileDialog.Title = "Select XML file to load...";
			DialogResult dialogResult = openFileDialog.ShowDialog(this);
            if (dialogResult == DialogResult.OK)
            {
                XPathForm xPathForm = new XPathForm(openFileDialog.FileName);
                xPathForm.ShowDialog(this);
            }
        }