Example #1
0
        private void ResultGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            // If it's a mesh, display it
            var selected = GetFirstSelected();

            if (selected != null)
            {
                IntPtr      mwh = MDockingStation.GetMayaMainWindow();
                HWNDWrapper mww = new HWNDWrapper(mwh);

                Form1 t = new Form1(selected);
                t.ShowDialog(mww);
            }
        }
Example #2
0
        private void ResultGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            // If it's a mesh, display it
            var selected = GetFirstSelected();

            if (selected != null)
            {
                IntPtr mwh = MDockingStation.GetMayaMainWindow();
                HWNDWrapper mww = new HWNDWrapper(mwh);

                Form1 t = new Form1(selected);
                t.ShowDialog(mww);
            }
        }