Questions tagged as 'c#'

0
answers

RTF table border size

I'm doing a simple RTF editor (with RichTextBox ). I'm working on the editing part of tables, the code to insert them is ready: private void InsertTableInRichtextbox(int rows, int columns,int csize) { //CreateStringBuilder o...
asked by 23.03.2018 / 20:59
0
answers

How to get the value of a combobox inside a datagridviewr

I have the following situation, I have a combobox in a cell of datagridviewr, now I need to get the value of this cell only after selecting the item in combobx, but I am not getting it because clicking on the cell is already occurring before I s...
asked by 26.03.2018 / 16:06
1
answer

Xamarin Android WCF for after entering more than 10 times

I have an app in xamarin android that consumes a wcf service, when I instantiate the service more than 10 times the service drops and it needs to restart it and when it will reboot the bar needs to go through the middle to stop the service and t...
asked by 16.03.2018 / 12:46
0
answers

How do I know if there is a scheduled shutdown in windows?

How can I tell if windows has any command shutdown scheduled? There is the event that tells me when someone activates the command (msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.sessionending.aspx), but my program does not...
asked by 20.03.2018 / 01:25
1
answer

Why does the array get too many lines?

private void abrirLabirintoToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog Abrir = new OpenFileDialog(); Abrir.ShowDialog(); string CarregaArq = null; string teste = null; //s...
asked by 16.03.2018 / 01:34
1
answer

Scripts stop when I open Modal in a Partial View for the second time

My first question here. I'm developing my first system using Asp.Net MVC. In a View I call a Modal whose modal-content is a PartialView that contains scripts (jQuery). When I open the Modal for the first time everything happens as e...
asked by 24.03.2018 / 15:35
0
answers

Error inserting data into datagridview

I have the following code: public partial class PesquisaAluno : Form { List<ModelAluno> alunos; public PesquisaAluno(List<ModelAluno> alunos) { InitializeComponent(); this.alunos = alunos; } pr...
asked by 24.03.2018 / 19:19
1
answer

decimal field by taking the comma c #

Good afternoon, I made an assignment as follows: dadosRedistribuicao.QUANTIDADE = (Decimal.Parse(txtDisponivel.Text) * Decimal.Parse(percentual)) + Decimal.Parse(distribuicao); dataRedistribution.QUANTITY is of the decimal type, so I'm c...
asked by 28.03.2018 / 19:30
0
answers

Get directory to save file

I'm developing a system, and in that system, I generate a PDF report from some information, I'd like to know, how do I open a screen that looks like filedialog , but to select only the directory, so that when you generate the report, the u...
asked by 21.03.2018 / 13:39
0
answers

Player Random audio and animation - Unity c #

Good morning. can someone help me I'm trying to do a random audio and synchronized animation but I'm not getting it. Any help is welcome. I know how to do with string and image, less with animation Script I made with String [Header("Min...
asked by 15.03.2018 / 15:48