Пример #1
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (firstTimeThru)
            {
                myJF = new JoinForm(this);
                foreach (object item in lbTableListing.CheckedItems)
                {
                    myJF.passedJoinedTabs.Add(item.ToString());
                }

                myJF.JFinitialize();
                myJF.Top  = PlaceForms.topForm;
                myJF.Left = PlaceForms.LeftForm;

                firstTimeThru = false;
            }
            else
            {
                myJF.passedJoinedTabs.Clear();
                foreach (object item in lbTableListing.CheckedItems)
                {
                    myJF.passedJoinedTabs.Add(item.ToString());
                }
                myJF.JFaddMoreTables();

                this.Hide();
                myJF.Top  = PlaceForms.topForm;
                myJF.Left = PlaceForms.LeftForm;
                Application.DoEvents();
                myJF.Show();
            }
        }
Пример #2
0
 public SQLdisplayer(JoinForm parent)
 {
     InitializeComponent();
     myJF      = parent;
     this.Top  = parent.frmTabDispParent.PlaceForms.topForm;
     this.Left = parent.frmTabDispParent.PlaceForms.LeftForm;
 }
Пример #3
0
 public ColumnChooser(string TableToUse, JoinForm parent)
 {
     InitializeComponent();
     callingJoinForm  = parent;
     tbTableName.Text = TableToUse;
     this.Top         = parent.frmTabDispParent.PlaceForms.topForm;
     this.Left        = parent.frmTabDispParent.PlaceForms.LeftForm;
     this.Refresh();
 }