Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         Declare     dec = (listView1.SelectedItems[0].Tag as Declare);
         FormDeclare frm = new FormDeclare(frmMain, dec);
         frm.ShowDialog(this);
     }
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         FormDeclare frm = new FormDeclare(fMain, listView1.SelectedItems[0].Tag as Declare);
         fMain.onDeclareModed += new FormMain.onDeclareModedDelegate(fMain_onDeclareModed);
         frm.ShowDialog(this);
         fMain.onDeclareModed -= fMain_onDeclareModed;
     }
 }
Beispiel #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if(listView1.SelectedItems.Count > 0)
     {
         FormDeclare frm = new FormDeclare(fMain, listView1.SelectedItems[0].Tag as Declare);
         fMain.onDeclareModed += new FormMain.onDeclareModedDelegate(fMain_onDeclareModed);
         frm.ShowDialog(this);
         fMain.onDeclareModed -= fMain_onDeclareModed;
     }
 }
Beispiel #4
0
 private void button2_Click(object sender, EventArgs e)
 {
     if(listView1.SelectedItems.Count > 0)
     {
         Declare dec = (listView1.SelectedItems[0].Tag as Declare);
         FormDeclare frm = new FormDeclare(frmMain, dec);
         frm.ShowDialog(this);
     }
 }