コード例 #1
0
 public void InitializeDDiv()
 {
     if (trvDiv.Nodes.Count > 0)
     {
         //this.LastSelectNode = trvDiv.SelectedNode;
         this.LastSelectNode = trvDiv.Nodes[0];
         f = new A_frmDDivConfig(LastSelectNode, double.Parse(ntbMin.Text), double.Parse(ntbMax.Text), ConfigXml, trvDiv, this);
         //f.Show(Dockpanel, DockState.Document);
     }
 }
コード例 #2
0
 private void tsmEdit_Click(object sender, EventArgs e) 
 {
     this.LastSelectNode = trvDiv.SelectedNode;
     //this.LastSelectNode = trvDiv.Nodes[0];
     f = new A_frmDDivConfig(LastSelectNode, double.Parse(ntbMin.Text), double.Parse(ntbMax.Text), ConfigXml, trvDiv, this);
     f.Show(Dockpanel, DockState.Document);
 }