Posts by Eduardo Secolin • 31 points
7 posts
-
0
votes2
answers775
viewsA: Edge on a Tedit
you can check if when your Tedit.Text is different from empty you disable the edge and also click the cancel button. if TEdit.Text <> '' then TEdit.BorderStyle := bsNone;…
delphianswered Eduardo Secolin 31 -
0
votes3
answers951
viewsA: Txmldocument load from a String
Your Result variable has to be of the Widestring type and try to use the Ixmldocument type: Result : WideString; var doc : IXMLDocument; Result : WideString; alipay, alipay2 : IXMLNode; begin…
delphianswered Eduardo Secolin 31 -
1
votes4
answers1449
viewsA: Undefined object reference for an object instance in array
I think a list would look better, so I would do like this: would first create a toString() method in its class class DadosFilme { public string NomeFilme { get; set; } public double Duracao { get;…
-
1
votes0
answers60
viewsQ: wpf application with Entity framework does not work on another machine
I have a wpf application with Entity framework and sql server express...works perfectly on my pc, but when I try to install it on another computer it does not work...the application does not create…
-
0
votes3
answers661
viewsA: How to make the text disappear from the WPF C#field
The recommended is to do as the friend quoted in the other answer ...but you can try via code.... try this: create a method for watermark and call this method in your constructor. private void…
-
1
votes2
answers1251
viewsA: WPF C# String Format
Try Converterculture=en-BR like this: <DataGridTextColumn Header="Valor" Binding="{Binding OperacaoValor, ConverterCulture=pt-BR}" IsReadOnly="True">
-
0
votes3
answers266
viewsA: WPF - Datagrid - Exclusion
If you want to take the value of a selected item and store it in an attribute, try this...: Usuario u = new Usuario(); u = DataGrid.SelectedItem as Usuario; string nome = u.nome;…