Home >

c#

Advertisement
  • FindAllReferencesCommand 2.0

    FindAllReferencesCommand 2.0January 16

    Rubberduck 2.0 will feature a "Search Results" dockable toolwindow that will be used for displaying the results of Find all references, Find all implementations, and whatever else we need to find. It replaces the ugly 1.x "SimpleList"

  • Redirecting arriving customers to the nearest empty queueJanuary 16

    I have a task to make a checkout line controller. First it receives, as input, an amount of checkouts and commands. Then commands that are C for coming and L for leaving, and after those the number of the checkout they are coming/leaving. Also, if th

  • Timestamp function with millisecond precisionJanuary 16

    I want to be able to print timestamps with milliseconds precision and time_t doesn't provide this. I also want the code to be portable, so operating specific functions are out. ftime seems to be deprecated but there doesn't seem to be a general-purpo

  • DAL basic implementation using Entity framework 6 and AutofacJanuary 15

    Would like to ask for a code review for my DAL. I use Entity framework 6 and Autofac for dependency injection. All comments will be appreciated. public interface IBaseEntityObject { public int Id {get; set;} } public abstract class BaseEntityObject :

  • Exposing Iterators while Trully Hiding Their ImplementationJanuary 15

    While implementing classes composed of various collections, I've found that it's pretty hard to completely hide the type of collection used, while still allowing C++ style operations on iterators. For example, the following two classes allow the clie

  • UWP (C#) - View files in LocalFolderJanuary 9

    How can I view file created via ApplicationData.Current.LocalFolder.CreateFileAsync("...") operation? I remember Windows Phone Power Tools back in Windows Phone 8 days but is there any way to do this today? Thank you very much!

  • Zookeeper compiling error: syntax error in VERSION scriptJanuary 8

    I am trying to compile the C bindings for Zookeeper, but I am unable to do so. When I run make, I receive the following error: /usr/bin/ld:.libs/libzookeeper_st.ver:2: ignoring invalid character `\033' in script /usr/bin/ld:.libs/libzookeeper_st.ver:

  • C# Accessing controls from one form that is opened in another form that was opened by that formJanuary 7

    so I have looked this up so much and nothing fits exactly what I want. I have one form open called "Main" it has a button in it that opens up a form using the code AddModification modification = new AddModification(); Modification.Show(); Now th

  • Invalid Object name?? sqlJanuary 6

    This is my code. It should return a list of Objects with their properties populated depending on whats passed in. Im getting the exception on this line SqlDataReader DataReader = sqlCmd.ExecuteReader();However I know that my table exists and that it

  • Redeclared as different kind of symbol in c program

    Redeclared as different kind of symbol in c programJanuary 6

    I'm currently working on a program for school. I need to create a chart of temperature conversions given by the user of between 1 to 100. I keep getting the error "redeclared as different kind of symbol" and I'm not sure how to fix it. I also in

  • "ACM ICPC Team" challenge on HackerrankDecember 9

    ACM ICPC Team You are given a list of NN people who are attending ACM-ICPC World Finals. Each of them are either well versed in a topic or they are not. Find out the maximum number of topics a 2-person team can know. And also find out how many teams

  • Custom Memory Caching Allocator in CDecember 9

    Over the weekend I built a fairly simple allocator. struct FreeOnes { //data structure holding the pointers to free blocks int len; void** array; int capacity; }; void append(struct FreeOnes* f, void* what){ //add a free block to FreeOnes if (f->len

  • How to fix linker error LNK2019: unresolved external symbol and error LNK2001: unresolved external symbol [on hold]December 8

    I am new to visual studio. I am going to study libxml2 library. So my first example is parsing a xml file. I follow libxml2 official tutorial. http://xmlsoft.org/tutorial/ I set the additional include directory path suitably. But there are build erro

  • sqlconnection namespace not foundDecember 6

    Im building up a website using C#.net, whenever i try this SqlConnection con = new SqlConnection (); i get the error that sqlconnection namespace isnt found, but when i do this System.Data.SqlClient.SqlConnection con; it works. Tried to add reference

  • D3D11 Present hook not drawingDecember 5

    Introduction I'm fairly new to D3D programming, developing a custom game overlay for D3D11 driven games. I hook IDXGISwapChain::Present() function to draw my things on each frame. HRESULT WINAPI new_Present(IDXGISwapChain* pSwapChain, UINT SyncInterv

  • Beginner MVC 5. Showing Data?December 5

    i'm a beginner I have 2 Models, Students.cs and University.cs public class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } public University University { get; set; } public Language Language { get;

  • C# .svg file to System.Drawing.ImageDecember 3

    I need to convert the selected .svg file to System.Drawing.Image object, so I can resize it and save it as .png. Can anyone help me with this? Here is what I have so far: Svg.SvgDocument svgDocument = SVGParser.GetSvgDocument(mPath); image = svgDocum

  • Mapping instance variables type to template member functionDecember 2

    Imagine I have struct A { template <class T> T getFirstElement(); vector<float> floatVector; vector<int> intVector; }; in the implelemtation file: template <> float A::getFirstElement<float>() { return floatVector[0]; } templ

  • AABB Collision Problems

    AABB Collision ProblemsNovember 23

    I have a problem with AABB collision. The algorithm mostly works, except for when you're against an edge of the block and hold the direction towards the block for a second. For some reason, after about a second, the player is clipped through the bloc

  • About Window in XAML

    About Window in XAMLNovember 14

    I just redid Rubberduck's About window in XAML: I do not like my XAML very much. The way I place the StackPanel for the white pane over two rows, only to provide a margin to keep the copyright text out of it seems very hackish. Just as bad is the way

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 13 q. 0.524 s.