private void dataGridViewSources_CellValueChanged(object sender, DataGridViewCellEventArgs e)
        {
            if (e.ColumnIndex == 1 && dataGridViewSources.RowCount > 1)
            {
                if (Convert.ToInt32(dataGridViewSources[1, e.RowIndex].Value) != 0 && e.RowIndex != 0 && e.RowIndex != 8 && e.RowIndex != 12 && e.RowIndex != 16 && e.RowIndex != 22)
                {
                    dataGridViewSources[1, e.RowIndex].Value = "1";
                }
                if (e.RowIndex < 8)
                {
                    rs.IdentifyRisk[0][e.RowIndex] = Convert.ToInt32(dataGridViewSources[1, e.RowIndex].Value);
                }
                else if (e.RowIndex < 12)
                {
                    rs.IdentifyRisk[1][e.RowIndex - 8] = Convert.ToInt32(dataGridViewSources[1, e.RowIndex].Value);
                }
                else if (e.RowIndex < 16)
                {
                    rs.IdentifyRisk[2][e.RowIndex - 12] = Convert.ToInt32(dataGridViewSources[1, e.RowIndex].Value);
                }
                else if (e.RowIndex < 22)
                {
                    rs.IdentifyRisk[3][e.RowIndex - 16] = Convert.ToInt32(dataGridViewSources[1, e.RowIndex].Value);
                }

                rs.CountIdentyfyRisk();
                ShowResult();
            }
        }
        public FormSources(RiskManagement _rs)
        {
            rs = _rs;
            rs = new RiskManagement();
            InitializeComponent();

            rs.CountIdentyfyRisk();
            //nameOfTable = nameOfT;
            CreateTable();
        }