Beispiel #1
0
 private void cboUnit_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (this.m_CanDo)
     {
         for (int i = 0; i < this.tabControl1.TabPages.Count; i++)
         {
             CommonInterface interface2 = this.tabControl1.TabPages[i].Controls[0] as CommonInterface;
             if (interface2 != null)
             {
                 interface2.ChangeUnit(this.point_unit_to[this.cboUnit.SelectedIndex]);
             }
         }
     }
 }