예제 #1
0
        private async void ListViewItemEditPhoto_MouseDoubleClickAsync(object sender, MouseButtonEventArgs e) => await OpenEditingProgram.Open();        // obsłużyć dodawanie zdjęcia

        private void ListViewItemSettings_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SettingsWindow settingsWindow = new SettingsWindow();

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

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

            #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 "..\..\SettingsWindow.xaml"
                this.ButtonMinimizeWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonMinimizeWindow_Click);

            #line default
            #line hidden

            #line 57 "..\..\SettingsWindow.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 "..\..\SettingsWindow.xaml"
                this.ButtonCloseWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ButtonCloseWindow_Click);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 5:
                this.ChosePanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.ListViewItemChooseProgram = ((System.Windows.Controls.ListViewItem)(target));

            #line 82 "..\..\SettingsWindow.xaml"
                this.ListViewItemChooseProgram.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListViewItemChooseProgram_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:
                this.Test = ((System.Windows.Controls.ListViewItem)(target));

            #line 88 "..\..\SettingsWindow.xaml"
                this.Test.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Test_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 8:
                this.OptionPanelChooseProgram = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.SourcePathToEditingProgramTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 132 "..\..\SettingsWindow.xaml"
                this.SourcePathToEditingProgramTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SourcePathToEditingProgramTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.SearchProgramPathButton = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\SettingsWindow.xaml"
                this.SearchProgramPathButton.Click += new System.Windows.RoutedEventHandler(this.SearchProgramPathButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.HintOpenProgramTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.TestPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.BottomButtonPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.SaveOptionButton = ((System.Windows.Controls.Button)(target));

            #line 162 "..\..\SettingsWindow.xaml"
                this.SaveOptionButton.Click += new System.Windows.RoutedEventHandler(this.SaveOptionButton_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.DefaultOptionButton = ((System.Windows.Controls.Button)(target));

            #line 167 "..\..\SettingsWindow.xaml"
                this.DefaultOptionButton.Click += new System.Windows.RoutedEventHandler(this.DefaultOptionButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.OkOptionButton = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\SettingsWindow.xaml"
                this.OkOptionButton.Click += new System.Windows.RoutedEventHandler(this.OkOptionButton_OnClick);

            #line default
            #line hidden
                return;

            case 17:
                this.CancelOptionButton = ((System.Windows.Controls.Button)(target));

            #line 177 "..\..\SettingsWindow.xaml"
                this.CancelOptionButton.Click += new System.Windows.RoutedEventHandler(this.CancelOptionButton_OnClick);

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