コード例 #1
0
        private void Mi_AddFolder_Click(object sender, RoutedEventArgs e)
        {
            ChangeFolder cf = new ChangeFolder(new ViewModels.WatchedFile());

            if (cf.ShowDialog() == true)
            {
                addItem(cf.sourceFile);
            }
        }
コード例 #2
0
        private void Mi_ChangeFolder_Click(object sender, RoutedEventArgs e)
        {
            ChangeFolder cf = new ChangeFolder(selectedWF);

            if (cf.ShowDialog() == true)
            {
                changeItem(cf.sourceFile);
                //addItem(cf.sourceFile);
            }
        }