示例#1
0
        public void ShowAccountPopup( )
        {
            RhinoApp.InvokeOnUiThread(new Action(() =>
                                                 //Window.Dispatcher.Invoke( ( ) =>
            {
                var signInWindow = new SpecklePopup.SignInWindow(true);

                var helper   = new System.Windows.Interop.WindowInteropHelper(signInWindow);
                helper.Owner = RhinoApp.MainWindowHandle();

                signInWindow.ShowDialog();
                NotifySpeckleFrame("refresh-accounts", "", "");
            }));
        }
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var specklePop = new SpecklePopup.SignInWindow();

            specklePop.Show();
        }