コード例 #1
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            if (grid.SelectedCells.Count == 0)
            {
                return;
            }

            AttributeTypeEditor popup = new AttributeTypeEditor();
            DBAttrDescription   attr  = ((DBAttribute)grid.Rows[grid.SelectedCells[0].RowIndex].Tag).Description;

            popup.Attribute = attr;
            popup.ShowDialog();
        }
コード例 #2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            AttributeTypeEditor popup = new AttributeTypeEditor();

            popup.ShowDialog();
        }