Esempio n. 1
0
        protected void OnBtnModifyClicked(object sender, System.EventArgs e)
        {
            NodeSelection ns = view.NodeSelection;

            if ( ns.SelectedNodes.Length > 0 )
            {
                ResourceTreeNode rt = (ResourceTreeNode)ns.SelectedNode;

                Resource r = rt.GetResource();

                ResourceWindow rw = new ResourceWindow(r);
                rw.Show();
            }
        }
Esempio n. 2
0
 protected void OnBtnNewClicked(object sender, System.EventArgs e)
 {
     ResourceWindow rw = new ResourceWindow(null);
     rw.Show();
 }