private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var t=new List<DisableGetObjects.IConfigSwitchOrGroup>(toConfigWhat.ItemConfigWoods); ConfigForItemAndSwitch ediag = new ConfigForItemAndSwitch(ref t,toConfigWhat.SwitchTypeItems); ediag.ShowDialog(); toConfigWhat.ItemConfigWoods = t.ToArray(); }
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var t = new List <DisableGetObjects.IConfigSwitchOrGroup>(toConfigWhat.ItemConfigWoods); ConfigForItemAndSwitch ediag = new ConfigForItemAndSwitch(ref t, toConfigWhat.SwitchTypeItems); ediag.ShowDialog(); toConfigWhat.ItemConfigWoods = t.ToArray(); }