Posts by Bruno • 301 points
11 posts
-
1
votes2
answers66
viewsA: Setting Data Output in C
Follow an example as requested, using \t (tabs): #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { int i, num, rsoma, rsubtracao, rmultiplicacao; float…
-
0
votes4
answers59
viewsA: Div in the center next to each other
You were already using the flexbox, more incorrectly, because you were applying in the items and not in a container (div) behind them. Follow an example using the flexbox: .certificados { display:…
-
1
votes3
answers116
viewsA: How to use jquery to form the date field for month and year?
To avoid settings of other masks already defined, try as follows: HTML: <div class="col-sm-2"> <input autocomplete="off" id="idPeriodoInicio" class="form-control nova-classe"…
-
-1
votes1
answer43
viewsQ: Join lists without repeating
I have two lists: . I wanted a way to join the two lists randomly without repeating letters and numbers in the same letter in C#, for example:…
-
1
votes1
answer55
viewsQ: Relationship of Fluentapi Tables
I am trying to make a relationship of tables, using Fluentapi with Entity Framework, in which my purpose are 3 entities: public class Empresa { public Empresa() { this.Gerentes = new…
-
0
votes1
answer78
viewsA: Add Treeview Node by path
I managed to solve my problems First Czech the main nodes: public void AddParent(string path, string node) { foreach (TreeNode tnode in treeView1.Nodes) { if (tnode.FullPath == path) {…
-
0
votes1
answer78
viewsQ: Add Treeview Node by path
Estu trying to add one TreeView Node by path, for example: And the code I’m trying is like this: public void AddParent(string path, string node) { TreeNode parentNode = treeView1.Nodes[path]; if…
-
2
votes2
answers860
views -
0
votes1
answer63
viewsA: CSS Search Element for JS
You can add the entire button design to a CSS Class and when you add the JS button you add it with the Class. CSS: .btn { width: 100px; height: 30px; text-align: center; } JS: var newNode =…
-
12
votes1
answer5223
viewsA: What is the Xarg command for?
The primary function is to construct lists of parameters and pass it on to the execution of other programs or instructions. This command must be used as follows: xargs [comando [argumento inicial]]…
-
0
votes3
answers384
viewsA: Reset "<select>" by unchecking checkbox
A very easy way to do this, for example, by value of the option you want to select...in the example I select the value emptiness: $('#id option[value=""]').attr('selected', 'selected');…