private void EditMenuItem_AddPlan_Click(object sender, EventArgs e) { if (!IsConnectToBase) return; AddForm = new AddDataForm(); AddForm.Data = DataClass; AddForm.Plan = true; AddForm.Show(); AddForm.Location = new Point(Location.X + 20, Location.Y + 70); }
public GeneralForm() { ShowDataWindow = new ShowData(); OptionsFormWindow = null; DataClass = new DatabaseClass(); AddForm = null; GistWindow = null; IsConnectToBase = false; InitializeComponent(); }