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