예제 #1
0
파일: Lists.cs 프로젝트: rafek/SyncFx
        private void menuItem4_Click(object sender, EventArgs e)
        {
            var newListForm =
                new AddEditList {Text = "Edit List", IsNewItem = false, ListItem = ListBoxLists.SelectedItem as List};

            newListForm.ShowDialog();

            RefreshLists();
        }
        private void MenuItemNewList_Click(object sender, EventArgs e)
        {
            var newListForm = new AddEditList {
                Text = "Add List", IsNewItem = true
            };

            newListForm.ShowDialog();

            RefreshLists();
        }
        private void menuItem4_Click(object sender, EventArgs e)
        {
            var newListForm =
                new AddEditList {
                Text = "Edit List", IsNewItem = false, ListItem = ListBoxLists.SelectedItem as List
            };

            newListForm.ShowDialog();

            RefreshLists();
        }
예제 #4
0
파일: Lists.cs 프로젝트: rafek/SyncFx
        private void MenuItemNewList_Click(object sender, EventArgs e)
        {
            var newListForm = new AddEditList {Text = "Add List", IsNewItem = true};
            newListForm.ShowDialog();

            RefreshLists();
        }