can't call controls names

19 views
Skip to first unread message

Kirollos Adel

unread,
Jul 10, 2016, 10:39:01 PM7/10/16
to CefSharp
whenever I add the library and do all the processes in this link http://www.codeproject.com/Articles/881315/Display-HTML-in-WPF-and-CefSharp-Tutorial-Part and try to build the program Visual Studio gives me an error saying "Severity Code Description Project Project Rank File Line Column Category Source Suppression State Tool
Error CS0103 The name 'InitializeComponent' does not exist in the current context web_browser_2 1 D:\.........\web_browser_2\web_browser_2\MainWindow.xaml.cs 28 13 Compiler IntelliSense Active Compiler"

and then Visual Studio suggested to fix it by generating method 'mainWindow.InitializeComponent'
private void InitializeComponent()
        {
            throw new NotImplementedException();
        }...


but the main problem now is when I try to call The names of the controls in the MainWindow.xaml.cs file
e.g. when i try to call the Textbox's name to get the text from it and use it it shows me errors

Thanks,
Best Regards...
Reply all
Reply to author
Forward
0 new messages