Skip to content

Commit

Permalink
Merge commit 'cb637b1169172a3149391bf854185ab31dc340c1' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Aug 1, 2023
2 parents 1da1df0 + cb637b1 commit 4145fbf
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 0 deletions.
25 changes: 25 additions & 0 deletions NawfemkearkalkurFocudeche/NawfemkearkalkurFocudeche.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33829.357
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NawfemkearkalkurFocudeche", "NawfemkearkalkurFocudeche\NawfemkearkalkurFocudeche.csproj", "{31708A77-322B-48F2-8396-3ED85CA283DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{31708A77-322B-48F2-8396-3ED85CA283DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31708A77-322B-48F2-8396-3ED85CA283DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31708A77-322B-48F2-8396-3ED85CA283DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{31708A77-322B-48F2-8396-3ED85CA283DB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6DED6169-5868-4FC2-BBA9-EE18DE11AA7F}
EndGlobalSection
EndGlobal
9 changes: 9 additions & 0 deletions NawfemkearkalkurFocudeche/NawfemkearkalkurFocudeche/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="NawfemkearkalkurFocudeche.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:NawfemkearkalkurFocudeche"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
15 changes: 15 additions & 0 deletions NawfemkearkalkurFocudeche/NawfemkearkalkurFocudeche/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace NawfemkearkalkurFocudeche;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Windows;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Window x:Class="NawfemkearkalkurFocudeche.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:NawfemkearkalkurFocudeche"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<local:Foo/>
</Grid>
</Window>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace NawfemkearkalkurFocudeche;
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}

public class Foo : TextBox
{
protected override void OnTextInput(TextCompositionEventArgs e)
{
this.AutoWordSelection = true;
var autoComplete = e.TextComposition.AutoComplete;
Debug.WriteLine(e.TextComposition.CompositionText);
base.OnTextInput(e);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
</PropertyGroup>

</Project>

0 comments on commit 4145fbf

Please sign in to comment.