Exemple #1
0
        //Save Poses List
        private void Save_PosesList_Button(object sender, RoutedEventArgs e)
        {
            System.Windows.Forms.SaveFileDialog sfd = new System.Windows.Forms.SaveFileDialog();
            sfd.Filter = "Pose List File (*.pbtc)|*.pbtc";


            if (sfd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                btc.SavePosesList(sfd.FileName.ToString(), FileKey.ToString());
            }
        }
Exemple #2
0
        // Load Poses List
        private void Load_PosesList_Button(object sender, RoutedEventArgs e)
        {
            System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();
            ofd.Multiselect = false;

            ofd.Filter = "Pose List File (*.pbtc)|*.pbtc";


            if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                btc.LoadPosesList(ofd.FileName.ToString(), true, FileKey.ToString());
            }
            interfaceManager.UpdatePoseLists();
        }