public dec_option(JObject root) { InitializeComponent(); if (root == null) { Log.PrintLog("NotFound File.dec_option", "UserControls.ConfigOptions.File.dec_option.dec_option"); return; } Root = root; DataContext = root; ConfigOptionManager.MakeUI(grid, root, groups, GetUIOptionKey, GetUIOptionValue); }
public enc_inform_line(JObject root) { InitializeComponent(); if (root == null) { Log.PrintLog("NotFound Tail.enc_inform", "UserControls.ConfigOptions.Tail.enc_inform_line.enc_inform_line"); return; } Root = root; DataContext = root; ConfigOptionManager.MakeUI(grid, root, groups, GetUIOptionKey, GetUIOptionValue); }