void FilenameLabelClick(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.ShowDialog(); FFilenameIn.SetString(0, ofd.FileName); }
private void buildConfig() { FSelectionInput.SliceCount = selectedJoints.Count; for (int i = 0; i < selectedJoints.Count; i++) { FSelectionInput.SetString(i, selectedJoints[i].Name); } }
public override void SaveKeyFrames() { FStateTime.SliceCount = FKeyFrames.Count; FStateName.SliceCount = FKeyFrames.Count; FStateEvents.SliceCount = FKeyFrames.Count; FKeyFrames.Sort(delegate(TLBaseKeyFrame k0, TLBaseKeyFrame k1) { return(k0.Time.CompareTo(k1.Time)); }); for (int i = 0; i < FKeyFrames.Count; i++) { FStateTime.SetValue(i, FKeyFrames[i].Time); FStateName.SetString(i, (FKeyFrames[i] as TLStateKeyFrame).Name); FStateEvents.SetString(i, (FKeyFrames[i] as TLStateKeyFrame).EventsAsString); } }
public override void SaveKeyFrames() { FKeyTime.SliceCount = FKeyFrames.Count; FKeyFlagY.SliceCount = FKeyFrames.Count; FKeyValue.SliceCount = FKeyFrames.Count; FKeyFrames.Sort(delegate(TLBaseKeyFrame k0, TLBaseKeyFrame k1) { return(k0.Time.CompareTo(k1.Time)); }); for (int i = 0; i < FKeyFrames.Count; i++) { FKeyTime.SetValue(i, FKeyFrames[i].Time); FKeyFlagY.SetValue(i, (FKeyFrames[i] as TLStringKeyFrame).PositionY); FKeyValue.SetString(i, (FKeyFrames[i] as TLStringKeyFrame).Value); } }
protected override void SetSlice(int index, string value) { FStringConfig.SetString(index, value); }