Click here to Skip to main content
15,909,645 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 14:40
michalJ24-Sep-09 14:40 
AnswerRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn24-Sep-09 15:04
sitebuilderLuc Pattyn24-Sep-09 15:04 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 15:10
michalJ24-Sep-09 15:10 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
michalJ24-Sep-09 15:30
michalJ24-Sep-09 15:30 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn24-Sep-09 17:02
sitebuilderLuc Pattyn24-Sep-09 17:02 
AnswerRe: How to tell "cut" from "copy" upon pasting Pin
michalJ25-Sep-09 0:51
michalJ25-Sep-09 0:51 
GeneralRe: How to tell "cut" from "copy" upon pasting Pin
Luc Pattyn25-Sep-09 4:00
sitebuilderLuc Pattyn25-Sep-09 4:00 
QuestionFillByCountry From MSSQL Pin
Sider8924-Sep-09 10:40
Sider8924-Sep-09 10:40 
I want to do this:
When I'll click at the CountryName column(England), I want redirect it to me in the new form where will be corresponding CityNames(London, Birmingem,Liverpool and etc)


in countryForms I have:

<pre> private void dataGridView1_DoubleClick(object sender, EventArgs e)
            {
// here when I call Citys
new City("I want Parameter here").showdialog();
//I am trying to find this parameter like this
foreach (DataRows item in storeHouseDataSet.Countries.Rows)
                  {
                     int b = (int)item["ID"];
                 
                  }
            } </pre>
but it is not what I want Frown | :(


In CityForms:

<pre> private int CountryID;
            //Form1 f;

            public Cities(int countryID)
            {
                  InitializeComponent();
                  CountryID = countryID;
                  //f = new Form1();
            }

            public void Cities_Load(object sender, EventArgs e)
            {
                  this.citiesTableAdapter.Fill(storeHouseDataSet.Cities);
                  this.citiesTableAdapter.FillByCountry(storeHouseDataSet.Cities, CountryID);

            } </pre>

C# Developer

AnswerRe: FillByCountry From MSSQL Pin
Richard MacCutchan24-Sep-09 23:26
mveRichard MacCutchan24-Sep-09 23:26 
QuestiontextBox focus on form Closing Pin
Ali el24-Sep-09 0:21
Ali el24-Sep-09 0:21 
AnswerRe: textBox focus on form Closing Pin
Luc Pattyn24-Sep-09 2:01
sitebuilderLuc Pattyn24-Sep-09 2:01 
QuestionImages Changing On Timer Tick Pin
Sachin Dubey23-Sep-09 22:25
Sachin Dubey23-Sep-09 22:25 
AnswerRe: Images Changing On Timer Tick Pin
Giorgi Dalakishvili24-Sep-09 1:23
mentorGiorgi Dalakishvili24-Sep-09 1:23 
GeneralRe: Images Changing On Timer Tick Pin
Sachin Dubey24-Sep-09 1:30
Sachin Dubey24-Sep-09 1:30 
GeneralRe: Images Changing On Timer Tick Pin
Ashfield24-Sep-09 1:37
Ashfield24-Sep-09 1:37 
AnswerRe: Images Changing On Timer Tick Pin
Luc Pattyn24-Sep-09 2:03
sitebuilderLuc Pattyn24-Sep-09 2:03 
GeneralRe: Images Changing On Timer Tick Pin
Sachin Dubey24-Sep-09 2:05
Sachin Dubey24-Sep-09 2:05 
QuestionHow to implement an intellisense style popup window? Pin
prabbit201023-Sep-09 20:16
prabbit201023-Sep-09 20:16 
AnswerRe: How to implement an intellisense style popup window? Pin
Shameel19-Oct-09 0:47
professionalShameel19-Oct-09 0:47 
GeneralRe: How to implement an intellisense style popup window? Pin
prabbit201021-Oct-09 0:14
prabbit201021-Oct-09 0:14 
QuestionDataGridView ScrollBars [solved] Pin
PIEBALDconsult23-Sep-09 14:47
mvePIEBALDconsult23-Sep-09 14:47 
QuestionWeird blue dots around the OvalShape Pin
lhyblue22-Sep-09 20:50
lhyblue22-Sep-09 20:50 
QuestionIssue in elementhost Pin
rajesh8522-Sep-09 0:25
rajesh8522-Sep-09 0:25 
QuestionHow to set cell value of datagridview on cell double click? Pin
monuSaini21-Sep-09 23:13
monuSaini21-Sep-09 23:13 
AnswerRe: How to set cell value of datagridview on cell double click? Pin
Henry Minute22-Sep-09 0:45
Henry Minute22-Sep-09 0:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.