public void ShowMe(AddEditForm form, int index) { this.form = form; this.index = index; txtAccountName.Text = form.lstAccounts.SelectedItem.ToString(); this.ShowDialog(form); }