Beispiel #1
0
        public static void EditeMacro(CMacro macro)
        {
            CFormEditionMacro form = new CFormEditionMacro();

            form.m_panelMacro.Init(macro);
            form.ShowDialog();
        }
 private void m_lnkEdit_LinkClicked(object sender, EventArgs e)
 {
     if (m_wndListeMacros.SelectedItems.Count == 1)
     {
         ListViewItem item  = m_wndListeMacros.SelectedItems[0];
         CMacro       macro = item.Tag as CMacro;
         if (macro != null)
         {
             CFormEditionMacro.EditeMacro(macro);
             FillListe();
         }
     }
 }