예제 #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();
        }
예제 #2
0
 private void multipleCliqueAnalysisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _MCA_form = new NetworkGUI.Forms.Multiple_Clique_Analysis(this);
     if (MCAcounteroptionlist != null)
     {
         _MCA_form.SetMCAcounter(MCAcounteroptionlist);
         _MCA_form.UpdateInterdependnceRadioButton(MCAcounteroptionlist[15]);
         _MCA_form.Setuseweightoption(MCAuseweight, MCAweightfilename);
     }
      _MCA_form.Show();
 }