public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            FormProjectControl formProjectControl = new FormProjectControl();

            formProjectControl.ShowDialog();


            return(Result.Succeeded);
        }
Exemplo n.º 2
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            FormProjectControl formProjectControl = new FormProjectControl();

            Common.unicodeFlag = false;
            formProjectControl.button_deal.Enabled = Common.unicodeFlag;
            if (dataGridView1.Columns[5].Name == "unicode")
            {
                int index = e.RowIndex;
                Common.unicode = dataGridView1.Rows[index].Cells[5].Value.ToString();
                if (Common.unicode != null && Common.unicode != "")
                {
                    Common.unicodeFlag    = true;
                    Common.button.Enabled = true;
                    formProjectControl.button_deal.Enabled = Common.unicodeFlag;
                }
            }
        }