private void changeSalDateMenuItem_Click(object sender, EventArgs e) { AddData salDateData = new AddData("Change Salary Date","Insert your salary date to calculate remaining dates & avg spenditure"); salDateData.OnNewDataAdded += new delegateNewDataAdded(salDateData_OnNewDataAdded); salDateData.ShowDialog(); }
private void changeUnitMenuItem_Click(object sender, EventArgs e) { AddData unitData = new AddData("Change Unit", "Insert a valid money Unit (Max 3 Chars)"); unitData.OnNewDataAdded += new delegateNewDataAdded(unitData_OnNewDataAdded); unitData.ShowDialog(); }
private void changeNameMenuItem_Click(object sender, EventArgs e) { AddData nameAddData = new AddData("Change Name", "Add your name to display on window Text"); nameAddData.OnNewDataAdded += new delegateNewDataAdded(nameAddData_OnNewDataAdded); nameAddData.ShowDialog(); }