Esempio n. 1
0
 public TDevices(object Owner, FTestDrivers ParentForm)
 {
     InitializeComponent();
     Parent = (Control)Owner;
     Read();
     ReSize();
 }
Esempio n. 2
0
		//_________________________________________________________________________
		public TParams (object Parent, object Owner)
		{
			InitializeComponent();

			Own = (FTestDrivers)Owner;
			sFile = Properties.Settings.Default.sFileParam;
			FDOpenFl.Filter = "Файлы параметров|*.prmd|Все файлы|*.*";
			FDOpenFl.Title = "Открытие файла параметров";
			CBFlDev.SelectedIndexChanged -= CBFlDev_SelectedIndexChanged;
			CBFlDev.Items.Add (sFile);
			CBFlDev.SelectedIndex = 0;
			CBFlDev.SelectedIndexChanged += CBFlDev_SelectedIndexChanged;

			this.Parent = (Control)Parent;
			Read();
			//ReSize ();
    }