Пример #1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     DataRow dr = dtFilters.NewRow();
     EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, 0);
     if (this.TopMost == true)
         frmChReplay.TopMost = true;
     frmChReplay.Show();
 }
Пример #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            DataRow    dr          = dtFilters.NewRow();
            EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, 0);

            if (this.TopMost == true)
            {
                frmChReplay.TopMost = true;
            }
            frmChReplay.Show();
        }
Пример #3
0
 private void dgridFilters_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if ((e.ColumnIndex != 0) && (e.RowIndex != -1))
     {
         DataRow    dr          = dtFilters.Rows[e.RowIndex];
         EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, e.RowIndex);
         if (this.TopMost == true)
         {
             frmChReplay.TopMost = true;
         }
         frmChReplay.Show();
     }
 }
Пример #4
0
 private void dgridFilters_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if ((e.ColumnIndex != 0) && (e.RowIndex != -1))
     {
         DataRow dr = dtFilters.Rows[e.RowIndex];
         EditFilter frmChReplay = new EditFilter(dr, sinfo, dtFilters, dgridFilters, e.RowIndex);
         if (this.TopMost == true)
             frmChReplay.TopMost = true;
         frmChReplay.Show();
     }
 }