コード例 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Messaging%20App;component/ChatPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel   = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.ChatList     = ((System.Windows.Controls.ListBox)(this.FindName("ChatList")));
     this.txtMessage   = ((Coding4Fun.Toolkit.Controls.ChatBubbleTextBox)(this.FindName("txtMessage")));
     this.btnSend      = ((System.Windows.Controls.Button)(this.FindName("btnSend")));
 }
コード例 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/OmegleITM;component/ChatPage.xaml", System.UriKind.Relative));
     this.TypingIndicator   = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("TypingIndicator")));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.titleBar          = ((System.Windows.Controls.TextBlock)(this.FindName("titleBar")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.messageLLS        = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("messageLLS")));
     this.inputPanelControl = ((System.Windows.Controls.ContentControl)(this.FindName("inputPanelControl")));
     this.inputPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("inputPanel")));
     this.messageEntryBox   = ((Coding4Fun.Toolkit.Controls.ChatBubbleTextBox)(this.FindName("messageEntryBox")));
 }
コード例 #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GoShopping;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel        = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.pullDownItemBehind  = ((GoShopping.Controls.PullDownItem)(this.FindName("pullDownItemBehind")));
     this.todoList            = ((System.Windows.Controls.ItemsControl)(this.FindName("todoList")));
     this.pullDownItemInFront = ((GoShopping.Controls.PullDownItem)(this.FindName("pullDownItemInFront")));
     this.dragImageControl    = ((GoShopping.Controls.DragImage)(this.FindName("dragImageControl")));
     this.PastePopup          = ((System.Windows.Controls.Primitives.Popup)(this.FindName("PastePopup")));
     this.PasteBox            = ((Coding4Fun.Toolkit.Controls.ChatBubbleTextBox)(this.FindName("PasteBox")));
 }
コード例 #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Messaging%20App;component/ChatPage.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel        = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.popupAddCourse    = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popupAddCourse")));
     this.txtCourseDetails  = ((System.Windows.Controls.TextBox)(this.FindName("txtCourseDetails")));
     this.SendButton        = ((System.Windows.Controls.Button)(this.FindName("SendButton")));
     this.cancelButton      = ((System.Windows.Controls.Button)(this.FindName("cancelButton")));
     this.EditPopup         = ((System.Windows.Controls.Primitives.Popup)(this.FindName("EditPopup")));
     this.edittedMessage    = ((System.Windows.Controls.TextBox)(this.FindName("edittedMessage")));
     this.edit_Sendbutton   = ((System.Windows.Controls.Button)(this.FindName("edit_Sendbutton")));
     this.edit_cancelbutton = ((System.Windows.Controls.Button)(this.FindName("edit_cancelbutton")));
     this.ContentPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.ChatList          = ((System.Windows.Controls.ItemsControl)(this.FindName("ChatList")));
     this.txtMessage        = ((Coding4Fun.Toolkit.Controls.ChatBubbleTextBox)(this.FindName("txtMessage")));
     this.btnSend           = ((System.Windows.Controls.Button)(this.FindName("btnSend")));
 }