Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

biscoito

@biscoito
About
Posts
11
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How C# should communicate with access db file ?
    B biscoito

    Well, I have a lot of questions regarding this topic, so i'll show you some of my doubts: I'm currently developing a C# windows forms application that communicates with a access database file to store all my data. Now that my relational database is getting bigger, i'm wondering if I should make table relations inside the access file or in C#. Sometimes I have to make changes to more than one table at a time and I don´t know how and who should do these kind of transactions (access/c#). I need to use DataSets, Datareaders, Databinding, etc to do that, right? How these communication should work, I mean, best practice for this!? Hope you can help me with this. Thanks, bisc8 PS - Some good book about this?

    C# database csharp winforms help question

  • Steps to commercialize an application
    B biscoito

    Hi, I've been doing an application during the last weeks. However, it seems that I have a company how is interested to buy it. In the beginning I was not thinking to sell this so I used my VS2008 (Student version from MSDN) to develop this application. Now that need to legalize this so I can sell it without having any problems. I have the VS2008 Express Edition with me and this would be enough to create it. But now it's to late to roll-back! ;) So my question is: - Can I migrate my Project to the Express Edition like if it was created on this version of VS? - Is there any way to see in which version the application was created? (VS2008 or VS2008 Express) - Which things do I need to care before selling this product? I really appreciate a good explanation about this topic. I need to be sure that this process is 100% safety, for me and for my customer. Any additional advices would be welcome. :) Thanks, bisc8 PS - I'm creating an Installer to sell this program.

    Visual Studio question visual-studio sales announcement

  • How to: Radiobutton check event confirmation ???
    B biscoito

    Thank you all! Finally a solution. :-D I will post the code here for future people with the same problem. Like jasper suggest before, i did set the AutoCheck property to false on all radiobuttons (4 in my case) and add just 1 event on all of them (the Click event). It works when the user click the radiobutton or even when using the keyboard. Perfectly as it seems to me, and not so hard coded anyway. private void radioButton_tipo_Click(object sender, EventArgs e) { if (((RadioButton)sender).Checked == true) { return; } else if (MessageBox.Show("Are you sure?", "Attention", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { ((RadioButton)sender).Checked = true; if (sender.Equals(radioButton_tipo_SA)) { radioButton_tipo_SQ.Checked = false; radioButton_tipo_ACE.Checked = false; radioButton_tipo_SQU.Checked = false; } else if (((RadioButton)sender) == radioButton_tipo_SQ) { radioButton_tipo_SA.Checked = false; radioButton_tipo_ACE.Checked = false; radioButton_tipo_SQU.Checked = false; } else if (((RadioButton)sender) == radioButton_tipo_ACE) { radioButton_tipo_SQ.Checked = false; radioButton_tipo_SA.Checked = false; radioButton_tipo_SQU.Checked = false; } else { radioButton_tipo_SQ.Checked = false; radioButton_tipo_ACE.Checked = false; radioButton_tipo_SA.Checked = false; } } } Thanks everybody for the help !!!

    C# question help tutorial

  • How to: Radiobutton check event confirmation ???
    B biscoito

    It's a very hard coded idea but, until now, the only one that might work (i think) :) I will give a try, at least until i can't find a better and efficient way to do this (because there must be a simple way). Thanks!

    C# question help tutorial

  • How to: Radiobutton check event confirmation ???
    B biscoito

    Thanks for help bicphuong! I understand your idea but in CheckedChange event, using "EventArgs e" I will not have the possibility to use the "Cancel" property. Until now, I only found that property when using the Validating event, and the behavior was not so far way from what I want. Anyway, what happened was that sometimes he reacts like I was expecting, but sometimes not. Seems that this event occurs lately.

    C# question help tutorial

  • How to: Radiobutton check event confirmation ???
    B biscoito

    That's true jasper018. But even like this, the CheckedChanged event is called only after the radio button is checked. I still need to rollback that action if needed. There must be an event that is called right before the radiobutton is checked.

    C# question help tutorial

  • How to: Radiobutton check event confirmation ???
    B biscoito

    Thanks for the post Xmen! Although, I don't think that this is the right way to do this. First because using the click event, the radiobutton on that time is already changed and, like this, I will need to rollback that action, unchecking that radiobutton and checking the previous one. What I really want is to have the chance to cancel and prevent the radionbutton to be checked. This must be done before the radiobutton is checked. And by the way, using the click event is not enough because the radiobuttons can be check using the keyboard. There must be a simple and efficient way to do this. :) Any ideas?

    C# question help tutorial

  • How to: Radiobutton check event confirmation ???
    B biscoito

    Hi! Does anyone knows how can I show a messagebox, after a user tries to change a radiobutton, and cancel that action if needed? I already tried to do it inside several events, but without success. I would like to do something like this: private void radioButton_TMP_Validating(object sender, CancelEventArgs e) { if (MessageBox.Show("Are you sure?", "Attention", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { e.Cancel; } } I appreciate if someone could help me with this. I didn't find any solution when "gOOgling" :( Thanks!!!

    C# question help tutorial

  • Using Google Maps in a C# application
    B biscoito

    Hi, thanks for your post! And you made it like this or not? Can you explain me, in a very brief way, how did you implement this? Thanks!

    C# question csharp javascript php html

  • Using Google Maps in a C# application
    B biscoito

    Thanks for the tip! I'm going to take a look at the MSDN code that you post it. Looks to me that it can help me. However, I still don't know if this is best way to do this kind of implementation. Any suggestions will be welcome. Thanks!

    C# question csharp javascript php html

  • Using Google Maps in a C# application
    B biscoito

    Hi! I'm creating an application using C# and I need to display one or more markers in a webBrowser object using Google Maps. The problem is that I was thinking to create only one HTML file that I could change automatically everytime I need to display something. Like this I need to edit this file with the right code (HTML and JavaScript) and than open it in the webBrowser object. This file would be located on local disk and not on a public website. Do you think that this is the best way to do this? If not, what do you think i should do? If it is, how can I edit a HTML file using C#? Here's an example: http://www.uploadhouse.com/viewfile.php?id=1267023[^] Thanks in advance !!!

    C# question csharp javascript php html
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups