예제 #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     //Init ColA+ColBs.
     studs = new List<weldedStud>();
     studs_modified = new List<weldedStud>();
     //Init shit that I made up
     CVO = new CSVmanager(ref studs);
     p_size_state = new panelsize_frm_state();
     a_start_state = new adjuststart_frm_state();
     //Init other shit
     pixelsPerInch = (int)zoomfactor.Value;
     //Subscriptions woo!
     p_size_state.psize_updated += new update_psize(this.drawingLogic);
     a_start_state.pstart_updated += new update_pstart(this.update_pstart);
 }
예제 #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     //Init ColA+ColBs.
     studs          = new List <weldedStud>();
     studs_modified = new List <weldedStud>();
     //Init shit that I made up
     CVO           = new CSVmanager(ref studs);
     p_size_state  = new panelsize_frm_state();
     a_start_state = new adjuststart_frm_state();
     //Init other shit
     pixelsPerInch = (int)zoomfactor.Value;
     //Subscriptions woo!
     p_size_state.psize_updated   += new update_psize(this.drawingLogic);
     a_start_state.pstart_updated += new update_pstart(this.update_pstart);
 }