What do you want to save?
Add Code snippet
New code examples
-
C# 2021-11-05 19:01:13
wpf datatrigger enum binding
//This example assumes enum and classes are in the same namespace //If yours are not, use using statements and dot notation //(Based on an answer from https://social.msdn.microsoft.com/Forums/vstudio/en-US/d22a01cc-91d7-4099-9f56-9707d475a7a8/textblock-te... Add solution -
Other 2021-11-04 08:52:19
Writing to Excel without using DCOM
using ClosedXML.Excel; using var wbook = new XLWorkbook(); var ws = wbook.AddWorksheet("Sheet1"); ws.FirstCell().Value = 150; ws.Cell(3, 2).Value = "Hello there!"; ws.Cell("A6").SetValue("falcon").SetActive(); ... Add solution -
Javascript 2021-11-02 10:32:11
drag and drop view react native
import React, { Component } from "react";import { StyleSheet, View, PanResponder, Animated} from "react-native";export default class Draggable extends Component { constructor() { super(); this.state = { pan: new Animate... Add solution -
Cobol 2021-10-27 15:41:07
alertDialog with textfield validator flutter
// Creates an alertDialog for the user to enter their email Future<String> _resetDialogBox() { return showDialog<String>( context: context, barrierDismissible: false, // user must tap button! builder: (BuildContext c... Add solution -
Other 2021-10-27 10:28:07
annotation for enum hibernate validator
public class CustomerTypeSubSetValidator implements ConstraintValidator<CustomerTypeSubset, CustomerType> { private CustomerType[] subset; @Override public void initializ... Add solution -
C# 2021-10-24 12:37:09
c# write to registry hkey_current_user
//accessing the CurrentUser root element //and adding "OurSettings" subkey to the "SOFTWARE" subkey RegistryKey key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\OurSettings"); //storing the values key.SetValue("... Add solution
Best helpers
Ranking is empty