コード例 #1
0
        private void tsmAddPlatform_Click(object sender, EventArgs e)
        {
            AddPlatform agf = new AddPlatform();

            agf.client = client;
            agf.ShowDialog();
            LoadComboBoxes();
        }
コード例 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (!Functions.chkIfSelected(dgvPlatform))
            {
                return;
            }

            AddPlatform agf = new AddPlatform();

            agf.client = client;
            agf.P      = dgvPlatform.CurrentRow.DataBoundItem as Platform;
            agf.ShowDialog();
            LoadPlatforms();
        }