Exemplo n.º 1
0
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            FirstTask f = new FirstTask();

            string[] path = f.showDialog();
            f.readFile(path[0], XnFF);
        }
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            FirstTask f = new FirstTask();

            string[] path = f.showDialog();
            f.readFile(path[0], x1);
            f.readFile(path[1], x2);
            for (int i = 0; i < x1.Count; i++)
            {
                result.Add(0);
            }
            for (int i = 0; i < x1.Count; i++)
            {
                KeyValuePair <double, double> tmp = new KeyValuePair <double, double>(i, x1[i]);
                pair.Add(tmp);
            }
        }
Exemplo n.º 3
0
 private void btnBrowse_Click(object sender, EventArgs e)
 {
     if (cmboxOperations.SelectedIndex == 0 || cmboxOperations.SelectedIndex == 1 || cmboxOperations.SelectedIndex == 3 || cmboxOperations.SelectedIndex == 5)
     {
         MessageBox.Show("Please Choose 2 Files", "Alert", MessageBoxButtons.OK);
         FirstTask f    = new FirstTask();
         string[]  path = f.showDialog();
         f.readFile(path[0], signal1);
         f.readFile(path[1], signal2);
     }
     else
     {
         MessageBox.Show("Please Choose only 1 File", "Alert", MessageBoxButtons.OK);
         FirstTask f    = new FirstTask();
         string[]  path = f.showDialog();
         f.readFile(path[0], signal1);
     }
 }
 private void btnBrowse_Click(object sender, EventArgs e)
 {
     string[] path = f.showDialog();
     f.readFile(path[0], x);
 }