- Error 1 Method must have a return type C:\Users\Sadin\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 15 16 WindowsFormsApplication1
Here is my current code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class FirstApp : Form
{
public Application()
{
InitializeComponent();
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void smdsubmit_Click(object sender, EventArgs e)
{
if (!(string.IsNullOrEmpty(txtText.Text)) && txtText.Text != "")
{
lblResults.Text = txtText.Text;
}
else
{
MessageBox.Show("Please provide a text value!");
}
}
}
}
Id appreciate any help
~Thanks!

New Topic/Question
Reply




MultiQuote






|