Exemple #1
0
        private void btn_edit_Click(object sender, EventArgs e)
        {
            int realIndexTemp = int.Parse(lsv_templates.Items[lsv_templates.SelectedIndices[0]].Text);

            Template temp = m_databaseTemplates[realIndexTemp];

            CreateTemplate frmTemplate = new CreateTemplate(m_databaseTemplates, true, temp);

            frmTemplate.ShowDialog();

            LoadTemplates();
        }
Exemple #2
0
        private void mnu_create_template_Click(object sender, EventArgs e)
        {
            CreateTemplate frmTemplate = new CreateTemplate(m_lstTemplates);

            frmTemplate.ShowDialog();
        }