Exemple #1
0
        private void button14_Click_1(object sender, EventArgs e)
        {
            //odsiezbadaniadodatkowe();
            if (listView2.SelectedItems.Count == 1)
            {
                string id = listView2.SelectedItems[0].SubItems[4].Text;
                //MessageBox.Show(" id = " + listView2.SelectedItems[0].SubItems[4].Text);
                using (StreamReader writer = new StreamReader(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal) + "\\Badanie Neurologiczne by Konrad Stawiski\\" + katalogpacjenta + "badania_dodatkowe\\" + id + "\\" + "pliki"))
                {
                    if (writer.ReadToEnd() == "nie") { MessageBox.Show("Nie ma plików dla tego zaznaczenia"); }
                    else
                    {
                        Explorer ee = new Explorer();

                        ee.url = podstawaurl + "badania_dodatkowe\\" + id + "\\p\\";
                        //MessageBox.Show(ee.url);
                        ee.Show();
                        //System.Diagnostics.Process.Start(Application.StartupPath + "\\");

                    }
                }

            }
            else { MessageBox.Show("Najpierw coś zaznacz."); }
        }
Exemple #2
0
 private void pokażDotychczasowePlikiToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl + "pliki";
     ee.Show();
 }
Exemple #3
0
 private void pokażFolderPacjentaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl;
     ee.Show();
 }
Exemple #4
0
 private void button9_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl+  "pliki";
     ee.Show();
 }