$(document).mouseup(function (e){
var div = $('.js-search__form');
if (!div.is(e.target)
&& div.has(e.target).length === 0) {
$('.search-field').val('');
$('.search-btn').removeClass('is-change');
$('.js-ui-select').removeClass('is-show');
setTimeout(function(){
$('.js-search__form').addClass('search__form_hide');
},100);
}
});
setTimeout(function(){
$('.js-search__form').addClass('search__form_hide');
},100);
var div = $('.js-search__lable');
private void btn_container_Click(object sender, EventArgs e)
{
Container contain_text = new Container();
contain_text.Owner = this;
contain_text.Show();
.....
}
private void btn_addContainer_Click(object sender, EventArgs e)
{
this.Owner.userText = this.UserText;
}
this._disp = Dispatcher.CurrentDispatcher;
public void NotifyPropertyChanged(object sender, string name) { }
this._disp.Invoke(..........);
var_dump($_GET);
using System.Runtime.InteropServices
class CommandLine
{
[DllImport("user32.dll")]
static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
[DllImport("Kernel32")]
private static extern IntPtr GetConsoleWindow();
const int SW_HIDE=0;
const int SW_SHOW=5;
static void Main(string[] args)
{
IntPtr hwnd;
hwnd=GetConsoleWindow();
ShowWindow(hwnd,SW_HIDE);
//Your logic goes here
}
}