예제 #1
0
 public bool Insert(Data data)
 {
     if (!DB.ContainsKey(data.name)){
         DB.Add(data.name,data);
         return true;
     }
     else
     {
         return false;
     }
 }
예제 #2
0
 public frm_AddEdit_Data(Data data_item)
 {
     InitializeComponent();
     this.data_to_edit = data_item;
     populate_fields();
 }
예제 #3
0
 public bool Update(Data data)
 {
     if (DB.ContainsKey(data.name))
     {
         DB[data.name] = data;
         return true;
     }
     else
     {
         return false;
     }
 }
예제 #4
0
파일: Action.cs 프로젝트: iNgeon/AVPI
 public Data_Speak(SpeechSynthesizer Profile_Synthesis, Data data)
 {
     this.Profile_Synthesis = Profile_Synthesis;
     this.data = data;
 }
예제 #5
0
 public bool Remove(Data data)
 {
     if (DB.ContainsKey(data.name))
     {
         DB.Remove(data.name);
         return true;
     }
     else
     {
         return false;
     }
 }
예제 #6
0
파일: Action.cs 프로젝트: iNgeon/AVPI
 public Data_Set(Data data, string value)
     : base(value)
 {
     this.value = value;
 }
예제 #7
0
파일: Action.cs 프로젝트: iNgeon/AVPI
 public Data_Increment(Data data, string value)
     : base(value)
 {
     this.value = value;
 }
예제 #8
0
파일: Action.cs 프로젝트: zerosolidus/AVPI
 public Data_Decrement(Data data, string value)
     : base(value)
 {
     this.value = value;
 }
예제 #9
0
파일: Action.cs 프로젝트: zerosolidus/AVPI
 public Data_Speak(SpeechSynthesizer Profile_Synthesis, Data data)
 {
     this.Profile_Synthesis = Profile_Synthesis;
     this.data = data;
 }
예제 #10
0
파일: Action.cs 프로젝트: zerosolidus/AVPI
 public Data_Set(Data data, string value)
     : base(value)
 {
     this.value = value;
 }