예제 #1
0
        public ControlLine CreateControlLine(RoutedEventHandler DeleteControlLineButton_Click,
                                             TextChangedEventHandler SubfolderName_Changed, TextChangedEventHandler BindKey_Changed,
                                             System.Windows.Input.KeyEventHandler BindKey_KeyDown)
        {
            var cl = new ControlLine(BindingLines.Count);

            cl.AddEventHandlers(DeleteControlLineButton_Click, SubfolderName_Changed, BindKey_Changed, BindKey_KeyDown);
            BindingLines.Add(cl);
            return(cl);
        }
예제 #2
0
        public ControlLine CreateControlLine(RoutedEventHandler DeleteControlLineButton_Click,
                                             TextChangedEventHandler SubfolderName_Changed, TextChangedEventHandler BindKey_Changed,
                                             System.Windows.Input.KeyEventHandler BindKey_KeyDown, string bindedKey, string subfolderName, bool?isMoveFileMode)
        {
            var cl = new ControlLine(BindingLines.Count);

            cl.FillData(bindedKey, subfolderName, isMoveFileMode);
            cl.AddEventHandlers(DeleteControlLineButton_Click, SubfolderName_Changed, BindKey_Changed, BindKey_KeyDown);
            BindingLines.Add(cl);
            return(cl);
        }