Example #1
0
 public CabinetsForm(HostsForm parentForm)
 {
     InitializeComponent();
     this.parentForm = parentForm;
     Text            = "Редактирование списка кабинетов";
     UpdateCabinets();
 }
Example #2
0
        public HostForm(int id, string name, HostsForm parentForm)
        {
            InitializeComponent();
            this.parentForm  = parentForm;
            host_id          = id;
            hostname         = name;
            this.FormClosed += Form_closed;

            Text = "Информация об узле " + hostname;
        }