예제 #1
0
 public Remote_VOL_popup(EnvControls _parent)
 {
     InitializeComponent();
     parent            = _parent;
     BackButton.Click += ((bSender, bE) => { this.Close(); });
     scan              = Autoscan2.Instance;
     scan.ClearReturnPointList();
 }
예제 #2
0
 ///
 public WindowHistory()
 {
     InitializeComponent();
     scan = Autoscan2.Instance; //singleton cannot call constructor, call instance
     util = TextUtility.Instance;
     AddPhrases();
     phraseStack.ScrollOwner = scrollViewer;
     scrollViewer.ScrollToEnd();
 }
 public ChildTalkerBackButton(string _text, string _imagePath, Phrases _root, bool _inColor)
 {
     Text      = _text;
     ImagePath = _imagePath;
     InColor   = false;
     root      = _root;
     Xml       = null;
     //Xml.Text = null;
     //Xml.ImagePath = null;
     scan = Autoscan2.Instance;
 }
예제 #4
0
        public ImageGenerator()
        {
            InitializeComponent();
            scan = Autoscan2.Instance;
            scan.ResetSelectEventHandlers();

            ImagesPanel.ScrollOwner = scrollViewer;
            ImagesPanel.Loaded     += (s, e) =>
            {
                GetCurrentDirectoryContents(path);
            };
            this.CancelIcon.Click += (bSender, bE) => this.Close();
        }