private void Menucategoryproperty_Click(object sender, EventArgs e) { ShowNodePropertyCMD cmd = new ShowNodePropertyCMD { node = navigateTree.SelectedNode }; LibCommon.AppContext.GetInstance().GetVal <CmdDispatcher>(typeof(CmdDispatcher)).ProcessCMD(cmd); }
public void ProcessCMD(ShowNodePropertyCMD cmd) { this._ucrightpane.OnNodeChanged(cmd.node, true); }