예제 #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)
                {

                }
            }
        }
예제 #2
0
파일: Main.cs 프로젝트: wangscript/tcgcms
        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)
            {

            }
        }