Submitted by: Submitted by howarderic4
Views: 42
Words: 292
Pages: 2
Category: Science and Technology
Date Submitted: 11/05/2014 07:54 AM
I had two errors that said Error Type 'Week_7.Form1' already defines a member called 'updateContactList' with the same parameter types
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 Week_7
{
public partial class Form1 : Form
{
private System.IO.FileStream outputFileStream;
private System.IO.StreamWriter streamWriter;
private System.IO.FileStream inputFileStream;
private System.IO.StreamReader streamReader;
public Form1()
{
InitializeComponent();
this.textBox2.Enabled = false;
this.button1.Enabled = false;
this.outputFileStream = new System.IO.FileStream(@"contacts.txt", System.IO.FileMode.Append);
this.streamWriter = new System.IO.StreamWriter(inputFileStream);
this.inputFileStream = new System.IO.FileStream(@"contacts.txt", System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.Read);
this.streamReader = new System.IO.StreamReader(inputFileStream);
}
private void updateContact()
{
throw new NotImplementedException();
}
private void updateContactFile()
{
throw new NotImplementedException();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
}
private void updateContactFile()
{
}
private void label3_Click(object sender, EventArgs e)
{
}
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void updateContactList()
{
string name = this.textBox1.Text;
string email = this.textBox2.Text;...