Exemple #1
0
 public void 新增提醒_Click(object sender, EventArgs e)
 {
     //新增提醒
     using (提醒Form tx = new 提醒Form())
     {
         tx.ShowDialog(this);
     }
 }
Exemple #2
0
 public void kryptonListBox1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     //编辑提醒
     if (e.Button == System.Windows.Forms.MouseButtons.Left && kryptonListBox1.SelectedItem != null)
     {
         KryptonListItem item = kryptonListBox1.SelectedItem as KryptonListItem;
         if (item.Tag != null)
         {
             提醒 obj = item.Tag as 提醒;
             using (提醒Form form = new 提醒Form(obj))
             {
                 form.ShowDialog(this);
             }
         }
     }
 }