private void EMIFileDetailButton_Click(object sender, EventArgs e) { EMIDetailForm detailForm = new EMIDetailForm(mEmiFileData); detailForm.ShowDialog(); }
private void EmiDetailToolStripMenuItem_Click(object sender, EventArgs e) { EMIFileData data = ((EMIFileModel)WorkspaceTreeView.SelectedNode.Tag).mEmiData; EMIDetailForm emiDetailForm = new EMIDetailForm(data); emiDetailForm.ShowDialog(); }