コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameWindow = ((WPF.Window1)(target));
                return;

            case 2:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Class1.cs プロジェクト: vildar82/AcadLib
 public void Test()
 {
     Window1 w = new WPF.Window1();
     Application.ShowModalWindow(w);
 }
コード例 #3
0
ファイル: Window1.g.cs プロジェクト: omarvision/Test001
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((WPF.Window1)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grd = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }