Exemple #1
0
        private void ButtonAddFolder_MouseClick(object sender, RoutedEventArgs e)
        {
            Window_AddFolder windowAddFolder = new Window_AddFolder();

            windowAddFolder.ShowDialog();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((PhotoManager.Window_AddFolder)(target));

            #line 12 "..\..\Window_AddFolder.xaml"
                this.Window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 12 "..\..\Window_AddFolder.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TopPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.ButtonMinimizeWindow = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\Window_AddFolder.xaml"
                this.ButtonMinimizeWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonMinimizeWindow_Click);

            #line default
            #line hidden

            #line 57 "..\..\Window_AddFolder.xaml"
                this.ButtonMinimizeWindow.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonMinimizeWindow_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ButtonCloseWindow = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\Window_AddFolder.xaml"
                this.ButtonCloseWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonCloseWindow_Click);

            #line default
            #line hidden

            #line 63 "..\..\Window_AddFolder.xaml"
                this.ButtonCloseWindow.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonCloseWindow_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.TextBoxFolderName = ((System.Windows.Controls.TextBox)(target));

            #line 87 "..\..\Window_AddFolder.xaml"
                this.TextBoxFolderName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxFolderName_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.ComboBoxParentFolder = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.RichTextBoxFolderDescription = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 8:
                this.ButtonSaveFolder = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\Window_AddFolder.xaml"
                this.ButtonSaveFolder.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveFolder_MouseClickAsync);

            #line default
            #line hidden
                return;

            case 9:
                this.ButtonCancelAddingFolder = ((System.Windows.Controls.Button)(target));

            #line 119 "..\..\Window_AddFolder.xaml"
                this.ButtonCancelAddingFolder.Click += new System.Windows.RoutedEventHandler(this.ButtonCancelAddingFolder_MouseClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }