public void OpenForm() { var document = new DocumentsForm(); document.Show(); }
//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(); }