同人活動にっきも含むしょうもないにっき
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
1.NuGet経由でMahApps.Metroをインストール
2.ウィンドウをMetroWindowに変更
3.MahAppsのリソースをマージ
4.BorderlessWindowBehaviorを設定
いろいろ試してみたけどこれかな・・・Elysiumよりはこっち使うかな。
ElysiumはDataGrid反映されなかったし・・・
2.ウィンドウをMetroWindowに変更
3.MahAppsのリソースをマージ
4.BorderlessWindowBehaviorを設定
いろいろ試してみたけどこれかな・・・Elysiumよりはこっち使うかな。
ElysiumはDataGrid反映されなかったし・・・
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application x:Class="LivetWPFApplication3.App" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
StartupUri="Views\MainWindow.xaml" | |
Startup="Application_Startup"> | |
<Application.Resources> | |
<ResourceDictionary> | |
<ResourceDictionary.MergedDictionaries> | |
<!-- MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive! --> | |
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /> | |
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /> | |
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" /> | |
<!-- Accent and AppTheme setting --> | |
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" /> | |
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" /> | |
</ResourceDictionary.MergedDictionaries> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<metro:MetroWindow x:Class="LivetWPFApplication3.Views.MainWindow" | |
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" | |
xmlns:metro="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" | |
xmlns:metrobe="clr-namespace:MahApps.Metro.Behaviours;assembly=MahApps.Metro"> | |
<i:Interaction.Behaviors> | |
<!-- これをしないと外側のウィンドウが表示されてしまう。 --> | |
<metrobe:BorderlessWindowBehavior/> | |
</i:Interaction.Behaviors> | |
</metro:MetroWindow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class MainWindow : MahApps.Metro.Controls.MetroWindow | |
{ | |
public MainWindow() | |
{ | |
InitializeComponent(); | |
} | |
} |
PR
■ModernUI for WPFの適応方法
1.NuGetからModernUI for WPFをインストール
2.MainWindowをModernWindowに変更
3.ResouceDictionaryにMuiリソースをマージ
4.UserControlを追加、GridにContentRootスタイルを設定
5.MainWindowからGridを削除、画面遷移はMenuLinkGroupsで管理
6.初期表示コンテンツはWindowのContentSourceに設定
1.NuGetからModernUI for WPFをインストール
2.MainWindowをModernWindowに変更
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mui:ModernWindow | |
xmlns:mui="http://firstfloorsoftware.com/ModernUI"> | |
</mui:ModernWindow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FirstFloor.ModernUI.Windows.Controls; | |
public partial class MainWindow : ModernWindow | |
{ | |
public MainWindow() | |
{ | |
InitializeComponent(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ResourceDictionary> | |
<ResourceDictionary.MergedDictionaries> | |
<ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" /> | |
<ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Dark.xaml"/> | |
</ResourceDictionary.MergedDictionaries> | |
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid Style="{StaticResource ContentRoot}"> | |
<!-- 要素 --> | |
</Grid> |
6.初期表示コンテンツはWindowのContentSourceに設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mui:ModernWindow | |
xmlns:mui="http://firstfloorsoftware.com/ModernUI" | |
ContentSource="Views/UserControl1.xaml"> | |
<mui:ModernWindow.MenuLinkGroups> | |
<mui:LinkGroup DisplayName="group 1" > | |
<mui:LinkGroup.Links> | |
<!-- UserContorolの配置箇所を間違うと表示できない --> | |
<mui:Link DisplayName="link 1" Source="Views/UserControl1.xaml" /> | |
<mui:Link DisplayName="link 2" /> | |
</mui:LinkGroup.Links> | |
</mui:LinkGroup> | |
</mui:ModernWindow.MenuLinkGroups> | |
</mui:ModernWindow> |
いろいろいじったが、絶対忘れるのでメモ。
■Elysiumの適応方法
1.ソリューションにNuGet経由でElysiumをインストール
2.Window要素をElysiumContorolに変更
3.ApplicationResourceをマージ、Startup時にテーマを適応
4.デザインモードへの反映
■Elysiumの適応方法
1.ソリューションにNuGet経由でElysiumをインストール
2.Window要素をElysiumContorolに変更
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<metro:Window x:Class="LivetWPFApplication7.Views.MainWindow" | |
xmlns:metro="http://schemas.codeplex.com/elysium"> | |
</metro:Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class MainWindow : Elysium.Controls.Window | |
{ | |
public MainWindow() | |
{ | |
InitializeComponent(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Application | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
StartupUri="Views\MainWindow.xaml" | |
Startup="Application_Startup"> | |
<Application.Resources> | |
<ResourceDictionary> | |
<ResourceDictionary.MergedDictionaries> | |
<ResourceDictionary Source="/Elysium;component/Themes/Generic.xaml" /> | |
</ResourceDictionary.MergedDictionaries> | |
</ResourceDictionary> | |
</Application.Resources> | |
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Application_Startup(object sender, StartupEventArgs e) | |
{ | |
Elysium.Manager.Apply(this, Elysium.Theme.Dark, Elysium.AccentBrushes.Blue, new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.White)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<metro:Window | |
xmlns:params="http://schemas.codeplex.com/elysium/params" | |
params:Design.Theme="Dark" | |
params:Design.AccentBrush="{x:Static metro:AccentBrushes.Blue}" | |
params:Design.ContrastBrush="White"> | |
</metro:Window> |
やっとおちついたので、とりあえず更新…と。
年明けから忙しかった。
今年こそはゆっくり年末年始を過ごせると思ったがそうは問屋がおろさなかったようで…
まぁ、去年わけわからんまま経過観察にしてた事案が解決したっぽいのでよしとする。
仕事の方はやっと落ち着いたっぽい。
今のところはあれやりたい、これやりたい、が特にないので、だらだらと日常を過ごすことしか考えてないが…なにかやったほうがよさそう。
思うだけでなかなかできないわけですが。
現状に結構満足しているから新たになにか…という気持ちにはなかなかならないですわ。
とりあえず今年の目標は、猫カフェにいってみる…にしておくわ。
あとは、やる気だす…だす…きっと出す…だせればいいなぁー
年明けから忙しかった。
今年こそはゆっくり年末年始を過ごせると思ったがそうは問屋がおろさなかったようで…
まぁ、去年わけわからんまま経過観察にしてた事案が解決したっぽいのでよしとする。
仕事の方はやっと落ち着いたっぽい。
今のところはあれやりたい、これやりたい、が特にないので、だらだらと日常を過ごすことしか考えてないが…なにかやったほうがよさそう。
思うだけでなかなかできないわけですが。
現状に結構満足しているから新たになにか…という気持ちにはなかなかならないですわ。
とりあえず今年の目標は、猫カフェにいってみる…にしておくわ。
あとは、やる気だす…だす…きっと出す…だせればいいなぁー
もうすぐ年末だ・・・
最近は微塵もやる気が出ない。
仕事のほうも頭抱える事案があるが、年内にやることなのでまだそれほど焦ることもない。
年明けの昇格用のレポート書くほうがやばい。
書いてみたけど内容が薄くて薄くて・・・
現時点で昇格できる気がまったくしないので、すでにがんばるのは諦めモード。
仕事に対するモチベーションが保てないから仕方ないよね・・・
そもそも生きることに対するモチベーションが下がってるしね・・・
最近は微塵もやる気が出ない。
仕事のほうも頭抱える事案があるが、年内にやることなのでまだそれほど焦ることもない。
年明けの昇格用のレポート書くほうがやばい。
書いてみたけど内容が薄くて薄くて・・・
現時点で昇格できる気がまったくしないので、すでにがんばるのは諦めモード。
仕事に対するモチベーションが保てないから仕方ないよね・・・
そもそも生きることに対するモチベーションが下がってるしね・・・
仕事でもプライベートでもやりたいことってのがなくなってきているのが一番の問題なんだろうなぁ。
やりたかったことは一通りやりきったので、もういいや・・・って感じ。
・・・鬱が加速してきたので普段の振り返りはここまで。
やりたかったことは一通りやりきったので、もういいや・・・って感じ。
・・・鬱が加速してきたので普段の振り返りはここまで。
というわけで今回も描いた。
当分練習で艦娘を描こうと思っている(描くとはいってない)
当分練習で艦娘を描こうと思っている(描くとはいってない)
しかし描きたいけども描いててつらい・・・
なんかこう・・・こう描きたい!って考えはあるけども、実際にはそれが表現できないからかな・・・
まぁ、次はがんばる・・・たぶん。
なんかこう・・・こう描きたい!って考えはあるけども、実際にはそれが表現できないからかな・・・
まぁ、次はがんばる・・・たぶん。
そうそう、12月になってボーナス出たので、思い切ってVAIO Pro 11を下取りにだしてVAIO Z CANVASを購入。
最小の構成にしたけど、ボーナス使い切った・・・ほんとすずめの涙程度しかない。
買ったはいいがメインで使うわけではないので、ちょこちょこと使い勝手を良くしていこうと思う。
しかし、このスタンド機構が不安だ・・・なんかすぐヘタりそうな感じがする。
公式見てるとかなり耐久性ありそうだけど。
OSはWindows10にしたので若干不安なところがあるが、ガリゴリ使用するわけではないし問題なかろう。
・・・まだCLIP STUDIO PAINTしか突っ込んでないからわかんねぇけど。
次回は試しにこっち使って描いてみるか・・・
次のページ
>>
カウンター
twitter
pixiv(ブックマーク済)
最新記事
(02/12)
(02/10)
(02/10)
(01/20)
(12/08)
カテゴリー
アクセス解析