Exemplo n.º 1
0
        private void Replace(object sender, EventArgs args)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.Filter = "Supported Formats|*.bfvis;";

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                VisibilityAnim.Import(ofd.FileName);
            }
            VisibilityAnim.Name = Text;
        }
Exemplo n.º 2
0
 public void Replace(string FileName, ResFile resFileNX, ResU.ResFile resFileU)
 {
     if (resFileNX != null)
     {
         VisibilityAnim.Import(FileName);
         VisibilityAnim.Name = Text;
     }
     else
     {
         VisibilityAnimU.Import(FileName, resFileU);
         VisibilityAnimU.Name = Text;
     }
 }