private void lblShowall_Click(object sender, EventArgs e) { frmAllNotes fAllNotes = new frmAllNotes(); fAllNotes.Show(); this.Close(); }
private void cmnMainAllNotes_Click(object sender, EventArgs e) { frmAllNotes fAllNotes = new frmAllNotes(); string tTop = cConfig.GetParameter("AllNotes.Top", string.Empty); string tLeft = cConfig.GetParameter("AllNotes.Left", string.Empty); if (tTop == string.Empty || tLeft == string.Empty) { fAllNotes.StartPosition = FormStartPosition.CenterScreen; } else { fAllNotes.StartPosition = FormStartPosition.Manual; } fAllNotes.Show(); }