blah blah blah is here! blah blah » Close

0
votes
1 answers

fire event from code

q12
349

How do I fire this event from code? [code]void linkLabel0_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ... //this event } private void button1_Click(object sender, EventArgs e) { //Fire From he ...

0
votes
3 answers

TextBox updates

AK01
15

Hi! i don't know if that's a feature... but the thing is that as I click rows in a ListView the corresponding updates of TextBoxes go a bit slow. Here is that I mean: 1. I have a Listbox with 2 columns 2. I have 2 Textboxes which filled ...

1
votes
1 answers

How to Raise events from class

Hi, can anyone please tell me how to raise events from class. Are they like call back functions.. Pl. help me in finding an answer for this. Thanks & Regards, Anil.

1
votes
2 answers

C#: A Simple Issue in CellClick Event of DataGridView

Hi, I am working on a simple windows forms application and I use the following code to copy the text when a cell is clicked on the datagridview. [code]if (e.RowIndex >= 0 && dataGridView1.Rows[e.RowIndex].Cells[e.ColumnInde ...

1
votes
4 answers

Resizing Form1 Size

Dear All, Is it possible that with a click of a button, the form can resize (bigger and smaller) and some buttons/textboxes will appear? [img]http://i693.photobucket.com/albums/vv295/fajarelektro/resize.jpg[/img] Thank you in adva ...

0
votes
2 answers

Fire event from button click

Guys, is it possible to fire an event on the form from a button click, i want to call the below event if possible? [code]private void comboCalendar_AppointmentChanged(object sender, ComponentGo.Calendars.AppointmentEventArgs args) ...

1
votes
1 answers

An Event to Click a button 5 times

Dear all, I am new in CS, and what I know is basically an event is triggered when we click a button or do something in the form. I have a button, called [b]number[/b] that will generate random number. Lets call it number_btn. I want t ...

1
votes
1 answers

variables through forms, with event args

Hi, how can i pass a value to a form ex. in form1 i have var1, how can i send it to the form2 giving var1, and when finished setting that variable on form2, give it back to form1 with the change. Thanks, Daniel

1
votes
1 answers

Detect USB Connection Event

eeboy
499

I have a USB device that my program depends on. I'd like to be able to have an event fire when a USB device with a specific descriptor, VID or PID is plugged/unplugged. How can I achieve this?

0
votes
2 answers

RichTextBox TextChanged event not firing

What could I be missing if my rtb2 is not firing. The event handler is there, but on the first pass of the following code, the event does not fire. private void frm_Load(object sender, EventArgs e) { rtb1.text = ""; rtb2.te ...

0
votes
2 answers

WPF capturing an click event in a child control

betpet
208

I'm building an app in WPF and have a main window, in the window I have a frame with a page inside it. On the page is a button. I have instantiated the page inside the application and am trying to create an event where I can capture the c ...

0
votes
1 answers

keydown event in panel

hi i want to create a cursor in my panel and move it through the left right keys. but there is no keydown event in panel. so wats the alternative to do it. ie when left is pressed a method is called. thanx in advance

0
votes
4 answers

Highlight Datagrid row on load based on data

I have a datagrid called DataGrid1, and a colunm called "Start_Date" + "veh_reg" I'm trying to find a way of looping through the start_date rows and if there's a date that's 2 weeks in front of the todays date highlight ...

Feedback