Exemplo n.º 1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string sourceid = (dataGridView1[dataGridView1.Columns["Id"].Index, e.RowIndex].Value + "").ToString();

            if (!string.IsNullOrEmpty(sourceid))
            {
                SheifSourceDebug sheifsourcedebug = new SheifSourceDebug();
                sheifsourcedebug.Resourceid = sourceid;
                sheifsourcedebug.sheif = this.sheifService;
                DialogResult debugresult = sheifsourcedebug.ShowDialog(this);

                if (DialogResult.OK == debugresult)
                {

                }
            }
        }
Exemplo n.º 2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            SheifSourceDebug sheifsourcedebug = new SheifSourceDebug();
            sheifsourcedebug.sheif = this.sheifService;
            DialogResult debugresult =  sheifsourcedebug.ShowDialog(this);

            if (DialogResult.OK == debugresult)
            {

            }
        }