private void EditTable_btn_Click(object sender, EventArgs e) { Global.from_Home = false; Design d = new Design(); d.Show(); }
private void CreateTable_btn_Click(object sender, EventArgs e) { if (CreateTable_txt.Text == "") { return; } if (Global.dataSet.Tables.Contains(CreateTable_txt.Text)) { MessageBox.Show("A Table of the Same Name is Alrady Exist ! ", "Error ", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } Global.Curtable = CreateTable_txt.Text; Global.from_Home = true; Design d = new Design(); d.Show(); }