Exemplo n.º 1
0
        private void buttonEditDoc_Click(object sender, EventArgs e)
        {
            GlDoc current_doc = CurrentSelectedDoc();
            if (current_doc == null) return;

            frmDocEditor doc_editor = new frmDocEditor();
            doc_editor.InitForDoc(current_doc);
            doc_editor.ShowDialog();
            RebuildDocList();
        }
Exemplo n.º 2
0
        private void buttonEditDoc_Click(object sender, EventArgs e)
        {
            GlDoc current_doc = CurrentSelectedDoc();

            if (current_doc == null)
            {
                return;
            }

            frmDocEditor doc_editor = new frmDocEditor();

            doc_editor.InitForDoc(current_doc);
            doc_editor.ShowDialog();
            RebuildDocList();
        }