예제 #1
0
        private void CloseFile()
        {
            if (!CanCloseFile())
            {
                return;
            }

            try {
                _textView.CloseFile();
                New(false);
            } catch (Exception ex) {
                MessageBox.ErrorQuery("Error", ex.Message, "Ok");
            }
        }