Exemple #1
0
        void container_Click(object sender, EventArgs e)
        {
            TableSizePopupControlContainer cntr = sender as TableSizePopupControlContainer;

            if (cntr != null)
            {
                OnTableClick(sender, new TableEventArgs(cntr.Panel.Controls[0].Text));
            }
        }
Exemple #2
0
 public virtual void InitContainer()
 {
     if (_InnerPopupControl != null)
     {
         container = new TableSizePopupControlContainer(_InnerPopupControl);
     }
     else
     {
         container = new TableSizePopupControlContainer();
     }
     container.Click -= new EventHandler(container_Click);
     container.Click += new EventHandler(container_Click);
 }