Exemplo n.º 1
0
        public void LoadConnectionFrame(GnosisConnectionFrameController connectionFrameController)
        {
            TabItem item = new TabItem();

            item.Content = (GnosisConnectionFrame)connectionFrameController.ControlImplementation;
            item.Header  = ((GnosisConnectionFrame)connectionFrameController.ControlImplementation).Caption;
            tbConnection.Items.Add(item);
        }
Exemplo n.º 2
0
        private void LoadConnectionFrame(GnosisConnectionFrameController connectionFrame)
        {
            ListBoxItem item = new ListBoxItem();

            item.Content = ((GnosisConnectionFrame)connectionFrame.ControlImplementation).Caption;
            item.Tag     = connectionFrame;
            lstFrames.Items.Add(item);
        }