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