Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to add a good welcome intro to my Windows Phone Application, like the Dropbox's one.The welcome's pages are very simple, I mean there will be just come text and image, and in the last one the user will be required to register or to login. What kind of layout/tecniques is possible to use ? This welcome intro should be display only if it is the first time, that the user opens the application, or if he hasn't registered to the service. I think the easiest way is to save same variable in the settings preferences memory, isn't it ? Thank you in advance for your suggestion !
UPDATE
What I'm looking for it is to create a welcome pages which describe to the user what the application does. The layout I'm looking for it is very similar to the Dropbox's one, which has some points at the end of the pages.
Quite a broad question, there are many ways on how to approach this. I would do it like this
Create a IsLoggedIn method on my data service
In App.xaml.cs, check if the user is logged in, if yes, launch with the main page, if not launch with the intro page
In the intro page, I would use a FlipView. I would add one fake item at the end of the FlipView and redirect to the main page if the user flips to it.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I don't know how to explain my question. sorry if i made any wrong.
In web based POS system, whole system is worked like a software means there is no postback loading in browser. when i am using page navigation OR anything else,
there is no browser load. URL was not changing even when i am navigating beween pages.
I don't think they are using ajax call because POS systems are always huge systems and also not used iframes. they were not used DIV hide show even.
I want to know how they create this kind of websites because i need to create POS system which is not loading at every page event using C# MVC.
Eg, https://wallacepos.com/
It's fully with JavaScript. Please use some js frameworks like ReactJs, AngularJs, BackboneJs etc... you can create nice POS using those.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to create a website which will allow user to login with his/her Facebook credentials. Now, my website would allow user to post some content (text plus images) and also if user posts it on my website, it should also be posted on a page (which is also created and owned by me).
Is it possible to do that? If yes, can anyone point to any resource which explains how to do it?
Yes it is very easy task, you must rely on some facebook SDK, more precise, you need to choose a library that offers wrapping classes around FB Graph Api i.e. Api Client.
This being said, check the following links as a start and continue developing according to your application requirements.
https://github.com/facebook-csharp-sdk
https://www.nuget.org/packages/Facebook
P.S: the library you choose must support OAuth, and you should read more about this protocol.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I will develop a system in C# wherein there are different types of user and these are: admin, cashier and clerk. My question is, where should I start and what are the things needed in order to do this project? Hope to have an answer with you guys! thank you!
First thing is the privilages.
You need to start with creating login screen upon there you should decide the user type that which user type is trying to logging in.
Now you have to show form to different level users.
So what I recommend is that make separate dashboard for each role or create a form but disable the controls that are out of privileges of some user.
But in my case first one would be preferable as it sounds more professional.!
So just start with it. If you need some more query than please do comment!
Well, you start with a 'user' object, and inside that user object, you define a 'role' property. Make a Global instance of the user object. And once you have that, you can code every page/form against 'user.role' to see if it should be shown/enabled. For logins, make a database with a users table where you store the name, password, and role....and anything else you feel like collecting about users. Then check logins against the table.
That's about as specific as I can be given how generic this question was!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a question regarding problem i am solving. I am editing an old Winform app; currently the only part I need does not take input from the user(automated program). However the form contains database connection settings that program uses. Currently the program needs the user to press a button to start the process (code is associated with the button). Do i need to convert whole app to Console App or is there an easier way to automate this process without messing with the database connection settings.
Right now, you have a WinForm that runs code on a button press. You need to turn this into a "headless" or automatic process. Here is what I think based on your description would be the best things to do:
Remove the button, and have the code that was being ran by the button be called by a more "automatic" process, such as "Form_Load" or a timer.
Take the code and move it into a console app. As long as you don't ask for user input within the logic, it will run and close itself when it's done.
However, this is just some broad and generic suggestions. You need to look at your code and decide for yourself what to do.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make a list of a menu and I want it to be clickable. When a user taps on it, it will change page (to another XAML). I am a beginner in Windows Phone programming, so, as now, I only use selectionChanged, but it only works for 1 string of the list.
So lets say I want to make a list of home, login, forum in the menu, I only could use selectionChanged for the first one.
I have searched for a solution over and over again on every site, but none of the sites share a full tutorial to make it.
If anybody knows how to make it, please help.
This has been discussed multiple times on StackOverflow. What you're trying to achieve is to get some data associated with the LongListSelector's item been tapped. That data lives in the DataContext property of the item. When you handle the Tap event on the list item, you can retrieve your item's DataContext, cast it to required type, and use it as you wish, for example to navigate to some specific page, or whatever you want to achieve.
See this answer as an exampe.
you should check the templated application that are provided with the sdk.
Create a new project of type Databound App.