예제 #1
0
 private void RenderPathSetting(PathSetting setting)
 {
     Controls.PathSetting settingControl = new Controls.PathSetting(setting);
     settingControl.MouseEnter += ShowDescription;
     setting.Control            = settingControl;
     spControls.Children.Add(settingControl);
 }
예제 #2
0
 private void SavePathSetting(PathSetting setting)
 {
     Controls.PathSetting settingControl = setting.Control as Controls.PathSetting;
     if (!settingControl.Validate())
     {
         valid = false;
     }
     else
     {
         setting.Value = settingControl.GetValue();
     }
 }