public void Remove_At(int index) { Controls_.RemoveAt(index); Controls_procent.RemoveAt(index); }
/* * 1 пункт (компьютерный) = 1.333333333333 пиксель (Y) * 2 пункт (компьютерный) = 2.666666666667 пиксель (Y) * 3 пункт (компьютерный) = 4 пиксель (Y) * ------------------------------------------------------------------------------- * 1 пиксель (X) = 0.75 пункт (компьютерный) * 2 пиксель (X) = 1.5 пункт (компьютерный) * 3 пиксель (X) = 2.25 пункт (компьютерный) * 4 пиксель (X) = 3 пункт (компьютерный) * 5 пиксель (X) = 3.75 пункт (компьютерный) * 6 пиксель (X) = 4.5 пункт (компьютерный) * 7 пиксель (X) = 5.25 пункт (компьютерный) * 8 пиксель (X) = 6 пункт (компьютерный) * 9 пиксель (X) = 6.75 пункт (компьютерный) * 10 пиксель (X) = 7.5 пункт (компьютерный) * ------------------------------------------------------------------------------ * */ /* * public void _text_layer(int index) * { * if( Controls_[index].Height > Controls_[index].Width) * Controls_[index].Font = new Font(FontFamily.GenericSansSerif, Controls_[index].Height-40 * (float)0.75, FontStyle.Regular); * else Controls_[index].Font = new Font(FontFamily.GenericSansSerif, Controls_[index].Width-40 * (float)0.75, FontStyle.Regular); * * } */ public void Add(Control c, int[] procent) { Controls_.Add(c); Controls_procent.Add(procent); }