/// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmRegisterOrganisationSelect(WFrame toolBarFrame)
        {
            // Required for Windows Form Designer support
              InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmDesignerDrogSelect(WFrame toolBarFrame)
        {
            // Required for Windows Form Designer support
              InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmOrganisationValidate(WFrame toolBarFrame)
        {
            // Required for Windows Form Designer support
              InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmOrganisationPendingUser(WFrame toolBarFrame)
        {
            //
              // Required for Windows Form Designer support
              //
              InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmRegisterUserSelect(WFrame toolBarFrame)
        {
            // Required for Windows Form Designer support
              InitializeComponent();
              // Fill combos
              SetStatusCombo();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
Exemplo n.º 6
0
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmMainPageSelect(WFrame toolBarFrame)
        {
            InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
        }
 /// <summary>
 /// Constructor with frame parameter, tool bar will be loaded to this frame.
 /// </summary>
 /// <param name="toolBarFrame">WFrame object</param>
 public frmProgramSelectForLink(WFrame toolBarFrame)
 {
     // Required for Windows Form Designer support
       InitializeComponent();
 }
Exemplo n.º 8
0
        /// <summary>
        /// Constructor with frame parameter, tool bar will be loaded to this frame.
        /// </summary>
        /// <param name="toolBarFrame">WFrame object</param>
        public frmDocumentSelect(WFrame toolBarFrame, string type)
        {
            // Required for Windows Form Designer support
              InitializeComponent();

              toolBarFrame.Frame_TooBar = tlbMain;
              m_type = type;
              if (type.Equals(EDocumentTypeEnum.COM))
              {
            tbbNew.ToolTipText = "Új dokumentum, link";
            tbbModify.ToolTipText = "Dokumentum, link módosítása";
            pHeader.Text = "\"Legjobb gyakorlatok\"";
            pHeader.Text1 = "\"Legjobb gyakorlatok\"";
            pHeader.Text2 = "\"Legjobb gyakorlatok\" dokumentumainak, linkjeinek rögzítése, karbantartása";
            lblAuthor.Parent.Controls.Remove(lblAuthor);
            txtAuthor.Parent.Controls.Remove(txtAuthor);
            lblSubType.Parent.Controls.Remove(lblSubType);
            cmbSubType.Parent.Controls.Remove(cmbSubType);
            lblCommName.Parent.Controls.Remove(lblCommName);
            txtCommTitle.Parent.Controls.Remove(txtCommTitle);
            lblCommAuthor.Parent.Controls.Remove(lblCommAuthor);
            txtCommAuthor.Parent.Controls.Remove(txtCommAuthor);
            lblCategoryRef.Parent.Controls.Remove(lblCategoryRef);
            cmbCategoryRef.Parent.Controls.Remove(cmbCategoryRef);
            txtPublisherName.Parent.Controls.Remove(txtPublisherName);
            txtPublishYear.Parent.Controls.Remove(txtPublishYear);

            pnlFilter.Height = 100;
            customStylesCollection1.GridColumnStyles.Remove(colSubTypeName);
            customStylesCollection1.GridColumnStyles.Remove(colAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCategoryName);
            customStylesCollection1.GridColumnStyles.Remove(colCommAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommTitle);

            colTitle.Width = 140;
            colLink.Width = 180;
            //nyelv, kategória fel
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;
              }
              if (type.Equals(EDocumentTypeEnum.DOC))
              {
            tbbNew.ToolTipText = "Új dokumentum";
            tbbModify.ToolTipText = "Dokumentum módosítása";
            pHeader.Text = "Dokumentumok";
            pHeader.Text1 = "Dokumentumok";
            pHeader.Text2 = "Dokumentumok rögzítése, karbantartása";
            lblLink.Parent.Controls.Remove(lblLink);
            txtLink.Parent.Controls.Remove(txtLink);
            lblSubType.Parent.Controls.Remove(lblSubType);
            cmbSubType.Parent.Controls.Remove(cmbSubType);
            lblCommName.Parent.Controls.Remove(lblCommName);
            txtCommTitle.Parent.Controls.Remove(txtCommTitle);
            lblCommAuthor.Parent.Controls.Remove(lblCommAuthor);
            txtCommAuthor.Parent.Controls.Remove(txtCommAuthor);
            txtPublisherName.Parent.Controls.Remove(txtPublisherName);
            txtPublishYear.Parent.Controls.Remove(txtPublishYear);

            pnlFilter.Height = 150;
            customStylesCollection1.GridColumnStyles.Remove(colSubTypeName);
            colTitle.Width = 100;
            customStylesCollection1.GridColumnStyles.Remove(colLink);
            customStylesCollection1.GridColumnStyles.Remove(colCommAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommTitle);
            colAuthor.Width = 100;
            //szerzõ, nyelv, kategória fel
            lblAuthor.Top -= 24;
            txtAuthor.Top -= 24;
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;

            lblCategoryRef.Top -= 24;
            cmbCategoryRef.Top -= 24;
              }
              if (type.Equals(EDocumentTypeEnum.KDB))
              {
            tbbNew.ToolTipText = "Új egyéb könyvtári adatbázis";
            tbbModify.ToolTipText = "Egyéb könyvtári adatbázis módosítása";
            pHeader.Text = "Egyéb könyvtári adatbázisok";
            pHeader.Text1 = "Egyéb könyvtári adatbázisok";
            pHeader.Text2 = "Egyéb könyvtári adatbázisok rögzítése, karbantartása";
            lblAuthor.Parent.Controls.Remove(lblAuthor);
            txtAuthor.Parent.Controls.Remove(txtAuthor);
            lblSubType.Parent.Controls.Remove(lblSubType);
            cmbSubType.Parent.Controls.Remove(cmbSubType);
            lblCommName.Parent.Controls.Remove(lblCommName);
            txtCommTitle.Parent.Controls.Remove(txtCommTitle);
            lblCommAuthor.Parent.Controls.Remove(lblCommAuthor);
            txtCommAuthor.Parent.Controls.Remove(txtCommAuthor);
            txtPublisherName.Parent.Controls.Remove(txtPublisherName);
            txtPublishYear.Parent.Controls.Remove(txtPublishYear);
            pnlFilter.Height = 130;
            customStylesCollection1.GridColumnStyles.Remove(colSubTypeName);
            colTitle.Width = 90;
            colLink.Width -= 10;
            customStylesCollection1.GridColumnStyles.Remove(colAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommTitle);

            //nyelv, kategória fel
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;

            lblCategoryRef.Top -= 24;
            cmbCategoryRef.Top -= 24;
              }
              if (type.Equals(EDocumentTypeEnum.LNK))
              {
            tbbNew.ToolTipText = "Új link";
            tbbModify.ToolTipText = "Link módosítása";
            pHeader.Text = "Linkek";
            pHeader.Text1 = "Linkek";
            pHeader.Text2 = "Linkek rögzítése, karbantartása";
            lblAuthor.Parent.Controls.Remove(lblAuthor);
            txtAuthor.Parent.Controls.Remove(txtAuthor);
            lblSubType.Parent.Controls.Remove(lblSubType);
            cmbSubType.Parent.Controls.Remove(cmbSubType);
            lblCommName.Parent.Controls.Remove(lblCommName);
            txtCommTitle.Parent.Controls.Remove(txtCommTitle);
            lblCommAuthor.Parent.Controls.Remove(lblCommAuthor);
            txtCommAuthor.Parent.Controls.Remove(txtCommAuthor);
            txtPublisherName.Parent.Controls.Remove(txtPublisherName);
            txtPublishYear.Parent.Controls.Remove(txtPublishYear);
            pnlFilter.Height = 130;
            customStylesCollection1.GridColumnStyles.Remove(colSubTypeName);
            colTitle.Width = 90;
            colLink.Width -= 10;
            customStylesCollection1.GridColumnStyles.Remove(colAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommTitle);

            //nyelv, kategória fel
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;

            lblCategoryRef.Top -= 24;
            cmbCategoryRef.Top -= 24;
              }
              if (type.Equals(EDocumentTypeEnum.MON))
              {
            tbbNew.ToolTipText = "Új monitorozás, értékelés dokumentum";
            tbbModify.ToolTipText = "Monitorozás, értékelés dokumentum módosítása";

            pHeader.Text = "Monitorozás, értékelés dokumentumai";
            pHeader.Text1 = "Monitorozás, értékelés dokumentumai";
            pHeader.Text2 = "Monitorozás, értékelés dokumentumainak rögzítése, karbantartása";
            lblAuthor.Parent.Controls.Remove(lblAuthor);
            txtAuthor.Parent.Controls.Remove(txtAuthor);
            lblSubType.Parent.Controls.Remove(lblSubType);
            cmbSubType.Parent.Controls.Remove(cmbSubType);
            lblCommName.Parent.Controls.Remove(lblCommName);
            txtCommTitle.Parent.Controls.Remove(txtCommTitle);
            lblCommAuthor.Parent.Controls.Remove(lblCommAuthor);
            txtCommAuthor.Parent.Controls.Remove(txtCommAuthor);
            lblCategoryRef.Parent.Controls.Remove(lblCategoryRef);
            cmbCategoryRef.Parent.Controls.Remove(cmbCategoryRef);
            txtPublisherName.Parent.Controls.Remove(txtPublisherName);
            txtPublishYear.Parent.Controls.Remove(txtPublishYear);

            pnlFilter.Height = 100;
            customStylesCollection1.GridColumnStyles.Remove(colSubTypeName);
            customStylesCollection1.GridColumnStyles.Remove(colAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCategoryName);
            customStylesCollection1.GridColumnStyles.Remove(colCommAuthor);
            customStylesCollection1.GridColumnStyles.Remove(colCommTitle);

            colTitle.Width = 140;
            colLink.Width = 180;
            //nyelv, kategória fel
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;
              }
              if (type.Equals(EDocumentTypeEnum.PUB))
              {
            tbbNew.ToolTipText = "Új kiadvány";
            tbbModify.ToolTipText = "Kiadvány módosítása";

            pHeader.Text = "Kiadványok";
            pHeader.Text1 = "Kiadványok";
            pHeader.Text2 = "Kiadványok rögzítése, karbantartása";
            lblLink.Parent.Controls.Remove(lblLink);
            txtLink.Parent.Controls.Remove(txtLink);
            lblCategoryRef.Parent.Controls.Remove(lblCategoryRef);
            cmbCategoryRef.Parent.Controls.Remove(cmbCategoryRef);
            colTitle.Width += 60;
            colAuthor.Width += 50;
            customStylesCollection1.GridColumnStyles.Remove(colCategoryName);
            customStylesCollection1.GridColumnStyles.Remove(colLink);
            lblLanguage.Top -= 24;
            cmbLanguage.Top -= 24;
            lblActive.Top -= 24;
            cmbStatus.Top -= 24;

            lblAuthor.Top -= 24;
            txtAuthor.Top -= 24;
            lblSubType.Top -= 48;
            cmbSubType.Top -= 48;
            lblCommName.Top -= 48;
            txtCommTitle.Top -= 48;
            lblCommAuthor.Top -= 48;
            txtCommAuthor.Top -= 48;
            //pnlFilter.Height -= 48;
            txtPublisherName.Top -= 48;
            txtPublishYear.Top -= 48;
            lblPublishYear.Top -= 48;
            lblPublisherName.Top -= 48;
            pnlFilter.Height = 220;
              }
        }
Exemplo n.º 9
0
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Constructor with a typed WFrame parameter. ToolBar is loaded to this frame.
 /// </summary>
 // -------------------------------------------------------------------------------------
 public frmStartPage(WFrame toolBarContainer)
 {
     // Required for Windows Form Designer support
       InitializeComponent();
 }