Example #1
0
 private static void selectReadOnlyBehaviour(
     ComboBoxEdit comboBoxEdit,
     ReadOnlyFileOverwriteBehaviour behaviour)
 {
     foreach (ReadOnlyHelper roh in comboBoxEdit.Properties.Items)
     {
         if (roh.Behaviour == behaviour)
         {
             comboBoxEdit.SelectedItem = roh;
             break;
         }
     }
 }
Example #2
0
 public ReadOnlyHelper(ReadOnlyFileOverwriteBehaviour behaviour)
 {
     Behaviour = behaviour;
 }
			public ReadOnlyHelper(ReadOnlyFileOverwriteBehaviour behaviour)
			{
				Behaviour = behaviour;
			}
		private static void selectReadOnlyBehaviour(
			ComboBoxEdit comboBoxEdit,
			ReadOnlyFileOverwriteBehaviour behaviour)
		{
			foreach (ReadOnlyHelper roh in comboBoxEdit.Properties.Items)
			{
				if (roh.Behaviour == behaviour)
				{
					comboBoxEdit.SelectedItem = roh;
					break;
				}
			}
		}