Пример #1
0
 public BasePanelPopup()
 {
     m_Helper = new BasePanelPopupHelper(this);
     //m_PopupContainer = new PopupContainerControl();
     //m_ActionPanel = new XtraPanel();
     //m_PopupContainer.Padding = new Padding(4, 0, 4, 0);
     //Properties.CloseOnOuterMouseClick = false;
     ////Properties.CloseOnLostFocus = False
     //Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
     //Properties.ReadOnly = true;
     //Properties.ShowPopupCloseButton = false;
     //Properties.AutoHeight = false;
     //QueryPopUp += OnQueryPopUp;
     //QueryCloseUp += OnQueryCloseUp;
     //CloseUp += OnCloseUp;
     //QueryDisplayText += OnQueryDisplayText;
     //m_ActionPanel.Height = 31;
     //m_ActionPanel.Parent = m_PopupContainer;
     //m_ActionPanel.Dock = DockStyle.Bottom;
     //AddButton(m_CancelButton = new SimpleButton(), BvMessages.Get("strCancel_Id"));
     //AddButton(m_OkButton = new SimpleButton(), BvMessages.Get("strOK_Id"), m_CancelButton);
     //m_OkButton.Click += OkClick;
     //m_CancelButton.Click += CancelClick;
     //Properties.PropertiesChanged+=Popup_Property_Changed;
 }
Пример #2
0
 public BasePanelRepositoryPopup(GridColumn col, GetBusinessObjectHandler getRowObject)
 {
     m_Helper           = new BasePanelPopupHelper(this, col, getRowObject);
     base.ReadOnly      = false;
     base.TextEditStyle = TextEditStyles.DisableTextEditor;
 }