コード例 #1
0
        public FormDocumentView(List <string> datos, long idDocument, string tipoDocumento)
        {
            _idDocument       = idDocument;
            _datos            = datos;
            _tipoDocumento    = tipoDocumento;
            _documentServices = new DocumentServices();
            _tesisServices    = new TesisServices();
            _bookServices     = new BookServices();
            _articleServices  = new ArticleServices();
            InitializeComponent();

            CreateForm();
        }
コード例 #2
0
 public FormInsert(List <string> datos, long idDocument, string tipoDocumento, List <Par> documentsParList)
 {
     _datos             = datos;
     _idDocument        = idDocument;
     _tipoDocumento     = tipoDocumento;
     _updateForm        = true;
     _urlPdfSelected    = _datos[4];
     _oldUrlPdfSelected = _datos[4];
     _documentsParList  = documentsParList;
     _documentServices  = new DocumentServices();
     _tesisServices     = new TesisServices();
     _bookServices      = new BookServices();
     _articleServices   = new ArticleServices();
     InitializeComponent();
     FillFields();
 }
コード例 #3
0
        public FormSearchingResult(Form parent, string text, int selectedTab, bool isForm = false)
        {
            _documentServices = new DocumentServices();
            _tesisServices    = new TesisServices();
            _bookServices     = new BookServices();
            _articleServices  = new ArticleServices();
            _form             = parent;
            isLoged           = false;
            _textSearcher     = text;
            _selectedTab      = selectedTab;
            _isForm           = isForm;

            InitializeComponent();
            CreateForm();

            metroTabControl2.TabPages.RemoveAt(4);


            if (isLoged)
            {
                loginPictureBox.Enabled = false;
            }
        }