Esempio n. 1
0
        private void Title_Click(object sender, EventArgs e)
        {
            DPanelTitle title = sender as DPanelTitle;

            if (title != null)
            {
                NotifyExpanded(title.Expand);
            }
        }
Esempio n. 2
0
 public DPanel(DPanelButton[] buttons)
 {
     _buttons = buttons;
     _title   = new DPanelTitle();
     if (_buttons == null)
     {
         throw(new ArgumentNullException());
     }
     InitializeControls();
     RefreshPanel();
 }