Esempio n. 1
0
        private void bt_rdf_Click(object sender, EventArgs e)
        {
            //BTdat.datの検索
            if (File.Exists("feffdat/BTdat.dat") == false)
            {
                MessageBox.Show("BTdat.dat is not found");
                return;
            }
            SelectXYDataWindow sw = new SelectXYDataWindow();

            if (sw.SetXY_Manual("R", "g(R)"))
            {
                OtherDataGraphWindow ow = new OtherDataGraphWindow(sw);
                ow.Show();
            }
        }
Esempio n. 2
0
        private void bt_others_Click(object sender, EventArgs e)
        {
            //BTdat.datの検索
            if (File.Exists("feffdat/BTdat.dat") == false)
            {
                MessageBox.Show("BTdat.dat is not found");
                return;
            }
            SelectXYDataWindow sw = new SelectXYDataWindow();

            if (sw.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                if (sw.Xindex == -1 || sw.Yindex == -1)
                {
                    MessageBox.Show("select x,y value");
                    return;
                }
                OtherDataGraphWindow ow = new OtherDataGraphWindow(sw);
                ow.Show();
            }
        }