GetInstance() static private method

static private GetInstance ( bool create ) : PopupForm
create bool
return PopupForm
示例#1
0
        public bool IsDisplaying()
        {
            var form = PopupForm.GetInstance(false);

            return(form.Current == this && form.PopupState != PopupState.Pending);
        }
示例#2
0
 public void Show()
 {
     PopupForm.GetInstance(true).Show(this);
 }