Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     MessageBox.Show(variable.ToString());
 }
Beispiel #2
0
 public void MyEnumTest([Values] MyEnumType x, [Values] bool y)
 {
     Assert.Pass(x.ToString() + "," + y.ToString());
 }
 public static string ToCultureString(this MyEnumType type)
 {
     return(ResourceManager.GetString(type.ToString(), Culture));
 }