Beispiel #1
0
        //private ToolStripControlHost dtTScomponent;

        public ControlDocInPorto()
        {
            InitializeComponent();

            //dtTScomponent = new ToolStripControlHost(dateTimePicker1);
            //toolStrip1.Items.Add(dtTScomponent);

            //this.dateTimePicker1.MaxDate = DateTime.Now;

            this.controlDocumentoGisa1.SuggestionEdited += new ControlDocumentoGisa.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);
            this.controlDocumentoGisaAnexo1.SuggestionEdited += new ControlDocumentoGisaAnexo.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);
            this.controlDocumentoGisaProcesso1.SuggestionEdited += new ControlDocumentoGisaProcesso.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);

            this.splitContainerDetails.Resize += new System.EventHandler(this.splitContainerDetails_Resize);
            repositionSplitter();

            this.lvRelations.ItemHeight = 20;
            
            dipWS = new DocInPortoWS();
        }
        //private ToolStripControlHost dtTScomponent;

        public ControlDocInPorto()
        {
            InitializeComponent();

            //dtTScomponent = new ToolStripControlHost(dateTimePicker1);
            //toolStrip1.Items.Add(dtTScomponent);

            //this.dateTimePicker1.MaxDate = DateTime.Now;

            this.controlDocumentoGisa1.SuggestionEdited         += new ControlDocumentoGisa.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);
            this.controlDocumentoGisaAnexo1.SuggestionEdited    += new ControlDocumentoGisaAnexo.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);
            this.controlDocumentoGisaProcesso1.SuggestionEdited += new ControlDocumentoGisaProcesso.SuggestionEditedEventHandler(controlDocumentoGisa1_SuggestionEdited);

            this.splitContainerDetails.Resize += new System.EventHandler(this.splitContainerDetails_Resize);
            repositionSplitter();

            this.lvRelations.ItemHeight = 20;

            dipWS = new DocInPortoWS();
        }