C# MessageBox.Show
To show some string information in a Text box.
MessageBox.Show( aMinhaVariavel);
Example
private void inquire_Click(object sender, EventArgs e)
{
DrawingHandler MyDrawingHandler = new DrawingHandler();
if (MyDrawingHandler.GetConnectionStatus())
{
Drawing Drawing = MyDrawingHandler.GetActiveDrawing();
var xxs = Drawing.GetType().Name ;
label26.Text = xxs;
MessageBox.Show( xxs);
}
}
Also could be useful show some text in a label
label26.Text = aMinhaVariavel;
MessageBox.Show( aMinhaVariavel);
Example
private void inquire_Click(object sender, EventArgs e)
{
DrawingHandler MyDrawingHandler = new DrawingHandler();
if (MyDrawingHandler.GetConnectionStatus())
{
Drawing Drawing = MyDrawingHandler.GetActiveDrawing();
var xxs = Drawing.GetType().Name ;
label26.Text = xxs;
MessageBox.Show( xxs);
}
}
Also could be useful show some text in a label
label26.Text = aMinhaVariavel;
Comentários
Enviar um comentário