コード例 #1
0
 private void tsSpravaVypujcek_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedIndices.Count > 0)
     {
         FrmVypujcky frmVypujcky = new FrmVypujcky(ctenari[listView1.SelectedIndices[0]]);
         frmVypujcky.ShowDialog();
     }
 }
コード例 #2
0
        private void btnVypujcky_Click(object sender, EventArgs e)
        {
            FrmVypujcky frmVypujcky = new FrmVypujcky();

            frmVypujcky.ShowDialog();
        }