Closed SvilenStoianov closed 5 years ago
I was try your helper class with some very basic empty project:
private void Form1_Shown(object sender, EventArgs e){ AppBarFunctions.SetAppBar(this, ABEdge.Right); } and I've got that error: Error CS1503 Argument 1: cannot convert from 'Solution1.Form1' to 'System.Windows.Window'
I really can not understand where is the problem :( Why i can not use 'this' as argument here?
sorry. i've used a wpf version on windows form project. Silly me
I was try your helper class with some very basic empty project:
private void Form1_Shown(object sender, EventArgs e){ AppBarFunctions.SetAppBar(this, ABEdge.Right); } and I've got that error: Error CS1503 Argument 1: cannot convert from 'Solution1.Form1' to 'System.Windows.Window'
I really can not understand where is the problem :( Why i can not use 'this' as argument here?