public IptcView() : base() { InitializeComponent(); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, false); this.UpdateStyles(); this.treeKeywords.BindSelectAllCheckBox(this.chkSelectAllKeywords); keywordTreeHelper = new GroupedTagListHelper(this.treeKeywords, Settings.Default.GroupedKeywords); keywordTreeHelper.RegisterDragDrop(); keywordTreeHelper.RegisterCollapsMemory(); Settings.Default.PropertyChanged += new PropertyChangedEventHandler(Settings_PropertyChanged); ShowIPTCorFlickrNames(); this.nullableDateTimePicker1.CustomFormat = GuiUtils.GetShortDateLongTimeFormatPattern(); }
//view public IPTCEditor() : base() { InitializeComponent(); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, false); this.UpdateStyles(); this.treeKeywords.BindSelectAllCheckBox(this.chkSelectAllKeywords); keywordTreeHelper = new GroupedTagListHelper(this.treeKeywords, Settings.Default.GroupedKeywords); keywordTreeHelper.RegisterDragDrop(); keywordTreeHelper.RegisterCollapsMemory(); Settings.Default.PropertyChanged += new PropertyChangedEventHandler(Settings_PropertyChanged); ShowIPTCorFlickrNames(); this.chkGoToNext.Checked = Settings.Default.GoToNextPicture; }