예제 #1
0
 public UCStatusBar()
 {
     this.InitializeComponent();
     UCStatusBar._curinstance      = this;
     this.radStatusBar1.Dock       = DockStyle.Fill;
     this.radButtonElementL.Click += new EventHandler(this.radButtonElementL_Click);
     this.radButtonElementR.Click += new EventHandler(this.radButtonElementR_Click);
     this.OnActionClick           += new EventHandler <TEventArg <string> >(this.UCStatusBar_OnActionClick);
     this.radLabelElement2.DataBindings.Add("Text", AccountSetting.GetInstance(), "AccountOrgID").ControlUpdateMode = ControlUpdateMode.OnPropertyChanged;
     this.radLabelElement3.DataBindings.Add("Text", AccountSetting.GetInstance(), "AccountName").ControlUpdateMode  = ControlUpdateMode.OnPropertyChanged;
     this.radLabelElement4.DataBindings.Add("Text", UpdateSetting.GetInstance(), "AppVersion").ControlUpdateMode    = ControlUpdateMode.OnPropertyChanged;
     this.radLabelElement2.Click += new EventHandler(this.RadLabelElementUserInfo_Click);
     this.radLabelElement3.Click += new EventHandler(this.RadLabelElementUserInfo_Click);
 }
예제 #2
0
 public static void SetStatusBar(UCStatusBar bar)
 {
     DurTimeJob._statusbar = bar;
 }
예제 #3
0
 public NestIPropertiesSetting(UCStatusBar bar)
 {
     this._bar = bar;
 }
 public void SetDispatchObj(UCStatusBar bar)
 {
     this._ucstatusbar = bar;
 }