wpf

  1. sbondo1234

    Question Disable buttons if all checkboxes are unticked

    I have a DataTemplate that holds: <DataTemplate x:Key="hostListItem"> <StackPanel Orientation="Horizontal"> <CheckBox x:Name="hostCheckBox" Margin="0 0 5 0" Unchecked="hostCheckBox_Unchecked" Checked="hostCheckBox_Checked"> </CheckBox>...
  2. J

    Hierarchical ViewModels

    I've created a UserControl which is a Calendar. It's almost identical to the Outlook calendar. Multiple calendars can be placed adjacent to each other to compare them, als shown in the image. For viewing the calendar, the user can choose between a month view and a week view. The month view...
  3. S

    Question I want my WPF program uses user's cookie

    so basically I want my 3rd party program (which will be created using c# on WPF) be an interface between the user and that site. Using WebBrowser class I wanna load the login page and after the user logged in(and passed CAPTCHA), he/she will fill some fields in the program, and the program will...
  4. H

    Question Start in learn WPF and I have a little problem...

    I have read this book https://www.tutorialspoint.com/wpf/wpf_tutorial.pdf and on page 22,23 this code example do not run.... and Am I missing? UserControl1.xaml using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using...
  5. R

    draw logical graphs in wpf

    I am new to GUI platform. I want to draw logical graphs in wpf. this is a sample graph. I have stored my values of 1s and 0s in a text file. Now I want to draw graphs from those values. Could you please recommend me from where to start. Thanking in anticipation.
  6. Neal

    Question WPF vs. Winforms 2018

    One of those questions that are frequent, annual, and indecisive! When considering a new project in 2018 what platform are you choosing for Windows and why? WPF is the current and future platform, some say, yet Winforms continues to grow by 3rd party vendors (I use Developer Express) as if WPF...
  7. A

    Connection to the database in WPF with MVVM design pattern

    I am a beginner at MVVM design patter and WPF I am trying to make a small example of connection to the MS Access database using the WPF and MVVM Light Toolkit patter design. here is the code I insert for the connection: Model / DataConnection.cs public class DataConnection {...
  8. SRX

    How to use styles inside a DLL?

    Hello everyone, this is my first post here, so here it is, I'm making a DLL for me, to ease my job, because there are classes that I use in every project, so why should i duplicate them, when I can use one DLL to finish the job, I also wanted to add some controls to it, buttons, so its like...
  9. lmstearn

    Building Out-Of-The-Box Tutorial Examples

    Hi there, With VS2017 15.5.2, building Resources from Code-behind, the final topic on this tutorial page: Get: Having tried most of the suggested workarounds from SO, not a clue as to where to go from here- is it something to do with views at all? Also compiling Custom Dependency Properties...
  10. C

    Question Problem with WPF Slider ValueChanged action.

    So, on ValueChanged action I have this line: freqtext.Text = Convert.ToInt32(freq.Value) + " Hz"; When I compile project it starts and shows me an error: Sorry for "?"s .
  11. D

    Filtering a listview bound to a datatable

    I have a datatable bound to a listview which displays the output of a SQL select statement. I wish to filter what is displayed in the listview based upon text entered into a textbox above it. I have found numerous examples of filtering listviews in this way but all of them are using hardcoded...
  12. F

    WMI, Where did i go wrong

    I'm trying to use WMI to connect to remote PC's and run patch scripts. When I run my program I receive no errors or exceptions. When I remote the authentication and run on localhost it works. When I add the authentication back in having changed nothing it will never start the batch script on the...
  13. T

    Tip Sending SMS using TheTexting SMS Gateway with C#

    Sending SMS using TheTexting SMS Gateway with C# By Ahmed Introduction: In this article, I will walk you through a fast and intriguing approach to send SMS utilizing straightforward C #applications. I make it as simple as feasible for you so I have made both the windows and web demo...
  14. A

    Question DataGrid Collapsible

    My Problem is that my professor wants to combine same name in 1 row and will collapse on click. but I dont have any Idea how to do it can you give me some headstart thanks! more power this is my current view and my SP
  15. NiceGirl13

    WPF error "the connectionString property has not been initialized"

    I have created a WPF project, where a user can insert the Servername in a textbox, and the connection should be saved in the app.config (in Runtime), ones that is done the data from a DB table should be loaded in the datagrid. When i press the connect button (after inserted the servername in the...
  16. NiceGirl13

    Question WPF SQL Connection Dialog

    Hello everyone I have started project where i want the user to be able to connect to a SQL server themselves. The reason for this is that the tables might/hopefully be moved from a test server to production server. however the tables names are static, meaning that the connection dialog should...
  17. W

    Question Open a Window from another project in the same solution

    Hi guys! Hope you can help me... :) I have a solution and 2 projects on it (let's name them project A and B). Considering my requisite, project A can't have reference to project B and project B can have reference to project A. Problem: I need to write a code in project A opening a Window from...
  18. sultanuzzaman

    Question Is it possible to load a navigation page without clicking on any button or any event

    I have this following code that acts when there's an error: public void ShowErrorScreen() { NavigationService nav = NavigationService.GetNavigationService(this)); nav.Navigate(new Uri("ErrorMsg.xaml", UriKind.RelativeOrAbsolute)); }But it doesn't seem to be working for "this"...
  19. G

    Deciding Which Is Which Should I Choose? (MVVM or MVC C#?)

    I can't decide which job should I choose? C# MVVM Developer or C# MVC Developer? There are two companies that I should go and work for. The one like Navitaire Accenture Company which uses C# WPF MVVM and the one like many others (e.g Avanade) which uses C# MVC ASP.NET... I mean, I want to...
  20. A

    Mouse restriction in circle

    I want to restrict mouse movement in Circle drawn using Ellipse in WPF. I can restrict mouse movement using ClipCursor function but it takes rect param. How it can be achieved to restrict movement in Circle? Please suggest any solution I need to implement this in my project using WPF.
Back
Top Bottom