Ejemplo n.º 1
0
        public TaskPaneAlert()
        {
            InitializeComponent();

            XceedUtility.SetUIStyle(this);

            //LoadMenus();

            this.KeyDown += new System.Windows.Forms.KeyEventHandler(TaskPane_KeyDown);
        }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="gridName"></param>
        /// <param name="dm"></param>
        /// <param name="parentForm"></param>
        public GridGotoFormTaskPane(string gridName, IDisplayManager dm, IArchiveMasterForm parentForm)
        {
            XceedUtility.SetUIStyle(this);

            LoadMenus(gridName);
            m_parentForm = parentForm;
            m_dm         = dm;

            IArchiveMasterForm archiveSeeForm = parentForm;

            if (archiveSeeForm != null)
            {
                archiveSeeForm.MasterGrid.GridControl.CurrentRowChanged += new EventHandler(MasterGrid_CurrentRowChanged);

                MasterGrid_CurrentRowChanged(archiveSeeForm.DisplayManager, System.EventArgs.Empty);
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        ///
        /// </summary>
        private ArchiveSearchForm()
        {
            InitializeComponent();

            XceedUtility.SetUIStyle(historyPane);
            XceedUtility.SetUIStyle(customSearchPane);

            lblResult.Text = "";

            if (!Authority.IsAdministrators())
            {
                tabControl1.TabPages.Remove(tabPage4);
            }

            tabControl1.SelectedIndexChanged += new EventHandler(tabControl1_SelectedIndexChanged);

            this.EnableProgressForm = true;
        }
        private void Initialize()
        {
            XceedUtility.SetUIStyle(this);

            this.DropDownAnchor = DropDownAnchor.Right;
            this.DropDownSize   = new System.Drawing.Size(400, 300);

            this.SetStyle(ControlStyles.ResizeRedraw, true);
            this.SetStyle(ControlStyles.Selectable, true);

            this.DroppedDownChanged += new EventHandler(OptionWinTextBox_DroppedDownChanged);

            this.dropDownGrid.ReadOnly = true;
            this.TextBoxArea.ReadOnly  = false;
            this.dropDownGrid.FixedHeaderRows.Add(new Xceed.Grid.ColumnManagerRow());

            this.dropDownGrid.MouseDoubleClick += new MouseEventHandler(dropDownGrid_MouseDoubleClick);
            this.TextBoxArea.Validating        += new System.ComponentModel.CancelEventHandler(TextBoxArea_Validating);
            this.TextBoxArea.DoubleClick       += new EventHandler(TextBoxArea_DoubleClick);
        }
        private void Initialize()
        {
            XceedUtility.SetUIStyle(this);

            this.Validated += new EventHandler(MyObjectTextBox_Validated);
        }