Пример #1
0
        public sipSubWindow(Screen screen, Sip_window papa)
        {
            InitializeComponent();

            this.sipScreenImage.Source = Util.getWindowScreen(screen);
            this.Topmost = true;
            papawindow   = papa;
        }
Пример #2
0
        private void Sip_Button_Click(object sender, RoutedEventArgs e)
        {
            if (Properties.Settings.Default.HideMainWindow)
            {
                ContentPanelMaster.mainw.WindowState = WindowState.Minimized;
            }

            Sip_window sip = new Sip_window(ContentPanelMaster.mainw);

            sip.Show();
        }
Пример #3
0
        public sipControl(Sip_window papawindow, Color color)
        {
            window = papawindow;

            XmlNode langNode = Settings.loadSettings();

            InitializeComponent();


            this.sipInfoTexBlock.Text = langNode.SelectSingleNode("field_sip_textblock").InnerText;
            this.EnterButton.Content  = langNode.SelectSingleNode("field_enter_button").InnerText;
            this.CancelButton.Content = langNode.SelectSingleNode("field_cancel_button").InnerText;

            this.colorPanel.Background = Util.setColor(color);
        }