public MainWindow() { this.wrapper = DI.Wrapper; InitializeComponent(); this.OnStartupSuccess(); this.SizeToContent = SizeToContent.WidthAndHeight; }
public MenuWin(Window mainWindow) { this.wrapper = DI.Wrapper; this.mainWindow = mainWindow; this.runPageManager = new RunPageManager(this.mainWindow); InitializeComponent(); this.SizeToContent = SizeToContent.WidthAndHeight; }
private void InitFromConstructors() { this.wrapper = DI.Wrapper; this.SizeToContent = SizeToContent.WidthAndHeight; // Call before rendering which will trigger initial resize events this.widthManager = new ButtonGroupSizeSyncManager(this.btnOk, this.btnCancel); this.widthManager.PrepForChange(); }
public TerminatorDataSelector(Window parent) { this.wrapper = DI.Wrapper; this.parent = parent; InitializeComponent(); this.SizeToContent = SizeToContent.WidthAndHeight; this.spEditButtons.Visibility = Visibility.Collapsed; }
public Commands(Window parent) { this.parent = parent; InitializeComponent(); this.SizeToContent = SizeToContent.WidthAndHeight; this.wrapper = DI.Wrapper; this.wrapper.CurrentScriptChanged += Wrapper_CurrentScriptChanged; this.spEditButtons.Visibility = Visibility.Collapsed; }
private void InitFromConstructors(bool suppressContinue) { this.wrapper = DI.Wrapper; this.txtContinue.Visibility = suppressContinue ? Visibility.Collapsed : Visibility.Visible; this.SizeToContent = SizeToContent.WidthAndHeight; // Call before rendering which will trigger initial resize events this.widthManager = new ButtonGroupSizeSyncManager(this.btnYes, this.btnNo); this.widthManager.PrepForChange(); }
public App(Func <ICommWrapper> onGet) { InitializeComponent(); Task.Run(() => { Wrapper = onGet(); Wrapper.LanguageChanged += OnLanguageChanged; Wrapper.CurrentTerminatorChanged += this.OnCurrentTerminatorChanged; Device.BeginInvokeOnMainThread(() => MainPage = new AppShell()); }); }
public TerminatorEditor(Window parent, IIndexItem <DefaultFileExtraInfo> index) { this.wrapper = DI.Wrapper; this.parent = parent; this.index = index; InitializeComponent(); // Call before rendering which will trigger initial resize events this.widthManager = new ButtonGroupSizeSyncManager(this.btnSave, this.btnCancel); this.widthManager.PrepForChange(); this.SizeToContent = SizeToContent.WidthAndHeight; }
public ScriptEdit(Window parent, IIndexItem <DefaultFileExtraInfo> index, UseType useType) { this.parent = parent; this.index = index; this.useType = useType; this.wrapper = DI.Wrapper; InitializeComponent(); this.PopulateDataFields(); this.ShowControls(); this.SizeToContent = SizeToContent.WidthAndHeight; }
public LanguageSelector(Window parent) { this.wrapper = DI.Wrapper; this.parent = parent; InitializeComponent(); this.SizeToContent = SizeToContent.WidthAndHeight; // Connect to language event this.wrapper.LanguageChanged += Languages_LanguageChanged; this.wrapper.CurrentLanguage((code) => { this.languageOnEntry = code; }); // Call before rendering which will trigger initial resize events this.widthManager = new ButtonGroupSizeSyncManager(this.btnCancel, this.btnSave); this.widthManager.PrepForChange(); }
public UC_TerminatorViewer() { this.wrapper = DI.Wrapper; InitializeComponent(); this.hex.Add(this.hex1); this.hex.Add(this.hex2); this.hex.Add(this.hex3); this.hex.Add(this.hex4); this.hex.Add(this.hex5); this.names.Add(this.name1); this.names.Add(this.name2); this.names.Add(this.name3); this.names.Add(this.name4); this.names.Add(this.name5); for (int i = 0; i < MAX_TERMINATORS; i++) { this.hex[i].Content = ""; this.names[i].Content = ""; } this.wrapper.LanguageChanged += this.Wrapper_LanguageChanged; }