Exemple #1
0
        public MainForm()
        {
            InitializeComponent();

            startYear = -1;
            currentYear = -1;
            loadFrom = "";
            displayMatrix = "Data";

            SetChecked();

            _optionsForm.ReachNumMatrices = 1;

            _randomForm.N = 3;
            _vrandomForm.N = 3;

            _vrandomForm.vmin = 0;
            _vrandomForm.vmax = 100;

            Text = "Maoz Social Networks Program V. " + versionString;

            helpProvider.HelpNamespace = "Network.chm";

            _blockForm.Text = "Block Characteristics";
            _blockForm.ButtonText = "Generate Block Characteristics";

            _MCA_form = new NetworkGUI.Forms.Multiple_Clique_Analysis(this);
            _nfsForm = new NetworkFormationSimulationForm(this);

               // initialmcacounter();
        }
Exemple #2
0
 private void nAPTSimulationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_nfsForm.Type != 5)
         _nfsForm = new NetworkFormationSimulationForm(this);
     _nfsForm.Type = 5;
     _nfsForm.ShowDialog();
 }
Exemple #3
0
 private void simplifiedLiberalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_nfsForm.Type != 4)
         _nfsForm = new NetworkFormationSimulationForm(this);
     _nfsForm.Type = 4;
     _nfsForm.ShowDialog();
 }
Exemple #4
0
        private void resetToolStripMenuItem_Click(object sender, EventArgs e)
        {
            net = new Network.NetworkGUI();
            startYear = -1;
            currentYear = -1;
            loadFrom = "";
            displayMatrix = "Data";
            SetChecked();
            _centralityForm = new CentralityForm();
            _cliqueForm = new CliqueForm();
            _optionsForm.ReachNumMatrices = -1;
            _optionsForm.CMinMembers = 1;
            _optionsForm.Alpha = 0.0;
            _randomForm = new RandomForm();
            _vrandomForm = new ValuedRandomForm();
            _optionsForm = new OptionsForm();
            _randomForm.N = 3;
            _vrandomForm.N = 3;
            _blocForm = new BlocForm();

            useMultipleFiles = false;
            multipleMatrixFilesToolStripMenuItem.Enabled = true;
            _multiplicationForm = new MultiplicationForm();
            dataGrid.Columns.Clear();
             _nfsForm = new NetworkFormationSimulationForm(this);

            BufferedFileTable.Clear();
        }