示例#1
0
 public SearchForm(UserDataEditForm form, string searchplace, List<LatLng> items)
 {
     InitializeComponent();
     this.udataform = form;
     this.searchplace = searchplace;
     this.items = items;
 }
示例#2
0
        //リスト右クリック編集
        private void editEventToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (eventListView.SelectedItems.Count == 0)
            {
                return;
            }
            User udata = (User)eventListView.Items[0].Tag;
            User uevent = (User)eventListView.SelectedItems[0].Tag;

            if (uevent.udata == null)
            {
                int index = uevent.index;
                UserEventEditForm ueventedit = new UserEventEditForm(this, udata.udata, index, udata.filename);
                ueventedit.Show();
            } else
            {
                UserDataEditForm udataedit = new UserDataEditForm(this, udata.udata, udata.filename);
                udataedit.Show();
            }
        }