티스토리 뷰
728x90
반응형
namespace Ecla.ContentViews
{
public partial class NotiInout : ContentView
{
static ActivityIndicator activ_indi;
public NotiInout()
{
InitializeComponent();
activ_indi = activityindi;
activ_indi.IsVisible = true;
activ_indi.IsRunning = true;
Main_Grid.Children.Add(activ_indi);
Grid.SetRow(activityindi, 1);
Device.BeginInvokeOnMainThread(async () =>
{
await onpages();
activ_indi.IsRunning = false;
activ_indi.IsVisible = false;
// Main_Grid.Children.Remove(activ_indi);
});
}
ActivityIndicator activityindi = new ActivityIndicator
{
//IsRunning = true,
VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.CenterAndExpand,
WidthRequest = 25,
HeightRequest = 25,
Color = Color.DimGray,
IsEnabled = true,
IsVisible = true,
IsRunning = true,
BackgroundColor = Color.Transparent,
Margin = new Thickness(0),
Scale = 1,
};
private async void preweek_Clicked(System.Object sender, System.EventArgs e)
{
int _year = int.Parse(Pick_Year.SelectedItem.ToString());
int _month = Pick_Month.SelectedIndex;
Device.BeginInvokeOnMainThread(async () =>
{
activ_indi.IsVisible = true;
activ_indi.IsRunning = true;
await Pick_Binding(_year, _month);
activ_indi.IsRunning = false;
activ_indi.IsVisible = false;
});
}
}
}
반응형
'Xamarin' 카테고리의 다른 글
Xamarin.Android ssl connection could not be established see inner exception (2) | 2021.10.02 |
---|---|
Xamarin.Forms tabbed page change tab programmatically (2) | 2021.07.26 |
Xamarin.Forms MultiView BindingContext Not Working (2) | 2021.06.22 |
StackLayout Label Fit the size not working (0) | 2021.05.28 |
iOS UiView CGRect Error (0) | 2021.05.03 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Xamarin.Forms
- WPF Scrollviewer in ScrollViwer
- Xamarin Firebase Phone Auth
- Embeded 한글Font적용
- C# LINQ Left join
- SkiaSharp
- Entry '' has empty native path
- Microcharts
- Xamarin.Ios Firebase Phone User Add
- 서버 수준의 URN 필터
- Linux SSH Multi Computer Join
- GetCellContent CheckBox Value
- ClickOnce 인증서 인증기간 변경
- Windows IIS FTP 디렉토리 목록 오류
- c# Encrypt / Decrypt
- Xamarin reCAPTCHA
- Xamarin SMS OTP Send
- ssl_client_socket_impl.cc
- FileStream Add Byte
- 연산자 뒤에 피연산자가 없습니다.
- Xamarin Firebase Phone User Add
- Xamarin.Ios Firebase Phone SMS OTP Send
- WPF Datagrid Cell Value Change
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- 암호 마스터키
- Xamarin.Ios Firebase Phone Auth
- WPF Textbox
- Label Text LineBreak in Xaml
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함