示例#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."); }
        }
示例#2
0
 private void pokażDotychczasowePlikiToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl + "pliki";
     ee.Show();
 }
示例#3
0
 private void pokażFolderPacjentaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl;
     ee.Show();
 }
示例#4
0
 private void button9_Click(object sender, EventArgs e)
 {
     Explorer ee = new Explorer();
     ee.url = podstawaurl+  "pliki";
     ee.Show();
 }