コード例 #1
0
ファイル: MainForm.cs プロジェクト: loktah/Hots
        private void but_AddStore_Click(object sender, EventArgs e)
        {
            var editStoreForm = new EditLocationForm(null);

            editStoreForm.FormClosed += editLocationForm_FormClosed;
            editStoreForm.Show();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: loktah/Hots
        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();
        }