示例#1
0
        public void Add(OptionsPanel item)
        {
            _Panels.Add(item);

            if (PanelAdded != null)
            {
                OptionsPanelEventArgs args = new OptionsPanelEventArgs(item);

                PanelAdded(this, args);
            }
        }
示例#2
0
 void _Panels_PanelAdded(object sender, OptionsPanelEventArgs e)
 {
     AddPanel(e.Panel);
 }