Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            TripEdit form = new TripEdit(new Trip());

            form.Visible = true;
            //form.showOnlyMine(true);
        }
Beispiel #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (this.form == null) {
         this.form = new TripEdit(new Trip());
         this.form.Visible = true;
     }
 }
Beispiel #3
0
        private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            int  index = e.RowIndex;
            Trip trip  = (Trip)((IList <Trip>) this.dataGridView1.DataSource).ElementAt <Trip>(index);
            Form f     = new TripEdit(trip);

            f.Visible = true;
        }
Beispiel #4
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (this.form == null)
     {
         this.form         = new TripEdit(new Trip());
         this.form.Visible = true;
     }
 }
Beispiel #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form f = new TripEdit(new Trip());

            f.Visible = true;
        }
Beispiel #6
0
 private void button1_Click(object sender, EventArgs e)
 {
     Form f = new TripEdit(new Trip());
     f.Visible = true;
 }
Beispiel #7
0
 private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     int index = e.RowIndex;
     Trip trip= (Trip)((IList<Trip>)this.dataGridView1.DataSource).ElementAt<Trip>(index);
     Form f = new TripEdit(trip);
     f.Visible = true;
 }
Beispiel #8
0
 private void button3_Click(object sender, EventArgs e)
 {
     TripEdit form = new TripEdit(new Trip());
     form.Visible = true;
     //form.showOnlyMine(true);
 }