Beispiel #1
0
        private void btnAddFK_Click(object sender, EventArgs e)
        {
            FKForm fkForm = new FKForm(this.TableNodeHandler.Table, this.dgFields);

            fkForm.Completed += new EventHandler(fkForm_Completed);
            fkForm.ShowDialog();
        }
Beispiel #2
0
        void fkForm_Completed(object sender, EventArgs e)
        {
            FKForm     fkForm = sender as FKForm;
            XmlElement result = fkForm.GetResult();

            AddForeignKey(result);
            CheckDataChanged(true);
        }
 private void btnAddFK_Click(object sender, EventArgs e)
 {
     FKForm fkForm = new FKForm(this.TableNodeHandler.Table, this.dgFields);
     fkForm.Completed += new EventHandler(fkForm_Completed);
     fkForm.ShowDialog();
 }