示例#1
0
        private void btnAddHostApplication_Click(object sender, EventArgs e)
        {
            AddHostApplicationForm form = new AddHostApplicationForm(this.PluginData.HostApplications);

            form.ShowDialog();
            this.dgvHostApplications.Update();
            this.UpdateControls();
        }
示例#2
0
        private void btnEditHostApplication_Click(object sender, EventArgs e)
        {
            HostApplication hostApplication = this.dgvHostApplications.SelectedRows[0].DataBoundItem as HostApplication;

            AddHostApplicationForm form = new AddHostApplicationForm(hostApplication);

            form.ShowDialog();

            this.dgvHostApplications.EndEdit();
        }