Beispiel #1
0
        private void but_AddStore_Click(object sender, EventArgs e)
        {
            var editStoreForm = new EditLocationForm(null);

            editStoreForm.FormClosed += editLocationForm_FormClosed;
            editStoreForm.Show();
        }
Beispiel #2
0
        private void Gridview_Location_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var strIndex      = Gridview_Stores.SelectedCells[0].RowIndex;
            var editStoreForm = new EditLocationForm(Set.LocList[strIndex]);

            editStoreForm.FormClosed += editLocationForm_FormClosed;
            editStoreForm.Show();
        }