Questions tagged as 'eventos'

2
answers

Event Listening in a lib

I am building a lib but at the end of the process it performs I need to let me know that it has finished, how can I implement this? Any ideas? In the project that uses lib I do this: Lib lib= new Lib (getActivity()); lib.iniciaInterat...
asked by 02.08.2016 / 18:25
1
answer

Get self variables from another class and custom event

Read only comments in Portuguese, the question of self is in comments in the code, now the events will be down there. class LOL: class Champions: class MasterYi: def __init__(self): #YiAttributes...
asked by 02.01.2015 / 14:11
1
answer

How to force the occurrence of an event from an extension method?

I'm creating an application in C # and I'm using the INotifyPropertyChanged interface like this: public class Test: INotifyPropertyChanged { private int foo; public int Foo { get => foo; set => Set(ref foo, value); }...
asked by 04.12.2018 / 16:26
1
answer

Show a div when closing the [duplicate]

Well, I'm going to use this site as an example: link Every time you move the mouse towards the close the tab button (or just click on it - whoever you like, you can test by opening any site link in a new tab and access it by the keyboard sho...
asked by 11.02.2018 / 01:30
1
answer

Event Redirection Offline Offline HTML5

How do I identify if the HTML5 app identifies and redirects if it's offline or online? Ex: When you open the app if you are without internet it loads a warning html and if online it redirects to a website. I found this code but I do not kn...
asked by 26.09.2017 / 15:38
1
answer

How to execute a JS function before the CodeBehind method call? [duplicate]

I have a button asp <asp:button ID="cmdAvancarEndereco" runat="server" cssclass="btn btn-success btn-lg" text="Avançar >"> </asp:button> which has an event of VB linked in click Private Sub cmdAvancarE...
asked by 10.02.2017 / 15:13
2
answers

Trigger event when changing value of a textBox C #

Well, I'm starting in C # and I'm having a problem. I'm working with Windows form. I'm using the TextChange event in a textbox, and with each key pressed in the field it fires the event. I need the event to be triggered only when the field value...
asked by 12.04.2016 / 14:29
1
answer

How to create events dynamically? W#

I am doing a project of a statistical calculator, in it I made a method that creates tabs in a tab control and within them a datagridview to display the different tables generated by the program. I need an event that auto-populates datagrid c...
asked by 16.04.2016 / 17:11
1
answer

Get value inside the 'ContentControl' of a button

I have the following code in XAML : <Button Grid.Column="0" Grid.Row="1" x:Name="btnSete" Click="btn_Click"> <ContentControl> <Viewbox Margin="3"> <TextBlock Text="7"/> </Viewbox...
asked by 06.04.2015 / 14:47
1
answer

Calculate items in a table

I need to calculate the table items and display them in a certain field on my page. Currently it looks like this: <div class="pacientes"> <div class="pacientes-header"> <i class="fa fa-people-carry"><...
asked by 31.08.2018 / 04:39