Пример #1
0
 private void toolStripMenuItem_QueryMedia_Click(object sender, EventArgs e)
 {
     if (this.dataGridView.SelectedExistData())
     {
         IList <string>      ids = this.dataGridView.SelectedIds();
         MediaQueryCondition qc  = new MediaQueryCondition();
         qc.project_id = ids[0];
         MediaWindow queryWindow = new MediaWindow(qc);
         queryWindow.ShowDialog(this);
     }
 }
Пример #2
0
 private void toolStripMenuItem_QueryMedia_Click(object sender, EventArgs e)
 {
     if (this.dataGridView.SelectedExistData())
     {
         IList <Floorplan>   objects = this.dataGridView.SelectedObjects();
         MediaQueryCondition qc      = new MediaQueryCondition();
         qc.project_id   = objects[0].project_id;
         qc.content_type = Media.CONTENT_TYPE_FLOORPLAN;
         MediaWindow queryWindow = new MediaWindow(qc);
         queryWindow.ShowDialog(this);
     }
 }
Пример #3
0
        private void toolStripMenuItem_Query_Media_Click(object sender, EventArgs e)
        {
            MediaWindow mediaWindow = new MediaWindow();

            mediaWindow.ShowDialog(this);
        }