예제 #1
0
        private void addFolderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var newFolderForm = new FolderEdit(this);

            newFolderForm.StartPosition = FormStartPosition.Manual;
            newFolderForm.Location      = MousePosition;
            newFolderForm.Show();
        }
예제 #2
0
        private void renameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var selectedFolder = FolderList[(string)dataGridViewEmails.SelectedRows[0].Cells[0].Value];
            var editFolderForm = new FolderEdit(this, selectedFolder.FolderName);

            editFolderForm.StartPosition = FormStartPosition.Manual;
            editFolderForm.Location      = MousePosition;
            editFolderForm.Show();
        }