private void Open_Click(CommandBarButton cmdBarbutton, ref bool cancel) { isNeedCompare = false; DialogOpen = new NOpen(this); DialogOpen.ShowDialog(); if (isNeedCompare) { onDocumentCompare(); } else { onDocumentLoad(); } }
private void Open_Click(CommandBarButton cmdBarbutton, ref bool cancel) { DialogOpen = new NOpen(this); DialogOpen.ShowDialog(); onDocumentLoad(); }
private void Open_Click(CommandBarButton cmdBarbutton, ref bool cancel) { //MessageBox.Show("FILENAME: [" + Filename + "]"); DialogOpen = new NOpen(this); DialogOpen.ShowDialog(); onDocumentLoad(); }