Segna il video come già completato  
Se vuoi, sarebbe utile un giudizio su questo video    
In questo video vedremo di estendere la nostra applicazione aggiungendo ora sia dei controlli all'interfaccia sia un po' di logica e all'interno del motore della nostra applicazione, in modo che possa effettuare delle operazioni dell'elaborazione quindi compiere il lavoro per cui è stata creata. L'ultima volta abbiamo salvato con successo la nostra applicazione e l'abbiamo chiamata prima applicazione WF. Se notiamo in questa prima pagina nella pagina di benvenuto o di Visual Basic 2010 è spesso troviamo la sezione progetti recenti da stessa sezione che l'ho visto per ultimo video in questa sezione vediamo elencata la nostra applicazione e saranno elencate tutte le applicazioni recenti che avremmo aperto negli ultimi giorni di sviluppo torniamo quindi avanti cliccando su prima applicazione WFC si presenterà nuovamente dell'ambiente di sviluppo in fase di progettazione questa come abbiamo visto nell'ultimo video e della modalità di visualizzazione del codice all'interno dell'ambiente di sviluppo né possiamo sbirciare dalla visualizzazione dell'interfaccia alla visualizzazione codice tramite questi due pulsanti per aggiungere una logica e quindi e delle operazioni è alla nostra applicazione dobbiamo aggiungere dei controlli i controlli permettono all'utente di interagire con l'applicazione per poter raggiungere dei controlli e dobbiamo aprire l'elenco dei controlli disponibili in Visual Basic 2010 per fare questo andiamo su la casella degli strumenti e che questa scheda scomparsa sulla sinistra che compare ha. Se ci passiamo sopra con il mouse e scompare se spostiamo il mouse al di fuori dell'area della casella degli strumenti all'interno di questa casella possiamo trovare tutti i controlli che possono essere aggiunti alla nostra applicazione e questi controlli sono raggruppati per macro categorie ad esempio abbiamo i controlli comuni abbiamo la categoria dei contenitori abbiamo e della categoria dei menù e delle barre degli strumenti dei dati e nella visualizzazione dei dati e i vari componenti che sono o oggetti non visibili all'utente ma che operano le modalità invisibile all'utente finale la categoria della stampa e finestre di dialogo e così via possiamo trovare un elenco di tutti controlli in questa prima scheda di default usa proprio perché un elenco molto lungo e quindi forse vale la pena utilizzare l'elenco e su/categorie per cui ne chiudiamo la prima scheda e lavoriamo sulla categoria dei controlli comuni lo scopo della nostra prima applicazione sarà quello di rappresentare all'utente due caselle di testo e una per il nome una per il cognome e un pulsante alla pressione di questo pulsante verrà visualizzata una finestra di messaggio una messa bozza come si dice che visualizzerà a schermo il nome e il cognome che sono stati messi nelle caselle di testo sin qui ne teniamo a mente non è questo scopo dell'applicazione è facile individuare e all'interno di questa lista quali sono i controlli che dovrà mandare otto utilizzare ad esempio abbiamo bisogno di un pulsante perché ci consentirà alla sua pressione di per visualizzare il risultato quindi un pulsante e due caselle di testo una per il nome ed una per il cognome come facciamo adesso a trasportare questi controlli all'interno del nostro della nostra finestra e i metodi sono due il primo consiste nel cliccare due volte sul controllo e vediamo che effettivamente il controllo è stato trascinato stato trasportato sul forum nel momento in cui si fa due cliniche e sul controllo per questo viene posizionato nell'angolo superiore a sinistra del forum per cui ogni volta lo dovremmo prendere da questa posizione trascinare nel punto che desideriamo il secondo metodo consiste nel selezionare e quindi premere il pulsante del mouse sul controllo e tenerlo premuto e trascinarlo fino alla posizione finale che dovrà assumere il controllo all'interno del forum per cui possiamo posizionare direttamente nella posizione standard e dei pulsanti c'è il basso a destra la stessa cosa vale anche per le due caselle di testo possiamo quindi effettuare un doppio clic e anche in questo caso la casella di testo verrà posizionato automaticamente in alto a sinistra oppure possiamo premere il tasto sinistro del mouse trascinarlo rilasciare il mouse la posizione cui le vogliamo posizionare il controllo ad esempio qui passa cosa facciamo per la seconda casella di testo che richiamo trasciniamo e rilasciamo ed ecco qui che i nostri controlli sono posizionati correttamente all'interno del forum a dire il vero lilla di auto della nostra interfaccia lascia un po' a desiderare che perché dobbiamo velocemente riorganizzare la disposizione dei controlli ad esempio possiamo spostare un po' più in alto le caselle di testo e spostare molto simile anche il pulsante battono uno ridimensionando quindi i margini della finestra in modo che l'articolo dell'applicazione sia completamente visibile ma in modo tale da non andare troppo oltre quella che è l'area di lavoro dell'applicazione che ne delimitata dai controlli visibili per cui ridimensioni amo i margini dell'applicazione e andiamo ad inserire altri due controlli questi due controlli saranno delle etichette di testo che non faranno altro che specificare il tipo di dato da inserire in ciascuna delle due caselle di testo per far questo torniamo sulla casella degli strumenti e come abbiamo fatto in precedenza infieriamo due controlli l'import di controlli lei vuol come abbiamo i controlli leggono come vedremo a breve sono semplici etichette di testo che possono essere posizionati sull'aereo sulla finestra proprio per descrivere dei controlli aggiungere delle note e in generale per inserire delle frasi quindi è del testo nostro piacimento all'interno di una finestra vediamo subito come fare con l'abbiamo visto in precedenza dobbiamo cliccare sul controllo trascinare fino alla posizione in cui le vogliamo posizionare il nostro controllo rilasciamo quindi il pulsante del mouse e come viviamo il controllo si posizionato nel punto che volevamo facciamo stessa cosa con la seconda etichetta di testo trasciniamo e rilasciamo ecco qui che adesso abbiamo sul nostro forum li ho l'uno e le bordure adesso andiamo a scrivere del testo all'interno di questi due controlli come abbiamo visto in un video precedente nel momento in cui selezione un controllo nel quadro delle proprietà del controllo si valorizzerà con tutte le proprietà tutte le caratteristiche di controllo che abbiamo appena selezionato per cui nella fattispecie queste saranno tutte le proprietà del controllo lei vuol uno possiamo infatti vedere che tutte queste proprietà si riferiscono al controllo che è attualmente selezionato all'interno di questa casella multipla è se la sfogliamo ragionamenti di questa casella troviamo tutti controlli che sono presenti sul forum quindi ogni controllo presente sul forum sarà elencato in questa casella discesa questo perché è utile nel selezionare una un controllo non soltanto cliccandoci sopra le sul forum ma anche e selezionando tramite il proprio nome e cliccandoci sopra da questo menù a discesa
In this video we will extend our application by adding hours and control interface is a bit 'and logic within the engine of our application, so that it can make the drawing operations then do the work for which it was created. The last time we have successfully saved our application and we call before applying WF. If we notice in this first page in the page welcome or Visual Basic 2010 is often found the projects section Recent from the same section I saw the last video in this section see listed in our application and are listed all the new applications that would open in the last days of development then clicking back on the first application will be presented WFC re-development environment at design time as this we saw the last video and how to display the code within the development environment and we can glimpse the interface view to Code view, through these two buttons to add one and then logic and operations is to our application we need to add controls to allow controls user to interact with the application in order to reach the controls and we have to open the list of controls available in Visual Basic 2010 to do this go to the toolbox, and that this card appears on the left that has disappeared. If you pass your mouse over it and disappear if we move the mouse outside the box of instruments in this box we can find all the controls that can be added to our application and these controls are grouped by categories such as macro controls we have common the category of containers we have and the class of the menus and toolbars instruments of data and displaying data, and different components or items that are not visible to the user but the operating mode invisible to the end user and the category of print dialog boxes and so on we can find a list of all controls in the first tab default because it uses a very long list, and then perhaps it worthwhile to use the list and / or close the category for which the first board and working on the category of common controls the purpose of our first application will be to provide the user with two boxes text and one for the name for a surname and a button to the pressure this button will display a message box put a draft as they say which will display a screen name and surname were made in the text boxes so far we keep in mind this is not a view application is easy to locate and within this list which are the controls that will send eight such we need to use of a button because it will allow us to display the pressure of the result and then a button and two text boxes one for the name and one for the surname as we now carry these checks within the our window and our methods are the first two is double-click the control and we see that actual control is was dragged was transported to the forum when it makes two clinical and control for this is placed in the upper left the forum so every time it should take from this location drag the point we want the second method is to select and then press the mouse button on the control and hold hold and drag it to the final position to be taken by the control within the forum so we can place directly in the standard position and buttons is the lower right the same thing also applies to the two text boxes so we can make a double click again and the text box will be placed automatically in the top left or we can press the left release the mouse button drag the mouse position where we place the control such as what we do here goes for the second text box that dragged and dropped call and here is that the Our controls are positioned correctly inside the forum to say the true lilac drive interface leaves a bit of our 'wishing that because we have to quickly reorganize the layout of controls to example, we can move a bit 'higher up the text boxes and move too much like a button fly and then resizing the margins the window so that the article is completely application visible but in a way that will not go too well what is the area of work area that is bounded by the visible controls so I love the application and resize the margins we are going to add two more controls of these two controls are text labels that will only specify the type of data to be included in each of the two text boxes to do this back on the toolbox and as we did previously prevailed in two controls the import of controls you want to control how we read as we are short simple text labels that can be placed on the plane window just to describe the controls and add notes General to enter phrases of text so it is our pleasure within a window we see at once what to do with as we have seen in Previously we click on the drag control to the location where we place our control, then release the button mouse control and how we live is located at the point we wanted do the same thing with the second label text and drag we issue here is that we now have here in our forum and I have one borders now we're going to write some text in these two controls as we have seen in a video earlier when selecting a control within the control's properties will be enhanced with all properties of all the characteristics that we control just selected, in this instance they will be all the properties she wants to control a fact we can see that all these properties refer to the control that is currently selected in this box if the dough is multiple arguments in this box we find that all controls are on the forum so out of control This forum will be listed in this drop-down box, this is because useful in selecting a control not only have to click on the above forum but also by selecting their name and clicking on it from This drop-down menu