C Sharp :: UI Type Editor In WPF?
Jun 13, 2012I'm working on WPF project and There is this problem with property grid control. Here I saw the similar problem solved in windowsform project. how I can accomplish this behavior on WPF.
View 1 RepliesI'm working on WPF project and There is this problem with property grid control. Here I saw the similar problem solved in windowsform project. how I can accomplish this behavior on WPF.
View 1 RepliesC# type setting a char? I have tried setting as characters, as integers but nothing seems to work?
last try: char mchar = 'X'; // Character literal
my array contains elements of integer type
how can i convert my array to long array
I sew lot of sample for ASP WEB API. In althose link the post method is using
HttpResponseMessage as return tyope
Is it possible to use return type bool in WEB API post method?
actually it is the windows application .When i'm running my program it is not allowing me to enter the data into textboxes means the cursor is not appearing
View 1 Replies View Relatedstring codeentrd = Console.WriteLine("Enter the code for verification.", codeentrd );
if (codeentrd.CompareTo("#2") == 0);
{
block = 2;
continue;
}
i don't understand why its an error ....
I am firing an insert query like this in C# to MS ACCESS 07 Database
var expiry = dateTimePicker1.Text;
string instr = "insert into MST_QUOTATION values(";
instr += txtID.Text;
[Code]...
data type mismatch in criteria expression
I want to create a simple map editor in winforms. I would like for it to use a tile sheet from the user which they then can click on tiles from it and place it on the specified grid. Then export this as a binary file. Or perhaps it would be easier for the user to chose the grid size then have each grid space's number be able to be changed like 01,02,03 to represent an image. Then export this as a binary.
View 1 Replies View RelatedI'm trying to add line numbers to a text editor I'm building but not having much luck. I'm trying to find a way around building something massive with a picture box next to my textbox etc. I'm tried adding VS Basic to my references and searching for the linenum_rtf.cs but I can't seem to find it under existing items.
View 4 Replies View RelatedThey should apply for: backspace, return, regular char input, vertical scrolling. There is only one buffer, and it is not allowed to side scroll past max col, instead it must scroll down, appending the line cur_y + 1.
View 4 Replies View RelatedI want to add plugins like line numbering, syntax highlighting,code coloring,text alignment in a text editor. How i start including them?
View 1 Replies View Relatedwhen making a text editor do you have to create a parser for it or are parsers just used in compilers and interpreters?
View 6 Replies View RelatedI'm building a find and replace function for my text editor I'm building the function without support from the algorithm header.
The function is written like: doc.find_replace("Word_to_be_replaced", "The_word_that_is_replacing"); I find this very easy to understand replace this, with this.
find_replace will both have char * as their arguments.
The problem I'm having right now if I replace a bigger word for a smaller word how do I delete the extra characters from memory.
So if I replace "Goodbye" with "Hello" how do I delete the last two characters? So I don't print garbage code.
I am trying to make a text editor in C++ that uses Linked Lists as the main driving force. I need to make a program that can add a line of text at a certain point, delete a certain line of text, print the entire text, and quit and save the text to the original text file inputted from the shell script. My problems are with the cpp file, and the linked list files. My remove function is not what I need it to be I know that. I also know that there are some problems with my cpp file myEditor. My code is below.
#include <sstream>
#include "linkylist.h"
#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
using namespace std;
int main(int argc, char *argv[]) {
//node* head = new node;
[Code] ....
I'm working with a game editor program, where the player can create their own maps. Right know I'm working with collisions, and since it's unpredictable where the player place the objects like trees, houses and cars...etc have I an idea with making a rectangle selection tool. Where the player can drag a collision box around the object, so the sprite stops when it hits the box. The problem is that I dont know how to make a tool like that. so my question is how do I create a tool like that (see picture under for more information)?
btw I'm using the SDL framework
here is a picture that illustrate the tool I want to create: [URL] ....
I'm working on a project which consists of several ocx loaded by one exe. The platform is WinCE. Now I'm on a process to create a new ocx. I do have a copy of those ocx projects in Win32 platform. These Win32 versions were only used to register ocx in local system and then put those on to application dialog by 'Insert ActiveX'.
Now the problem is those Win32 projects are so outdated, and unable to build. Getting too many linking errors to be solved.
I have build the new ocx and link that with exe manually by editing .rc file and all. But still no luck. New ocx is getting registered in WinCE device but failing to start application.
I'm supposed to make a basic text editor using a doubly linked list, I have pretty much written most of it but keep coming across several problems. In certain places,all marked in the code, I get the error "expected a declaration" ive looked online and nothing ive found works. And secondly I also get the error" declaration has no storage class or type specifier" but i havent been able to find anything that works either.
Code:
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <assert.h>
#include <string>
[Code] ....
I'm having some problems with changing an array of numbers of type char to type int. Every time i try to sum 2 array indexed values it returns some letter or symbol. Also, if i change the type of the array in the functions the compiler gives me an error message. I would also like to add that the problem requires that the first two arrays be char so each individual number gets assigned to a different value.
My current code is:
Code:
#include <iostream>
void input(char a[], char b[], int& size_a, int& size_b);
void convert(char a[], int size);
void reverse(char a[], int size);
void add(char a[], char b[], int c[], int size);
int main()
[Code]....
how to convert an element of int type of an array to char type?
View 2 Replies View RelatedI have a function like this:
template<typename T>
void f() {
//...
[Code]....
list contains, in order: A, B and C in any order, D, E
I am thinking it is possible with some clever template and polymorphism combos, but maybe not. As a last resort I know how to make it work by storing static type information in each class, but I'd like to avoid that if possible.
I need to use the type RectangleF as a built in type in c++ ie I need to declare a variable rect as RectangleF rect;
what do I have to include to be able to do this.
Let me put it into the code snippet:
/**
This class build the singleton design pattern.
Here you have full control over construction and deconstruction of the object.
*/
template<class T>
class Singleton
[Code]....
I am getting error at the assertion points when i call to the class as follows:
osgOpenCL::Context *cxt = osgOpenCL::Singleton<osgOpenCL::Context>::getPtr();
I tried commenting assertion statements and then the debugger just exits at the point where getPtr() is called.
How to change an enum type variable to a string type variable?
View 2 Replies View RelatedI recently came across the issue of not being able to type in my cmd console. I was working on a project in MSV; while starting a new one I was unable to type in the console. *After compiling with no errors.
#include <iostream>
//@author Will A. Training Exercise Grade Programming
int main()
[Code].....
Although in another project I worked on previously I still may type in the console.
I have a class named backgroundObstacleManager that I created and another class Pit that have to interact with each other however I'm getting an error.
//backgroundobstacleManager.h
#include "Pit.h"
class backgroundObstacleManager {
public:
backgroundObstacleManager();
void update(sf::RenderWindow *app, Player *Jerry);
[Code] .....
The error is
/media/justin/Linux Data/Programming/C++/jerry and the magic bannana/backgroundObstacleManager.h|34|error: ‘Pit’ does not name a type|
Q. Consider the following C declaration.
int x[10], y,z;
What kind of error does following statement contain?
z == x +y;
a. Syntax error
b. Semantic error
c. logical error
d. All of the above
According to me it should be option a, but I am confused, how to get confirm answer with explanation.