void GOTO_newFrame() { //Here you will be link gesture to syntax SelectionWindow window = new SelectionWindow(); Clean(); this.Close(); window.OpenWindow(gesture1_left, gesture1_right); //OnWriteGesture("gesture1"); }