예제 #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();
        }
예제 #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();
        }