Пример #1
0
        public void OpenForm()
        {
            var document = new DocumentsForm();
            document.Show();

        }
Пример #2
0
        //static Reciver reciver = new Reciver();
        //static OpenCommand command = new OpenCommand(reciver);
        //private Invoker invoker = new Invoker(command);

        private void OpenFormDocument(object arg)
        {
            //invoker.Open();
            var document = new DocumentsForm();
            document.Show();

        }